/* ==========================================================================
   KORD Protocol — front-end stylesheet
   Light glassmorphic theme: saturated blue on near-white, frosted white
   panels with a glossy top edge, soft layered shadows.
   ========================================================================== */

:root {
    --bg:          #eaf1fc;
    --bg-2:        #ffffff;
    --surface:     rgba(255, 255, 255, 0.68);
    --surface-2:   rgba(255, 255, 255, 0.88);
    --line:        rgba(19, 62, 140, 0.13);
    --line-strong: rgba(19, 62, 140, 0.26);

    --cyan:   #0090e6;
    --blue:   #1668ff;
    --indigo: #2a4fdc;
    --violet: #5340e0;
    --purple: #7a37dd;
    --mint:   #0a9b76;

    --text:  #0a1834;
    --muted: #41527a;
    --dim:   #6b7ba3;

    --grad:      linear-gradient(115deg, #23a4ff 0%, #1668ff 42%, #3f49e6 74%, #6a3fdf 100%);
    --grad-soft: linear-gradient(115deg, rgba(22, 104, 255, 0.10), rgba(106, 63, 223, 0.10));
    /* Saturated enough that white button labels stay legible across the sweep. */
    --grad-btn:  linear-gradient(115deg, #2f9dff 0%, #1668ff 50%, #4b4ae8 100%);

    /* Glass treatment: a bright inner top edge over a frosted panel. */
    --glass-edge:  inset 0 1px 0 rgba(255, 255, 255, 0.9);
    --shadow-sm:   0 6px 18px rgba(16, 48, 110, 0.07);
    --shadow-md:   0 18px 44px rgba(16, 48, 110, 0.11);
    --shadow-lg:   0 30px 76px rgba(16, 48, 110, 0.15);

    --radius:    18px;
    --radius-lg: 26px;
    --shell:     1200px;
    --ease:      cubic-bezier(0.22, 1, 0.36, 1);

    --font-display: 'Orbitron', ui-sans-serif, system-ui, sans-serif;
    --font-body:    'Sora', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

/* scroll-padding keeps anchored sections clear of the sticky header. */
html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 300;
    letter-spacing: 0.1px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: #0b57d0; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.05rem, 1.6vw, 1.28rem); }
p  { margin: 0 0 1.1em; color: var(--muted); }

::selection { background: rgba(22, 104, 255, 0.20); color: var(--text); }

:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
    border-radius: 6px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 12px;
    z-index: 999;
    padding: 10px 18px;
    background: var(--violet);
    color: #fff;
    border-radius: 10px;
}
.skip-link:focus { left: 16px; }

/* ---------- Background field ---------------------------------------- */

.bg-field {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(1100px 700px at 78% -8%,  rgba(22, 140, 255, 0.09), transparent 62%),
        radial-gradient(900px 640px at 12% 12%,   rgba(90, 64, 224, 0.11), transparent 60%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 45%, var(--bg) 100%);
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(19, 62, 140, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(19, 62, 140, 0.055) 1px, transparent 1px);
    background-size: 62px 62px;
    mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
}

.bg-glow {
    position: absolute;
    width: 46vw;
    height: 46vw;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
}
.bg-glow--cyan   { top: -12vw; right: -10vw; background: radial-gradient(circle, rgba(22, 140, 255, 0.28), transparent 70%); }
.bg-glow--violet { top: 46vh;  left: -14vw;  background: radial-gradient(circle, rgba(90, 64, 224, 0.26), transparent 70%); }

#nodeCanvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }

/* ---------- Layout --------------------------------------------------- */

.shell {
    width: min(100% - 2.5rem, var(--shell));
    margin-inline: auto;
}
.shell-narrow { width: min(100% - 2.5rem, 840px); }

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }

.section-head {
    max-width: 720px;
    margin: 0 auto clamp(2.2rem, 4vw, 3.4rem);
    text-align: center;
}
.section-head h2 { margin-bottom: 0.5em; }

.lede {
    font-size: clamp(1rem, 1.35vw, 1.1rem);
    color: var(--muted);
    margin-bottom: 0;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.grid { display: grid; gap: 1.15rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.center { text-align: center; }
.mt { margin-top: 1.4rem; }

/* Available to screen readers, removed from the visual flow. */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* ---------- Reference pattern ---------------------------------------
   A nested glass frame (outer panel + inset hairline outline), extruded
   display type, and a callout strip with an icon badge. Applied across the
   page so every major block reads as the same object.
   -------------------------------------------------------------------- */

.glass-frame {
    position: relative;
    padding: clamp(1.4rem, 2.6vw, 2.2rem);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(22, 104, 255, 0.22);
    background: linear-gradient(158deg, rgba(255, 255, 255, 0.92), rgba(238, 245, 255, 0.74));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 0 26px rgba(22, 104, 255, 0.13),
        var(--shadow-lg);
}
/* The inset hairline that gives the frame-within-a-frame look. Sits inside
   the padding, so it never crosses content. */
.glass-frame::after {
    content: '';
    position: absolute;
    inset: 9px;
    border-radius: calc(var(--radius-lg) - 8px);
    border: 1px solid rgba(22, 104, 255, 0.18);
    pointer-events: none;
}
.glass-frame > * { position: relative; z-index: 1; }

/* Extrusion via drop-shadow rather than text-shadow, so it also works on the
   gradient-clipped headings. */
.hero-title,
.section-head h2 {
    filter:
        drop-shadow(0 1px 0 rgba(255, 255, 255, 0.85))
        drop-shadow(0 3px 0 rgba(22, 104, 255, 0.14))
        drop-shadow(0 12px 20px rgba(16, 48, 110, 0.14));
}

/* Two columns only: the badge, then one wrapper holding all of the body. */
.callout-strip {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}
.callout-strip::before {
    content: '!';
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    background: linear-gradient(180deg, #f0a63c, #d4820f);
    box-shadow: 0 5px 14px rgba(180, 110, 10, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* ---------- Card base ------------------------------------------------ */

.card {
    position: relative;
    padding: 1.7rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow-md), var(--glass-edge);
    transition: transform 0.4s var(--ease), border-color 0.3s var(--ease),
                background 0.3s var(--ease), box-shadow 0.4s var(--ease);
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--grad);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s var(--ease);
    pointer-events: none;
}

.card:hover {
    transform: translateY(-4px);
    background: var(--surface-2);
    box-shadow: var(--shadow-lg), var(--glass-edge);
}
.card:hover::before { opacity: 0.5; }

/* ---------- Buttons -------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.72rem 1.4rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
                background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn-lg { padding: 0.92rem 1.85rem; font-size: 0.98rem; }

.btn-primary {
    background: var(--grad-btn);
    background-size: 180% 180%;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 10px 34px rgba(22, 104, 255, 0.28);
}
.btn-primary:hover {
    color: #fff;
    background-position: 100% 0;
    transform: translateY(-2px);
    box-shadow: 0 14px 42px rgba(22, 104, 255, 0.42);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.74);
    border-color: var(--line-strong);
    color: var(--text);
    box-shadow: var(--shadow-sm), var(--glass-edge);
}
.btn-ghost:hover {
    color: var(--blue);
    background: #fff;
    border-color: rgba(22, 104, 255, 0.42);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), var(--glass-edge);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 500;
    font-size: 0.94rem;
}
.link-arrow span { transition: transform 0.25s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

.icon { width: 22px; height: 22px; flex: none; }

/* ---------- Header --------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.9rem 0;
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease), padding 0.3s var(--ease);
    border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom-color: var(--line);
    box-shadow: 0 6px 26px rgba(16, 48, 110, 0.07);
    padding: 0.6rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand img { width: 40px; height: 40px; filter: drop-shadow(0 0 12px rgba(22, 104, 255, 0.45)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.22rem;
    letter-spacing: 0.16em;
    color: var(--text);
}
.brand-sub {
    font-size: 0.56rem;
    letter-spacing: 0.26em;
    color: var(--dim);
    font-weight: 500;
}

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav > a {
    position: relative;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--muted);
}
.site-nav > a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--grad);
    transition: width 0.28s var(--ease);
}
.site-nav > a:hover { color: var(--text); }
.site-nav > a:hover::after,
.site-nav > a.is-active::after { width: 100%; }
.site-nav > a.is-active { color: var(--text); }
.nav-cta { margin-left: 0.4rem; }
.nav-cta::after { display: none; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 10px;
    background: rgba(19, 62, 140, 0.07);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ----------------------------------------------------- */

.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem, 5vw, 3.5rem); }

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.42rem 1rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(19, 62, 140, 0.07);
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 1.6rem;
}
.pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 0 rgba(10, 155, 118, 0.6);
    animation: pulse 2.4s infinite;
}
@keyframes pulse {
    70%  { box-shadow: 0 0 0 9px rgba(10, 155, 118, 0); }
    100% { box-shadow: 0 0 0 0 rgba(10, 155, 118, 0); }
}

