/* Fonts are hosted with the site, so no visitor data goes to Google (licenses in fonts/) */
@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('fonts/fraunces-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('fonts/fraunces-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tilia Digital: shared styles for index.html and about.html */

:root {
    /* Light theme, accents sampled from the logo */
    --bg: #fafaf7;
    --surface: #ffffff;
    --tint: #f2f4ef;
    --ink: #15231b;
    --ink-2: #3c4a42;
    --muted: #66746c;
    --line: #e2e6df;
    --line-strong: #cad3c7;
    --green: #2e5e2a;
    --green-dark: #224720;
    --green-soft: #e8f0e6;
    --blue: #2394ba;
    --blue-soft: #e6f3f8;
    /* problem markers in the "where tracking breaks" diagram */
    --warn: #b4532a;
    /* Forest band and footer */
    --forest: #334237;
    --forest-2: #2b3830;
    --cream: #fdf6ec;
    --cream-soft: rgba(253, 246, 236, 0.76);
    --wide: 1120px;
    --narrow: 720px;
    --radius: 16px;
    --shadow: 0 1px 2px rgba(21, 35, 27, 0.04), 0 10px 28px rgba(21, 35, 27, 0.07);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--ink);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
    font-family: 'Fraunces', Georgia, serif;
    text-wrap: balance;
    color: var(--ink);
    letter-spacing: -0.015em;
}

h1 {
    font-size: clamp(2.2rem, 4.6vw, 3.4rem);
    font-weight: 500;
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    font-weight: 500;
    line-height: 1.15;
}

h3 {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
}

p {
    margin-bottom: 1.2rem;
}

a {
    color: var(--green);
    text-decoration: none;
}

::selection {
    background: var(--green);
    color: #fff;
}

img {
    max-width: 100%;
}

/* ---- Layout ---- */
.container {
    max-width: var(--wide);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.narrow {
    max-width: var(--narrow);
}

section {
    padding: 6rem 0;
    scroll-margin-top: 72px;
}

.tint {
    background-color: var(--tint);
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%20viewBox='0%200%20200%20200'%3E%3Cg%20fill='none'%20stroke='%232e5e2a'%20stroke-opacity='0.06'%20stroke-width='1'%3E%3Cpath%20d='M100%200L200%20100L100%20200L0%20100Z'/%3E%3Cpath%20d='M100%2046L154%20100L100%20154L46%20100Z'/%3E%3Cpath%20d='M100%2082L118%20100L100%20118L82%20100Z'/%3E%3Cpath%20d='M100%200L100%2046'/%3E%3Cpath%20d='M100%20154L100%20200'/%3E%3Cpath%20d='M0%20100L46%20100'/%3E%3Cpath%20d='M154%20100L200%20100'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 200px 200px;
}

.eyebrow {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 1rem;
}

.section-head {
    max-width: 680px;
    margin-bottom: 3rem;
}

.section-head h2 {
    margin-bottom: 1rem;
}

.section-head p {
    color: var(--ink-2);
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    padding: 0.85rem 1.45rem;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--green);
    color: #fff;
}

.btn-primary:hover {
    background: var(--green-dark);
}

.btn-secondary {
    background: var(--surface);
    color: var(--ink);
    border-color: var(--line-strong);
}

.btn-secondary:hover {
    border-color: var(--green);
    color: var(--green);
}

.btn-light {
    background: var(--cream);
    color: var(--forest);
}

.btn-light:hover {
    background: #fff;
}

.btn-sm {
    font-size: 0.92rem;
    padding: 0.55rem 1.1rem;
}

/* ---- Header ---- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 250, 247, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.site-header.scrolled {
    border-bottom-color: var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.brand img {
    height: 34px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a:not(.btn) {
    color: var(--ink-2);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:not(.btn):hover,
.nav-links a[aria-current="page"] {
    color: var(--green);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--ink);
    cursor: pointer;
}

/* ---- Hero ---- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 9.5rem 0 5.5rem;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.7rem);
    margin-bottom: 1.4rem;
}

.hero .sub {
    text-wrap: balance;
    font-size: 1.15rem;
    color: var(--ink-2);
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

/* "Tracking broken? Let's fix it." sits right above the button it leads to */
.hero .hook {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--ink);
    margin: 2rem 0 0;
}

.hero .hook + .hero-ctas {
    margin-top: 0.9rem;
}

/* small reassurance under the hero button */
.hero .cta-note {
    font-size: 0.88rem;
    color: var(--muted);
    margin: 0.6rem 0 0;
}

/* Logo tree that grows from the roots up (each path draws via stroke-dashoffset) */
.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-tree {
    width: 100%;
    max-width: 440px;
    height: auto;
    overflow: visible;
}

