/* =============================================================================
 * veriCue landing - design system
 * Dark-first palette inspired by Qt's brand green + premium dev-tool look
 * (Linear / Vercel / Resend style).
 * ===========================================================================*/

:root {
    --bg:           #07080b;
    --bg-1:         #0c0e13;
    --bg-2:         #12141a;
    --bg-3:         #181b22;
    --border:       #232730;
    --border-soft:  #1c1f27;

    --fg:           #f1f3f6;
    --fg-soft:      #cdd1da;
    --fg-muted:     #8a8fa0;
    --fg-dim:       #5f6473;

    --brand:        #41cd52;
    --brand-soft:   #56e068;
    --brand-dim:    rgba(65, 205, 82, 0.12);
    --brand-glow:   rgba(65, 205, 82, 0.20);

    --accent:       #a78bfa;
    --warn:         #f7b955;
    --err:          #ef4444;

    --container:    1180px;
    --radius-sm:    6px;
    --radius:       10px;
    --radius-lg:    16px;

    --font-sans:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
    --font-display: 'Inter Tight', 'Inter', system-ui, sans-serif;

    --shadow:       0 8px 30px rgba(0, 0, 0, 0.45);
    --shadow-brand: 0 14px 40px -10px rgba(65, 205, 82, 0.45);
}

[data-theme="light"] {
    --bg:           #ffffff;
    --bg-1:         #f8f9fb;
    --bg-2:         #ffffff;
    --bg-3:         #f1f3f6;
    --border:       #e4e7ed;
    --border-soft:  #ecedf1;
    --fg:           #0c0e13;
    --fg-soft:      #2a2e38;
    --fg-muted:     #6c7280;
    --fg-dim:       #9aa0ad;
    --brand:        #1c9e3c;
    --brand-soft:   #28b34a;
    --brand-dim:    rgba(28, 158, 60, 0.10);
    --brand-glow:   rgba(28, 158, 60, 0.18);
    --shadow:       0 8px 30px rgba(15, 22, 36, 0.08);
    --shadow-brand: 0 14px 40px -10px rgba(28, 158, 60, 0.30);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-sans);
    font-feature-settings: 'cv11', 'ss01', 'ss03';
    line-height: 1.55;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--brand); color: #000; }

/* Layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { position: relative; }

.section-eyebrow {
    display: inline-block;
    color: var(--brand);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-h {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--fg);
    margin: 0 0 16px;
}
.section-sub {
    color: var(--fg-muted);
    font-size: 17px;
    max-width: 640px;
    line-height: 1.65;
    margin: 0;
}
.section-head { text-align: center; margin: 0 auto 60px; max-width: 720px; }
.section-head .section-sub { margin: 0 auto; }

/* Product demo video (hero) */
.demo-video {
    width: 100%;
    margin: 0 auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--bg-1);
    aspect-ratio: 16 / 9;
}
.demo-video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}
.demo-video video:fullscreen { object-fit: contain; cursor: zoom-out; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.btn-primary {
    background: var(--brand);
    color: #08220c;
    border-color: var(--brand);
}
.btn-primary:hover {
    background: var(--brand-soft);
    border-color: var(--brand-soft);
    transform: translateY(-1px);
    box-shadow: var(--shadow-brand);
}
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
    background: transparent;
    color: var(--fg);
    border-color: var(--border);
}
.btn-secondary:hover { background: var(--bg-2); border-color: var(--fg-muted); }
.btn-ghost { background: transparent; color: var(--fg-soft); }
.btn-ghost:hover { color: var(--fg); }
.btn-success { background: var(--brand) !important; color: #08220c !important; }
.btn-error   { background: var(--err) !important; color: #fff !important; }
.btn-full { width: 100%; }
.btn-arrow svg { transition: transform 0.15s ease; }
.btn-arrow:hover svg { transform: translateX(2px); }

/* Nav */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(7, 8, 11, 0);
    backdrop-filter: blur(0);
    transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
    border-bottom: 1px solid transparent;
}
[data-theme="light"] .nav { background: rgba(255, 255, 255, 0); }
.nav.nav-scrolled {
    background: rgba(7, 8, 11, 0.72);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom-color: var(--border-soft);
}
[data-theme="light"] .nav.nav-scrolled { background: rgba(255, 255, 255, 0.78); }

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

.brand { display: inline-flex; align-items: center; }
.brand-img { height: 30px; width: auto; }
/* Theme-aware wordmark - only one variant visible at a time.
   No display on .brand-img itself; variants own that. */
.brand-img-dark  { display: block; }
.brand-img-light { display: none; }
[data-theme="light"] .brand-img-dark  { display: none; }
[data-theme="light"] .brand-img-light { display: block; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 14px; color: var(--fg-muted); font-size: 14px; font-weight: 500; border-radius: var(--radius-sm); transition: color 0.15s; }
.nav-links a:hover { color: var(--fg); }
.nav-links .btn { margin-left: 8px; padding: 9px 16px; font-size: 13px; }
/* .nav-links a wins specificity over .btn-primary - restore button text color */
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #08220c; }

.theme-toggle {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--fg-muted);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    transition: all 0.15s;
}
.theme-toggle:hover { color: var(--fg); border-color: var(--fg-muted); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-icon-light, .theme-icon-dark { display: none; }
[data-theme="light"] .theme-icon-light { display: block; }
:root:not([data-theme="light"]) .theme-icon-dark { display: block; }

/* Hero */
.hero { position: relative; padding: 140px 0 100px; overflow: hidden; }
.hero::before {
    content: "";
    position: absolute;
    top: -200px; left: 50%;
    transform: translateX(-50%);
    width: 1200px; height: 600px;
    background: radial-gradient(ellipse at center, var(--brand-glow) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border-soft) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center top, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center top, black 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}
.hero-inner { position: relative; z-index: 1; text-align: center; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px;
    background: var(--brand-dim);
    border: 1px solid rgba(65, 205, 82, 0.25);
    color: var(--brand);
    font-size: 13px; font-weight: 500;
    border-radius: 999px;
    margin-bottom: 28px;
}
.hero-badge .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--brand);
    animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(1.4); }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 6.4vw, 76px);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.02;
    color: var(--fg);
    margin: 0 0 24px;
}
.hero h1 .gradient {
    background: linear-gradient(135deg, var(--brand) 0%, #56e068 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-sub {
    font-size: clamp(17px, 2vw, 21px);
    color: var(--fg-muted);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.55;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-bottom: 64px; flex-wrap: wrap; }

.hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
    max-width: 760px; margin: 0 auto 80px;
}
.hero-stat { text-align: center; }
.hero-stat-num {
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 600;
    color: var(--fg);
    letter-spacing: -0.02em;
}
.hero-stat-label {
    color: var(--fg-muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

.hero-mock {
    max-width: 980px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transform: perspective(2000px) rotateX(2deg);
}
.hero-mock-header {
    display: flex; align-items: center; gap: 8px;
    padding: 14px 18px;
    background: var(--bg-3);
    border-bottom: 1px solid var(--border);
}
.hero-mock-header .dot { width: 11px; height: 11px; border-radius: 50%; }
.hero-mock-header .dot.red    { background: #ff5f57; }
.hero-mock-header .dot.yellow { background: #febc2e; }
.hero-mock-header .dot.green  { background: #28c840; }
.hero-mock-header .title {
    margin-left: 12px;
    color: var(--fg-muted);
    font-family: var(--font-mono);
    font-size: 13px;
}

.hero-mock-body {
    padding: 28px 30px;
    font-family: var(--font-mono);
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--fg-soft);
    text-align: left;
    overflow-x: auto;
}
.code-prompt   { color: var(--brand); user-select: none; }
.code-keyword  { color: #d8a4ff; }
.code-string   { color: #f7b955; }
.code-comment  { color: var(--fg-dim); font-style: italic; }
.code-prop     { color: #6dcdff; }
.code-fn       { color: #56e068; }

/* Logo strip - industry pills with subtle entrance */
.logo-strip {
    padding: 60px 0 40px;
    text-align: center;
    border-bottom: 1px solid var(--border-soft);
}
.logo-strip-title {
    color: var(--fg-dim);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 28px;
}
.logo-strip-row {
    display: flex; justify-content: center; align-items: stretch;
    gap: 12px;
    flex-wrap: wrap;
}
.logo-strip-row .industry {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 18px;
    font-size: 14px; font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--fg-muted);
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 999px;
    transition: all 0.2s ease;
    cursor: default;
}
.logo-strip-row .industry:hover {
    color: var(--fg);
    border-color: var(--brand);
    background: var(--brand-dim);
    transform: translateY(-2px);
}
.logo-strip-row .industry:hover svg { color: var(--brand); opacity: 1; }
.logo-strip-row svg { width: 16px; height: 16px; opacity: 0.7; transition: all 0.2s; color: var(--fg-muted); }

/* Generic section */
.s { padding: 110px 0; position: relative; }
.s + .s { padding-top: 30px; }
.s-alt { background: var(--bg-1); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }

/* Features grid */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 28px 32px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}
.feature:hover { border-color: rgba(65, 205, 82, 0.4); transform: translateY(-3px); }
.feature::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, var(--brand-glow), transparent 50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}
.feature:hover::after { opacity: 1; }

.feature-icon {
    width: 42px; height: 42px;
    border-radius: var(--radius-sm);
    background: var(--brand-dim);
    color: var(--brand);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    border: 1px solid rgba(65, 205, 82, 0.25);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 {
    font-family: var(--font-display);
    font-size: 18px; font-weight: 600;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
    color: var(--fg);
}
.feature p { margin: 0; color: var(--fg-muted); font-size: 15px; line-height: 1.65; }

/* Demo (code tabs) */
.demo { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; gap: 32px; } }

.demo-copy h2 { margin: 0 0 16px; }
.demo-copy ul { list-style: none; padding: 0; margin: 24px 0 0; }
.demo-copy li {
    color: var(--fg-soft);
    font-size: 15.5px;
    padding: 10px 0 10px 28px;
    position: relative;
    border-bottom: 1px solid var(--border-soft);
}
.demo-copy li:last-child { border-bottom: none; }
.demo-copy li::before {
    content: "";
    position: absolute;
    left: 0; top: 14px;
    width: 16px; height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2341cd52' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

.code-card {
    background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.code-tabs { display: flex; border-bottom: 1px solid var(--border); background: var(--bg-3); }
.code-tab {
    background: transparent;
    border: none;
    color: var(--fg-muted);
    padding: 14px 22px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.15s;
}
.code-tab.active { color: var(--fg); border-bottom-color: var(--brand); }
.code-tab:hover { color: var(--fg); }

.code-body {
    padding: 24px 28px;
    font-family: var(--font-mono);
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--fg-soft);
    overflow-x: auto;
}
.code-body pre { margin: 0; }
.code-panel { display: none; }
.code-panel.active { display: block; }

/* "Why not just use…" - competitor honesty */
.alt-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 24px;
}
@media (max-width: 1000px) { .alt-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .alt-grid { grid-template-columns: 1fr; } }

.alt {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}
.alt:hover { border-color: var(--fg-muted); transform: translateY(-2px); }

.alt-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--fg);
    margin: 6px 0 6px;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    min-height: 30px;
}

.alt-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: var(--fg-dim);
    margin-bottom: 4px;
}

.alt-pain { list-style: none; padding: 0; margin: 14px 0 0; }
.alt-pain li {
    color: var(--fg-muted);
    font-size: 14px;
    padding: 8px 0 8px 22px;
    border-top: 1px solid var(--border-soft);
    position: relative;
    line-height: 1.45;
}
.alt-pain li:first-child { border-top: none; }
.alt-pain li::before {
    content: "";
    position: absolute;
    left: 0; top: 14px;
    width: 12px; height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") center / contain no-repeat;
    opacity: 0.7;
}

/* "Us" card - highlighted */
.alt-us {
    background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-dim), 0 14px 30px -10px rgba(65, 205, 82, 0.25);
    position: relative;
}
.alt-us:hover { border-color: var(--brand-soft); transform: translateY(-3px); }
.alt-tag-us { color: var(--brand); font-weight: 600; }
.alt-wins li::before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2341cd52' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
    opacity: 1;
}
.alt-wins li { color: var(--fg-soft); }

