/* ================================================================
   SMCC · Hồ Dữ Liệu Lớn ứng dụng AI — Landing Page (v2 polished)
   Palette: White × #577ECA × gradient mesh
   Fonts:   Playfair Display (display)  ·  Be Vietnam Pro (body)
   Breakpoints: 480 · 640 · 768 · 1024 · 1280
   ================================================================ */

:root {
    --primary:        #577ECA;
    --primary-dark:   #3F5EA0;
    --primary-light:  #7A9AD8;
    --primary-pale:   #E8EEF8;
    --primary-ghost:  #F5F8FC;
    --primary-deep:   #1E3A8A;

    --ink-900:        #0B1220;
    --ink-800:        #141C2F;
    --ink-700:        #1E293B;
    --ink-600:        #334155;
    --ink-500:        #475569;
    --ink-400:        #64748B;
    --ink-300:        #94A3B8;
    --ink-200:        #CBD5E1;
    --ink-100:        #E2E8F0;
    --ink-50:         #F1F5F9;
    --paper:          #F8FAFC;
    --white:          #FFFFFF;

    --accent-emerald: #10B981;
    --accent-violet:  #8B5CF6;
    --accent-amber:   #F59E0B;
    --accent-rose:    #EF4444;
    --accent-cyan:    #06B6D4;
    --accent-pink:    #EC4899;

    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body:    'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

    --shadow-xs: 0 1px 2px rgba(15, 23, 42, .04);
    --shadow-sm: 0 2px 8px rgba(87, 126, 202, .06);
    --shadow-md: 0 8px 24px rgba(87, 126, 202, .09);
    --shadow-lg: 0 20px 50px rgba(87, 126, 202, .14);
    --shadow-xl: 0 30px 80px rgba(30, 58, 138, .18);
    --shadow-2xl: 0 40px 100px rgba(30, 58, 138, .25);
    --shadow-glow: 0 0 40px rgba(87, 126, 202, .3);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --radius-pill: 999px;

    --transition: .35s cubic-bezier(.4, 0, .2, 1);
    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);

    --nav-h: 76px;
    --container: 1200px;
    --section-py: clamp(64px, 9vw, 120px);
}

/* ----- reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: calc(var(--nav-h) + 16px);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--ink-600);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-width: 320px;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a   { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
ul  { list-style: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }

::selection { background: rgba(87, 126, 202, .22); color: var(--ink-900); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--ink-200); border-radius: 10px; border: 2px solid var(--paper); }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

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

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

/* ----- helpers ----- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 24px);
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-pale);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 22px;
}
.eyebrow--light { color: rgba(255,255,255,.88); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }

.section__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.4vw, 3rem);
    font-weight: 600;
    line-height: 1.22;
    color: var(--ink-800);
    letter-spacing: -.02em;
    margin-bottom: 18px;
    text-wrap: balance;
    padding-bottom: .04em;
}
.section__title em {
    color: var(--primary);
    font-style: italic;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    padding: 0 .08em 0 0;
    margin-right: -.04em;
}
.section__title--light { color: #fff; }
.section__title--light em { color: var(--primary-light); -webkit-text-fill-color: var(--primary-light); background: none; }
.section__title--md { font-size: clamp(1.25rem, 2vw, 1.75rem); }

.section__lede {
    font-size: clamp(.98rem, 1.15vw, 1.1rem);
    line-height: 1.8;
    color: var(--ink-500);
    max-width: 760px;
    text-wrap: pretty;
}
.section__lede--light { color: rgba(255,255,255,.78); }
.section__lede strong { color: var(--ink-800); font-weight: 600; }
.section__lede--light strong { color: #fff; }

.section__header { margin-bottom: clamp(40px, 6vw, 56px); max-width: 820px; }
.section__header--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__header--center .section__lede { margin-left: auto; margin-right: auto; }

.section {
    padding: var(--section-py) 0;
    position: relative;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.section.is-in { opacity: 1; transform: translateY(0); }

/* ----- buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .95rem;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    border: 1.5px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    letter-spacing: .01em;
    min-height: 44px;
    line-height: 1.35;
}
.btn--lg { font-size: 1rem; padding: 14px 28px; min-height: 52px; line-height: 1.4; }
.btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 8px 24px -6px rgba(87, 126, 202, .55), inset 0 1px 0 rgba(255,255,255,.18);
    position: relative; overflow: hidden;
}
.btn--primary::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    opacity: 0; transition: opacity .3s;
}
.btn--primary > * { position: relative; z-index: 1; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -6px rgba(87, 126, 202, .6); color: #fff; }
.btn--primary:hover::before { opacity: 1; }
.btn--primary:active { transform: translateY(0); }
.btn--outline { color: var(--ink-700); background: #fff; border-color: var(--ink-200); }
.btn--outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-pale); transform: translateY(-2px); }

/* ==========================================================
   SCROLL PROGRESS
   ========================================================== */
.scrollprog {
    position: fixed;
    top: 0; left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-deep) 50%, var(--accent-violet) 100%);
    z-index: 200;
    border-radius: 0 3px 3px 0;
    box-shadow: 0 0 10px rgba(87,126,202,.6);
    transition: width .06s linear;
}

/* ==========================================================
   BACK TO TOP
   ========================================================== */
.backtotop {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    display: grid; place-items: center;
    box-shadow: 0 10px 30px rgba(87,126,202,.5), 0 0 0 1px rgba(255,255,255,.1) inset;
    opacity: 0;
    transform: translateY(20px) scale(.8);
    pointer-events: none;
    transition: opacity .4s var(--ease-out), transform .4s var(--ease-bounce);
    z-index: 90;
}
.backtotop.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.backtotop:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 18px 40px rgba(87,126,202,.6); }
.backtotop:active { transform: translateY(0) scale(.95); }

