:root {
    color-scheme: light;
    --ink: #17271f;
    --muted: #526158;
    --paper: #fcfcf7;
    --white: #fff;
    --line: #d9e3da;
    --forest: #164c34;
    --green: #92e4ae;
    --mint: #e0f5e6;
    --sand: #f2ecdf;
    --lavender: #efedf7;
    --hard-shadow: 4px 4px 0 var(--ink);
    --heading-font: Inter, "Segoe UI", system-ui, sans-serif;
    font-family: var(--heading-font);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
    --site-header-height: calc(4.8rem + 1px);
    scroll-padding-top: var(--site-header-height);
}
@media (prefers-reduced-motion: no-preference) {
    html.marketing-home { scroll-behavior: smooth; }
}
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.55; }
h1, h2, h3, p, figure, dd, dl { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 1.15em; height: 1.15em; flex: none; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid #167047; outline-offset: 4px; }

.shell { width: min(100% - 6rem, 75rem); margin-inline: auto; }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.skip-link {
    position: absolute;
    z-index: 10;
    top: .5rem;
    left: .5rem;
    padding: .55rem .85rem;
    background: var(--white);
    transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 2;
    border-bottom: 1px solid var(--line);
    background: rgb(252 252 247 / .94);
    backdrop-filter: blur(10px);
}
.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    min-height: 4.8rem;
}
.brand { display: inline-block; justify-self: start; }
.site-nav, .header-actions { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.header-actions { justify-self: end; }
.site-nav a, .header-actions a, .resources-menu summary { font-size: .925rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .header-actions > a:not(.button):hover { color: var(--forest); text-decoration: underline; text-underline-offset: .25em; }
.site-nav a[aria-current="page"] { color: var(--forest); text-decoration: underline; text-underline-offset: .3em; }
.resources-menu { position: static; }
.resources-menu summary {
    display: flex;
    align-items: center;
    gap: .3rem;
    min-height: 2.75rem;
    cursor: pointer;
    list-style: none;
}
.resources-menu summary::-webkit-details-marker { display: none; }
.resources-menu summary svg { width: .9rem; }
.resources-menu[open] summary svg { transform: rotate(180deg); }
.dropdown {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .28rem;
    width: min(45rem, calc(100% - 2rem));
    margin-inline: auto;
    padding: .65rem;
    border: 1px solid var(--ink);
    border-radius: .65rem;
    background: var(--white);
    box-shadow: var(--hard-shadow);
}
.dropdown a { display: block; padding: .56rem .7rem; border-radius: .3rem; white-space: normal; }
.dropdown a:hover, .dropdown a:focus-visible { background: #f0f9f0; }
.dropdown .resource-menu-item { display: grid; grid-template-columns: 2.3rem minmax(0, 1fr); align-items: start; gap: .68rem; padding: .67rem; text-decoration: none; }
.dropdown a:hover .resource-menu-label { text-decoration: underline; text-underline-offset: .2em; }
.resource-menu-icon { display: grid; place-items: center; min-height: 2.3rem; border: 1px solid #c0ddc8; border-radius: .45rem; background: var(--mint); color: var(--forest); }
.resource-menu-label, .resource-menu-description { display: block; }
.resource-menu-label { font-weight: 750; }
.resource-menu-description { margin-top: .12rem; color: var(--muted); font-size: .82rem; font-weight: 500; }
.mobile-label, .dropdown .mobile-link { display: none; }

.button {
    display: inline-flex;
    min-height: 3.15rem;
    align-items: center;
    justify-content: center;
    padding: .67rem 1.15rem;
    border: 1px solid var(--ink);
    border-radius: .38rem;
    background: var(--green);
    box-shadow: var(--hard-shadow);
    color: var(--ink);
    cursor: pointer;
    font-weight: 750;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.button:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); background: #a4edbb; }
.button:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.button-compact { min-height: 2.6rem; padding-inline: .85rem; box-shadow: 3px 3px 0 var(--ink); }
.button-outline { background: var(--white); box-shadow: none; }
.button-outline:hover { background: var(--mint); box-shadow: 3px 3px 0 var(--ink); }
.text-link { color: var(--forest); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: .23em; }
.text-link:hover { text-decoration-thickness: 2px; }

h1, h2, h3 { font-family: var(--heading-font); font-weight: 800; }
h1 { font-size: clamp(3.55rem, 7.4vw, 7.55rem); letter-spacing: -.083em; line-height: .93; }
h1 em { display: block; color: var(--forest); font-style: normal; }
h2 { font-size: clamp(2.35rem, 4.65vw, 4.15rem); letter-spacing: -.066em; line-height: 1; text-wrap: balance; }
h3 { font-size: 1.24rem; letter-spacing: -.036em; line-height: 1.16; }
.fine-print { color: var(--muted); font-size: .875rem; }
.overline { color: var(--forest); font-size: .88rem; font-weight: 750; letter-spacing: .035em; }
.hero { padding-block: clamp(2.4rem, 4.6vw, 4.15rem) clamp(3.25rem, 6vw, 5.6rem); }
.hero-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
    align-items: end;
    gap: 1.75rem;
    margin-bottom: clamp(2rem, 3.8vw, 3.4rem);
}
.hero-title {
    padding: .045em .09em .14em .065em;
    margin: -.045em -.09em -.14em -.065em;
    font-size: clamp(3.3rem, 7.1vw, 6.65rem);
    line-height: .98;
    mask-size: 250% 250%;
    mask-repeat: no-repeat;
    animation: headline-reveal 1.25s ease-in-out;
}
.hero-title em {
    font-family: Georgia, serif;
    font-style: italic;
    font-weight: 500;
    letter-spacing: -.077em;
}
@keyframes headline-reveal {
    from, to {
        mask-image: linear-gradient(128deg, #000 43%, transparent 57%);
    }
    from {
        mask-position: 100% 100%;
        filter: blur(5px);
        opacity: .45;
    }
    to {
        mask-position: 0% 0%;
        filter: blur(0);
        opacity: 1;
    }
}
.product-hunt {
    display: flex;
    align-items: center;
    gap: .48rem;
    margin-bottom: clamp(1rem, 2.2vw, 1.7rem);
    color: var(--muted);
    font-size: .95rem;
    font-weight: 650;
    animation: hero-copy-entrance .48s ease-out;
}
.product-hunt img { width: 107px; }
.hero-aside { max-width: 25rem; padding-bottom: .12rem; animation: hero-copy-entrance .6s .55s ease-out backwards; }
.hero-aside:focus-within { animation: none; }
@keyframes hero-copy-entrance {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}
.hero-aside > p:first-child { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.29rem); line-height: 1.52; }
.hero-aside strong { color: var(--ink); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .95rem 1.2rem; margin-block: 1.4rem .8rem; }
.actions a { font-size: .96rem; }

.product-stage {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(1.15rem, 4vw, 3rem);
    border: 1px solid #bad7c4;
    border-radius: 1rem;
    background-color: #d9f3e1;
    background-image: radial-gradient(#56896a55 1px, transparent 1px), linear-gradient(123deg, #e6f8e9 10%, #bfeacb 100%);
    background-size: 22px 22px, 100% 100%;
    background-position: right top;
    animation: stage-entrance .65s ease-out both;
}
.preview-dot-traces {
    display: none;
    position: absolute;
    z-index: -1;
    inset: 0 44px auto auto;
    width: 352px;
    height: 154px;
    fill: none;
    stroke: #317951;
    stroke-width: 1.25px;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}
.preview-dot-traces-bottom {
    --trace-stagger: 1.05s;
    top: auto;
    bottom: 0;
    top: round(down, calc(100% - 88px), 22px);
    height: 88px;
    opacity: .78;
}
.product-stage-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .9rem 2rem; margin-bottom: 1.25rem; }
.product-stage-heading h2 { margin-top: .3rem; font-size: clamp(1.7rem, 3.05vw, 2.8rem); text-wrap: initial; }
.preview-screen { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: center; gap: clamp(1rem, 4vw, 3rem); }
.preview-copy h3 { font-size: clamp(1.45rem, 2.8vw, 2.3rem); }
.preview-copy p { margin-top: .5rem; }
.preview-controls { display: flex; flex-wrap: wrap; gap: .35rem; }
.preview-controls button {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    min-height: 2.5rem;
    padding: .38rem .72rem;
    border: 1px solid transparent;
    border-radius: .35rem;
    color: var(--forest);
    background: transparent;
    cursor: pointer;
    font-size: .9rem;
    font-weight: 700;
    transition: background-color .18s ease;
}
.preview-controls button:hover { background: #ffffff91; }
.preview-controls button[aria-pressed="true"] { border-color: #417054; background: #fafff9; color: var(--ink); }
.screen-entrance { animation: screen-entrance .23s ease-out both; }
@keyframes stage-entrance { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes screen-entrance { from { opacity: .45; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.launch-preview {
    overflow: hidden;
    min-width: 0;
    border: 1px solid var(--ink);
    border-radius: .63rem;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--hard-shadow);
}
.launch-preview-heading { display: flex; align-items: center; gap: .65rem; padding: .72rem .85rem; border-bottom: 1px solid var(--line); background: #f0f8ef; }
.launch-preview-rows { padding: .28rem .8rem; }
.launch-preview-rows li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .6rem; padding: .6rem 0; font-size: .9rem; }
.launch-preview-rows li + li { border-top: 1px solid var(--line); }
.launch-preview-rows small { display: block; color: var(--muted); font-size: .78rem; }
.launch-preview-icon { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: .38rem; background: var(--mint); color: var(--forest); }
.launch-preview-tag { padding: .18rem .45rem; border: 1px solid #bdd6c5; border-radius: 1rem; color: var(--forest); font-size: .75rem; font-weight: 700; white-space: nowrap; }
.launch-preview:is(.launch-preview-board, .launch-preview-assets) { container-type: inline-size; }
@container (min-width: 23rem) {
    .launch-preview:is(.launch-preview-board, .launch-preview-assets) .launch-preview-rows {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .6rem;
        padding: .8rem;
    }
    .launch-preview:is(.launch-preview-board, .launch-preview-assets) .launch-preview-rows li {
        grid-template-columns: 1fr;
        align-content: start;
        justify-items: start;
        padding: .72rem;
        border: 1px solid #d7e4d9;
        border-radius: .4rem;
        background: #f8faf6;
    }
    .launch-preview-board .launch-preview-tag { grid-row: 1; border: 0; padding: 0; }
    .launch-preview-board li:nth-child(2) .launch-preview-icon { background: #f2e9d3; }
    .launch-preview-board li:nth-child(3) .launch-preview-icon { background: #cdf1d7; }
    .launch-preview-assets .launch-preview-icon { width: 100%; height: 3.35rem; font-size: 1.35rem; }
    .launch-preview-assets li:nth-child(2) .launch-preview-icon { background: #e8e4f2; }
    .launch-preview-assets li:nth-child(3) .launch-preview-icon { background: #f4ead9; }
}

.pricing-section { padding-block: clamp(3.5rem, 6.8vw, 6.25rem); }
.feature-section { padding-bottom: clamp(3.5rem, 6.8vw, 6.25rem); }
.feature-intro { padding-block: clamp(1.75rem, 4.5vw, 4rem) clamp(1rem, 2.1vw, 1.65rem); border-top: 1px solid #cfded0; background: #eef4ec; }
.section-heading.feature-heading { margin-bottom: 0; }
.feature-heading h2 { margin-top: .45rem; text-align: left; text-wrap: initial; }
.feature-nav {
    position: sticky;
    top: var(--site-header-height);
    z-index: 1;
    border-bottom: 1px solid #cfded0;
    background: #eef4ec;
}
.feature-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #cfded0; }
.feature-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .4rem;
    padding: .86rem clamp(.7rem, 1.45vw, 1.35rem);
    color: var(--forest);
    font-size: .9rem;
    font-weight: 750;
    text-decoration: none;
}
.feature-links a + a { border-inline-start: 1px solid #cfded0; }
.feature-links a > span { display: flex; align-items: center; gap: .46rem; }
.feature-links a > svg { width: .8em; height: .8em; }
.feature-links a:hover { background: #e1eee0; }
.feature-links a[aria-current="location"] { background: #d9ebdc; box-shadow: inset 0 -2px #4d8b62; }
.feature-links a:focus-visible { outline-offset: -3px; }
.section-heading { display: grid; grid-template-columns: 1.25fr minmax(0, 1fr); gap: 1.1rem 3rem; align-items: end; margin-bottom: clamp(2rem, 4.5vw, 3.85rem); }
.section-heading > p, .playbook-copy > p:not(.overline), .newsletter-panel > div > p:not(.overline) { color: var(--muted); font-size: 1.12rem; }
.section-heading > p { max-width: 26rem; margin-bottom: .15rem; }
.feature-row {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr);
    align-items: center;
    gap: clamp(1.45rem, 6vw, 5.4rem);
    padding-block: clamp(1.65rem, 3.8vw, 3.65rem);
    border-top: 1px solid var(--line);
    scroll-margin-top: var(--workspace-menu-height, var(--workspace-menu-fallback-height, 3.5rem));
}
.feature-nav + .feature-row { border-top: 0; }
.feature-row-reverse { grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); }
.feature-row-reverse .feature-copy { grid-column: 2; grid-row: 1; }
.feature-row-reverse .feature-visual { grid-column: 1; grid-row: 1; }
.feature-copy h3 { margin-top: .95rem; font-size: clamp(1.8rem, 3.2vw, 3.15rem); letter-spacing: -.065em; line-height: 1.03; }
.feature-icon { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; border: 1px solid var(--ink); border-radius: .45rem; background: var(--mint); box-shadow: 2px 2px 0 var(--ink); font-size: 1.15rem; }
.feature-copy dl { display: grid; gap: .8rem; margin-top: 1.15rem; }
.feature-copy dt { font-weight: 750; }
.feature-copy dd { color: var(--muted); }
.feature-copy > .text-link { display: inline-block; margin-top: .9rem; }
.feature-visual {
    display: grid;
    align-items: center;
    min-width: 0;
    min-height: 18rem;
    padding: clamp(.9rem, 3.1vw, 2.35rem);
    border: 1px solid #d5e0d6;
    border-radius: .85rem;
    background: var(--lavender);
}
.feature-visual-mint { background: var(--mint); }
.feature-visual-sand { background: var(--sand); }
.launch-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; padding: 1.35rem; border: 1px solid #c7dbcb; border-radius: .65rem; background: var(--mint); }
.launch-cta p { margin-top: .35rem; color: var(--muted); }

.playbook {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(3rem, 6vw, 5.25rem);
    color: var(--white);
    background: radial-gradient(ellipse at center, #25523d, transparent 65%), #183a2b;
}
.playbook::before {
    position: absolute;
    z-index: -1;
    inset: -50%;
    background: repeating-radial-gradient(
        ellipse 65% 41% at center,
        transparent 0 23px,
        rgb(166 233 186 / .23) 24px 25px,
        transparent 26px 39px
    );
    mask-image: radial-gradient(ellipse min(45vw, 48rem) 42% at center, #000 25%, transparent 100%);
    transform: rotate(-19deg);
    pointer-events: none;
    content: "";
}
.playbook-inner, .newsletter-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(1.6rem, 5vw, 4.6rem); }
.playbook-copy .overline { color: #a6e9ba; }
.playbook-copy h2, .newsletter-panel h2 { margin-block: .6rem 1rem; }
.playbook-copy > p:not(.overline) { color: #e1ebe2; }
.check-list { display: grid; gap: .45rem; }
.check-list li { display: flex; align-items: start; gap: .45rem; }
.check-list svg { margin-top: .2em; color: var(--forest); }
.playbook-copy .check-list { margin-block: 1rem 1.35rem; }
.playbook-copy .check-list svg { color: #a6e9ba; }
.playbook-copy .button { box-shadow: 4px 4px 0 #0a2016; }
.playbook-copy .button:focus-visible { outline-color: var(--green); }
.playbook-image {
    justify-self: center;
    width: min(100%, 30rem);
}
.playbook-image img {
    width: 100%;
    filter: drop-shadow(5px 6px 0 rgb(7 24 16 / .48));
}

.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.plan { display: flex; flex-direction: column; padding: clamp(1rem, 2vw, 1.55rem); border: 1px solid var(--ink); border-radius: .7rem; background: var(--white); }
.plan-featured { background: #ecfaf0; box-shadow: var(--hard-shadow); }
.plan-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: .45rem; }
.plan-heading > span { border: 1px solid #9acbae; border-radius: 1rem; padding: .09rem .5rem; color: var(--forest); font-size: .8rem; font-weight: 750; }
.plan-price { margin-block: .3rem; font-size: clamp(2.9rem, 4.65vw, 4.05rem); font-weight: 800; letter-spacing: -.075em; line-height: 1.12; }
.plan-price span { color: var(--muted); font-size: 1rem; letter-spacing: 0; font-weight: 650; }
.plan-description { min-height: 3.1rem; color: var(--muted); }
.plan .check-list { padding-top: .95rem; margin-block: .8rem 1.2rem; border-top: 1px solid var(--line); }
.plan .button { width: 100%; margin-top: auto; }
.plan .fine-print { margin-top: .75rem; text-align: center; }
.pricing-note { margin-top: 1.15rem; }
.pricing-section { background: #f9faf1; }

:is(.pricing-section, .resource-section, .newsletter-panel, .affiliate) { position: relative; isolation: isolate; }
:is(.pricing-section, .resource-section, .newsletter-panel, .affiliate)::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    content: "";
}
.pricing-section::before {
    background-image:
        linear-gradient(to right, rgb(52 105 65 / .12) 1px, transparent 1px),
        linear-gradient(to bottom, rgb(52 105 65 / .12) 1px, transparent 1px),
        linear-gradient(to right, rgb(52 105 65 / .07) 1px, transparent 1px),
        linear-gradient(to bottom, rgb(52 105 65 / .07) 1px, transparent 1px);
    background-position: center top;
    background-size: 140px 140px, 140px 140px, 28px 28px, 28px 28px;
    mask-image: linear-gradient(#000, transparent 95%);
}

.resource-section { padding-block: clamp(3rem, 5.9vw, 5rem); border-block: 1px solid var(--line); background: #f1f6ef; }
.resource-section::before {
    background: repeating-linear-gradient(133deg, transparent 0 18px, rgb(52 105 65 / .13) 18px 19px);
    mask-image: linear-gradient(115deg, transparent 27%, #000);
}
.resource-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.resource-card { display: block; padding: 1.05rem; border: 1px solid #c7dbcb; border-radius: .6rem; background: var(--white); text-decoration: none; transition: background-color .18s ease, border-color .18s ease; }
.resource-card h3 { color: var(--forest); font-size: 1.07rem; }
.resource-card p { margin-top: .32rem; color: var(--muted); font-size: .925rem; }
.resource-card:hover { border-color: #74a984; background: #f7fff7; }
.resource-card:hover h3 { text-decoration: underline; text-underline-offset: .17em; }

.newsletter { padding-block: clamp(3rem, 6vw, 5.6rem); }
.newsletter-panel { padding: clamp(1.25rem, 4.5vw, 3.5rem); border: 1px solid var(--ink); border-radius: .85rem; background: var(--mint); box-shadow: var(--hard-shadow); }
.newsletter-panel::before {
    background: repeating-linear-gradient(to bottom, transparent 0 15px, rgb(52 105 65 / .13) 15px 16px);
    mask-image: radial-gradient(ellipse at 93% 80%, #000, transparent 76%);
}
.newsletter-panel h2 { font-size: clamp(2.2rem, 4.2vw, 3.7rem); }
.newsletter-panel form { margin-top: 1.25rem; }
.newsletter-panel label { display: block; margin-bottom: .34rem; font-weight: 750; }
.newsletter-form-row { display: flex; flex-wrap: wrap; gap: .55rem; }
.newsletter-form-row input { flex: 1 1 11rem; min-width: 0; min-height: 3.15rem; padding: .62rem .74rem; border: 1px solid #6e8777; border-radius: .38rem; color: var(--ink); background: var(--white); }
.newsletter-form-row input[aria-invalid="true"] { border-color: #a72a24; }
.newsletter-panel form p { margin-top: .75rem; }
.newsletter-error { color: #97221d; font-weight: 650; }
.directory-delivery { display: grid; justify-items: start; gap: .7rem; margin-top: 1rem; }
.directory-delivery-status { display: flex; align-items: center; gap: .45rem; color: var(--forest); font-weight: 750; }
.directory-delivery-instructions { color: var(--muted); font-size: .9rem; }
.directory-dialog:not([open]) { display: none; }
.directory-dialog {
    width: min(34rem, calc(100% - 2rem));
    max-height: calc(100% - 2rem);
    padding: clamp(1.4rem, 5vw, 2.75rem);
    padding-top: 3.2rem;
    border: 1px solid var(--ink);
    border-radius: .85rem;
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--hard-shadow);
    text-align: center;
}
.directory-dialog::backdrop { background: rgb(18 32 25 / .67); }
body:has(.directory-dialog[open]) { overflow: hidden; }
.directory-dialog .directory-dialog-dismiss { position: absolute; inset: .55rem .55rem auto auto; margin: 0; }
.directory-dialog-dismiss button {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: .35rem;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}
.directory-dialog-dismiss button:hover { background: var(--mint); }
.directory-dialog .directory-dialog-dismiss svg { width: 1.25rem; height: 1.25rem; }
.directory-delivery .directory-dialog h2 {
    margin: 0 auto 1.2rem;
    max-width: 13ch;
    font-size: clamp(1.95rem, 6vw, 2.6rem);
    line-height: 1.05;
    letter-spacing: -.04em;
}
.directory-dialog p { margin: 1.35rem auto 1rem; color: var(--muted); }
.directory-dialog img { margin-inline: auto; border-radius: .3rem; }
.affiliate { padding-block: clamp(2.5rem, 6vw, 5rem); background: #183a2b; color: var(--white); }
.affiliate::before {
    background:
        repeating-linear-gradient(45deg, transparent 0 39px, rgb(166 233 186 / .15) 39px 40px),
        repeating-linear-gradient(-45deg, transparent 0 39px, rgb(166 233 186 / .11) 39px 40px),
        radial-gradient(ellipse at 80% 60%, #2b5541, transparent 70%);
    mask-image: linear-gradient(95deg, transparent, #000 90%);
}
.affiliate-inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 1.5rem 3rem; }
.affiliate h2 { max-width: 17ch; margin-top: .4rem; text-wrap: initial; }
.affiliate-copy > p:not(.overline) { max-width: 42ch; margin-block: .8rem 1.2rem; color: #e1ebe2; }
.affiliate .overline, .affiliate-mark { color: #a6e9ba; }
.affiliate-mark { display: flex; align-items: center; justify-content: center; gap: .25em; font-size: clamp(3rem, 9vw, 8rem); font-weight: 800; letter-spacing: -.09em; line-height: 1; }
.affiliate-mark svg { width: .52em; height: .52em; }

.site-footer { padding-block: 2.1rem 1.2rem; border-top: 1px solid var(--line); background: #f0f4ec; }
.footer-main, .footer-main nav { display: grid; gap: 1.4rem 2rem; }
.footer-main { grid-template-columns: minmax(0, .85fr) minmax(0, 2fr); }
.footer-main > div p, .footer-bottom { color: var(--muted); }
.footer-main > div p { margin-top: .72rem; }
.footer-main nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.footer-main nav > div { display: flex; flex-direction: column; gap: .42rem; }
.footer-main nav h2 { margin-bottom: .2rem; font-size: 1rem; letter-spacing: -.02em; }
.footer-main nav a { width: fit-content; color: var(--muted); font-size: .935rem; text-decoration: none; }
.footer-main nav a:hover { text-decoration: underline; text-underline-offset: .18em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.2rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .875rem; }

@media (min-width: 57.01rem) {
    .resources-menu summary { min-height: 4.8rem; }
}
@media (min-width: 60rem) and (prefers-reduced-motion: no-preference) {
    .preview-dot-traces { display: block; }
    .preview-dot-traces path {
        stroke-dasharray: 22 150;
        animation: preview-dot-trace 5.8s calc(1.35s + var(--trace-stagger, 0s)) linear infinite backwards;
    }
    .preview-dot-traces path:nth-child(2) { animation-duration: 7.4s; animation-delay: calc(2.15s + var(--trace-stagger, 0s)); }
    .preview-dot-traces path:nth-child(3) { animation-duration: 6.6s; animation-delay: 3.1s; }
}
@keyframes preview-dot-trace {
    from { stroke-dashoffset: 22; opacity: 0; }
    18%, 78% { opacity: .48; }
    to { stroke-dashoffset: -100; opacity: 0; }
}

@media (max-width: 65rem) {
    .shell { width: min(100% - 4rem, 75rem); }
    h1 { font-size: clamp(3.4rem, 7.7vw, 5.5rem); }
    .feature-row, .feature-row-reverse { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 57rem) {
    html {
        --site-header-height: calc(4rem + 1px);
    }
    .header-inner { grid-template-columns: 1fr auto auto; min-height: 4rem; }
    .site-nav .desktop-link, .header-actions .desktop-link, .desktop-label { display: none; }
    .mobile-label, .dropdown .mobile-link { display: block; }
    .dropdown { display: block; top: calc(100% + .25rem); inset-inline: auto 1rem; width: min(19rem, calc(100% - 2rem)); margin: 0; padding: .45rem; max-height: 70vh; overflow-y: auto; }
    .dropdown .resource-menu-item { display: block; padding: .56rem .7rem; }
    .resource-menu-icon, .resource-menu-description { display: none; }
}

@media (max-width: 53rem) {
    .shell { width: calc(100% - 2.5rem); }
    .hero-heading, .section-heading { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .hero-aside { max-width: 36rem; }
    h1 em { display: inline; }
    .section-heading > p { max-width: 34rem; }
    .feature-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature-section { --workspace-menu-fallback-height: 7rem; }
    .feature-links a:nth-child(odd) { border-inline-start: 0; }
    .feature-links a:nth-child(n + 3) { border-block-start: 1px solid #cfded0; }
    .feature-row, .feature-row-reverse, .playbook-inner, .newsletter-panel, .preview-screen { grid-template-columns: minmax(0, 1fr); }
    .playbook::before {
        inset: 25% -45% -30%;
        mask-image: linear-gradient(180deg, transparent, #000 60%);
    }
    .feature-row-reverse .feature-copy, .feature-row-reverse .feature-visual { grid-row: auto; grid-column: auto; }
    .feature-visual { min-height: auto; }
    .pricing-grid { grid-template-columns: minmax(0, 1fr); }
    .plan-description { min-height: auto; }
}

@media (max-width: 34rem) {
    .shell { width: calc(100% - 2rem); }
    .header-inner { gap: .65rem; }
    .header-inner .brand img { width: clamp(5.6rem, 26vw, 8rem); }
    .header-actions .button { padding-inline: .58rem; font-size: .86rem; }
    h1 { font-size: clamp(3rem, 10.3vw, 4.4rem); }
    .hero-title { font-size: clamp(2.65rem, 10.5vw, 3.6rem); }
    .actions { margin-top: 1.05rem; }
    .product-stage { border-radius: .7rem; }
    .preview-controls { justify-content: start; gap: .2rem; margin-top: .75rem; }
    .preview-controls button { min-height: 2.1rem; padding-inline: .35rem; font-size: .83rem; }
    .preview-controls svg { display: none; }
    .feature-links a { min-height: 2.75rem; padding: .48rem .52rem; font-size: .83rem; }
    .feature-links a > svg { display: none; }
    .feature-section { --workspace-menu-fallback-height: 5.75rem; }
    .resource-grid, .footer-main { grid-template-columns: 1fr; }
    .footer-main nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
    .affiliate-inner { grid-template-columns: minmax(0, 1fr); }
    .affiliate-mark { display: none; }
    .launch-preview-rows { padding-inline: .55rem; }
    .launch-preview-rows li { gap: .4rem; }
    .launch-preview-tag { padding-inline: .27rem; font-size: .69rem; }
    .playbook-image { width: min(100%, 22rem); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
