:root {
    --ink: #0e1a2b;
    --ink-soft: #35425a;
    --muted: #5b6678;
    --line: #e3e6eb;
    --surface: #f6f7f9;
    --white: #ffffff;
    --accent: #0f7ccf;
    --accent-deep: #0a5fa0;
    --accent-tint: #e7f2fb;
    --ok: #17803d;
    --ok-tint: #e6f4ea;
    --warn: #b45309;
    --warn-tint: #fdf1e1;
    --radius: 14px;
    --font-display: 'Outfit', system-ui, sans-serif;
    --font-body: 'Geist', system-ui, sans-serif;
    --section-gap: clamp(3.5rem, 8vw, 6.5rem);
    --spring: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    line-height: 1.12;
    margin: 0;
}

h1 {
    font-size: clamp(2.4rem, 5.2vw, 4.1rem);
    font-weight: 600;
}

h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.6rem);
    font-weight: 600;
}

h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

p {
    margin: 0;
}

.lead {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    color: var(--ink-soft);
    max-width: 58ch;
}

.eyebrow {
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-deep);
}

.wrap {
    width: min(1180px, 100% - 2.5rem);
    margin-inline: auto;
}

.section {
    padding-block: var(--section-gap);
}

.section--tint {
    background: var(--surface);
}

.stack>*+* {
    margin-top: 1.1rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    gap: 1rem;
}

.brand img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav a.nav-link {
    text-decoration: none;
    font-weight: 500;
    color: var(--ink-soft);
    padding: .5rem 0;
    position: relative;
}

.nav a.nav-link:hover,
.nav a.nav-link[aria-current="page"] {
    color: var(--ink);
}

.nav a.nav-link[aria-current="page"]::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--accent);
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line);
    border-radius: 10px;
    min-width: 44px;
    min-height: 44px;
    font: inherit;
    cursor: pointer;
}

/* Sign-in menu */
.signin {
    position: relative;
}

.signin summary {
    list-style: none;
    cursor: pointer;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: 0 1.1rem;
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    font-weight: 600;
    transition: transform .25s var(--spring), background .2s;
}

.signin summary::-webkit-details-marker {
    display: none;
}

.signin summary:active {
    transform: scale(.97);
}

.signin summary:hover {
    background: #1c2c45;
}

.signin-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 300px;
    padding: .6rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 40px -18px rgba(14, 26, 43, .25);
}

.signin-panel a {
    display: block;
    text-decoration: none;
    padding: .8rem .9rem;
    border-radius: 10px;
    min-height: 44px;
}

.signin-panel a:hover {
    background: var(--surface);
}

.signin-panel strong {
    display: block;
    font-weight: 600;
}

.signin-panel span {
    font-size: .88rem;
    color: var(--muted);
}

/* Buttons */
.nav-cta {
    min-height: 44px;
    padding: 0 1.25rem;
    font-size: .95rem;
    white-space: nowrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 48px;
    padding: 0 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    transition: transform .25s var(--spring), background .2s, border-color .2s;
}

.btn:active {
    transform: scale(.97);
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-deep);
}

.btn-secondary {
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--line);
}

.btn-secondary:hover {
    background: #eaf1f8;
    border-color: #cbd5e1;
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.btn-ghost:hover {
    border-color: var(--ink);
}

/* Showcase Cards */
.showcase-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 20px -4px rgba(14, 26, 43, 0.05);
    transition: transform .25s var(--spring), box-shadow .25s var(--spring), border-color .2s;
}

.showcase-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px -8px rgba(14, 26, 43, 0.12);
    border-color: #cbd5e1;
}

.showcase-badge {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: #e6f4ea;
    color: #166534;
    margin-bottom: 1rem;
}

.showcase-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.showcase-card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

.showcase-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.showcase-meta span {
    font-size: 0.78rem;
    background: var(--surface);
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    color: var(--ink-soft);
    border: 1px solid var(--line);
}

.text-link {
    color: var(--accent-deep);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

/* Hero */
.hero {
    padding-block: clamp(3rem, 7vw, 5.5rem) var(--section-gap);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.hero h1 {
    margin: 1rem 0 1.4rem;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent);
}

.hero .actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

/* Hero Pill Badge */
.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: var(--accent-tint);
    color: var(--accent-deep);
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid rgba(15, 124, 207, 0.2);
    margin-bottom: 0.75rem;
}

