:root {
    color-scheme: light;
    --ink: #1c1917;
    --muted: #57534e;
    --line: #e7e5e4;
    --surface: #ffffff;
    --soft: #f7f7f5;
    --brand: #0f766e;
    --brand-dark: #115e59;
    --success: #047857;
}

* {
    box-sizing: border-box;
    letter-spacing: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.skip {
    position: fixed;
    left: 12px;
    top: -60px;
    z-index: 100;
    background: var(--ink);
    color: #fff;
    padding: 10px 14px;
}

.skip:focus {
    top: 12px;
}

.site-header {
    min-height: 72px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header .container {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--ink);
    font-size: 17px;
    font-weight: 750;
    text-decoration: none;
}

.brand img {
    width: 38px;
    height: 38px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
}

.nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.nav a:hover {
    color: var(--brand);
}

.hero {
    position: relative;
    isolation: isolate;
    min-height: min(700px, calc(100svh - 112px));
    display: flex;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: #e9e9e6;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -2%;
    z-index: -1;
    background: url("/docs/assets/grownip-panel-desktop.png") center 20% / cover no-repeat;
    filter: saturate(0.75) contrast(0.92);
    opacity: 0.24;
}

.hero-copy {
    position: relative;
    z-index: 1;
    width: min(1160px, calc(100% - 40px));
    min-height: min(700px, calc(100svh - 112px));
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    padding: 72px 0;
    background: transparent;
}

.hero-copy > * {
    max-width: 640px;
}

.kicker {
    margin: 0 0 14px;
    color: var(--brand-dark);
    font-size: 13px;
    font-weight: 750;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-size: 58px;
    line-height: 1.02;
    font-weight: 800;
}

.lead {
    max-width: 620px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.6;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ink);
    border-radius: 8px;
    padding: 0 18px;
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

.button:hover {
    background: #292524;
}

.button.secondary {
    border-color: #d6d3d1;
    background: #fff;
    color: var(--ink);
}

.proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 26px 0 0;
    padding: 0;
    color: var(--muted);
    font-size: 13px;
    list-style: none;
}

.proof li::before {
    content: "✓";
    margin-right: 7px;
    color: var(--success);
    font-weight: 800;
}

.band {
    padding: 80px 0;
}

.band.soft {
    background: var(--soft);
}

