:root {
    --paper: #f6f3ea;
    --paper-alt: #fbf9f3;
    --paper-deep: #eee7d3;
    --ink: #1e2a22;
    --ink-soft: #4b5a4f;
    --ink-faint: #8a9587;
    --moss: #2f5c4c;
    --moss-bright: #3e7864;
    --moss-deep: #16241d;
    --sand: #c6a15b;
    --sand-bright: #d8ba7c;
    --sand-soft: #efe2c2;
    --clay: #b5533d;
    --sky: #6f8fa0;
    --line: #ddd3b8;
    --line-soft: #e8e1cc;
    --font-display:
        "Iowan Old Style", "Palatino Linotype", "URW Palladio L",
        Georgia, serif;
    --font-body:
        -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
        sans-serif;
    --font-mono:
        ui-monospace, "SF Mono", "Cascadia Code", Menlo, monospace;
    --shadow-soft: 0 20px 44px -26px rgba(22, 36, 29, 0.38);
    --shadow-lift: 0 30px 60px -28px rgba(22, 36, 29, 0.45);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}
body {
    margin: 0;
}

.vt-root {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 74px;
}

.vt-root img,
.vt-root svg {
    display: block;
    max-width: 100%;
}
.vt-root a {
    color: inherit;
    text-decoration: none;
}
.vt-root ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.vt-root h1,
.vt-root h2,
.vt-root h3,
.vt-root p {
    margin: 0;
}
.vt-root button {
    font: inherit;
}

.wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding-left: clamp(20px, 5vw, 48px);
    padding-right: clamp(20px, 5vw, 48px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--moss-bright);
}
.eyebrow::before {
    content: "";
    width: 16px;
    height: 1px;
    background: var(--sand);
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 600;
    text-wrap: balance;
    color: var(--ink);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 9px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}
.btn.btn-primary {
    background: var(--moss);
    color: #ffffff;
    box-shadow: var(--shadow-soft);
}
.btn.btn-primary:hover {
    background: var(--moss-deep);
    transform: translateY(-2px);
}
.btn.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}
.btn.btn-ghost:hover {
    border-color: var(--moss);
    color: var(--moss-deep);
}
.btn.btn-sand {
    background: var(--sand);
    color: var(--moss-deep);
}
.btn.btn-sand:hover {
    background: var(--sand-bright);
    transform: translateY(-2px);
}
.btn:focus-visible {
    outline: 2px solid var(--moss-bright);
    outline-offset: 3px;
}
.vt-root a:focus-visible,
.vt-root button:focus-visible {
    outline: 2px solid var(--moss-bright);
    outline-offset: 3px;
}

/* ---------- Nav ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(246, 243, 234, 0.86);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line-soft);
}
.nav .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.28rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.brand-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 0.94rem;
    color: var(--ink-soft);
}
.nav-links a,
.nav-links button {
    position: relative;
    padding: 4px 0;
    color: inherit;
    font: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}
.nav-links a::after,
.nav-links button::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: var(--moss);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.nav-links a:hover,
.nav-links button:hover {
    color: var(--ink);
}
.nav-links a:hover::after,
.nav-links button:hover::after {
    transform: scaleX(1);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.language-switcher {
    position: relative;
    display: flex;
    align-items: center;
}
.language-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(251, 249, 243, 0.78);
    color: var(--moss-deep);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}
.language-toggle:hover,
.language-switcher.open .language-toggle {
    background: var(--paper-alt);
    border-color: var(--moss);
    color: var(--moss);
    transform: translateY(-1px);
}
.language-toggle svg {
    width: 20px;
    height: 20px;
}
.language-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 172px;
    padding: 8px;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: var(--paper-alt);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
    z-index: 70;
}
.language-switcher.open .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.language-menu a {
    display: block;
    border-radius: 6px;
    padding: 9px 10px;
    font-size: 0.9rem;
    color: var(--ink-soft);
    white-space: nowrap;
}
.language-menu a:hover,
.language-menu a[aria-current="page"] {
    background: var(--paper-deep);
    color: var(--moss-deep);
}
.nav-login {
    font-size: 0.94rem;
    color: var(--ink-soft);
}
.nav-login:hover {
    color: var(--ink);
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    margin: 5px 0;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

@media (max-width: 880px) {
    .vt-root {
        padding-top: 68px;
    }
    .nav-links {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--paper-alt);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        border-bottom: 1px solid var(--line-soft);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .nav-links.open {
        max-height: 320px;
    }
    .nav-links a,
    .nav-links button {
        width: 100%;
        padding: 14px clamp(20px, 5vw, 48px);
        text-align: left;
    }
    .nav-links a::after,
    .nav-links button::after {
        display: none;
    }
    .nav-actions .btn-primary {
        display: none;
    }
    .language-toggle {
        width: 38px;
        height: 38px;
    }
    .nav-toggle {
        display: block;
    }
}
@media (max-width: 560px) {
    .nav .wrap {
        height: 68px;
    }
    .brand {
        font-size: 1.14rem;
    }
    .nav-login {
        display: none;
    }
}

/* ---------- contact modal ---------- */
body.modal-open {
    overflow: hidden;
}
.contact-modal[hidden] {
    display: none;
}
.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 12px 7px;
}
.contact-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(22, 36, 29, 0.58);
    backdrop-filter: blur(2px);
}
.contact-dialog {
    position: relative;
    width: min(100%, 470px);
    max-height: 95%;
    overflow: auto;
    background: var(--paper-alt);
    border: 1px solid rgba(138, 149, 135, 0.36);
    border-radius: 10px;
    box-shadow: 0 15px 40px -13px rgba(22, 36, 29, 0.55);
    padding: clamp(14px, 2.5vw, 32px);
}
.contact-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    border: 1px solid var(--line-soft);
    background: #ffffff;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px -11px rgba(22, 36, 29, 0.48);
}
.contact-close::before,
.contact-close::after {
    content: "";
    position: absolute;
    width: 11px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}