/* ==========================================================
   NAVIGATION
   ========================================================== */
.header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255,255,255,.72);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid transparent;
    transition: background .3s, border-color .3s, box-shadow .3s;
}
.header.is-scrolled {
    background: rgba(255,255,255,.92);
    border-bottom-color: var(--ink-100);
    box-shadow: 0 2px 20px rgba(15,23,42,.04);
}
.nav {
    display: flex; align-items: center; justify-content: space-between;
    height: var(--nav-h); gap: 16px;
}
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo img { height: 40px; width: auto; }
.nav__menu { display: flex; gap: 2px; }
.nav__link {
    display: inline-block;
    padding: 10px 14px;
    font-size: .92rem;
    font-weight: 500;
    color: var(--ink-600);
    border-radius: var(--radius-sm);
    position: relative;
}
.nav__link::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 6px;
    height: 2px; background: var(--primary); border-radius: 2px;
    transform: scaleX(0); transform-origin: center;
    transition: transform .3s var(--ease-out);
}
.nav__link:hover { color: var(--primary); background: var(--primary-pale); }
.nav__link:hover::after { transform: scaleX(.7); }
.nav__login { padding: 10px 20px; font-size: .88rem; min-height: 40px; }
.nav__toggle {
    display: none;
    width: 44px; height: 44px;
    padding: 10px;
    align-items: center; justify-content: center;
    flex-direction: column; gap: 5px;
    border-radius: var(--radius-sm);
}
.nav__toggle span {
    display: block; width: 22px; height: 2px; background: var(--ink-700);
    border-radius: 2px;
    transition: transform .3s var(--ease-out), opacity .3s;
    transform-origin: center;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
    position: relative;
    padding: calc(var(--nav-h) + 60px) 0 90px;
    overflow: hidden;
    background:
        radial-gradient(1200px 600px at 85% -10%, rgba(122,154,216,.22) 0%, rgba(122,154,216,0) 55%),
        radial-gradient(900px 500px at -10% 40%, rgba(87,126,202,.12) 0%, rgba(87,126,202,0) 60%),
        linear-gradient(180deg, #fff 0%, #F8FAFC 100%);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.orb {
    position: absolute; border-radius: 50%;
    filter: blur(60px);
    opacity: .7;
    animation: orbFloat 18s ease-in-out infinite alternate;
}
.orb--1 {
    width: 380px; height: 380px;
    top: -80px; left: -120px;
    background: radial-gradient(circle at 30% 30%, rgba(87,126,202,.4), transparent 60%);
    animation-delay: 0s;
}
.orb--2 {
    width: 420px; height: 420px;
    top: 20%; right: -150px;
    background: radial-gradient(circle at 30% 30%, rgba(139,92,246,.28), transparent 60%);
    animation-delay: -6s;
}
.orb--3 {
    width: 300px; height: 300px;
    bottom: -80px; left: 40%;
    background: radial-gradient(circle at 30% 30%, rgba(6,182,212,.22), transparent 60%);
    animation-delay: -12s;
}
@keyframes orbFloat {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(30px, -40px) scale(1.08); }
    100% { transform: translate(-20px, 20px) scale(.96); }
}