.dot-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 0 0 rgba(23, 128, 61, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(23, 128, 61, 0.5); }
    70% { box-shadow: 0 0 0 8px rgba(23, 128, 61, 0); }
    100% { box-shadow: 0 0 0 0 rgba(23, 128, 61, 0); }
}

/* Hero Quick Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
}

.hero-stat-item b {
    display: block;
    font-size: 1.45rem;
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.hero-stat-item span {
    font-size: 0.82rem;
    color: var(--muted);
}

/* Compact Preview Frame (Small image with explanation) */
.preview-frame {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 16px 36px -12px rgba(14, 26, 43, 0.12);
    overflow: hidden;
    max-width: 480px;
    margin-inline: auto;
    transition: transform .25s var(--spring), box-shadow .25s var(--spring);
}

.preview-frame:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px -12px rgba(14, 26, 43, 0.16);
}

.preview-frame-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.95rem;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    font-size: 0.76rem;
    color: var(--muted);
    font-weight: 500;
}

.preview-frame-dots {
    display: flex;
    gap: 5px;
}

.preview-frame-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
}

.preview-frame-dots span:nth-child(1) { background: #fca5a5; }
.preview-frame-dots span:nth-child(2) { background: #fde047; }
.preview-frame-dots span:nth-child(3) { background: #86efac; }

.preview-frame-img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid var(--line);
}

.preview-frame-caption {
    padding: 1rem 1.15rem;
    background: var(--white);
}

.preview-frame-caption strong {
    display: block;
    font-size: 0.92rem;
    color: var(--ink);
    margin-bottom: 0.25rem;
}

.preview-frame-caption p {
    font-size: 0.84rem;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 0.65rem;
}

.preview-frame-caption a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-deep);
    text-decoration: none;
}

.preview-frame-caption a:hover {
    text-decoration: underline;
}

/* How It Works 4-Step Cards (FeeSetu style) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.4rem;
    margin-top: 2.5rem;
}

.step-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .2s var(--spring), box-shadow .2s;
}

.step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -8px rgba(14, 26, 43, 0.08);
    border-color: #cbd5e1;
}

.step-num {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-deep);
    background: var(--accent-tint);
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.step-card h3 {
    font-size: 1.18rem;
    margin-bottom: 0.45rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.55;
}

/* Product mock built in CSS */
.mock {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 30px 60px -34px rgba(14, 26, 43, .35);
    overflow: hidden;
}

.mock-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.mock-bar strong {
    font-family: var(--font-display);
    font-size: 1rem;
}

.mock-bar small {
    color: var(--muted);
}

.mock-kpis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--line);
}

.mock-kpis div {
    padding: 1.1rem 1.25rem;
}

.mock-kpis div+div {
    border-left: 1px solid var(--line);
}

.mock-kpis small {
    display: block;
    color: var(--muted);
    font-size: .8rem;
}

.mock-kpis b {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.mock-row {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .9rem 1.25rem;
    border-bottom: 1px solid var(--line);
}

.mock-row:last-child {
    border-bottom: 0;
}

.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--accent-tint);
    color: var(--accent-deep);
    font-weight: 600;
    flex: none;
}

.mock-row .who {
    flex: 1;
    min-width: 0;
}

.mock-row .who b {
    display: block;
    font-weight: 600;
}

.mock-row .who small {
    color: var(--muted);
}

.mock-row .amt {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.pill {
    font-size: .72rem;
    font-weight: 600;
    padding: .22rem .6rem;
    border-radius: 999px;
}

.pill--ok {
    background: var(--ok-tint);
    color: var(--ok);
}

.pill--warn {
    background: var(--warn-tint);
    color: var(--warn);
}

.pill--info {
    background: var(--accent-tint);
    color: var(--accent-deep);
}

.mock-note {
    margin: 1rem 1.25rem 1.25rem;
    padding: .9rem 1rem;
    border-radius: 12px;
    background: var(--surface);
    font-size: .92rem;
    color: var(--ink-soft);
    display: flex;
    gap: .7rem;
    align-items: center;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--ok);
    flex: none;
    animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .45;
        transform: scale(.8);
    }
}