.contact-close::before {
    transform: rotate(45deg);
}
.contact-close::after {
    transform: rotate(-45deg);
}
.contact-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--sand-soft);
    color: var(--moss);
    font-size: 14px;
    font-weight: 800;
    padding: 5px 12px;
}
.contact-dialog h2 {
    margin-top: 15px;
    font-family: var(--font-body);
    font-size: clamp(1.22rem, 3vw, 2.02rem);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 15px;
}
.contact-intro {
    margin-top: 10px;
    color: var(--ink-soft);
    font-size: clamp(0.68rem, 1.2vw, 0.95rem);
    line-height: 1.35;
}
.contact-form {
    display: grid;
    gap: 14px;
    margin-top: 17px;
}
.contact-field {
    display: grid;
    gap: 6px;
}
.contact-field label {
    font-size: 14px;
    font-weight: 800;
    color: var(--ink);
}
.contact-field input,
.contact-field textarea {
    width: 100%;
    border: 1px solid var(--line-soft);
    border-radius: 5px;
    background: #ffffff;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    padding: 9px 10px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}
.contact-field input {
    height: 37px;
}
.contact-field textarea {
    min-height: 115px;
    resize: vertical;
}
.contact-field input:focus,
.contact-field textarea:focus {
    outline: 0;
    border-color: var(--sand);
    box-shadow: 0 0 0 2px rgba(198, 161, 91, 0.24);
}
.contact-submit {
    width: 100%;
    min-height: 36px;
    border-radius: 4px;
    border: 0;
    background: var(--moss-deep);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 26px -14px rgba(22, 36, 29, 0.52);
    transition:
        transform 0.25s ease,
        background 0.25s ease;
}
.contact-submit:hover {
    background: var(--moss);
    transform: translateY(-2px);
}
.contact-submit:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}
.contact-message {
    min-height: 12px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.62rem;
    font-weight: 600;
}
.contact-message.success {
    color: var(--moss-bright);
}
.contact-message.error {
    color: var(--clay);
}
@media (max-width: 560px) {
    .contact-modal {
        padding: 5px;
    }
    .contact-dialog {
        max-height: 94vh;
        border-radius: 8px;
        padding: 13px 10px 14px;
    }
    .contact-close {
        top: 9px;
        right: 9px;
        width: 22px;
        height: 22px;
    }
    .contact-close::before,
    .contact-close::after {
        width: 9px;
        height: 2px;
    }
    .contact-pill {
        padding: 4px 9px;
    }
    .contact-dialog h2 {
        margin-top: 13px;
        font-size: 1.18rem;
    }
    .contact-intro {
        font-size: 0.68rem;
    }
    .contact-form {
        gap: 11px;
        margin-top: 14px;
    }
    .contact-field input {
        height: 30px;
    }
    .contact-field textarea {
        min-height: 90px;
    }
    .contact-submit {
        min-height: 31px;
    }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: clamp(64px, 10vw, 120px) 0 clamp(60px, 8vw, 100px);
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        100deg,
        rgba(198, 161, 91, 0.1) 0px,
        rgba(198, 161, 91, 0.1) 2px,
        transparent 2px,
        transparent 120px
    );
    pointer-events: none;
}
.hero-glow {
    position: absolute;
    width: 640px;
    height: 640px;
    top: -220px;
    right: -160px;
    background: radial-gradient(
        circle,
        rgba(198, 161, 91, 0.28) 0%,
        rgba(198, 161, 91, 0) 68%
    );
    pointer-events: none;
}
#vt-motes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero .wrap {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
    min-width: 0;
}
@media (max-width: 980px) {
    .hero .wrap {
        grid-template-columns: 1fr;
    }
}