.section-head {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-head h2,
.document h1 {
    margin: 0;
    font-size: 36px;
    line-height: 1.14;
}

.section-head p {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.feature {
    min-height: 190px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 26px;
}

.feature strong {
    display: block;
    font-size: 17px;
}

.feature p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.number {
    display: block;
    margin-bottom: 26px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
}

.showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 40px;
    align-items: center;
}

.showcase-mail {
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
}

.showcase img {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(28, 25, 23, 0.1);
}

.showcase h2 {
    margin: 0;
    font-size: 32px;
}

.showcase p,
.showcase li {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.showcase ul {
    padding-left: 20px;
}

.price {
    display: grid;
    grid-template-columns: minmax(250px, 1.15fr) minmax(220px, 0.85fr) auto;
    align-items: center;
    gap: 32px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 30px 0;
}

.price-plan,
.price-yearly,
.price-actions {
    min-width: 0;
}

.price-label,
.price-yearly > span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.price-amount {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
}

.price-amount strong {
    font-size: 44px;
    line-height: 1;
}

.price-amount span {
    color: var(--muted);
    font-size: 15px;
}

.price-yearly {
    border-left: 1px solid var(--line);
    padding-left: 32px;
}

.price-yearly strong {
    display: block;
    font-size: 21px;
}

.price-yearly small {
    display: block;
    margin-top: 6px;
    color: var(--success);
    font-size: 13px;
    font-weight: 700;
}

.price-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.price-link {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-band {
    border-top: 1px solid var(--line);
    background: var(--soft);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
    align-items: start;
    gap: clamp(44px, 8vw, 96px);
}

.contact-intro h2 {
    margin: 0;
    font-size: clamp(32px, 4.2vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.contact-intro > p:not(.kicker),
.contact-intro li {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

.contact-intro > p:not(.kicker) {
    margin: 20px 0 0;
}

.contact-intro ul {
    margin: 24px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.contact-intro li {
    padding: 7px 0;
}

.contact-intro li::before {
    content: "✓";
    margin-right: 9px;
    color: var(--success);
    font-weight: 800;
}

.contact-form {
    display: grid;
    gap: 17px;
    border: 1px solid #d6d3d1;
    border-radius: 10px;
    padding: clamp(24px, 4vw, 38px);
    background: var(--surface);
    box-shadow: 0 18px 50px rgba(28, 25, 23, 0.09);
}

.contact-form header {
    display: grid;
    gap: 5px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
}

.contact-form header span {
    color: var(--brand-dark);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-form header strong {
    font-size: 21px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.contact-form label small {
    font-size: 11px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #a8a29e;
    border-radius: 7px;
    padding: 11px 12px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 16px;
    line-height: 1.5;
}

.contact-form textarea {
    min-height: 132px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--brand);
    outline: 3px solid rgba(15, 118, 110, 0.16);
    outline-offset: 1px;
}

.contact-submit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
}

.contact-submit p {
    flex: 1 1 210px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.contact-submit p[data-kind="success"] {
    color: var(--success);
    font-weight: 700;
}

.contact-submit p[data-kind="error"] {
    color: #b91c1c;
    font-weight: 700;
}

.contact-privacy {
    margin: -3px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 30px 0;
    color: var(--muted);
    font-size: 13px;
}

.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px 24px;
}

@media print {
    .skip {
        display: none;
    }
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.document {
    width: min(820px, calc(100% - 40px));
    margin: 0 auto;
    padding: 64px 0 90px;
}

.document .updated {
    margin: 12px 0 36px;
    color: var(--muted);
    font-size: 14px;
}

.document h2 {
    margin: 38px 0 12px;
    font-size: 22px;
}

.document h3 {
    margin: 26px 0 8px;
    font-size: 17px;
}

.document p,
.document li {
    color: #44403c;
    font-size: 15px;
    line-height: 1.75;
}

.document li + li {
    margin-top: 7px;
}

.document a {
    color: var(--brand-dark);
}

.notice {
    margin: 28px 0;
    border: 1px solid #99f6e4;
    border-radius: 8px;
    background: #f0fdfa;
    padding: 17px 20px;
}

.instruction-shot {
    width: auto;
    max-width: 100%;
    margin: 26px auto 34px;
    outline: 1px solid var(--line);
    outline-offset: -1px;
    border-radius: 8px;
    background: #fff;
}

@media (max-width: 900px) {
    .nav a:not(.nav-important) {
        display: none;
    }

    .hero {
        min-height: calc(100svh - 110px);
    }

    .hero::before {
        inset: 0;
        background-position: center 16%;
        opacity: 0.17;
    }

    .hero-copy {
        width: min(100% - 40px, 1160px);
        min-height: calc(100svh - 110px);
        padding: 48px 24px 42px;
        background: transparent;
    }

    .hero h1 {
        font-size: 46px;
    }

    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .showcase {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .price {
        grid-template-columns: 1fr 1fr;
    }

    .price-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-submit .button {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 28px, 1160px);
    }

    .site-header,
    .site-header .container {
        min-height: 64px;
    }

    .brand img {
        width: 34px;
        height: 34px;
    }

    .nav {
        gap: 12px;
    }

    .hero {
        min-height: calc(100svh - 104px);
    }

    .hero::before {
        background-position: center 12%;
        opacity: 0.14;
    }

    .hero-copy {
        width: min(100% - 28px, 1160px);
        min-height: calc(100svh - 104px);
        padding: 42px 0;
    }

    .hero h1 {
        font-size: 40px;
    }

    .lead {
        font-size: 17px;
    }

    .band {
        padding: 58px 0;
    }

    .section-head h2,
    .document h1 {
        font-size: 30px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature {
        min-height: 0;
    }

    .price {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 22px;
    }

    .price-yearly {
        border-top: 1px solid var(--line);
        border-left: 0;
        padding-top: 22px;
        padding-left: 0;
    }

    .price-actions {
        grid-column: auto;
        flex-direction: column;
        align-items: stretch;
    }

    .document {
        width: min(100% - 28px, 820px);
        padding-top: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
