/* ═══════════════════════════════════════════════════
   STYPE  –  style.css
   Tokens → Reset → Background → Nav → Hero →
   Sections → Footer → Animations → Responsive
═══════════════════════════════════════════════════ */

/* ─── TOKENS ──────────────────────────────────────── */
:root {
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'JetBrains Mono', 'Fira Mono', monospace;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
    --radius: 14px;
    --radius-s: 8px;
    --accent: #ff4422;
    --accent-d: rgba(255, 68, 34, 0.10);
    --accent-glow: rgba(255, 68, 34, 0.28);
    --green: #2dce6e;
    --amber: #ffb420;
}

/* ─── DARK THEME ──────────────────────────────────── */
[data-theme="dark"] {
    --bg: #0a0a0c;
    --bg-card: #111114;
    --surface: #131316;
    --surface-2: #1a1a1e;
    --border: #272729;
    --border-s: #1c1c1f;
    --text: #edece8;
    --text-muted: #6b6b72;
    --text-dim: #333338;

    /* mesh blobs */
    --blob-1: radial-gradient(ellipse at 20% 30%, rgba(255, 68, 34, 0.07) 0%, transparent 55%);
    --blob-2: radial-gradient(ellipse at 80% 10%, rgba(120, 80, 255, 0.05) 0%, transparent 55%);
    --blob-3: radial-gradient(ellipse at 70% 80%, rgba(255, 68, 34, 0.04) 0%, transparent 50%);
    --blob-4: radial-gradient(ellipse at 10% 90%, rgba(40, 120, 255, 0.04) 0%, transparent 50%);

    /* pill in dark */
    --pill-bg: rgba(255, 255, 255, 0.04);
    --pill-border: rgba(255, 255, 255, 0.07);
    --pill-shadow: 0 16px 48px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);

    /* hero card */
    --card-bg: rgba(255, 255, 255, 0.025);
    --card-border: rgba(255, 255, 255, 0.06);
    --card-shine: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ─── LIGHT THEME ─────────────────────────────────── */
[data-theme="light"] {
    --bg: #f4f3ef;
    --bg-card: #ffffff;
    --surface: #faf9f6;
    --surface-2: #f0efeb;
    --border: #dddbd4;
    --border-s: #e6e4de;
    --text: #18181a;
    --text-muted: #82807a;
    --text-dim: #bfbdb6;

    --blob-1: radial-gradient(ellipse at 20% 30%, rgba(255, 68, 34, 0.08) 0%, transparent 55%);
    --blob-2: radial-gradient(ellipse at 80% 10%, rgba(160, 100, 255, 0.06) 0%, transparent 55%);
    --blob-3: radial-gradient(ellipse at 70% 80%, rgba(255, 100, 34, 0.05) 0%, transparent 50%);
    --blob-4: radial-gradient(ellipse at 10% 90%, rgba(40, 100, 255, 0.04) 0%, transparent 50%);

    --pill-bg: rgba(0, 0, 0, 0.04);
    --pill-border: rgba(0, 0, 0, 0.09);
    --pill-shadow: 0 8px 32px rgba(0, 0, 0, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.7);

    --card-bg: rgba(255, 255, 255, 0.75);
    --card-border: rgba(0, 0, 0, 0.08);
    --card-shine: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* ─── RESET ───────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

/* ─── GRAIN ───────────────────────────────────────── */
.grain {
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
}

[data-theme="dark"] .grain {
    opacity: 1;
}

[data-theme="light"] .grain {
    opacity: .6;
}

/* ─── MESH BACKGROUND ─────────────────────────────── */
.bg-mesh {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.mesh-blob {
    position: absolute;
    inset: 0;
}

.mesh-blob--1 {
    background: var(--blob-1);
}

.mesh-blob--2 {
    background: var(--blob-2);
}

.mesh-blob--3 {
    background: var(--blob-3);
}

.mesh-blob--4 {
    background: var(--blob-4);
}

/* ─── CURSOR ──────────────────────────────────────── */
#cur {
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width .18s var(--ease), height .18s var(--ease);
}

#cur-ring {
    width: 34px;
    height: 34px;
    border: 1.5px solid rgba(255, 68, 34, .32);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width .28s var(--ease), height .28s var(--ease), border-color .22s;
}