.hero-tree path {
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation-name: grow;
    animation-timing-function: cubic-bezier(0.45, 0.05, 0.35, 1);
    animation-fill-mode: forwards;
}

.hero-tree .tg {
    stroke: var(--green);
    stroke-opacity: 0.32;
}

.hero-tree .tb {
    stroke: var(--blue);
    stroke-opacity: 0.32;
}

@keyframes grow {
    to {
        stroke-dashoffset: 0;
    }
}

/* Small check badge used in the agency benefits list */
.tick {
    flex: none;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green);
    font-size: 0.75rem;
    font-weight: 700;
}

/* Staggered entrance */
.reveal > * {
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.reveal > *:nth-child(2) {
    animation-delay: 0.1s;
}

.reveal > *:nth-child(3) {
    animation-delay: 0.2s;
}

.reveal > *:nth-child(4) {
    animation-delay: 0.3s;
}

.reveal > *:nth-child(5) {
    animation-delay: 0.4s;
}

.reveal > *:nth-child(6) {
    animation-delay: 0.5s;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Problem ---- */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2.5rem;
    list-style: none;
    max-width: 900px;
}

.pain-grid li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--ink);
    font-weight: 500;
}

.pain-grid li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 7px;
    height: 7px;
    background: var(--blue);
    transform: rotate(45deg);
}

.statement {
    max-width: 780px;
    margin-top: 3.5rem;
    padding-left: 1.6rem;
    border-left: 3px solid var(--green);
}

.statement .big {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(1.3rem, 2.4vw, 1.6rem);
    line-height: 1.4;
    color: var(--ink);
}

.statement p:last-child {
    color: var(--ink-2);
    margin-bottom: 0;
}

/* ---- Packages ---- */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.8rem;
    transition: box-shadow 0.25s, border-color 0.25s;
}

.card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
}

.card h3 {
    margin-bottom: 0.4rem;
}

.checks {
    list-style: none;
}

.checks li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--ink-2);
}

.checks li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--green);
    font-weight: 700;
}

.card .checks {
    margin-bottom: 1.4rem;
}

.card .btn {
    margin-top: 1rem;
    align-self: flex-start;
}

/* Package cards: price under the title, button pinned to the bottom */
.pkg {
    position: relative;
}

.pkg-price {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0.2rem 0 1rem;
}

.pkg-price strong {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--ink);
    margin-left: 0.15rem;
}

/* text-style price ("Per project or monthly") sized to fit the card */
.pkg-price .pkg-price-text {
    font-size: 1.35rem;
    margin-left: 0;
}

.pkg-desc {
    font-size: 0.97rem;
    color: var(--ink-2);
    margin-bottom: 1.2rem;
}

.pkg .checks {
    margin-bottom: 1.2rem;
}

.pkg-note {
    font-size: 0.85rem;
    color: var(--ink-2);
    background: var(--tint);
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    margin-bottom: 0;
}

.pkg-cta {
    margin-top: auto;
    padding-top: 1.4rem;
}

.pkg-cta .btn {
    margin-top: 0;
}

/* Recommended package: the site's green accent border and badge */
.pkg-featured,
.pkg-featured:hover {
    border: 2px solid var(--green);
    box-shadow: var(--shadow);
}

.pkg-badge {
    position: absolute;
    top: -0.8rem;
    left: 1.6rem;
    background: var(--green);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
}

/* Custom projects: full-width strip under the package cards */
.custom-band {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 1.5rem;
    padding: 1.8rem 2rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 4px solid var(--line-strong);
    border-radius: var(--radius);
}

.custom-band .eyebrow {
    margin-bottom: 0.5rem;
}

.custom-band h3 {
    margin-bottom: 0.5rem;
}

.custom-band p {
    color: var(--ink-2);
    margin-bottom: 0;
}

.custom-band .checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 1.5rem;
    margin: 1rem 0 0;
}

.custom-band .checks li {
    margin-bottom: 0;
}

.custom-band-side .pkg-price {
    margin: 0 0 0.2rem;
}

.custom-band .custom-scope {
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.packages-note {
    max-width: 680px;
    margin: 1.8rem 0 0;
    font-size: 0.92rem;
    color: var(--ink-2);
}


/* ---- Architecture diagram ---- */
.arch-wrap {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 2rem;
}

.arch {
    display: block;
    width: 100%;
    height: auto;
}

.arch-mobile {
    display: none;
}

.arch .box {
    fill: #fff;
    stroke: var(--line-strong);
    stroke-width: 1.5;
}

.arch .box-cmp {
    stroke: var(--blue);
}

.arch .box-key {
    fill: var(--green-soft);
    stroke: var(--green);
}

.arch .box-group {
    fill: var(--tint);
    stroke: var(--line);
}

.arch .t {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    fill: var(--ink);
}

.arch .s {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    fill: var(--muted);
}

.arch .label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    fill: var(--muted);
}