/* Intro strip */
.proof {
    border-block: 1px solid var(--line);
}

.proof .wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.proof div {
    padding: 1.4rem 1.25rem;
}

.proof div+div {
    border-left: 1px solid var(--line);
}

.proof b {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
}

.proof span {
    color: var(--muted);
    font-size: .92rem;
}

/* Zig-zag feature rows */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.split+.split {
    margin-top: var(--section-gap);
}

.split--flip> :first-child {
    order: 2;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0 0;
}

.checklist li {
    display: flex;
    gap: .8rem;
    padding: .7rem 0;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
}

.checklist li::before {
    content: '';
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: .25rem;
    border-radius: 50%;
    background: var(--accent-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%230a5fa0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: clamp(1.25rem, 3vw, 2rem);
}

.receipt {
    background: var(--white);
    border: 1px dashed #c9cfd9;
    border-radius: 12px;
    padding: 1.25rem;
    font-variant-numeric: tabular-nums;
}

.receipt header {
    display: flex;
    justify-content: space-between;
    margin-bottom: .8rem;
    padding-bottom: .8rem;
    border-bottom: 1px solid var(--line);
}

.receipt dl {
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .4rem 1.2rem;
}

.receipt dt {
    color: var(--muted);
}

.receipt dd {
    margin: 0;
    text-align: right;
    font-weight: 500;
}

.receipt .total {
    margin-top: .9rem;
    padding-top: .9rem;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.2rem;
}

.chat {
    display: grid;
    gap: .7rem;
}

.bubble {
    max-width: 88%;
    padding: .85rem 1rem;
    border-radius: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    font-size: .95rem;
    color: var(--ink-soft);
}

.bubble--out {
    margin-left: auto;
    background: #dff3e4;
    border-color: #c8e8d0;
    color: #14391f;
}

.bubble small {
    display: block;
    margin-top: .4rem;
    color: var(--muted);
}

/* Audiences */
.audience {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(1.5rem, 4vw, 3rem);
}

.audience-col {
    padding: clamp(1.5rem, 3vw, 2.4rem);
    border-radius: 20px;
    border: 1px solid var(--line);
    background: var(--white);
}

.audience-col--dark {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
}

.audience-col--dark p,
.audience-col--dark li {
    color: #c6cfdd;
}

.audience-col--dark .checklist li {
    border-color: #26364f;
}

.audience-col--dark .checklist li::before {
    background-color: #1c3350;
}

/* Steps */
.steps {
    list-style: none;
    margin: 2.5rem 0 0;
    padding: 0;
    counter-reset: step;
    border-top: 1px solid var(--line);
}

.steps li {
    display: grid;
    grid-template-columns: 64px 1fr 1.2fr;
    gap: 1.5rem;
    padding: 1.6rem 0;
    border-bottom: 1px solid var(--line);
    counter-increment: step;
    align-items: baseline;
}

.steps li::before {
    content: counter(step, decimal-leading-zero);
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--accent);
    font-size: 1.3rem;
}

.steps p {
    color: var(--ink-soft);
}

/* CTA band */
.cta {
    background: var(--ink);
    color: var(--white);
    border-radius: 28px;
    padding: clamp(2rem, 6vw, 4rem);
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: center;
}

.cta p {
    color: #c6cfdd;
    margin-top: .8rem;
}

.cta .actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    justify-content: flex-end;
}

.cta .btn-ghost {
    color: var(--white);
    border-color: #3a4b66;
}

.cta .btn-ghost:hover {
    border-color: var(--white);
}

/* Features page */
.page-head {
    padding-block: clamp(3rem, 7vw, 5rem) 2rem;
    border-bottom: 1px solid var(--line);
}

.page-head h1 {
    margin: .9rem 0 1.2rem;
    max-width: 18ch;
}

.features-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    padding-block: 3rem var(--section-gap);
}

.toc {
    position: sticky;
    top: 92px;
    align-self: start;
}

.toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 1px solid var(--line);
}

.toc a {
    display: block;
    padding: .5rem 0 .5rem 1rem;
    margin-left: -1px;
    border-left: 2px solid transparent;
    text-decoration: none;
    color: var(--muted);
    font-weight: 500;
}