.hero-copy {
    min-width: 0;
    max-width: 100%;
}
.hero-copy h1 {
    font-size: clamp(2.5rem, 4.6vw, 4.1rem);
    line-height: 1.06;
    letter-spacing: -0.01em;
    margin-top: 18px;
}
.hero-copy p {
    font-size: 1.14rem;
    color: var(--ink-soft);
    max-width: 46ch;
    margin-top: 22px;
    overflow-wrap: break-word;
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 34px;
    flex-wrap: wrap;
}
.hero-note {
    font-size: 0.85rem;
    color: var(--ink-faint);
    margin-top: 18px;
}

/* hero visual */
.hero-visual {
    min-width: 0;
    max-width: 100%;
}
.hero-scene {
    position: relative;
    min-height: clamp(460px, 52vw, 620px);
    isolation: isolate;
}
.clinic-photo {
    position: absolute;
    inset: 4% 0 10% 8%;
    margin: 0;
    border: 1px solid rgba(47, 92, 76, 0.18);
    border-radius: 34px 8px 34px 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lift);
    background: var(--paper-alt);
}
.clinic-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.clinic-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        rgba(22, 36, 29, 0.14),
        rgba(22, 36, 29, 0.02) 38%,
        rgba(246, 243, 234, 0.18)
    );
    pointer-events: none;
}
.hero-schedule {
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(78%, 390px);
    background: rgba(251, 249, 243, 0.93);
    border: 1px solid rgba(221, 211, 184, 0.86);
    border-radius: 8px 28px 8px 28px;
    box-shadow: var(--shadow-lift);
    padding: 18px;
    backdrop-filter: blur(14px);
    z-index: 2;
}
.hero-schedule .mock-head {
    padding-bottom: 12px;
    margin-bottom: 10px;
}
.hero-schedule .slot {
    padding: 10px 4px;
}
.hero-schedule .slot-time {
    width: 56px;
}
.hero-schedule .mock-foot {
    margin-top: 10px;
    padding-top: 12px;
}
.hero-chip {
    position: absolute;
    right: 2%;
    top: 0;
    z-index: 3;
    width: min(43%, 218px);
    background: var(--moss-deep);
    color: var(--paper-alt);
    border: 1px solid rgba(251, 249, 243, 0.16);
    border-radius: 26px 8px 26px 8px;
    padding: 18px 18px 16px;
    box-shadow: var(--shadow-soft);
}
.hero-chip .label {
    font-size: 0.74rem;
    color: rgba(251, 249, 243, 0.58);
}
.hero-chip .value {
    display: block;
    font-family: var(--font-display);
    font-size: 2.05rem;
    line-height: 1;
    margin-top: 8px;
}
.hero-chip .sub {
    display: block;
    font-size: 0.78rem;
    color: rgba(251, 249, 243, 0.68);
    margin-top: 8px;
}
.hero-note-card {
    position: absolute;
    right: 8%;
    bottom: 10%;
    z-index: 3;
    max-width: 230px;
    background: #ffffff;
    border: 1px solid rgba(221, 211, 184, 0.9);
    border-radius: 8px 8px 24px 8px;
    box-shadow: var(--shadow-soft);
    padding: 16px;
}
.hero-note-card .line {
    height: 7px;
    border-radius: 99px;
    background: var(--line-soft);
    margin-bottom: 9px;
}
.hero-note-card .line:nth-child(2) {
    width: 78%;
    background: rgba(111, 143, 160, 0.32);
}
.hero-note-card .line:nth-child(3) {
    width: 86%;
}
.hero-note-card .line:nth-child(4) {
    width: 58%;
    background: rgba(181, 83, 61, 0.22);
}
.hero-note-card span {
    display: block;
    font-size: 0.76rem;
    color: var(--ink-faint);
    margin-top: 14px;
}
@media (max-width: 980px) {
    .hero-scene {
        min-height: 540px;
        max-width: 680px;
    }
    .clinic-photo {
        inset: 0 0 11% 5%;
    }
}
@media (max-width: 560px) {
    .wrap {
        padding-left: 24px;
        padding-right: 24px;
    }
    .hero {
        padding-top: 54px;
    }
    .hero-copy,
    .hero-actions,
    .hero-note,
    .hero-visual {
        width: calc(100vw - 48px);
        max-width: calc(100vw - 48px);
    }
    .eyebrow {
        font-size: 0.66rem;
        letter-spacing: 0.1em;
        white-space: normal;
    }
    .hero-copy h1 {
        font-size: clamp(1.9rem, 8.6vw, 2.3rem);
        line-height: 1.12;
        overflow-wrap: anywhere;
    }
    .hero-copy p {
        font-size: 1.02rem;
    }
    .hero-actions {
        align-items: stretch;
        gap: 12px;
        width: 100%;
        max-width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }
    .hero-scene {
        min-height: 500px;
    }
    .clinic-photo {
        left: 0;
        bottom: 18%;
    }
    .hero-schedule {
        width: calc(100vw - 48px);
        padding: 16px;
    }
    .hero-chip {
        right: 10px;
        width: 168px;
        padding: 15px;
    }
    .hero-note-card {
        display: none;
    }
    .hero-schedule .slot {
        gap: 9px;
        padding: 10px 2px;
    }
    .hero-schedule .slot-time {
        width: 48px;
        font-size: 0.76rem;
    }
    .hero-schedule .tag {
        font-size: 0.66rem;
        padding: 4px 8px;
    }
}