#cur-ring.hov {
    width: 52px;
    height: 52px;
    border-color: rgba(255, 68, 34, .55);
}

/* ─── NAVBAR ──────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 48px;
    transition: background .3s var(--ease), border-color .3s var(--ease), padding .3s var(--ease), backdrop-filter .3s;
    border-bottom: 1px solid transparent;
}

.nav.scrolled {
    padding-top: 14px;
    padding-bottom: 14px;
    backdrop-filter: blur(28px) saturate(1.5);
    border-bottom-color: var(--border-s);
}

[data-theme="dark"] .nav.scrolled {
    background: rgba(10, 10, 12, .80);
}

[data-theme="light"] .nav.scrolled {
    background: rgba(244, 243, 239, .85);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity .2s;
}

.logo:hover {
    opacity: .8;
}

.logo-mark {
    width: 30px;
    height: 30px;
    background: var(--accent);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-mark svg {
    width: 14px;
    height: 14px;
}

.logo-name {
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -.025em;
    color: var(--text);
}

.nav-links {
    display: flex;
    gap: 34px;
}

.nav-links a {
    font-size: 13.5px;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: -.005em;
    transition: color .2s;
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-gh {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 400;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 8px 14px;
    transition: color .2s, border-color .2s, background .2s;
}

.nav-gh svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.nav-gh:hover {
    color: var(--text);
    border-color: var(--border);
    background: var(--surface);
}

.theme-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted);
    cursor: none;
    transition: color .2s, border-color .2s, background .2s, transform .2s;
}

.theme-btn:hover {
    color: var(--text);
    background: var(--surface);
    transform: scale(1.05);
}

.theme-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* show/hide theme icons based on theme */
[data-theme="dark"] .icon-sun {
    display: block;
}

[data-theme="dark"] .icon-moon {
    display: none;
}

[data-theme="light"] .icon-sun {
    display: none;
}

[data-theme="light"] .icon-moon {
    display: block;
}

/* ─── HERO ────────────────────────────────────────── */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 110px 80px 80px;
    max-width: 1280px;
    margin: 0 auto;
}

/* left column */
.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: .06em;
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 5px 13px 5px 9px;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp .5s .05s var(--ease-spring) forwards;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: blink 2.2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(52px, 6.5vw, 88px);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: .95;
    color: var(--text);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp .6s .14s var(--ease-spring) forwards;
}

.hero-title em {
    font-style: normal;
    color: var(--accent);
}

.hero-sub {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 380px;
    margin-bottom: 36px;
    opacity: 0;
    animation: fadeUp .6s .22s var(--ease-spring) forwards;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp .6s .30s var(--ease-spring) forwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius-s);
    font-family: var(--font);
    font-weight: 500;
    font-size: 13.5px;
    text-decoration: none;
    border: none;
    cursor: none;
    transition: transform .2s var(--ease), box-shadow .2s, background .2s, border-color .2s, color .2s;
    letter-spacing: -.01em;
    white-space: nowrap;
}

.btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.btn-dl {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}

.btn-dl:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.btn-src {
    background: var(--surface);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.btn-src:hover {
    color: var(--text);
    border-color: var(--text-dim);
    transform: translateY(-2px);
}

.hero-note {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: .04em;
    opacity: 0;
    animation: fadeUp .5s .38s var(--ease-spring) forwards;
}

/* right column – card */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeUp .7s .42s var(--ease-spring) forwards;
}

.hero-card {
    width: 100%;
    max-width: 360px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    box-shadow: var(--card-shine), 0 32px 80px rgba(0, 0, 0, .22);
    backdrop-filter: blur(24px);
    padding: 36px 28px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    transition: background .35s, border-color .35s;
}

/* ─── WAVEFORM ────────────────────────────────────── */
.wave-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 52px;
    width: 100%;
}

.wave-bar {
    width: 3px;
    border-radius: 3px;
    background: var(--accent);
    margin: 0 2px;
    height: 3px;
    animation: waveUp var(--d, .6s) ease-in-out var(--dl, 0s) infinite alternate;
}

@keyframes waveUp {
    0% {
        height: 3px;
        opacity: .2;
    }

    100% {
        height: var(--h, 20px);
        opacity: .8;
    }
}