.toc a:hover {
    color: var(--ink);
    border-left-color: var(--accent);
}

.feature-group {
    padding-bottom: 3.5rem;
    margin-bottom: 3.5rem;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 96px;
}

.feature-group:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}

.feature-group>p {
    margin-top: .9rem;
    color: var(--ink-soft);
    max-width: 62ch;
}

.feature-list {
    list-style: none;
    margin: 1.6rem 0 0;
    padding: 0;
}

.feature-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 1.5rem;
    padding: 1.1rem 0;
    border-top: 1px solid var(--line);
}

.feature-list b {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
}

.feature-list span {
    color: var(--ink-soft);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 6vw, 5rem);
    padding-block: 3rem var(--section-gap);
}

.contact-side .stack {
    margin-top: 2rem;
}

.contact-side h3 {
    margin-bottom: .3rem;
}

.contact-side p {
    color: var(--ink-soft);
}

.form {
    display: grid;
    gap: 1.1rem;
    padding: clamp(1.4rem, 3vw, 2.2rem);
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
}

.field {
    display: grid;
    gap: .4rem;
}

.field label {
    font-weight: 600;
    font-size: .92rem;
}

.field input,
.field select,
.field textarea {
    font: inherit;
    color: var(--ink);
    background: var(--white);
    min-height: 48px;
    padding: .7rem .9rem;
    border: 1px solid #cdd3dc;
    border-radius: 12px;
    transition: border-color .2s, box-shadow .2s;
}

.field textarea {
    min-height: 130px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-tint);
}

.field small {
    color: var(--muted);
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    min-height: 1.4rem;
    font-weight: 500;
}

.form-status.ok {
    color: var(--ok);
}

.form-status.err {
    color: #b42318;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--line);
    background: var(--surface);
    padding-block: 3rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-grid h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin: 0 0 .8rem;
}

.footer-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .5rem;
}

.footer-grid a {
    text-decoration: none;
    color: var(--ink-soft);
}

.footer-grid a:hover {
    color: var(--accent-deep);
}

.footer-grid p {
    color: var(--muted);
    max-width: 34ch;
    margin-top: .8rem;
}

.legal {
    margin-top: 2.5rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .9rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .6rem;
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--spring), transform .7s var(--spring);
    transition-delay: calc(var(--i, 0) * 80ms);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .dot {
        animation: none;
    }
}

/* Responsive */
@media (max-width: 960px) {

    .hero-grid,
    .split,
    .audience,
    .cta,
    .contact-grid,
    .features-layout {
        grid-template-columns: 1fr;
    }

    .split--flip> :first-child {
        order: 0;
    }

    .proof .wrap {
        grid-template-columns: 1fr 1fr;
    }

    .proof div:nth-child(3) {
        border-left: 0;
    }

    .proof div:nth-child(n+3) {
        border-top: 1px solid var(--line);
    }

    .steps li {
        grid-template-columns: 48px 1fr;
    }

    .steps li p {
        grid-column: 2;
    }

    .cta .actions {
        justify-content: flex-start;
    }

    .toc {
        position: static;
    }

    .toc ul {
        display: flex;
        flex-wrap: wrap;
        gap: .4rem;
        border-left: 0;
    }

    .toc a {
        border: 1px solid var(--line);
        border-radius: 999px;
        padding: .45rem .9rem;
        margin: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: .75rem 1.25rem 1.25rem;
        background: var(--white);
        border-bottom: 1px solid var(--line);
    }

    .nav.open {
        display: flex;
    }

    .nav a.nav-link {
        padding: .9rem 0;
        border-bottom: 1px solid var(--line);
        min-height: 44px;
    }

    .signin {
        margin-top: .9rem;
    }

    .signin summary {
        width: 100%;
        justify-content: center;
    }

    .signin-panel {
        position: static;
        width: 100%;
        margin-top: .5rem;
        box-shadow: none;
    }

    .nav-cta {
        margin-top: .75rem;
        width: 100%;
        justify-content: center;
    }

    .form-row,
    .feature-list li {
        grid-template-columns: 1fr;
        gap: .3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}