/* mock panel */
.mock {
    position: relative;
    background: var(--paper-alt);
    border: 1px solid var(--line);
    border-radius: 30px 8px 30px 8px;
    box-shadow: var(--shadow-lift);
    padding: 22px;
}
.mock-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 2px 4px 16px;
    border-bottom: 1px solid var(--line-soft);
    margin-bottom: 16px;
}
.mock-head .day {
    font-family: var(--font-display);
    font-size: 1.1rem;
}
.mock-head .sub {
    font-size: 0.8rem;
    color: var(--ink-faint);
}
.slot {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 8px;
    border-radius: 8px;
    transition: background 0.2s ease;
}
.slot:hover {
    background: var(--paper-deep);
}
.slot + .slot {
    border-top: 1px dashed var(--line-soft);
}
.slot-time {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    font-size: 0.82rem;
    color: var(--ink-faint);
    width: 64px;
    flex-shrink: 0;
}
.slot-info {
    flex: 1;
    min-width: 0;
}
.slot-info .who {
    font-size: 0.94rem;
    font-weight: 600;
}
.slot-info .what {
    font-size: 0.82rem;
    color: var(--ink-faint);
}
.tag {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}
.tag-confirmed {
    background: rgba(47, 92, 76, 0.12);
    color: var(--moss);
}
.tag-pending {
    background: var(--sand-soft);
    color: #8a6a28;
}
.tag-done {
    background: var(--line-soft);
    color: var(--ink-faint);
}
.mock-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
}
.mock-foot .label {
    font-size: 0.78rem;
    color: var(--ink-faint);
}
.mock-foot .value {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    font-size: 1.05rem;
    font-weight: 600;
}
.mock-badge {
    position: absolute;
    bottom: -16px;
    left: -16px;
    background: var(--moss);
    color: var(--paper-alt);
    border-radius: 8px 8px 8px 2px;
    padding: 12px 16px;
    box-shadow: var(--shadow-soft);
    font-size: 0.82rem;
}
.mock-badge b {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-variant-numeric: tabular-nums;
}

/* ---------- reveal ---------- */
.reveal {
    opacity: 1;
    transform: translateY(22px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------- section shell ---------- */
section {
    position: relative;
}
.band {
    padding: clamp(70px, 9vw, 120px) 0;
}
.band-alt {
    background: var(--paper-deep);
}
.slant-top {
    position: relative;
}
.slant-top::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--paper);
    clip-path: polygon(0 0, 100% 0, 100% 30%, 0 100%);
    z-index: 1;
}

.section-head {
    max-width: 640px;
    margin-bottom: clamp(40px, 6vw, 64px);
}
.section-head h2 {
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    margin-top: 14px;
    line-height: 1.12;
}
.section-head p {
    color: var(--ink-soft);
    font-size: 1.04rem;
    margin-top: 16px;
    max-width: 52ch;
}
.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.section-head.center p {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- pillars ---------- */
.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
@media (max-width: 900px) {
    .pillars {
        grid-template-columns: 1fr;
    }
}
.pillar {
    background: var(--paper-alt);
    border: 1px solid var(--line-soft);
    border-radius: 26px 8px 26px 8px;
    padding: 32px 28px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}
.pillar:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
    border-color: var(--line);
}
.pillar-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
}
.pillar h3 {
    font-size: 1.28rem;
    margin-bottom: 10px;
}
.pillar p {
    color: var(--ink-soft);
    font-size: 0.98rem;
}
.pillar ul {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.pillar li {
    font-size: 0.95rem;
    color: var(--ink-soft);
    display: grid;
    grid-template-columns: 10px 1fr;
    gap: 16px;
    align-items: start;
    line-height: 1.45;
}
.pillar li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sand);
    transform: translateY(0.65em);
}