.hero__waves { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__wave--1 { animation: waveSlow 14s ease-in-out infinite alternate; transform-origin: center; }
.hero__wave--2 { animation: waveSlow 11s ease-in-out infinite alternate-reverse; transform-origin: center; }
@keyframes waveSlow {
    from { transform: translateY(0); }
    to   { transform: translateY(-14px); }
}
.hero__grain {
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(87,126,202,.08) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: .35;
    mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
}

.hero__container {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: clamp(40px, 6vw, 72px);
}
.hero__content { max-width: 620px; }
.hero__award {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--primary-dark);
    background: #fff;
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-pill);
    margin-bottom: 26px;
    box-shadow: var(--shadow-sm);
}
.hero__award svg { color: var(--accent-amber); flex-shrink: 0; }
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    font-weight: 600;
    line-height: 1.14;
    color: var(--ink-900);
    letter-spacing: -.03em;
    margin-bottom: 26px;
    text-wrap: balance;
}
.hero__title-line { display: block; padding: .02em 0; }
.hero__title-accent {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 50%, var(--accent-violet) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    font-style: italic;
    animation: gradientShift 8s ease-in-out infinite;
    padding-right: .15em;
    margin-right: -.05em;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.hero__title-sub {
    font-family: var(--font-body);
    font-size: clamp(.95rem, 1.3vw, 1.2rem);
    font-weight: 500;
    color: var(--ink-500);
    margin-top: 16px;
    letter-spacing: 0;
    line-height: 1.5;
    padding: 0;
}
.hero__description {
    font-size: clamp(1rem, 1.1vw, 1.1rem);
    line-height: 1.75;
    color: var(--ink-500);
    margin-bottom: 32px;
}
.hero__description strong { color: var(--ink-800); font-weight: 600; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero__bullets { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 24px; }
.hero__bullets li {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .85rem; color: var(--ink-500); font-weight: 500;
}
.hero__bullet-dot {
    display: inline-block; width: 6px; height: 6px; border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(87,126,202,.15);
}

.hero__trust {
    display: flex; align-items: center; gap: 14px;
    padding-top: 22px;
    border-top: 1px solid var(--ink-100);
    flex-wrap: wrap;
}
.hero__trust-label {
    font-size: .72rem; text-transform: uppercase; letter-spacing: .15em;
    color: var(--ink-400); font-weight: 600;
}
.hero__trust-items {
    display: flex; align-items: center; gap: 10px;
    font-size: .86rem; color: var(--ink-700); font-weight: 500;
    flex-wrap: wrap;
}
.hero__trust-items .dot {
    width: 4px; height: 4px; border-radius: 50%; background: var(--ink-200);
}

/* Hero visual — Data Lake */
.hero__visual { position: relative; }
.lake {
    --rx: 3deg;
    --ry: -3deg;
    background: #fff;
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
    transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
    transition: transform .4s var(--ease-out);
    will-change: transform;
}
.lake__header {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--ink-100);
}
.lake__dots { display: flex; gap: 6px; }
.lake__dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-200); }
.lake__dots span:first-child { background: #FF6058; }
.lake__dots span:nth-child(2) { background: #FEBC2E; }
.lake__dots span:nth-child(3) { background: #28C740; }
.lake__title {
    font-size: .82rem; color: var(--ink-500); font-weight: 500;
    flex: 1 1 auto; min-width: 0; text-align: center;
    font-family: var(--font-mono);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    line-height: 1.4;
}
.lake__status {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .7rem; font-weight: 700; color: var(--accent-emerald);
    padding: 4px 10px; background: rgba(16, 185, 129, .1); border-radius: var(--radius-pill);
    white-space: nowrap;
}
.lake__pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-emerald); box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: pulse 1.6s infinite; }
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(16,185,129,.55); }
    70%  { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
    100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.lake__body { padding: 20px; position: relative; min-height: 400px; }

.lake__streams {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
    margin-bottom: 16px;
}
.stream {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    font-size: .78rem; font-weight: 600;
    border: 1px solid transparent;
    transition: transform .3s var(--ease-out);
}
.stream:hover { transform: translateY(-2px); }
.stream--text  { background: rgba(59,130,246,.08); color: #3B82F6; border-color: rgba(59,130,246,.18); }
.stream--image { background: rgba(139,92,246,.08); color: #8B5CF6; border-color: rgba(139,92,246,.18); }
.stream--audio { background: rgba(16,185,129,.08); color: #10B981; border-color: rgba(16,185,129,.18); }
.stream svg { flex-shrink: 0; }

.lake__flow { position: relative; height: 50px; margin: 4px 0; overflow: hidden; }
.particle {
    position: absolute; top: 50%; left: 0;
    width: 6px; height: 6px; border-radius: 50%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    box-shadow: 0 0 10px rgba(87,126,202,.6);
    animation: particleFlow 3.2s linear infinite;
    animation-delay: var(--d, 0s);
}
@keyframes particleFlow {
    0%   { transform: translate(0, -50%) scale(.6); opacity: 0; }
    10%  { opacity: 1; }
    50%  { transform: translate(50cqw, calc(-50% - 8px)) scale(1); opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translate(100cqw, -50%) scale(.6); opacity: 0; }
}
.lake__body { container-type: inline-size; }

.lake__basin {
    display: grid;
    gap: 8px;
    padding: 14px;
    background: linear-gradient(180deg, rgba(87,126,202,.04) 0%, rgba(87,126,202,.12) 100%);
    border-radius: var(--radius-md);
    border: 1px dashed rgba(87,126,202,.22);
}
.basin__layer {
    padding: 9px 14px;
    background: #fff;
    border-radius: var(--radius-sm);
    font-size: .8rem; font-weight: 600; color: var(--ink-700);
    box-shadow: var(--shadow-xs);
    display: flex; align-items: center; gap: 10px;
    border-left: 3px solid var(--primary-light);
    transition: transform .3s var(--ease-out);
}
.basin__layer:hover { transform: translateX(2px); }
.basin__layer::before {
    content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
    background: var(--primary); flex-shrink: 0;
}
.basin__layer--1 { border-left-color: #3B82F6; }
.basin__layer--2 { border-left-color: #8B5CF6; }
.basin__layer--3 { border-left-color: var(--accent-cyan); }
.basin__layer--4 { border-left-color: var(--accent-emerald); font-weight: 700; }

.lake__metrics {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--ink-100);
}
.lake__metric { text-align: center; }
.lake__metric b {
    display: block;
    font-family: var(--font-display);
    font-size: 1.35rem; font-weight: 700; color: var(--primary);
    line-height: 1.15;
    padding-bottom: .04em;
}
.lake__metric span { display: block; font-size: .7rem; color: var(--ink-400); margin-top: 4px; }

/* ==========================================================
   STRIP (positioning bar)
   ========================================================== */
.strip {
    background: linear-gradient(135deg, var(--ink-900) 0%, var(--ink-800) 100%);
    padding: clamp(24px, 3vw, 32px) 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.strip__glow {
    position: absolute; inset: 0;
    background:
        radial-gradient(400px 200px at 20% 50%, rgba(87,126,202,.25), transparent 60%),
        radial-gradient(400px 200px at 80% 50%, rgba(139,92,246,.2), transparent 60%);
    pointer-events: none;
}
.strip__row {
    position: relative;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 20px;
}
.strip__item {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    min-width: 120px; flex: 1 1 auto;
}
.strip__item b {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 700;
    line-height: 1.15;
    background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    padding: 0 .05em .05em 0;
}
.strip__item span {
    font-size: clamp(.72rem, .85vw, .82rem);
    color: rgba(255,255,255,.6);
    letter-spacing: .02em;
    text-align: center;
}
.strip__sep { width: 1px; height: 36px; background: rgba(255,255,255,.1); flex-shrink: 0; }

/* ==========================================================
   PHILOSOPHY
   ========================================================== */
.section--philosophy { background: var(--white); }
.philosophy__grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 36px;
    align-items: center;
    margin: 56px 0;
}
.philosophy__card {
    padding: clamp(28px, 4vw, 40px) clamp(22px, 3vw, 32px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--ink-100);
    background: #fff;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform .4s var(--ease-out), box-shadow .4s;
    opacity: 0; transform: translateY(20px);
}
.philosophy__card.is-in { opacity: 1; transform: translateY(0); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.philosophy__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.philosophy__icon {
    width: 64px; height: 64px; margin: 0 auto 18px;
    display: grid; place-items: center;
    border-radius: 50%;
}
.philosophy__card--chaos .philosophy__icon {
    background: rgba(239,68,68,.08); color: var(--accent-rose);
    animation: chaosWiggle 4s ease-in-out infinite;
}
@keyframes chaosWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg); }
    75% { transform: rotate(3deg); }
}
.philosophy__card--order .philosophy__icon {
    background: rgba(16,185,129,.08); color: var(--accent-emerald);
}
.philosophy__card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem; font-weight: 600;
    color: var(--ink-800);
    margin-bottom: 10px;
    line-height: 1.3;
}
.philosophy__card p { font-size: .95rem; color: var(--ink-500); }

.philosophy__arrow {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    color: var(--primary);
}
.philosophy__arrow svg { width: 100px; height: 40px; }
.philosophy__arrow svg path:first-child { stroke-dasharray: 160; stroke-dashoffset: 160; animation: dashDraw 3s var(--ease-out) infinite; }
@keyframes dashDraw {
    0%   { stroke-dashoffset: 160; }
    50%  { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -160; }
}
.philosophy__arrow span {
    font-family: var(--font-display); font-style: italic;
    font-size: .9rem; color: var(--primary);
}

.pull-quote {
    max-width: 900px; margin: 80px auto 0;
    padding: clamp(24px, 4vw, 40px) clamp(20px, 4vw, 48px);
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.15rem, 2vw, 1.6rem);
    line-height: 1.55;
    color: var(--ink-700);
    text-align: center;
    border-top: 1px solid var(--ink-100);
    border-bottom: 1px solid var(--ink-100);
    position: relative;
}
.pull-quote em { color: var(--primary); font-weight: 600; }
.pull-quote__mark {
    position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
    width: 44px; height: 44px;
    background: #fff;
    border: 1px solid var(--ink-100);
    border-radius: 50%;
    display: grid; place-items: center;
    font-family: var(--font-display); font-size: 2.4rem; color: var(--primary);
    line-height: 1; padding-top: 18px;
}

/* ==========================================================
   PIPELINE (3 streams)
   ========================================================== */
.section--pipeline { background: var(--paper); }
.pipeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 24px);
    position: relative;
}
.pipeline__card {
    --accent: var(--primary);
    position: relative;
    padding: clamp(24px, 3vw, 36px) clamp(20px, 2.5vw, 28px) clamp(20px, 2.5vw, 28px);
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--ink-100);
    box-shadow: var(--shadow-sm);
    transition: transform .4s var(--ease-out), box-shadow .4s, border-color .4s;
    overflow: hidden;
    display: flex; flex-direction: column;
    opacity: 0; transform: translateY(20px);
}
.pipeline__card.is-in { opacity: 1; transform: translateY(0); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.pipeline__card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
    transform-origin: left;
    transition: transform .5s var(--ease-out);
}
.pipeline__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}
.pipeline__num {
    font-family: var(--font-display); font-size: 2.4rem; font-weight: 700;
    color: var(--accent); opacity: .18;
    line-height: 1.1;
    position: absolute; top: 14px; right: 22px;
    letter-spacing: -.03em;
    transition: opacity .3s;
}
.pipeline__card:hover .pipeline__num { opacity: .35; }
.pipeline__icon {
    width: 52px; height: 52px; margin-bottom: 16px;
    display: grid; place-items: center;
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    color: var(--accent);
}
.pipeline__card h3 {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 1.6vw, 1.5rem); font-weight: 600;
    color: var(--ink-800); margin-bottom: 10px;
    line-height: 1.3;
}
.pipeline__input {
    font-size: .88rem; color: var(--ink-500);
    line-height: 1.6; margin-bottom: 18px;
    min-height: 60px;
    flex-grow: 1;
}
.pipeline__process {
    display: flex; flex-direction: column; gap: 6px;
    padding: 12px 14px;
    background: var(--paper);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent);
    margin-bottom: 12px;
}
.pipeline__process span {
    font-family: var(--font-mono);
    font-size: .74rem;
    color: var(--ink-700); font-weight: 500;
    word-break: break-word;
}
.pipeline__out {
    font-size: .86rem; color: var(--accent); font-weight: 600;
    padding-top: 2px;
}