.hero-title { margin-bottom: 0.5em; }
/* Keep the two clauses on their own lines rather than wrapping mid-phrase. */
.hero-title .grad-text { display: block; }

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.14rem);
    max-width: 34em;
    margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2.8rem; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 0;
    padding-top: 1.8rem;
    border-top: 1px solid var(--line);
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats dt {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 0.35rem;
}
.hero-stats dd {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.9vw, 1.5rem);
    font-weight: 700;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-stats span { font-size: 0.74rem; color: var(--dim); line-height: 1.4; }

.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 380px;
}
.hero-mark {
    position: relative;
    z-index: 2;
    width: min(100%, 400px);
    animation: float 7s ease-in-out infinite;
    filter: drop-shadow(0 0 46px rgba(22, 104, 255, 0.4));
}
@keyframes float {
    0%, 100% { transform: translateY(-10px); }
    50%      { transform: translateY(10px); }
}

.hero-orb {
    position: absolute;
    width: 78%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(22, 104, 255, 0.3), transparent 68%);
    filter: blur(46px);
}

.hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
}
.hero-ring--1 { width: 84%; aspect-ratio: 1; animation: spin 26s linear infinite; border-style: dashed; }
.hero-ring--2 { width: 104%; aspect-ratio: 1; animation: spin 40s linear infinite reverse; opacity: 0.5; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Marquee -------------------------------------------------- */

.marquee-section { padding: 1.4rem 0; }
.marquee {
    overflow: hidden;
    border-block: 1px solid var(--line);
    padding: 0.9rem 0;
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
    display: flex;
    align-items: center;
    gap: 1.9rem;
    width: max-content;
    animation: marquee 34s linear infinite;
}
.marquee-track span {
    font-family: var(--font-display);
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--dim);
    white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Features / steps ---------------------------------------- */

.feature-card h3 { margin-bottom: 0.5em; }
.feature-card p { margin: 0; font-size: 0.94rem; }

.feature-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1.15rem;
    border-radius: 14px;
    background: var(--grad-soft);
    border: 1px solid var(--line-strong);
    color: var(--cyan);
}