/* ---------- visual story ---------- */
.visual-story {
    padding: clamp(26px, 5vw, 56px) 0 clamp(76px, 8vw, 120px);
}
.story-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: clamp(28px, 5vw, 56px);
    align-items: center;
}
@media (max-width: 900px) {
    .story-shell {
        grid-template-columns: 1fr;
    }
}
.story-media {
    position: relative;
    min-height: 420px;
}
.story-photo {
    margin: 0;
    position: absolute;
    inset: 0 10% 0 0;
    overflow: hidden;
    border-radius: 8px 34px 8px 34px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lift);
    background: var(--paper-alt);
}
.story-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.story-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(22, 36, 29, 0.02),
        rgba(22, 36, 29, 0.18)
    );
}
.story-panel {
    position: absolute;
    right: 0;
    bottom: 34px;
    width: min(54%, 310px);
    background: rgba(251, 249, 243, 0.94);
    border: 1px solid rgba(221, 211, 184, 0.92);
    border-radius: 26px 8px 26px 8px;
    box-shadow: var(--shadow-soft);
    padding: 18px;
    backdrop-filter: blur(12px);
}
.story-panel h3 {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 14px;
}
.mini-bars {
    display: grid;
    gap: 10px;
}
.mini-bar {
    display: grid;
    grid-template-columns: 54px 1fr 42px;
    gap: 10px;
    align-items: center;
    font-size: 0.74rem;
    color: var(--ink-faint);
}
.mini-bar span:nth-child(2) {
    height: 8px;
    border-radius: 99px;
    background: var(--line-soft);
    overflow: hidden;
    position: relative;
}
.mini-bar span:nth-child(2)::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--w);
    background: var(--c, var(--moss));
    border-radius: inherit;
}
.story-copy h2 {
    font-size: clamp(1.9rem, 3vw, 2.55rem);
    line-height: 1.12;
    margin-top: 14px;
}
.story-copy p {
    color: var(--ink-soft);
    font-size: 1.02rem;
    margin-top: 16px;
    margin-bottom: 16px;
}
.story-list {
    display: grid;
    gap: 16px;
    margin-top: 30px;
}
.story-list li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: start;
}
.story-list .mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper-alt);
    border: 1px solid var(--line);
    color: var(--moss);
    font-family: var(--font-mono);
    font-size: 0.78rem;
}
.story-list b {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}
.story-list span {
    display: block;
    color: var(--ink-soft);
    font-size: 0.88rem;
}
@media (max-width: 560px) {
    .story-media {
        min-height: 360px;
    }
    .story-photo {
        right: 0;
    }
    .story-panel {
        width: 88%;
        right: 6%;
        bottom: -18px;
    }
}

/* ---------- showcase ---------- */
.app-showcase {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(30px, 5vw, 64px);
    align-items: center;
    margin-bottom: clamp(42px, 6vw, 70px);
}
.app-showcase .section-head {
    margin-bottom: 0;
}
.app-shot {
    position: relative;
    margin: 0;
    border: 1px solid rgba(47, 92, 76, 0.22);
    border-radius: 8px 32px 8px 32px;
    background: var(--paper-alt);
    box-shadow: var(--shadow-lift);
    overflow: hidden;
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}
.app-shot:hover {
    transform: translateY(-4px);
    border-color: rgba(47, 92, 76, 0.48);
    box-shadow: 0 34px 70px -32px rgba(22, 36, 29, 0.52);
}
.app-shot::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(47, 92, 76, 0.06),
        transparent 26%
    );
    pointer-events: none;
    z-index: 1;
}
.app-shot img {
    width: 100%;
    height: auto;
    display: block;
}
.app-shot-label {
    position: absolute;
    left: 22px;
    bottom: 22px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(251, 249, 243, 0.94);
    border: 1px solid rgba(47, 92, 76, 0.22);
    border-radius: 8px 18px 8px 18px;
    box-shadow: var(--shadow-soft);
    padding: 12px 15px;
    color: var(--ink-soft);
    font-size: 0.82rem;
}
.app-shot-label b {
    display: block;
    color: var(--ink);
    font-size: 0.9rem;
}
.app-shot-label svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--moss);
}
@media (max-width: 900px) {
    .app-showcase {
        grid-template-columns: 1fr;
    }
}
.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}
@media (max-width: 860px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }
}
.showcase-grid .mock {
    margin-top: 0;
}
.showcase-grid .showcase-col:nth-child(2) {
    margin-top: 44px;
}
@media (max-width: 860px) {
    .showcase-grid .showcase-col:nth-child(2) {
        margin-top: 0;
    }
}
.showcase-caption {
    margin-top: 16px;
    padding: 0 6px;
}
.showcase-caption h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}
.showcase-caption p {
    font-size: 0.88rem;
    color: var(--ink-soft);
}
@media (max-width: 680px) {
    .app-shot-label {
        left: 14px;
        bottom: 14px;
    }
}