.pipeline__note {
    display: flex; align-items: flex-start; gap: 10px;
    margin-top: 32px;
    padding: 14px 18px;
    background: var(--primary-pale);
    border-radius: var(--radius-md);
    color: var(--primary-dark);
    font-size: .88rem;
    line-height: 1.6;
}
.pipeline__note svg { flex-shrink: 0; margin-top: 2px; color: var(--primary); }

/* ==========================================================
   ARCHITECTURE (6 layers)
   ========================================================== */
.section--architecture { background: #fff; position: relative; }
.section--architecture::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(800px 400px at 20% 0%, rgba(87,126,202,.05), transparent 70%),
        radial-gradient(600px 300px at 80% 100%, rgba(139,92,246,.04), transparent 70%);
    pointer-events: none;
}
.section--architecture .container { position: relative; z-index: 1; }
.layers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    counter-reset: layer-counter;
}
.layer {
    display: grid;
    grid-template-columns: 56px 1fr 36px;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
    position: relative;
    overflow: hidden;
    opacity: 0; transform: translateX(-16px);
}
.layer.is-in { opacity: 1; transform: translateX(0); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.layer::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
    transform: scaleY(0); transform-origin: top;
    transition: transform .4s var(--ease-out);
}
.layer::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(300px 150px at 50% 0%, rgba(87,126,202,.08), transparent 70%);
    opacity: 0; transition: opacity .35s;
    pointer-events: none;
}
.layer:hover { transform: translateX(4px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.layer:hover::before { transform: scaleY(1); }
.layer:hover::after { opacity: 1; }
.layer__num {
    display: grid; place-items: center;
    width: 52px; height: 52px;
    background: var(--primary-pale);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}
.layer__num span {
    font-family: var(--font-display);
    font-size: 1.35rem; font-weight: 700; color: var(--primary);
}
.layer__body { min-width: 0; }
.layer__body h3 {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.3vw, 1.2rem); font-weight: 600;
    color: var(--ink-800); margin-bottom: 4px;
    line-height: 1.35;
}
.layer__body p { font-size: .9rem; color: var(--ink-500); line-height: 1.6; }
.layer__icon { width: 32px; height: 32px; color: var(--primary); opacity: .5; flex-shrink: 0; }
.layer__icon svg { width: 100%; height: 100%; }

/* ==========================================================
   CAPABILITIES
   ========================================================== */
.section--capabilities { background: var(--paper); }
.caps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(14px, 1.8vw, 20px);
}
.cap {
    padding: clamp(22px, 2.8vw, 28px) clamp(20px, 2.5vw, 24px);
    background: #fff;
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
    position: relative;
    overflow: hidden;
    opacity: 0; transform: translateY(16px);
}
.cap.is-in { opacity: 1; transform: translateY(0); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.cap::after {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transition: width .4s var(--ease-out);
}
.cap:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.cap:hover::after { width: 80%; }
.cap__badge {
    display: inline-block;
    padding: 5px 10px;
    font-family: var(--font-mono);
    font-size: .7rem; font-weight: 700;
    color: var(--primary-dark);
    background: var(--primary-pale);
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    letter-spacing: .05em;
}
.cap h4 {
    font-family: var(--font-display);
    font-size: 1.18rem; font-weight: 600;
    color: var(--ink-800); margin-bottom: 8px;
    line-height: 1.3;
}
.cap p { font-size: .9rem; color: var(--ink-500); line-height: 1.65; }

/* ==========================================================
   QUERY (Elasticsearch)
   ========================================================== */
.section--query { background: #fff; }
.query__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}
.query__content .section__header { margin-bottom: 24px; }
.checklist { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.checklist li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: .95rem; color: var(--ink-600); line-height: 1.6;
}
.checklist li svg { flex-shrink: 0; margin-top: 5px; color: var(--accent-emerald); }

.query__panel {
    background: linear-gradient(145deg, var(--ink-900) 0%, var(--ink-800) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    color: #E2E8F0;
    border: 1px solid rgba(255,255,255,.06);
}
.qpanel__header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    background: rgba(0,0,0,.2);
    flex-wrap: wrap; gap: 10px;
}
.qpanel__lang { font-family: var(--font-mono); font-size: .76rem; color: rgba(255,255,255,.7); letter-spacing: .05em; }
.qpanel__rt {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .72rem; color: var(--accent-emerald); font-weight: 600;
}
.qpanel__rt i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-emerald); animation: pulse 1.6s infinite; }
.qpanel__body {
    padding: 20px 22px;
    font-family: var(--font-mono);
    font-size: .78rem;
    line-height: 1.7;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.qpanel__body pre { margin: 0; min-width: max-content; }
.qpanel__body code { font-family: inherit; color: #CBD5E1; white-space: pre; }
.qpanel__body .c-k { color: #7DD3FC; font-weight: 600; }
.qpanel__body .c-s { color: #A7F3D0; }
.qpanel__body .c-b { color: #F9A8D4; }

.qpanel__result {
    display: grid; grid-template-columns: repeat(3, 1fr);
    padding: 16px 20px;
    background: rgba(0,0,0,.25);
    border-top: 1px solid rgba(255,255,255,.06);
}
.qpanel__row { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.qpanel__k { font-size: .68rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .1em; }
.qpanel__row b { font-family: var(--font-display); font-size: 1.25rem; color: #fff; }

/* ==========================================================
   VALUES
   ========================================================== */
.section--values { background: var(--paper); }
.values {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(14px, 1.6vw, 20px);
}
.value {
    padding: clamp(22px, 2.6vw, 28px) clamp(18px, 2.2vw, 22px);
    background: #fff;
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease-out), box-shadow .35s;
    opacity: 0; transform: translateY(16px);
}
.value.is-in { opacity: 1; transform: translateY(0); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value__ico {
    width: 42px; height: 42px; margin-bottom: 14px;
    color: var(--primary);
}
.value__ico svg { width: 100%; height: 100%; }
.value h3 {
    font-family: var(--font-display);
    font-size: 1.1rem; font-weight: 600;
    color: var(--ink-800); margin-bottom: 12px;
    line-height: 1.3;
}
.value__mean {
    font-size: .86rem; color: var(--ink-600); font-weight: 500;
    padding-bottom: 12px; margin-bottom: 12px;
    border-bottom: 1px dashed var(--ink-100);
    line-height: 1.55;
}
.value__impact { font-size: .82rem; color: var(--ink-400); line-height: 1.55; }

/* ==========================================================
   NEWSROOM (dark)
   ========================================================== */
.section--newsroom {
    position: relative;
    background: linear-gradient(135deg, var(--ink-900) 0%, #152246 55%, var(--primary-deep) 100%);
    color: #fff;
    overflow: hidden;
}
.newsroom__bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(600px 400px at 80% 20%, rgba(122,154,216,.22), transparent 60%),
        radial-gradient(500px 400px at 20% 80%, rgba(139,92,246,.2), transparent 60%);
    pointer-events: none;
}
.section--newsroom .container { position: relative; z-index: 1; }

.newsroom__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(16px, 2vw, 24px);
    margin: clamp(32px, 5vw, 48px) 0;
}
.newsroom__card {
    padding: clamp(24px, 3.5vw, 36px) clamp(22px, 3vw, 32px);
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background .4s, border-color .4s, transform .4s var(--ease-out);
    opacity: 0; transform: translateY(20px);
}
.newsroom__card.is-in { opacity: 1; transform: translateY(0); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), background .4s, border-color .4s; }
.newsroom__card:hover {
    background: rgba(255,255,255,.07);
    border-color: rgba(122,154,216,.4);
    transform: translateY(-4px);
}
.newsroom__tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: .7rem; font-weight: 700;
    color: var(--primary-light);
    background: rgba(122,154,216,.15);
    border: 1px solid rgba(122,154,216,.3);
    border-radius: var(--radius-pill);
    letter-spacing: .08em;
    margin-bottom: 14px;
}
.newsroom__card h3 {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 600;
    color: #fff; margin-bottom: 14px; line-height: 1.32;
    padding-bottom: .03em;
}
.newsroom__card > p {
    color: rgba(255,255,255,.72);
    line-height: 1.7; margin-bottom: 16px;
    font-size: .92rem;
}
.newsroom__card ul { display: flex; flex-direction: column; gap: 8px; }
.newsroom__card ul li {
    padding-left: 22px;
    position: relative;
    font-size: .88rem;
    color: rgba(255,255,255,.82);
    line-height: 1.55;
}
.newsroom__card ul li::before {
    content: ''; position: absolute; left: 0; top: 10px;
    width: 10px; height: 2px;
    background: var(--primary-light);
}

.newsroom__matrix {
    margin-top: 32px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.nmx__row {
    display: grid;
    grid-template-columns: 1.1fr 2fr 1.8fr;
    gap: 20px;
    padding: 18px 28px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    font-size: .9rem;
    color: rgba(255,255,255,.78);
}
.nmx__row:last-child { border-bottom: none; }
.nmx__row:not(.nmx__row--head):hover { background: rgba(255,255,255,.02); }
.nmx__row--head {
    background: rgba(0,0,0,.25);
    font-size: .74rem; font-weight: 700; color: rgba(255,255,255,.5);
    letter-spacing: .1em; text-transform: uppercase;
}
.nmx__row b { color: #fff; font-weight: 600; }

/* ==========================================================
   LEGAL
   ========================================================== */
.section--legal { background: #fff; padding: clamp(60px, 9vw, 80px) 0; }
.legal__grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(24px, 3.5vw, 40px);
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
    padding: clamp(28px, 4vw, 40px);
    background: var(--paper);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.legal__icon { color: var(--primary); flex-shrink: 0; }
.legal__grid p { font-size: clamp(.92rem, 1vw, .98rem); line-height: 1.75; color: var(--ink-500); margin-bottom: 12px; }
.legal__grid strong { color: var(--ink-800); }
.legal__emph {
    padding: 14px 18px;
    background: var(--primary-pale);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius-sm);
    color: var(--ink-700) !important;
    font-weight: 500;
    margin-top: 8px !important;
}

/* ==========================================================
   DEPLOY TIMELINE
   ========================================================== */
.section--deploy { background: var(--paper); }
.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    padding-top: 20px;
}
.timeline::before {
    content: ''; position: absolute;
    top: 38px; left: 10%; right: 10%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--primary-light) 0 6px, transparent 6px 12px);
}
.tl {
    position: relative; display: flex; flex-direction: column; align-items: center;
    padding-top: 58px;
    opacity: 0; transform: translateY(16px);
}
.tl.is-in { opacity: 1; transform: translateY(0); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.tl__dot {
    position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
    width: 28px; height: 28px; border-radius: 50%;
    background: #fff;
    border: 3px solid var(--primary);
    box-shadow: 0 0 0 5px rgba(87,126,202,.12);
    z-index: 1;
    transition: transform .3s var(--ease-bounce);
}
.tl:hover .tl__dot { transform: translateX(-50%) scale(1.15); }
.tl__dot::after {
    content: ''; position: absolute; inset: 4px;
    border-radius: 50%;
    background: var(--primary);
}
.tl__card {
    text-align: center;
    padding: clamp(16px, 2vw, 22px) clamp(14px, 1.8vw, 18px);
    background: #fff;
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    width: 100%;
    transition: transform .3s var(--ease-out), box-shadow .3s;
}
.tl:hover .tl__card { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tl__step {
    display: inline-block;
    padding: 3px 10px;
    font-size: .68rem; font-weight: 700;
    color: var(--primary);
    background: var(--primary-pale);
    border-radius: var(--radius-pill);
    margin-bottom: 10px; letter-spacing: .05em;
}
.tl__card h4 {
    font-family: var(--font-display);
    font-size: 1.05rem; font-weight: 600;
    color: var(--ink-800); margin-bottom: 8px;
    line-height: 1.35;
}
.tl__card p { font-size: .8rem; color: var(--ink-500); line-height: 1.55; }

/* ==========================================================
   MANIFESTO
   ========================================================== */
.section--manifesto { background: #fff; padding: clamp(60px, 8vw, 80px) 0 clamp(72px, 9vw, 100px); }
.manifesto { max-width: 1100px; margin: 0 auto; text-align: center; }
.manifesto__quote {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.6rem);
    font-weight: 500;
    line-height: 1.36;
    color: var(--ink-800);
    margin-bottom: 56px;
    position: relative;
    text-wrap: balance;
    padding-bottom: .04em;
}
.manifesto__quote em {
    color: var(--primary); font-style: italic;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    padding-right: .1em;
    margin-right: -.04em;
}
.pull-quote em { padding-right: .08em; margin-right: -.04em; }
.cta h2 em { padding-right: .1em; margin-right: -.04em; }
.manifesto__quote span {
    display: block;
    font-size: 5rem;
    line-height: .4;
    color: var(--primary);
    opacity: .5;
    margin-bottom: 8px;
}
.manifesto__three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 2.5vw, 28px);
    text-align: left;
}
.manifesto__three > div {
    padding: clamp(20px, 2.5vw, 28px) clamp(20px, 2.5vw, 24px);
    border-top: 2px solid var(--primary);
    opacity: 0; transform: translateY(16px);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    transition: background .3s;
}
.manifesto__three > div.is-in { opacity: 1; transform: translateY(0); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.manifesto__three > div:hover { background: var(--primary-ghost); }
.manifesto__three b {
    display: block;
    font-family: var(--font-display);
    font-size: 1.12rem; font-weight: 600;
    color: var(--ink-800);
    margin-bottom: 8px;
    line-height: 1.35;
}
.manifesto__three p { font-size: .9rem; color: var(--ink-500); line-height: 1.65; }

/* ==========================================================
   CTA
   ========================================================== */
.section--cta {
    background: linear-gradient(135deg, var(--ink-900) 0%, var(--primary-deep) 100%);
    padding: clamp(60px, 8vw, 80px) 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.section--cta::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(500px 300px at 90% 50%, rgba(122,154,216,.3), transparent 60%),
        radial-gradient(400px 300px at 10% 50%, rgba(139,92,246,.15), transparent 60%);
}
.cta {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: clamp(28px, 4vw, 40px);
    align-items: center;
}
.cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.4vw, 2.2rem);
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 10px;
    max-width: 680px;
    text-wrap: balance;
    padding-bottom: .04em;
}
.cta h2 em {
    color: var(--primary-light); font-style: italic;
    -webkit-text-fill-color: var(--primary-light);
}
.cta p { color: rgba(255,255,255,.72); max-width: 580px; font-size: clamp(.9rem, 1vw, 1rem); }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta__actions .btn--primary {
    background: #fff; color: var(--primary-dark);
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.cta__actions .btn--primary::before { background: var(--primary-pale); }
.cta__actions .btn--primary:hover { color: var(--primary-dark); transform: translateY(-2px); }
.cta__actions .btn--outline { color: #fff; border-color: rgba(255,255,255,.3); background: transparent; }
.cta__actions .btn--outline:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer { background: var(--ink-900); color: rgba(255,255,255,.7); padding: clamp(56px, 7vw, 72px) 0 0; }
.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: clamp(32px, 4vw, 48px);
    padding-bottom: clamp(32px, 5vw, 48px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand img { margin-bottom: 18px; filter: brightness(1.3); }
.footer__brand p { font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.55); max-width: 360px; }
.footer h5 {
    font-family: var(--font-display);
    font-size: 1rem; font-weight: 600;
    color: #fff; margin-bottom: 14px;
    line-height: 1.4;
}
.footer ul { display: flex; flex-direction: column; gap: 8px; }
.footer ul a {
    font-size: .88rem; color: rgba(255,255,255,.6);
    transition: color .2s, transform .2s;
    display: inline-block;
}
.footer ul a:hover { color: #fff; transform: translateX(3px); }

.footer__bottom {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    padding: 22px clamp(16px, 3vw, 24px);
    font-size: .78rem; color: rgba(255,255,255,.4);
}

/* ==========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================== */

/* ---- 1280px: slight density ---- */
@media (max-width: 1280px) {
    :root { --container: 100%; }
    .container { padding: 0 32px; }
}

/* ---- 1024px: tablet landscape & small laptop ---- */
@media (max-width: 1024px) {
    .hero__container { grid-template-columns: 1fr; gap: 48px; }
    .hero__content { max-width: 720px; margin: 0 auto; text-align: center; }
    .hero__bullets, .hero__actions { justify-content: center; }
    .hero__trust { justify-content: center; }
    .lake { max-width: 580px; margin: 0 auto; }

    .query__grid { grid-template-columns: 1fr; gap: 40px; }
    .values { grid-template-columns: repeat(3, 1fr); }
    .values > :nth-child(4), .values > :nth-child(5) {
        grid-column: span 1;
    }
    .caps { grid-template-columns: repeat(2, 1fr); }
    .layers { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }

    .timeline { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .timeline::before { display: none; }

    .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .footer__brand { grid-column: 1 / -1; }
    .footer__brand p { max-width: 640px; }
}

/* ---- 820px: tablet portrait ---- */
@media (max-width: 820px) {
    :root { --nav-h: 68px; }

    .nav__menu {
        position: fixed;
        top: var(--nav-h); left: 0; right: 0;
        background: #fff;
        flex-direction: column; gap: 0;
        padding: 16px 24px 24px;
        border-bottom: 1px solid var(--ink-100);
        transform: translateY(-120%);
        transition: transform .35s var(--ease-out);
        box-shadow: var(--shadow-lg);
        max-height: calc(100vh - var(--nav-h));
        overflow-y: auto;
    }
    .nav__menu.is-open { transform: translateY(0); }
    .nav__menu li { width: 100%; }
    .nav__link {
        display: block;
        padding: 14px 4px;
        font-size: 1rem;
        border-bottom: 1px solid var(--ink-100);
        border-radius: 0;
    }
    .nav__link::after { display: none; }
    .nav__link:hover { background: transparent; padding-left: 12px; }
    .nav__toggle { display: flex; }
    .nav__login { display: none; }

    .pipeline { grid-template-columns: 1fr; }
    .philosophy__grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 520px; margin: 40px auto;
    }
    .philosophy__arrow {
        flex-direction: row;
        transform: rotate(90deg);
        margin: 0;
        padding: 10px 0;
    }
    .philosophy__arrow svg { width: 60px; height: 28px; }

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

    /* Matrix → card layout on mobile */
    .newsroom__matrix { background: transparent; border: none; margin-top: 24px; overflow: visible; }
    .nmx__row--head { display: none; }
    .nmx__row {
        display: block;
        padding: 18px 20px;
        margin-bottom: 12px;
        background: rgba(255,255,255,.04);
        border: 1px solid rgba(255,255,255,.1);
        border-radius: var(--radius-md);
    }
    .nmx__row:last-child { margin-bottom: 0; }
    .nmx__row span { display: block; margin-bottom: 10px; }
    .nmx__row span:last-child { margin-bottom: 0; }
    .nmx__row span[data-lbl]::before {
        content: attr(data-lbl);
        display: block;
        font-size: .68rem; font-weight: 700;
        color: rgba(255,255,255,.45);
        letter-spacing: .12em; text-transform: uppercase;
        margin-bottom: 4px;
    }

    /* Timeline → vertical ladder */
    .timeline {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding-top: 0;
        padding-left: 32px;
        position: relative;
    }
    .timeline::before {
        display: block;
        top: 10px; bottom: 10px;
        left: 13px; right: auto;
        width: 2px; height: auto;
        background: repeating-linear-gradient(180deg, var(--primary-light) 0 6px, transparent 6px 12px);
    }
    .tl { padding-top: 0; align-items: flex-start; }
    .tl__dot {
        position: absolute;
        top: 12px; left: -32px;
        transform: none;
        width: 28px; height: 28px;
    }
    .tl:hover .tl__dot { transform: scale(1.15); }
    .tl__card { text-align: left; width: 100%; }

    .manifesto__three { grid-template-columns: 1fr; }
    .manifesto__quote span { font-size: 4rem; }

    .cta { grid-template-columns: 1fr; text-align: center; }
    .cta__actions { justify-content: center; }

    .legal__grid { grid-template-columns: 1fr; padding: 28px; text-align: center; }
    .legal__icon { margin: 0 auto; }

    .strip__row { justify-content: space-around; gap: 24px 16px; }
    .strip__sep { display: none; }
    .strip__item { flex: 0 1 auto; min-width: 100px; }

    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; text-align: center; }
    .footer__brand img { margin: 0 auto 18px; }
    .footer__brand p { margin: 0 auto; }
    .footer__bottom { justify-content: center; text-align: center; }
}

/* ---- 640px: large phones ---- */
@media (max-width: 640px) {
    .hero { padding: calc(var(--nav-h) + 40px) 0 60px; }
    .hero__award { font-size: .72rem; padding: 7px 12px; }
    .hero__title { font-size: clamp(2rem, 9vw, 2.8rem); }
    .hero__description { font-size: .98rem; }
    .hero__actions .btn { flex: 1 1 auto; min-width: 160px; }
    .hero__bullets { gap: 8px 14px; font-size: .8rem; }

    .lake { transform: none; box-shadow: var(--shadow-lg); }
    .lake:hover { transform: translateY(-4px); }
    .lake__body { min-height: auto; padding: 18px; }
    .lake__streams { gap: 6px; }
    .stream { padding: 8px 10px; font-size: .72rem; gap: 6px; }
    .stream svg { width: 18px; height: 18px; }
    .lake__flow { height: 40px; }

    .pipeline__input { min-height: auto; }
    .pipeline__num { font-size: 2rem; top: 14px; right: 18px; }

    .layer {
        grid-template-columns: 48px 1fr;
        gap: 14px;
        padding: 18px;
    }
    .layer__icon { display: none; }
    .layer__num { width: 48px; height: 48px; }
    .layer__num span { font-size: 1.2rem; }

    .caps { grid-template-columns: 1fr; }
    .values { grid-template-columns: repeat(2, 1fr); }

    .pull-quote { margin-top: 56px; padding: 28px 20px; }
    .pull-quote__mark { width: 38px; height: 38px; font-size: 2rem; padding-top: 14px; }

    .manifesto__quote { font-size: clamp(1.3rem, 6vw, 1.8rem); margin-bottom: 40px; }
    .manifesto__quote span { font-size: 3rem; }

    .qpanel__body { font-size: .72rem; padding: 16px 18px; }
    .qpanel__result { padding: 14px 18px; }
    .qpanel__row b { font-size: 1.1rem; }

    .footer__grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
    .footer ul { align-items: center; }
    .footer__bottom { font-size: .72rem; }

    .backtotop { width: 44px; height: 44px; bottom: 16px; right: 16px; }
}

/* ---- 480px: small phones ---- */
@media (max-width: 480px) {
    :root { --section-py: 56px; }
    .container { padding: 0 18px; }

    .nav__logo img { height: 34px; }
    .nav__toggle { margin-right: -8px; }

    .hero__award { font-size: .68rem; line-height: 1.4; text-align: center; }
    .hero__title { font-size: clamp(1.8rem, 10vw, 2.4rem); }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }
    .hero__trust { flex-direction: column; align-items: flex-start; gap: 10px; }
    .hero__trust-items { gap: 6px; font-size: .82rem; }

    .strip__item b { font-size: 1.3rem; }
    .strip__item span { font-size: .68rem; }

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

    .newsroom__card { padding: 22px 20px; }
    .newsroom__card h3 { font-size: 1.2rem; }

    .cta__actions { flex-direction: column; }
    .cta__actions .btn { width: 100%; }

    .tl__card { padding: 16px 14px; }
    .tl__card h4 { font-size: 1rem; }
}

/* ---- hover-capable only ---- */
@media (hover: none) {
    .pipeline__card:hover,
    .cap:hover,
    .value:hover,
    .layer:hover,
    .newsroom__card:hover,
    .philosophy__card:hover,
    .tl__card:hover {
        transform: none;
    }
}

/* ---- dark color-scheme hint ---- */
@media (prefers-color-scheme: dark) {
    /* Keep light theme as primary design — only adjust scrollbar */
    ::-webkit-scrollbar-track { background: var(--ink-50); }
}