.step-card { padding-top: 2.4rem; }
.step-num {
    position: absolute;
    top: 1.2rem;
    right: 1.4rem;
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 800;
    color: rgba(19, 62, 140, 0.13);
}

/* ---------- USDT → KORD flow banner ---------------------------------- */

.flow-banner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: clamp(1rem, 4vw, 3rem);
    max-width: 780px;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
    padding: 1.9rem clamp(1.2rem, 4vw, 2.6rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.flow-side { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.3rem; }
.flow-asset {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: 0.04em;
}
.flow-asset--usdt { color: var(--mint); text-shadow: 0 0 26px rgba(10, 155, 118, 0.4); }
.flow-asset--kord {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.flow-label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text); }
.flow-meta  { font-size: 0.78rem; color: var(--dim); }

.flow-arrow { position: relative; display: flex; align-items: center; width: clamp(60px, 14vw, 150px); }
.flow-line {
    flex: 1;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--mint), var(--cyan), var(--violet));
    background-size: 200% 100%;
    animation: flowShift 3s linear infinite;
}
.flow-tip {
    width: 0;
    height: 0;
    border-left: 9px solid var(--violet);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}
@keyframes flowShift { to { background-position: -200% 0; } }

.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.24rem 0.7rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    white-space: nowrap;
}
.chip--usdt { background: rgba(10, 155, 118, 0.12); color: var(--mint); border: 1px solid rgba(10, 155, 118, 0.3); }
.chip--kord { background: rgba(90, 64, 224, 0.15); color: #4a37c0; border: 1px solid rgba(90, 64, 224, 0.36); }
.chip-arrow { color: var(--dim); font-size: 0.9rem; }

/* ---------- Split sections ------------------------------------------ */

.split {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: clamp(2rem, 5vw, 3.8rem);
    align-items: center;
}
.split--form { align-items: start; }
.split--form .split-copy { display: grid; gap: 1.15rem; }

.tick-list { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: 0.85rem; }
.tick-list li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--muted); font-size: 0.94rem; }
.tick-list .icon { width: 19px; height: 19px; margin-top: 4px; color: var(--mint); }
.tick-list strong { color: var(--text); font-weight: 600; }