.profile-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 2px 4px 16px;
    border-bottom: 1px solid var(--line-soft);
    margin-bottom: 16px;
}
.profile-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--moss);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    flex-shrink: 0;
}
.profile-name {
    font-family: var(--font-display);
    font-size: 1.08rem;
}
.profile-sub {
    font-size: 0.8rem;
    color: var(--ink-faint);
}
.profile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 8px;
    border-top: 1px dashed var(--line-soft);
    gap: 12px;
}
.profile-row:first-of-type {
    border-top: none;
}
.profile-row .label {
    font-size: 0.82rem;
    color: var(--ink-faint);
}
.profile-row .val {
    font-size: 0.88rem;
    font-weight: 600;
    text-align: right;
}
.profile-note {
    margin-top: 14px;
    padding: 14px;
    background: var(--paper-deep);
    border-radius: 4px 14px 4px 14px;
    font-size: 0.85rem;
    color: var(--ink-soft);
    font-style: italic;
    line-height: 1.55;
}

.invoice-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 8px;
}
.invoice-row + .invoice-row {
    border-top: 1px dashed var(--line-soft);
}
.invoice-id {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--ink-faint);
    width: 76px;
    flex-shrink: 0;
}
.invoice-who {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 600;
}
.invoice-amt {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    font-size: 0.88rem;
    width: 70px;
    text-align: right;
    flex-shrink: 0;
}
.tag-overdue {
    background: rgba(181, 83, 61, 0.12);
    color: #b5533d;
}

/* ---------- workflow ---------- */
.workflow {
    position: relative;
}
.flow-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    counter-reset: step;
}
.flow-track::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 6%;
    right: 6%;
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        var(--line) 0 8px,
        transparent 8px 14px
    );
}
@media (max-width: 900px) {
    .flow-track {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .flow-track::before {
        display: none;
    }
}
.flow-step {
    position: relative;
    padding-right: 20px;
}
.flow-num {
    counter-increment: step;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--paper);
    border: 1px solid var(--moss);
    color: var(--moss);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
}
.flow-num::before {
    content: counter(step, decimal-leading-zero);
}
.flow-step h3 {
    font-size: 1.08rem;
    margin-bottom: 8px;
}
.flow-step p {
    font-size: 0.9rem;
    color: var(--ink-soft);
    max-width: 30ch;
}

/* ---------- features grid ---------- */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line-soft);
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    overflow: hidden;
}
@media (max-width: 980px) {
    .feat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 560px) {
    .feat-grid {
        grid-template-columns: 1fr;
    }
}
.feat-item {
    background: var(--paper-alt);
    padding: 28px 26px;
    transition: background 0.25s ease;
}
.feat-item:hover {
    background: var(--paper);
}
.feat-item .icon-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.feat-item .icon-row svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}
.feat-item .num {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--sand);
}
.feat-item h3 {
    font-size: 1.02rem;
    margin-top: 14px;
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-weight: 700;
}
.feat-item p {
    font-size: 0.88rem;
    color: var(--ink-soft);
}

/* ---------- testimonials ---------- */
.quotes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
@media (max-width: 900px) {
    .quotes {
        grid-template-columns: 1fr;
    }
}
.quote {
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: 8px 26px 8px 26px;
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.quote-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 600;
    color: #fff;
    flex-shrink: 0;
}
.quote p {
    font-family: var(--font-display);
    font-size: 1.08rem;
    line-height: 1.5;
    color: var(--ink);
}
.quote .who {
    font-size: 0.85rem;
    color: var(--ink-faint);
    border-top: 1px solid var(--line-soft);
    padding-top: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}
.quote .who .meta b {
    color: var(--ink-soft);
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
}
.sample-note {
    font-size: 0.78rem;
    color: var(--ink-faint);
    margin-top: 20px;
    text-align: center;
    font-style: italic;
}