/* ─── PILL ────────────────────────────────────────── */
.pill-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.pill-eyebrow {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    background: var(--pill-bg);
    border: 1px solid var(--pill-border);
    box-shadow: var(--pill-shadow);
    min-width: 165px;
    justify-content: center;
    transition: background .5s var(--ease), border-color .5s var(--ease);
}

.pill.proc {
    background: rgba(255, 180, 32, .08);
    border-color: rgba(255, 180, 32, .18);
}

.pill.done {
    background: rgba(45, 206, 110, .08);
    border-color: rgba(45, 206, 110, .18);
}

.pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--accent);
    transition: background .35s;
}

.pill-dot.rec {
    animation: blink 1.1s ease-in-out infinite;
}

.pill-dot.proc {
    background: var(--amber);
    animation: none;
}

.pill-dot.done {
    background: var(--green);
    animation: none;
}

.pill-label {
    transition: opacity .22s;
}

/* ─── CARD STATS ──────────────────────────────────── */
.card-stat-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    border-top: 1px solid var(--border-s);
    padding-top: 22px;
}

.card-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    flex: 1;
}

.stat-val {
    font-family: var(--mono);
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -.02em;
}

.stat-lbl {
    font-size: 10.5px;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: .01em;
}

.card-stat-div {
    width: 1px;
    height: 32px;
    background: var(--border-s);
    flex-shrink: 0;
}

/* ─── DIVIDERS ────────────────────────────────────── */
.divider {
    height: 1px;
    background: var(--border-s);
    position: relative;
    z-index: 1;
}

/* ─── SECTIONS ────────────────────────────────────── */
.section {
    padding: 96px 80px;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
}

.section-head {
    margin-bottom: 56px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
}

.eyebrow::after {
    content: '';
    flex: 0 0 40px;
    height: 1px;
    background: var(--border);
}

.s-title {
    font-size: clamp(28px, 3.5vw, 46px);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.06;
    color: var(--text);
    margin-bottom: 12px;
}

.s-desc {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-muted);
    max-width: 400px;
    line-height: 1.75;
}

/* ─── STEPS ───────────────────────────────────────── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--border-s);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--border-s);
    gap: 1px;
}

.step {
    background: var(--bg);
    padding: 38px 30px;
    transition: background .22s;
}

.step:hover {
    background: var(--surface);
}

.step-n {
    display: block;
    font-family: var(--mono);
    font-weight: 500;
    font-size: 66px;
    color: var(--border);
    letter-spacing: -.04em;
    line-height: 1;
    margin-bottom: 20px;
    user-select: none;
    transition: color .22s;
}

.step:hover .step-n {
    color: var(--text-dim);
}

.step-title {
    font-weight: 600;
    font-size: 15.5px;
    letter-spacing: -.02em;
    color: var(--text);
    margin-bottom: 9px;
}

.step-desc {
    font-size: 13.5px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.78;
}

kbd {
    font-family: var(--mono);
    font-size: 11px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1px 6px;
    color: var(--text);
}

/* ─── FEATURES ────────────────────────────────────── */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 0;
}

.feat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-s);
    border-radius: var(--radius);
    padding: 30px 26px;
    position: relative;
    overflow: hidden;
    transition: border-color .22s, transform .22s, background .22s;
}

.feat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-d) 0%, transparent 50%);
    opacity: 0;
    transition: opacity .3s;
}

.feat-card:hover {
    border-color: var(--border);
    transform: translateY(-3px);
}

.feat-card:hover::before {
    opacity: 1;
}

.feat-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--accent-d);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    transition: background .2s;
}

.feat-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent);
}

.feat-card:hover .feat-icon {
    background: rgba(255, 68, 34, 0.15);
}