.values-card h3 { margin-bottom: 0.4em; }
.values-card .tick-list { margin-bottom: 0; }

.supply-card { text-align: center; padding: 2.4rem 1.8rem; }
.supply-figure {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 3.6rem);
    font-weight: 800;
    line-height: 1;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.supply-unit { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin: 0.8rem 0 1.4rem; }
.supply-meter { height: 7px; border-radius: 999px; background: rgba(19, 62, 140, 0.12); overflow: hidden; }
.supply-meter span { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--grad); }
.supply-note { font-size: 0.84rem; color: var(--dim); margin: 1rem 0 0; }

/* ---------- Plans ---------------------------------------------------- */

.plan-grid { align-items: stretch; }

.plan-card {
    display: flex;
    flex-direction: column;
    padding: 1.9rem 1.6rem;
}
.plan-card--featured {
    background: linear-gradient(180deg, rgba(236, 240, 255, 0.92), rgba(255, 255, 255, 0.82));
    border-color: rgba(19, 62, 140, 0.42);
    box-shadow: 0 22px 60px rgba(40, 60, 190, 0.24);
}
.plan-card--featured::before { opacity: 0.55; }

.plan-flag {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.24rem 0.9rem;
    border-radius: 999px;
    background: var(--grad-btn);
    color: #fff;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.plan-name { font-size: 1.28rem; margin-bottom: 0.35em; }
.plan-blurb { font-size: 0.86rem; margin-bottom: 1.3rem; min-height: 3.4em; }

.plan-rate { padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); margin-bottom: 1.2rem; }
.plan-rate-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.plan-rate-note { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }

.plan-flow { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.2rem; }

.plan-specs { display: grid; gap: 0.6rem; margin: 0 0 1.3rem; }
.plan-specs > div { display: flex; justify-content: space-between; gap: 0.8rem; font-size: 0.86rem; }
.plan-specs dt { color: var(--dim); }
.plan-specs dd { margin: 0; color: var(--text); font-weight: 500; text-align: right; }

.plan-perks { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: 0.6rem; }
.plan-perks li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.84rem; color: var(--muted); }
.plan-perks .icon { width: 16px; height: 16px; margin-top: 4px; color: var(--cyan); }

.plan-btn { margin-top: auto; width: 100%; }

.fineprint {
    margin: 2.2rem auto 0;
    max-width: 780px;
    font-size: 0.82rem;
    line-height: 1.65;
    color: var(--dim);
    text-align: center;
}
.fineprint strong { color: var(--muted); }