/* ---------- pricing ---------- */
.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}
@media (max-width: 960px) {
    .price-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }
}
.price-card {
    background: var(--paper-alt);
    border: 1px solid var(--line-soft);
    border-radius: 8px 28px 8px 28px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
}
.price-card.featured {
    border-color: var(--moss);
    box-shadow: var(--shadow-lift);
    position: relative;
    background: var(--paper);
}
.price-ribbon {
    position: absolute;
    top: -14px;
    left: 28px;
    background: var(--sand);
    color: var(--moss-deep);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 6px 14px;
    border-radius: 20px;
}
.price-card h3 {
    font-size: 1.15rem;
}
.price-card .desc {
    font-size: 0.88rem;
    color: var(--ink-faint);
    margin-top: 6px;
}
.price-amount {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 22px 0;
}
.price-amount .num {
    font-family: var(--font-display);
    font-size: 2.6rem;
}
.price-amount .per {
    font-size: 0.9rem;
    color: var(--ink-faint);
}
.price-card ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
    flex: 1;
}
.price-card li {
    font-size: 0.9rem;
    color: var(--ink-soft);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.price-card li svg {
    flex-shrink: 0;
    margin-top: 3px;
}
.price-card .btn {
    width: 100%;
}

/* ---------- faq ---------- */
.faq-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(28px, 5vw, 58px);
    align-items: start;
}
.faq-aside {
    position: sticky;
    top: 104px;
    background: var(--moss-deep);
    color: var(--paper-alt);
    border-radius: 8px 32px 8px 32px;
    padding: 30px 28px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}
.faq-aside::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            140deg,
            rgba(216, 186, 124, 0.22),
            transparent 42%
        ),
        repeating-linear-gradient(
            105deg,
            rgba(251, 249, 243, 0.06) 0 1px,
            transparent 1px 48px
        );
    pointer-events: none;
}
.faq-aside > * {
    position: relative;
}
.faq-aside .eyebrow {
    color: var(--sand-bright);
}
.faq-aside h2 {
    color: var(--paper-alt);
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    line-height: 1.12;
    margin-top: 16px;
}
.faq-aside p {
    color: rgba(251, 249, 243, 0.7);
    font-size: 0.98rem;
    margin-top: 16px;
}
.faq-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 28px;
}
.faq-stat {
    border: 1px solid rgba(251, 249, 243, 0.14);
    background: rgba(251, 249, 243, 0.07);
    border-radius: 8px 18px 8px 18px;
    padding: 14px;
}
.faq-stat b {
    display: block;
    font-family: var(--font-display);
    font-size: 1.45rem;
    line-height: 1;
    color: var(--sand-bright);
}
.faq-stat span {
    display: block;
    font-size: 0.76rem;
    color: rgba(251, 249, 243, 0.64);
    margin-top: 7px;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq-item {
    background: rgba(251, 249, 243, 0.72);
    border: 1px solid var(--line-soft);
    border-radius: 8px 24px 8px 24px;
    box-shadow: 0 18px 42px -34px rgba(22, 36, 29, 0.42);
    overflow: hidden;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}
.faq-item.open {
    background: var(--paper-alt);
    border-color: rgba(47, 92, 76, 0.26);
    box-shadow: var(--shadow-soft);
}
.faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    display: grid;
    grid-template-columns: 42px 1fr 24px;
    align-items: center;
    gap: 16px;
    padding: 22px 22px;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--ink);
}
.faq-num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper-deep);
    border: 1px solid var(--line);
    color: var(--moss);
    font-family: var(--font-mono);
    font-size: 0.78rem;
}
.faq-q .plus {
    width: 20px;
    height: 20px;
    position: relative;
    justify-self: end;
}
.faq-q .plus::before,
.faq-q .plus::after {
    content: "";
    position: absolute;
    background: var(--moss);
    border-radius: 1px;
}
.faq-q .plus::before {
    left: 0;
    top: 9px;
    width: 20px;
    height: 2px;
}
.faq-q .plus::after {
    left: 9px;
    top: 0;
    width: 2px;
    height: 20px;
    transition: transform 0.25s ease;
}
.faq-item.open .faq-q .plus::after {
    transform: rotate(90deg);
}
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-a p {
    padding: 0 24px 24px 80px;
    color: var(--ink-soft);
    font-size: 0.98rem;
    max-width: 72ch;
}
@media (max-width: 860px) {
    .faq-layout {
        grid-template-columns: 1fr;
    }
    .faq-aside {
        position: relative;
        top: auto;
    }
}
@media (max-width: 560px) {
    .faq-q {
        grid-template-columns: 34px 1fr 20px;
        gap: 12px;
        padding: 18px 16px;
        font-size: 0.96rem;
    }
    .faq-num {
        width: 34px;
        height: 34px;
        font-size: 0.72rem;
    }
    .faq-a p {
        padding: 0 16px 20px 62px;
        font-size: 0.92rem;
    }
    .faq-stats {
        grid-template-columns: 1fr;
    }
}