.feat-title {
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: -.02em;
    color: var(--text);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.feat-desc {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.78;
    position: relative;
    z-index: 1;
}

/* ─── TECH STRIP ──────────────────────────────────── */
.tech-strip {
    border-top: 1px solid var(--border-s);
    border-bottom: 1px solid var(--border-s);
    padding: 40px 80px;
    position: relative;
    z-index: 1;
    background: var(--surface);
    transition: background .35s;
}

.tech-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.tech-label {
    font-family: var(--mono);
    font-size: 10.5px;
    color: var(--text-dim);
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.tech-sep {
    width: 1px;
    height: 16px;
    background: var(--border);
    flex-shrink: 0;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tech-tag {
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border-s);
    border-radius: 5px;
    padding: 4px 10px;
    letter-spacing: .01em;
    transition: color .18s, border-color .18s, background .18s;
}

.tech-tag:hover {
    color: var(--text);
    border-color: var(--border);
}

/* ─── LEGAL / ACCORDION ───────────────────────────── */
.accord-list {
    border: 1px solid var(--border-s);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border-s);
}

details.acc {
    background: var(--bg);
    transition: background .22s;
}

details.acc[open] {
    background: var(--surface);
}

details.acc summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 26px;
    cursor: none;
    user-select: none;
    transition: background .18s;
}

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

details.acc summary:hover {
    background: var(--surface);
}

.acc-title {
    font-weight: 500;
    font-size: 14.5px;
    letter-spacing: -.015em;
    color: var(--text);
}

.acc-arr {
    width: 17px;
    height: 17px;
    stroke: var(--text-muted);
    flex-shrink: 0;
    transition: transform .25s var(--ease);
}

details.acc[open] .acc-arr {
    transform: rotate(180deg);
}

.acc-body {
    padding: 4px 26px 28px;
    font-size: 13.5px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.85;
}

.acc-body h4 {
    font-family: var(--mono);
    font-size: 10.5px;
    color: var(--text-dim);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.acc-body h5 {
    font-weight: 500;
    font-size: 13px;
    color: var(--text);
    margin: 16px 0 5px;
    letter-spacing: -.01em;
}

.acc-body p+p {
    margin-top: 8px;
}

/* ─── FOOTER ──────────────────────────────────────── */
.footer {
    border-top: 1px solid var(--border-s);
    padding: 32px 80px;
    position: relative;
    z-index: 1;
    transition: background .35s;
}

.footer-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.f-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.f-mark {
    width: 22px;
    height: 22px;
    background: var(--accent);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.f-mark svg {
    width: 10px;
    height: 10px;
}

.f-name {
    font-weight: 600;
    font-size: 13.5px;
    letter-spacing: -.02em;
    color: var(--text);
}

.f-ver {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-dim);
    margin-left: 2px;
}

.f-links {
    font-size: 12px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.f-links a {
    color: var(--text-muted);
    transition: color .18s;
}

.f-links a:hover {
    color: var(--text);
}

.f-dot {
    color: var(--border);
}

/* ─── SCROLL REVEAL ───────────────────────────────── */
.r {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .75s var(--ease-spring), transform .75s var(--ease-spring);
}

.r.vis {
    opacity: 1;
    transform: none;
}

.d1 {
    transition-delay: .07s;
}

.d2 {
    transition-delay: .14s;
}

.d3 {
    transition-delay: .21s;
}

/* ─── KEYFRAMES ───────────────────────────────────── */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge,
.hero-title,
.hero-sub,
.hero-actions,
.hero-note,
.hero-right {
    transform: translateY(14px);
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .3;
    }
}

/* ─── THEME TRANSITION ────────────────────────────── */
*,
*::before,
*::after {
    transition-property: background-color, border-color, color, box-shadow;
    transition-duration: .3s;
    transition-timing-function: var(--ease);
}

/* but NOT layout-affecting or animation props */
.hero-badge,
.hero-title,
.hero-sub,
.hero-actions,
.hero-note,
.hero-right,
.r,
.wave-bar,
.pill-dot,
.badge-dot {
    transition-property: opacity, transform, background-color, border-color, color;
}

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 100px 48px 64px;
        min-height: auto;
        gap: 48px;
    }

    .hero-right {
        justify-content: flex-start;
    }

    .hero-card {
        max-width: 100%;
    }

    .section {
        padding: 72px 48px;
    }

    .tech-strip {
        padding: 36px 48px;
    }

    .footer {
        padding: 28px 48px;
    }

    .nav {
        padding: 18px 32px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 90px 28px 56px;
    }

    .hero-title {
        font-size: clamp(42px, 11vw, 72px);
    }

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

    .feat-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .section {
        padding: 64px 28px;
    }

    .tech-strip,
    .footer {
        padding-left: 28px;
        padding-right: 28px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 540px) {
    .feat-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}