/* Architecture */
.arch { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; align-items: stretch; margin: 50px 0 0; position: relative; }
@media (max-width: 800px) { .arch { grid-template-columns: 1fr; } }
.arch-box {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color 0.2s;
}
.arch-box:hover { border-color: var(--brand); }
.arch-box-title {
    font-family: var(--font-display);
    font-size: 14px; font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 12px;
}
.arch-box-name {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 600;
    color: var(--fg);
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}
.arch-box ul { list-style: none; padding: 0; margin: 0; }
.arch-box li { color: var(--fg-muted); font-size: 14px; font-family: var(--font-mono); padding: 6px 0; }

@media (min-width: 801px) {
    .arch::before, .arch::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 26px; height: 2px;
        background: var(--border);
        transform: translateY(-50%);
        pointer-events: none;
    }
    .arch::before { left: calc(33.33% - 13px); }
    .arch::after  { left: calc(66.66% - 13px); }
}

/* CTA band */
.cta-band {
    background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg) 100%);
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, var(--brand-glow) 0%, transparent 50%);
    opacity: 0.5;
    pointer-events: none;
}
.cta-band-inner { position: relative; z-index: 1; }
.cta-band h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.08;
    margin: 0 0 18px;
}
.cta-band p { color: var(--fg-muted); font-size: 18px; max-width: 540px; margin: 0 auto 32px; }