/* ---------- Distribution --------------------------------------------- */

.dist-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.dist-chart { position: relative; margin: 0; display: grid; place-items: center; }
.dist-chart svg { width: min(100%, 330px); transform: rotate(-90deg); overflow: visible; }
.dist-track { fill: none; stroke: rgba(19, 62, 140, 0.08); stroke-width: 26; }
.dist-slice {
    fill: none;
    stroke-width: 26;
    transition: stroke-width 0.3s var(--ease), opacity 0.3s var(--ease);
    animation: sliceIn 1s var(--ease) backwards;
    animation-delay: calc(var(--i) * 0.09s);
}
.dist-slice:hover { stroke-width: 32; }
@keyframes sliceIn { from { opacity: 0; } to { opacity: 1; } }

.dist-center {
    position: absolute;
    display: grid;
    place-items: center;
    text-align: center;
    pointer-events: none;
}
.dist-center strong {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
}
.dist-center span { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }

.dist-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.dist-item { display: flex; gap: 0.85rem; align-items: flex-start; }
.dist-dot { width: 11px; height: 11px; border-radius: 50%; margin-top: 7px; flex: none; }
.dist-body { flex: 1; min-width: 0; }
.dist-row { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.4rem; }
.dist-label { font-size: 0.93rem; color: var(--text); font-weight: 500; }
.dist-pct { font-family: var(--font-display); font-size: 0.93rem; font-weight: 700; color: var(--text); }
.dist-bar { height: 6px; border-radius: 999px; background: rgba(19, 62, 140, 0.1); overflow: hidden; }
.dist-bar span { display: block; height: 100%; border-radius: inherit; }
.dist-note { font-size: 0.78rem; color: var(--dim); margin: 0.45rem 0 0; }

/* ---------- Timeline ------------------------------------------------- */

.timeline { list-style: none; margin: 0; padding: 0 0 0 2.2rem; position: relative; display: grid; gap: 1.4rem; }
.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--cyan), var(--violet), transparent);
}
.timeline-item { position: relative; }
.timeline-node {
    position: absolute;
    left: -2.2rem;
    top: 1.7rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--line-strong);
}
.timeline-item--done   .timeline-node { background: var(--mint);  border-color: var(--mint); }
.timeline-item--active .timeline-node { background: var(--cyan);  border-color: var(--cyan); box-shadow: 0 0 0 6px rgba(22, 140, 255, 0.16); }

.timeline-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.6rem; }
.timeline-phase { font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.timeline-card h3 { margin-bottom: 0.8em; }
.timeline-period { font-size: 0.8rem; color: var(--dim); font-weight: 400; letter-spacing: 0.08em; }
.timeline-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.timeline-list li { position: relative; padding-left: 1.1rem; font-size: 0.9rem; color: var(--muted); }
.timeline-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--indigo);
}

.badge {
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}
.badge--done   { background: rgba(10, 155, 118, 0.12); color: var(--mint); border: 1px solid rgba(10, 155, 118, 0.28); }
.badge--active { background: rgba(22, 140, 255, 0.12); color: var(--cyan); border: 1px solid rgba(22, 140, 255, 0.3); }
.badge--next   { background: rgba(19, 62, 140, 0.08); color: var(--dim); border: 1px solid var(--line-strong); }

/* ---------- Facts & contract ---------------------------------------- */

.facts-frame { margin-bottom: 1.4rem; }

/* Separated rounded tiles, matching the table cells. */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
}
.fact {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.2rem 1.25rem;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.93);
    border: 1px solid rgba(19, 62, 140, 0.09);
    box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.fact:hover { background: #fff; box-shadow: var(--shadow-md), inset 0 1px 0 #fff; }
.fact-label { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.fact-value { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--text); word-break: break-word; }

.contract-card { padding: 1.6rem; }
.contract-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.contract-head .eyebrow { margin-bottom: 0; }
.contract-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin: 1rem 0 0.9rem;
    padding: 0.9rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.62);
}
.contract-row code {
    flex: 1;
    min-width: 0;
    font-family: ui-monospace, 'SF Mono', Menlo, monospace;
    font-size: 0.86rem;
    color: var(--cyan);
    overflow-wrap: anywhere;
}
.btn-copy .icon { width: 17px; height: 17px; }
.contract-note { font-size: 0.82rem; color: var(--dim); margin: 0; }