.arch .wire {
    fill: none;
    stroke: var(--line-strong);
    stroke-width: 2;
}

.arch .flow {
    fill: none;
    stroke: var(--blue);
    stroke-width: 2;
    stroke-dasharray: 4 12;
    animation: flow 1.1s linear infinite;
}

.arch .flow-g {
    stroke: var(--green);
}

.arch .flow-n {
    stroke: var(--muted);
}

/* offline conversions returning from the CRM: static dashed line */
.arch .ret {
    fill: none;
    stroke: var(--muted);
    stroke-width: 1.5;
    stroke-dasharray: 3 5;
}

.arch .label-n {
    fill: var(--muted);
}

.arch .label-b {
    fill: var(--blue);
}

.arch .label-g {
    fill: var(--green);
}

.arch .arrowhead {
    fill: var(--line-strong);
}

@keyframes flow {
    to {
        stroke-dashoffset: -32;
    }
}

/* "example setup" label at the top of the diagram card */
.arch-label {
    display: inline-block;
    margin: 0 0 1.2rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: var(--tint);
    color: var(--ink-2);
    font-size: 0.82rem;
    font-weight: 500;
}

/* numbered "where it breaks" markers on the diagram */
.arch .mk circle {
    fill: var(--warn);
    stroke: #fff;
    stroke-width: 2;
}

.arch .mk text {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    fill: #fff;
}

/* legend explaining each marker */
.breaks {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.3rem 2rem;
    margin-top: 1.8rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--line);
}

.breaks li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.mk-n {
    flex: none;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-top: 0.1rem;
    border-radius: 50%;
    background: var(--warn);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
}

.breaks strong {
    display: block;
    font-size: 0.95rem;
    color: var(--ink);
}

.breaks p {
    font-size: 0.9rem;
    color: var(--ink-2);
    margin: 0.15rem 0 0;
}

.arch-caption {
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
    margin: 1.4rem 0 0;
}

/* ---- Process ---- */
.steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    list-style: none;
}

.steps::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 22px;
    /* stop at the last circle: one column width (minus the circle center) from the right */
    right: calc((100% - 6rem) / 5 - 22px);
    height: 2px;
    background: var(--line);
}

.step {
    position: relative;
}

.step .num {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--green);
    color: var(--green);
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 1.1rem;
}

.step h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.step p {
    font-size: 0.93rem;
    color: var(--ink-2);
    margin-bottom: 0;
}

/* ---- Agencies ---- */
.benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem 1.5rem;
    list-style: none;
}

.benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: var(--ink);
    font-weight: 500;
    font-size: 0.98rem;
    line-height: 1.45;
}

/* ---- FAQ ---- */
.faq {
    max-width: 820px;
}

.faq details {
    border-bottom: 1px solid var(--line);
    padding: 1.2rem 0;
}

.faq details:first-of-type {
    border-top: 1px solid var(--line);
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--ink);
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    flex: none;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--green);
    transition: transform 0.2s;
}

.faq details[open] summary::after {
    transform: rotate(45deg);
}

.faq details p {
    color: var(--ink-2);
    margin: 0.8rem 0 0;
}

/* ---- Final CTA + contact (forest band) ---- */
.cta-band {
    background: var(--forest);
    color: var(--cream);
}

.cta-band h2 {
    color: var(--cream);
    margin-bottom: 1.2rem;
}

.cta-band .eyebrow {
    color: #a9c9a3;
}

.cta-band p {
    color: var(--cream-soft);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.8rem 0;
}

.cta-band .btn-secondary {
    background: transparent;
    color: var(--cream);
    border-color: rgba(253, 246, 236, 0.4);
}

.cta-band .btn-secondary:hover {
    border-color: var(--cream);
    color: var(--cream);
}

.reply-note {
    font-size: 0.92rem;
}

/* ---- Form ---- */
.form-card {
    background: var(--surface);
    color: var(--ink);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    padding: 2rem;
    scroll-margin-top: 96px;
}

.field {
    margin-bottom: 1rem;
}

.field label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.35rem;
}

/* Heading above the contact form */
.form-title {
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
}

.form-card .form-intro {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 1.4rem;
}

.field .opt {
    font-weight: 400;
    color: var(--muted);
}

.row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

input,
select,
textarea {
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='8'%20viewBox='0%200%2012%208'%3E%3Cpath%20d='M1%201l5%205%205-5'%20fill='none'%20stroke='%2366746c'%20stroke-width='1.6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.4rem;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px var(--green-soft);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.form-card .btn {
    width: 100%;
    margin-top: 0.4rem;
}

.form-note {
    display: none;
    margin: 1rem 0 0;
    color: var(--green);
    font-weight: 500;
}

.form-note.show {
    display: block;
}