/* ---------- features page ---------- */
.nav-links a[aria-current="page"] {
    color: var(--ink);
}
.nav-links a[aria-current="page"]::after {
    transform: scaleX(1);
}
.features-hero {
    padding-bottom: clamp(48px, 6vw, 72px);
}
.features-hero .wrap {
    display: block;
}
.features-hero .hero-copy {
    max-width: 780px;
}
.features-hero .hero-copy p {
    max-width: 60ch;
}
.feature-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: clamp(36px, 5vw, 52px);
}
.feature-jump a {
    padding: 8px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper-alt);
    color: var(--ink-soft);
    font-size: 0.86rem;
    transition:
        border-color 0.25s ease,
        color 0.25s ease;
}
.feature-jump a:hover {
    border-color: var(--moss);
    color: var(--moss-deep);
}
.feature-section {
    scroll-margin-top: 74px;
}
.feature-row {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 6vw, 72px);
    align-items: center;
}
.feature-row.reverse .feature-copy {
    order: 2;
}
.feature-copy h2 {
    font-size: clamp(1.9rem, 3vw, 2.45rem);
    line-height: 1.12;
    margin-top: 14px;
}
.faq-list.pricing-faq {
    max-width: 820px;
}
.faq-group .section-head {
    margin-bottom: 0;
}
.btn.feature-more {
    margin-top: 28px;
}
.feature-copy > p {
    color: var(--ink-soft);
    font-size: 1.02rem;
    margin-top: 16px;
}
.feature-copy .feature-list {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}
.feat-grid.two-col {
    grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 560px) {
    .feat-grid.two-col {
        grid-template-columns: 1fr;
    }
}
.feature-list li {
    display: grid;
    grid-template-columns: 10px 1fr;
    gap: 14px;
    align-items: start;
}
.feature-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sand);
    transform: translateY(0.62em);
}
.feature-list b {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}
.feature-list span {
    display: block;
    color: var(--ink-soft);
    font-size: 0.9rem;
    line-height: 1.5;
}
.feature-visual {
    margin: 0;
    min-width: 0;
}
.feature-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    aspect-ratio: 4 / 3;
    padding: 24px;
    border: 1px dashed var(--line);
    border-radius: 8px 32px 8px 32px;
    background: var(--paper-alt);
    color: var(--ink-faint);
    font-size: 0.86rem;
    text-align: center;
}
.band-alt .feature-placeholder {
    background: var(--paper);
}
.feature-placeholder svg {
    width: 40px;
    height: 40px;
}
.feature-placeholder b {
    display: block;
    color: var(--ink-soft);
    font-size: 0.95rem;
}
@media (max-width: 900px) {
    .feature-row {
        grid-template-columns: 1fr;
    }
    .feature-row.reverse .feature-copy {
        order: 0;
    }
}

/* ---------- final cta ---------- */
.cta-final {
    background: var(--moss-deep);
    color: var(--paper-alt);
    padding: clamp(70px, 10vw, 110px) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-final::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        100deg,
        rgba(214, 186, 124, 0.06) 0 2px,
        transparent 2px 90px
    );
}
.cta-plant {
    position: absolute;
    bottom: -30px;
    left: -20px;
    width: 220px;
    height: 220px;
    opacity: 0.16;
    pointer-events: none;
}
.cta-plant.right {
    left: auto;
    right: -30px;
    bottom: -40px;
    width: 260px;
    height: 260px;
    transform: scaleX(-1);
}
.cta-final .wrap {
    position: relative;
}
.cta-final h2 {
    color: var(--paper-alt);
    font-size: clamp(2rem, 4vw, 3rem);
    max-width: 16ch;
    margin: 0 auto;
}
.cta-final p {
    color: rgba(251, 249, 243, 0.72);
    margin-top: 18px;
    font-size: 1.05rem;
}
.cta-final .hero-actions {
    justify-content: center;
    margin-top: 32px;
}
.cta-final .hero-note {
    color: rgba(251, 249, 243, 0.55);
}

/* ---------- footer ---------- */
footer {
    background: var(--moss-deep);
    color: rgba(251, 249, 243, 0.7);
    padding: 56px 0 32px;
}
.foot-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(251, 249, 243, 0.12);
}
.foot-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.foot-brand .brand {
    color: var(--paper-alt);
    justify-content: center;
}
.foot-brand p {
    margin-top: 14px;
    font-size: 0.88rem;
    max-width: none;
    color: rgba(251, 249, 243, 0.55);
}
.foot-col h4 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(251, 249, 243, 0.85);
    margin-bottom: 16px;
}
.foot-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.foot-col a {
    font-size: 0.88rem;
    color: rgba(251, 249, 243, 0.62);
}
.foot-col a:hover {
    color: var(--paper-alt);
}
.foot-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    font-size: 0.8rem;
    color: rgba(251, 249, 243, 0.45);
    flex-wrap: wrap;
    gap: 12px;
}