/* ---------- Table ---------------------------------------------------- */

.table-wrap { overflow-x: auto; padding: 2px; }

/* Cells are separated rounded tiles rather than a ruled grid, with a solid
   accent header row — the pattern from the reference artwork. */
.compare-table {
    width: 100%;
    min-width: 780px;
    border-collapse: separate;
    border-spacing: 7px;
}
.compare-table th, .compare-table td {
    padding: 0.95rem 1.1rem;
    text-align: left;
    font-size: 0.9rem;
    border-radius: 13px;
}

.compare-table thead th {
    font-family: var(--font-display);
    font-size: 0.68rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(180deg, #2280ff 0%, #1450d8 100%);
    box-shadow: 0 6px 16px rgba(20, 80, 216, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.compare-table tbody th,
.compare-table tbody td {
    background: rgba(255, 255, 255, 0.93);
    border: 1px solid rgba(19, 62, 140, 0.09);
    box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
/* Leading column carries the accent, like the category column in the artwork. */
.compare-table tbody th {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--blue);
}
.compare-table td { color: var(--muted); }
.compare-table .num { font-variant-numeric: tabular-nums; }
.compare-table .accent { color: var(--blue); font-weight: 700; }

.compare-table tbody tr:hover th,
.compare-table tbody tr:hover td {
    background: #fff;
    box-shadow: var(--shadow-md), inset 0 1px 0 #fff;
}
.compare-table tr.is-featured th,
.compare-table tr.is-featured td {
    background: linear-gradient(180deg, rgba(232, 240, 255, 0.96), rgba(255, 255, 255, 0.94));
    border-color: rgba(22, 104, 255, 0.28);
}

/* ---------- FAQ ------------------------------------------------------ */

.faq-list { display: grid; gap: 0.8rem; }

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.faq-item[open] { border-color: var(--line-strong); background: var(--surface-2); }

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 1.15rem 1.4rem;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-mark { position: relative; width: 15px; height: 15px; flex: none; }
.faq-mark::before, .faq-mark::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    background: var(--cyan);
    border-radius: 2px;
    transform: translate(-50%, -50%);
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.faq-mark::before { width: 15px; height: 2px; }
.faq-mark::after  { width: 2px; height: 15px; }
.faq-item[open] .faq-mark::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq-item p { margin: 0; padding: 0 1.4rem 1.35rem; font-size: 0.92rem; }

/* ---------- Notice / contact ----------------------------------------- */

.notice-card { padding: 2rem; }
.notice-card h3 { margin-bottom: 0.6em; }
.notice-card p:last-child { margin-bottom: 0; }

.contact-card h3 { margin-bottom: 0.7em; }
.contact-card--warn { border-color: rgba(200, 130, 20, 0.38); background: rgba(255, 246, 228, 0.85); }
.contact-card--warn h3 { color: #9a5b06; }

.contact-line { display: flex; align-items: center; gap: 0.7rem; font-size: 1rem; font-weight: 500; margin-bottom: 0.6rem; }
.contact-note { font-size: 0.84rem; color: var(--dim); margin: 0; }
.contact-socials { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }

.contact-form { display: grid; gap: 0.45rem; padding: 2rem; }
.contact-form h3 { margin-bottom: 0.8rem; }
.contact-form label { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-top: 0.7rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--dim); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    border-color: rgba(22, 140, 255, 0.5);
    background: rgba(255, 255, 255, 0.96);
}
.contact-form select option { background: #ffffff; color: var(--text); }
.contact-form .btn { margin-top: 1.4rem; }
.contact-form .fineprint { margin-top: 0.6rem; text-align: left; }
.form-status { font-size: 0.86rem; margin: 0.6rem 0 0; min-height: 1.2em; color: var(--mint); }
.form-status.is-error { color: #c62828; }

/* ---------- CTA ------------------------------------------------------ */

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding: clamp(2rem, 5vw, 3.4rem);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(700px 300px at 88% 0%, rgba(90, 64, 224, 0.22), transparent 70%),
        radial-gradient(600px 300px at 8% 100%, rgba(22, 140, 255, 0.16), transparent 70%),
        rgba(255, 255, 255, 0.66);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.cta-copy { max-width: 34em; }
.cta-copy h2 { margin-bottom: 0.4em; }
.cta-copy p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ---------- Page hero ------------------------------------------------ */

.page-hero {
    padding: clamp(3rem, 7vw, 4.8rem) 0 clamp(1rem, 3vw, 2rem);
    text-align: center;
}
.page-hero .lede { max-width: 680px; margin-inline: auto; }

/* ---------- Footer --------------------------------------------------- */

.site-footer {
    margin-top: 2rem;
    padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, transparent, rgba(216, 228, 248, 0.9));
}

.footer-top {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr;
    gap: clamp(2rem, 5vw, 4rem);
    padding-bottom: 2.4rem;
    border-bottom: 1px solid var(--line);
}
.footer-lockup { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.2rem; }
.footer-lockup img { width: 46px; height: 46px; filter: drop-shadow(0 0 12px rgba(22, 104, 255, 0.4)); }
.footer-wordmark {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.16em;
    color: var(--text);
}
.footer-brand p { font-size: 0.9rem; max-width: 40ch; }

.socials { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.socials a {
    padding: 0.4rem 0.95rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 0.8rem;
    color: var(--muted);
    transition: all 0.25s var(--ease);
}
.socials a:hover { color: var(--text); border-color: rgba(19, 62, 140, 0.5); background: rgba(19, 62, 140, 0.09); }

.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col h4 {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text);
    margin: 0 0 0.4rem;
}
.footer-col a, .footer-col span { font-size: 0.87rem; color: var(--muted); }
.footer-col a:hover { color: var(--cyan); }

.risk-note {
    margin: 2rem 0 0;
    padding: 1.2rem 1.4rem;
    border: 1px solid rgba(200, 130, 20, 0.3);
    border-radius: 14px;
    background: rgba(255, 246, 228, 0.7);
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--muted);
}
.risk-note strong { color: #9a5b06; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.8rem;
    font-size: 0.82rem;
    color: var(--dim);
}

/* ---------- Reveal animation ----------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ----------------------------------------------- */

@media (max-width: 1080px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .facts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
    .nav-toggle { display: flex; }

    .site-nav {
        position: fixed;
        inset: 0 0 auto;
        top: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
        padding: 5.5rem 1.6rem 2rem;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--line);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
    }
    .site-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
    .site-nav > a { padding: 0.85rem 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
    .site-nav > a::after { display: none; }
    .nav-cta { margin: 1.2rem 0 0; border-bottom: 0 !important; }

    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { order: -1; min-height: 260px; }
    .hero-mark { width: min(74%, 300px); }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }

    .split, .dist-layout { grid-template-columns: 1fr; }
    .split-visual { max-width: 520px; width: 100%; }

    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
    body { font-size: 15px; }
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .facts-grid { grid-template-columns: 1fr; }
    .plan-blurb { min-height: 0; }
    .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .flow-banner { grid-template-columns: 1fr; gap: 1.2rem; text-align: center; }
    .flow-arrow { width: 100%; justify-content: center; transform: rotate(90deg); height: 44px; }
    .flow-line { max-width: 60px; }
    .cta-panel { flex-direction: column; align-items: flex-start; }
    .contact-form, .notice-card { padding: 1.5rem; }
    .timeline { padding-left: 1.9rem; }
    .timeline-node { left: -1.9rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}