.form-privacy {
    font-size: 0.82rem;
    color: var(--muted);
    margin: 1rem 0 0;
}

/* The band sets light paragraph text; keep the white form card's text dark */
.form-card .form-privacy {
    color: var(--muted);
}

.form-card .form-note {
    color: var(--green);
}

/* ---- Footer ---- */
.site-footer {
    background: var(--forest-2);
    color: var(--cream-soft);
    padding: 3rem 0;
    font-size: 0.9rem;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem 2rem;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--cream);
}

.footer-brand img {
    height: 30px;
    width: auto;
}

.footer-tag {
    max-width: 440px;
    margin: 0.6rem 0 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
}

.footer-links a {
    color: var(--cream-soft);
}

.footer-links a:hover {
    color: var(--cream);
}

.copy {
    width: 100%;
    margin: 0.5rem 0 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(253, 246, 236, 0.12);
    font-size: 0.85rem;
}

/* Privacy link beside the copyright line */
.copy a {
    color: var(--cream-soft);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.copy a:hover {
    color: var(--cream);
}

/* ---- About page ---- */
.about-hero {
    position: relative;
    overflow: hidden;
    padding: 9.5rem 0 4.5rem;
}

.about-hero h1 {
    max-width: 820px;
    margin-bottom: 1.6rem;
}

.about-hero .lead {
    font-size: 1.2rem;
    color: var(--ink-2);
    max-width: 680px;
}

.prose p {
    color: var(--ink-2);
}

.task-list {
    list-style: none;
    margin: 0 0 1.2rem;
}

.task-list li {
    position: relative;
    padding-left: 1.7rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--ink);
}

.task-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 7px;
    height: 7px;
    background: var(--green);
    transform: rotate(45deg);
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 0.5rem 0 3.5rem;
}

.stat .num {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 500;
    line-height: 1;
    color: var(--green);
    margin-bottom: 0.6rem;
}

.stat .cap {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--muted);
}

.tr-note {
    font-size: 1.12rem;
    color: var(--ink);
    max-width: 660px;
}

.cta-strip {
    padding: 4.5rem 0;
}

.cta-strip .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cta-strip h2 {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    color: var(--cream);
    margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 960px) {

    .packages-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        row-gap: 2rem;
    }

    .custom-band {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        max-width: 560px;
        margin-top: 2rem;
    }

    .custom-band .checks {
        grid-template-columns: 1fr;
    }

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

    .benefits,
    .breaks {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-grid {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 2.5rem;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .steps::before {
        top: 22px;
        bottom: 22px;
        left: 21px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .step {
        display: grid;
        grid-template-columns: 44px 1fr;
        column-gap: 1.1rem;
    }

    .step .num {
        grid-row: span 2;
        margin-bottom: 0;
    }
}

@media (max-width: 760px) {
    section {
        padding: 4.5rem 0;
    }

    .hero,
    .about-hero {
        padding-top: 7.5rem;
    }

    .nav-toggle {
        display: block;
        position: relative;
        z-index: 110;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 75%;
        max-width: 300px;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.4rem;
        padding: 5.5rem 2rem 2rem;
        background: var(--surface);
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .nav-links.open {
        transform: translateX(0);
        /* shadow only while open, so the hidden menu doesn't cast one onto the page */
        box-shadow: -12px 0 32px rgba(21, 35, 27, 0.12);
    }

    .arch-desktop {
        display: none;
    }

    .arch-mobile {
        display: block;
        max-width: 380px;
        margin: 0 auto;
    }

    .arch-wrap {
        padding: 1.2rem;
    }

    .pain-grid,
    .benefits,
    .breaks,
    .row2 {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
    }

    .form-card {
        padding: 1.5rem;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-bottom: 4rem;
    }

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

    .hero-visual {
        position: absolute;
        top: -1.5rem;
        right: -6.5rem;
        width: 250px;
        z-index: 0;
        opacity: 0.6;
        pointer-events: none;
    }

    .hero .reveal {
        position: relative;
        z-index: 1;
    }
}

@media (prefers-reduced-motion: reduce) {

    .reveal > * {
        animation: none;
    }

    .hero-tree path {
        animation: none;
        stroke-dashoffset: 0;
    }

    .arch .flow {
        animation: none;
    }

    .btn:hover {
        transform: none;
    }
}

/* ---- Privacy page ---- */
.privacy h2 {
    font-size: 1.35rem;
    margin: 2rem 0 0.6rem;
}

.privacy h2:first-child {
    margin-top: 0;
}

.privacy ul {
    margin: 0 0 1.2rem 1.2rem;
    color: var(--ink-2);
}

.privacy li {
    margin-bottom: 0.4rem;
}

.privacy a,
.form-privacy a {
    text-decoration: underline;
    text-underline-offset: 2px;
}