/* Contact */
.contact { padding: 110px 0; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info p { color: var(--fg-muted); font-size: 16px; line-height: 1.7; margin: 0 0 32px; max-width: 480px; }
.contact-bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-bullets li { padding-left: 32px; position: relative; }
.contact-bullets li::before {
    content: "";
    position: absolute;
    left: 0; top: 4px;
    width: 20px; height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2341cd52' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='9 12 11 14 15 10'/%3E%3C/svg%3E") center / contain no-repeat;
}
.contact-bullets strong { color: var(--fg); display: block; font-size: 15px; margin-bottom: 2px; }
.contact-bullets span   { color: var(--fg-muted); font-size: 14px; }

.contact-form {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; color: var(--fg-soft); font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg);
    color: var(--fg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14.5px;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-dim);
}
.form-group textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-note { color: var(--fg-dim); font-size: 12.5px; margin: 14px 0 0; text-align: center; }

/* Footer */
.footer { border-top: 1px solid var(--border-soft); padding: 60px 0 32px; background: var(--bg); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr 1fr; } }

.footer-brand-block .brand { margin-bottom: 16px; }
.footer-brand-block p { color: var(--fg-muted); font-size: 14px; max-width: 320px; line-height: 1.65; margin: 0; }

.footer-col h4 {
    color: var(--fg);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 18px;
}
.footer-col a { display: block; color: var(--fg-muted); font-size: 14px; padding: 4px 0; transition: color 0.15s; }
.footer-col a:hover { color: var(--fg); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--border-soft); color: var(--fg-dim); font-size: 13px; }
.footer-bottom a { color: var(--fg-dim); margin-left: 16px; transition: color 0.15s; }
.footer-bottom a:hover { color: var(--fg); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: translateY(0); }
.features-grid .reveal:nth-child(2) { transition-delay: 0.05s; }
.features-grid .reveal:nth-child(3) { transition-delay: 0.10s; }
.features-grid .reveal:nth-child(4) { transition-delay: 0.15s; }
.features-grid .reveal:nth-child(5) { transition-delay: 0.20s; }
.features-grid .reveal:nth-child(6) { transition-delay: 0.25s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-mock { transform: none; }
    .hero-badge .dot { animation: none; }
}

/* Responsive */
@media (max-width: 900px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) {
    .hero { padding: 110px 0 70px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .features-grid { grid-template-columns: 1fr; }
    .nav-links a:not(.btn) { display: none; }
    .nav-links .theme-toggle { display: inline-flex; }
    .nav-links .btn { display: inline-flex; }
    .s { padding: 70px 0; }
    .hero-mock-body { font-size: 13px; padding: 22px 18px; }
}
