/* Mereden homepage — research-lab layout. Scoped to .page-home, loaded after styles.css. */

.page-home {
  --hl-ink: #000;
  --hl-body: #3a3a3a;
  --hl-muted: #7a7a7a;
  --hl-line: #e8e8e8;
  --hl-surface: #f9f9f9;
  --hl-teal: #0D9488;
  --hl-teal-2: #14B8A6;
  --hl-teal-3: #5EEAD4;
  --hl-teal-wash: #F0FDFA;
  --hl-max: 1200px;
  --hl-ease: cubic-bezier(.2, .7, .2, 1);
  background: #fff;
  color: var(--hl-ink);
}

.hl-wrap { width: min(100% - 48px, var(--hl-max)); margin: 0 auto; }

/* ── Scroll progress ─────────────────────────── */
.hl-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 400;
  background: transparent; pointer-events: none;
}
.hl-progress span {
  display: block; height: 100%; width: 100%;
  transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--hl-teal-3), var(--hl-teal));
}

/* ── Shared type ─────────────────────────────── */
.hl-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--hl-muted); margin: 0 0 18px;
}
.hl-eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--hl-teal-2); box-shadow: 0 0 0 4px rgba(20, 184, 166, .15);
}
.hl-h2 {
  font-size: clamp(28px, 2.8vw, 40px); line-height: 1.1; letter-spacing: -.03em;
  font-weight: 500; margin: 0 0 18px; color: var(--hl-ink);
}
.hl-sub { font-size: 16px; line-height: 1.55; color: var(--hl-body); max-width: 620px; margin: 0; }
.hl-grad {
  background: linear-gradient(90deg, var(--hl-teal) 0%, var(--hl-teal-2) 30%, var(--hl-teal-3) 50%, var(--hl-teal-2) 70%, var(--hl-teal) 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: hl-sheen 6s ease-in-out infinite;
}
@keyframes hl-sheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.hl-section { padding: 80px 0; position: relative; }
.hl-section.tight { padding: 64px 0; }
.hl-head { max-width: 760px; margin-bottom: 40px; }
.hl-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.hl-head.center .hl-sub { margin: 0 auto; }

/* ── Buttons ─────────────────────────────────── */
.hl-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 24px;
  border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .3s var(--hl-ease);
  border: 1px solid transparent; white-space: nowrap;
}
.hl-btn svg { width: 16px; height: 16px; transition: transform .3s var(--hl-ease); }
.hl-btn:hover svg { transform: translateX(3px); }
.hl-btn-light { background: #fff; color: #000 !important; }
.hl-btn-light:hover { background: var(--hl-teal); color: #fff !important; }
.hl-btn-glass {
  background: rgba(255, 255, 255, .08); color: #fff !important; border-color: rgba(255, 255, 255, .28);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.hl-btn-glass:hover { background: #fff; color: #000 !important; }
.hl-btn-dark { background: #000; color: #fff !important; }
.hl-btn-dark:hover { background: var(--hl-teal); }
.hl-btn-line { background: transparent; color: #000 !important; border-color: #d6d6d6; }
.hl-btn-line:hover { background: #000; color: #fff !important; border-color: #000; }

/* ── Reveal system ───────────────────────────── */
.hl-js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--hl-ease), transform .9s var(--hl-ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.hl-js [data-reveal="fade"] { transform: none; }
.hl-js [data-reveal="scale"] { transform: scale(.96); }
.hl-js [data-reveal].in { opacity: 1; transform: none; }

/* ── Hero ────────────────────────────────────── */
.hl-hero { padding: 0; margin: 0; background: #020708; }
.hl-hero-panel {
  position: relative; isolation: isolate; overflow: hidden;
  height: 100vh; min-height: 600px; margin: 0; border-radius: 0; background: #020708;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
}
.hl-hero-video, .hl-hero-glow, .hl-hero-grid { position: absolute; inset: 0; }
#hl-hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.hl-hero-glow, .hl-hero-grid { z-index: 1; pointer-events: none; }
.hl-hero-panel::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(2, 7, 8, .85) 0%, rgba(2, 7, 8, .35) 45%, rgba(2, 7, 8, 0) 70%);
}
.hl-hero-inner { position: relative; z-index: 2; padding: 0 clamp(24px, 5vw, 64px) clamp(28px, 5vw, 56px); }
.hl-hero-glow {
  background:
    radial-gradient(60% 50% at 80% 20%, rgba(20, 184, 166, .28), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, rgba(13, 148, 136, .22), transparent 70%),
    linear-gradient(180deg, rgba(2, 7, 8, .2) 0%, rgba(2, 7, 8, .1) 40%, rgba(2, 7, 8, .85) 100%);
}
.hl-hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}
.hl-hero .hl-eyebrow { color: rgba(255, 255, 255, .72); }
.hl-hero h1 {
  font-size: clamp(38px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -.035em;
  font-weight: 500; margin: 0 0 22px; max-width: 18ch; color: #fff;
}
.hl-line { display: block; overflow: hidden; padding-bottom: .06em; }
.hl-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--hl-ease); }
.hl-hero.is-ready .hl-line > span { transform: none; }
.hl-hero.is-ready .hl-line:nth-child(2) > span { transition-delay: .12s; }
.hl-hero.is-ready .hl-line:nth-child(3) > span { transition-delay: .24s; }
.hl-hero .hl-grad { -webkit-text-fill-color: transparent; }
.hl-hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.hl-hero-lead { font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .78); max-width: 520px; margin: 0 0 28px; }
.hl-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hl-hero-side { display: grid; gap: 14px; justify-items: end; }
.hl-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.hl-chip {
  font-size: 13px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .04); backdrop-filter: blur(10px);
}
.hl-scroll {
  display: inline-flex; align-items: center; gap: 12px; font-size: 13px;
  color: rgba(255, 255, 255, .7); text-decoration: none;
}
.hl-scroll-track { width: 2px; height: 40px; border-radius: 2px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.hl-scroll-track span { display: block; width: 100%; height: 40%; background: var(--hl-teal-3); animation: hl-drop 2.2s var(--hl-ease) infinite; }
@keyframes hl-drop { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }
.hl-hero-fade { opacity: 0; transform: translateY(16px); transition: opacity 1s ease .45s, transform 1s var(--hl-ease) .45s; }
.hl-hero.is-ready .hl-hero-fade { opacity: 1; transform: none; }

/* ── Scroll-lit statement ────────────────────── */
.hl-statement { padding: 88px 0 72px; }
.hl-statement #hl-lit {
  font-size: clamp(24px, 2.3vw, 32px); line-height: 1.22; letter-spacing: -.02em;
  font-weight: 500; margin: 0; max-width: 520px;
}
.hl-thesis { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.hl-thesis-note { margin: 24px 0 0; max-width: 440px; font-size: 16px; line-height: 1.5; color: var(--hl-body); }
.hl-word { color: #d9d9d9; transition: color .35s ease; }
.hl-word.lit { color: #000; }
.hl-word.lit.accent { color: var(--hl-teal); }

/* ── Expert network diagram ──────────────────── */
.hl-network { margin: 0; max-width: 640px; justify-self: end; width: 100%; }
.hl-network svg { display: block; width: 100%; height: auto; overflow: visible; }
.hl-network { --ct: #F0FDFA; --cl: #CCFBF1; --cr: #A7F3E4; }
.hl-network .hl-core { --ct: #5EEAD4; --cl: #14B8A6; --cr: #0D9488; }
.hl-network use[href="#hl-cube"] { filter: drop-shadow(0 18px 22px rgba(13, 148, 136, .14)); }
.hl-network text {
  font-family: "Cascadia Mono", Consolas, ui-monospace, monospace; font-size: 22px;
  fill: var(--hl-teal); text-anchor: middle; dominant-baseline: middle;
}
.hl-network .hl-core text { fill: #fff; font-family: inherit; font-weight: 600; font-size: 24px; }
.hl-network text.hl-cap {
  font-family: inherit; font-size: 20px; font-weight: 500; fill: #3a3a3a; letter-spacing: -.01em;
}
.hl-network .hl-core text.hl-cap { fill: #000; font-size: 22px; font-weight: 500; }
.hl-links use {
  fill: none; stroke: var(--hl-teal-2); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 1 7; opacity: .85; animation: hl-flow 1.4s linear infinite;
}
@keyframes hl-flow { to { stroke-dashoffset: -16; } }
.hl-rings circle { fill: #fff; stroke: var(--hl-teal-2); stroke-width: 1.8; }
.hl-pulses circle { fill: var(--hl-teal); filter: drop-shadow(0 0 6px rgba(20, 184, 166, .8)); }
.hl-halo { fill: rgba(94, 234, 212, .18); transform-box: fill-box; transform-origin: center; animation: hl-halo 3.2s ease-in-out infinite; }
@keyframes hl-halo { 0%, 100% { transform: scale(.85); opacity: .9; } 50% { transform: scale(1.15); opacity: .35; } }
.hl-float { animation: hl-bob 5s ease-in-out infinite; animation-delay: var(--f, 0s); }
@keyframes hl-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hl-js .hl-network .hl-node { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--hl-ease), transform .8s var(--hl-ease); transition-delay: calc(var(--d, 0) * 110ms); }
.hl-js .hl-network .hl-links, .hl-js .hl-network .hl-pulses, .hl-js .hl-network .hl-rings { opacity: 0; transition: opacity 1s ease .7s; }
.hl-network.in .hl-node, .hl-network.in .hl-links, .hl-network.in .hl-pulses, .hl-network.in .hl-rings { opacity: 1; transform: none; }

/* ── Advantage comparison ────────────────────── */
.hl-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hl-compare-card {
  border-radius: 24px; padding: 36px; background: var(--hl-surface);
  border: 1px solid var(--hl-line); position: relative; overflow: hidden;
}
.hl-compare-card.is-us { background: #020708; color: #fff; border-color: #020708; }
.hl-compare-card.is-us::after {
  content: ""; position: absolute; inset: auto -20% -60% auto; width: 70%; height: 90%;
  background: radial-gradient(circle, rgba(20, 184, 166, .35), transparent 65%); pointer-events: none;
}
.hl-compare-tag { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--hl-muted); margin: 0 0 12px; }
.is-us .hl-compare-tag { color: var(--hl-teal-3); }
.hl-compare-card h3 { font-size: 26px; letter-spacing: -.02em; font-weight: 500; margin: 0 0 14px; }
.hl-compare-card > p { color: var(--hl-body); line-height: 1.6; margin: 0 0 28px; font-size: 15.5px; }
.is-us > p { color: rgba(255, 255, 255, .72); }
.hl-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; position: relative; z-index: 1; }
.hl-flow-step {
  font-size: 13.5px; font-weight: 500; padding: 9px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--hl-line); color: #000;
}
.is-us .hl-flow-step { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #fff; }
.is-us .hl-flow-step.end { background: var(--hl-teal); border-color: var(--hl-teal); }
.hl-flow-arrow { color: #b5b5b5; font-size: 14px; }
.is-us .hl-flow-arrow { color: var(--hl-teal-3); }
.hl-js .hl-flow > * { opacity: 0; transform: translateX(-8px); transition: opacity .5s ease, transform .5s var(--hl-ease); }
.hl-js .hl-flow.in > * { opacity: 1; transform: none; }
.hl-js .hl-flow.in > *:nth-child(2) { transition-delay: .15s; }
.hl-js .hl-flow.in > *:nth-child(3) { transition-delay: .3s; }
.hl-js .hl-flow.in > *:nth-child(4) { transition-delay: .45s; }
.hl-js .hl-flow.in > *:nth-child(5) { transition-delay: .6s; }
.hl-js .hl-flow.in > *:nth-child(6) { transition-delay: .75s; }
.hl-js .hl-flow.in > *:nth-child(7) { transition-delay: .9s; }

/* ── Process timeline ────────────────────────── */
.hl-process { background: var(--hl-surface); border-radius: 32px; margin: 0 10px; }
.hl-process-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
.hl-process-side { position: sticky; top: 120px; align-self: start; }
.hl-counter { display: flex; align-items: baseline; gap: 6px; margin-top: 36px; font-variant-numeric: tabular-nums; }
.hl-counter strong { font-size: 48px; font-weight: 500; letter-spacing: -.04em; color: #000; line-height: 1; }
.hl-counter span { font-size: 18px; color: var(--hl-muted); }
.hl-counter-bar { margin-top: 18px; height: 3px; width: 100%; max-width: 280px; background: #e6e6e6; border-radius: 3px; overflow: hidden; }
.hl-counter-bar span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: var(--hl-teal); transition: transform .5s var(--hl-ease); }
.hl-steps { position: relative; padding: 0 0 0 44px; }
.hl-step-list { list-style: none; margin: 0; padding: 0; }
.hl-steps-line { position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: #e3e3e3; border-radius: 2px; }
.hl-steps-line span { display: block; width: 100%; height: 100%; transform: scaleY(0); transform-origin: top; background: linear-gradient(180deg, var(--hl-teal-3), var(--hl-teal)); }
.hl-step { position: relative; padding: 4px 0 40px; }
.hl-step:last-child { padding-bottom: 4px; }
.hl-step-dot {
  position: absolute; left: -44px; top: 4px; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 2px solid #d9d9d9; display: grid; place-items: center;
  transition: border-color .4s ease, background .4s ease, box-shadow .4s ease;
}
.hl-step-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #d9d9d9; transition: background .4s ease; }
.hl-step.active .hl-step-dot { border-color: var(--hl-teal); box-shadow: 0 0 0 6px rgba(13, 148, 136, .12); }
.hl-step.active .hl-step-dot::after { background: var(--hl-teal); }
.hl-step-num { font-size: 13px; letter-spacing: .12em; color: var(--hl-muted); margin: 0 0 8px; transition: color .4s ease; }
.hl-step.active .hl-step-num { color: var(--hl-teal); }
.hl-step h3 { font-size: 20px; letter-spacing: -.02em; font-weight: 500; margin: 0 0 10px; color: #b0b0b0; transition: color .4s ease; }
.hl-step.active h3 { color: #000; }
.hl-step p { margin: 0; color: var(--hl-body); line-height: 1.6; max-width: 520px; opacity: .45; transition: opacity .4s ease; }
.hl-step.active p { opacity: 1; }
.hl-step-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.hl-step-tags span { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--hl-line); color: var(--hl-body); }

/* ── Infra showcase ──────────────────────────── */
.hl-infra-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.hl-points { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 14px; }
.hl-points li { display: flex; gap: 12px; color: var(--hl-body); line-height: 1.5; }
.hl-points li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background: var(--hl-teal-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D9488' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat;
}
.hl-demo {
  border-radius: 24px; background: #020708; color: #fff; padding: 28px;
  box-shadow: 0 40px 80px -30px rgba(2, 7, 8, .45); position: relative; overflow: hidden;
}
.hl-demo::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 60%; height: 80%;
  background: radial-gradient(circle, rgba(20, 184, 166, .25), transparent 65%); pointer-events: none;
}
.hl-demo-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; position: relative; }
.hl-demo-title { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.hl-dots { display: flex; gap: 6px; }
.hl-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.hl-demo-q {
  font-family: "Cascadia Mono", Consolas, ui-monospace, monospace; font-size: 13px; line-height: 1.6;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px; padding: 14px 16px; color: rgba(255, 255, 255, .85); margin-bottom: 14px; position: relative;
}
.hl-demo-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; position: relative; }
.hl-tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 6px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .8);
  transition: background .4s ease, border-color .4s ease, color .4s ease;
}
.hl-tag svg { width: 12px; height: 12px; }
.hl-tag.on { background: rgba(20, 184, 166, .16); border-color: rgba(94, 234, 212, .4); color: var(--hl-teal-3); }
.hl-models { display: grid; gap: 10px; position: relative; }
.hl-model {
  display: grid; grid-template-columns: 64px 1fr 92px; align-items: center; gap: 14px;
  padding: 11px 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07);
  transition: border-color .4s ease, background .4s ease;
}
.hl-model b { font-weight: 500; font-size: 14px; font-family: "Cascadia Mono", Consolas, ui-monospace, monospace; }
.hl-model-bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.hl-model-bar span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: rgba(255, 255, 255, .5); }
.hl-model-state { font-size: 12px; text-align: right; color: rgba(255, 255, 255, .45); }
.hl-model.win { border-color: rgba(94, 234, 212, .35); background: rgba(20, 184, 166, .08); }
.hl-model.win .hl-model-bar span { background: var(--hl-teal-2); }
.hl-model.win .hl-model-state { color: var(--hl-teal-3); }
.hl-model.lose .hl-model-state { color: rgba(255, 255, 255, .6); }
.hl-demo-result {
  display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .08); position: relative;
}
.hl-demo-score { font-size: 28px; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hl-demo-score small { font-size: 14px; color: rgba(255, 255, 255, .55); margin-left: 6px; letter-spacing: 0; }
.hl-rank {
  font-size: 13px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .5); transition: background .4s ease, color .4s ease;
}
.hl-rank.on { background: var(--hl-teal); color: #fff; }

/* ── Numbers ─────────────────────────────────── */
.hl-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hl-line); }
.hl-stat { padding: 36px 28px 8px 0; border-right: 1px solid var(--hl-line); }
.hl-stat:last-child { border-right: 0; }
.hl-stat + .hl-stat { padding-left: 28px; }
.hl-stat strong {
  display: block; font-size: clamp(40px, 5vw, 64px); font-weight: 500; letter-spacing: -.04em;
  line-height: 1; font-variant-numeric: tabular-nums; margin-bottom: 12px;
}
.hl-stat > span { color: var(--hl-body); font-size: 15px; line-height: 1.5; }

/* ── Domains ─────────────────────────────────── */
.hl-domains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hl-domain {
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column;
  min-height: 260px; padding: 26px; border-radius: 22px; background: var(--hl-surface);
  border: 1px solid var(--hl-line); color: #000; text-decoration: none;
  transition: color .45s ease, border-color .45s ease, transform .45s var(--hl-ease);
}
.hl-domain::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: #020708;
  clip-path: circle(0% at 90% 10%); transition: clip-path .7s var(--hl-ease);
}
.hl-domain::after {
  content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; right: -60px; bottom: -80px;
  border-radius: 50%; background: radial-gradient(circle, rgba(20, 184, 166, .45), transparent 65%);
  opacity: 0; transition: opacity .6s ease;
}
.hl-domain:hover { color: #fff; border-color: #020708; transform: translateY(-4px); }
.hl-domain:hover::before { clip-path: circle(150% at 90% 10%); }
.hl-domain:hover::after { opacity: 1; }
.hl-domain-num { font-size: 13px; color: var(--hl-muted); letter-spacing: .1em; transition: color .45s ease; }
.hl-domain-glyph {
  font-family: "Cascadia Mono", Consolas, ui-monospace, monospace; font-size: 34px; color: var(--hl-teal);
  height: 44px; line-height: 44px; margin: 26px 0 0; transition: color .45s ease;
}
.hl-domain h3 { font-size: 24px; font-weight: 500; letter-spacing: -.02em; margin: 28px 0 8px; }
.hl-domain p { margin: 0 0 18px; color: var(--hl-body); font-size: 14.5px; line-height: 1.55; transition: color .45s ease; }
.hl-domain-link { font-size: 14px; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; margin-top: auto; }
.hl-domain-link::after { content: "→"; transition: transform .3s var(--hl-ease); }
.hl-domain:hover .hl-domain-link::after { transform: translateX(4px); }
.hl-domain:hover p, .hl-domain:hover .hl-domain-num { color: rgba(255, 255, 255, .72); }
.hl-domain:hover .hl-domain-glyph { color: var(--hl-teal-3); }
.hl-domain.is-open { background: #fff; border-style: dashed; border-color: #cfcfcf; }

/* ── Two ways in ─────────────────────────────── */
.hl-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hl-way {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; min-height: 320px;
  padding: 40px; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--hl-surface); border: 1px solid var(--hl-line); color: #000;
  transition: color .5s ease, border-color .5s ease;
}
.hl-way video, .hl-way-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; object-fit: cover; }
.hl-way video { opacity: 0; transform: scale(1.06); transition: opacity .6s ease, transform 1.2s var(--hl-ease); }
.hl-way-shade { background: linear-gradient(180deg, rgba(2, 7, 8, .25), rgba(2, 7, 8, .85)); opacity: 0; transition: opacity .6s ease; }
.hl-way:hover { color: #fff; border-color: #020708; }
.hl-way:hover video { opacity: 1; transform: none; }
.hl-way:hover .hl-way-shade { opacity: 1; }
.hl-way-tag { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--hl-teal); margin: 0 0 14px; transition: color .5s ease; }
.hl-way:hover .hl-way-tag { color: var(--hl-teal-3); }
.hl-way h3 { font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -.03em; font-weight: 500; line-height: 1.1; margin: 0 0 14px; }
.hl-way p { color: var(--hl-body); line-height: 1.6; margin: 0; max-width: 440px; transition: color .5s ease; }
.hl-way:hover p { color: rgba(255, 255, 255, .8); }
.hl-way-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; font-size: 14.5px; }
.hl-way-list li::before { content: "— "; color: var(--hl-teal); }
.hl-way:hover .hl-way-list li::before { color: var(--hl-teal-3); }
.hl-way .hl-btn-dark { align-self: flex-start; margin-top: 32px; }
.hl-way:hover .hl-btn-dark { background: #fff; color: #000 !important; }
.hl-way:hover .hl-btn-dark:hover { background: var(--hl-teal); color: #fff !important; }

/* ── Roles (reuses existing carousel) ────────── */
.page-home .section-roles { padding: 72px 0; }
.page-home .roles-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.page-home .roles-dots button {
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%;
  background: #d4d4d4; cursor: pointer;
}
.page-home .roles-dots button.is-on { background: #0D9488; }

/* ── FAQ ─────────────────────────────────────── */
.hl-faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; }
.hl-faq details { border-bottom: 1px solid var(--hl-line); }
.hl-faq details:first-child { border-top: 1px solid var(--hl-line); }
.hl-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: 18px; font-weight: 500; letter-spacing: -.01em; transition: color .25s ease;
}
.hl-faq summary::-webkit-details-marker { display: none; }
.hl-faq summary:hover { color: var(--hl-teal); }
.hl-faq-icon { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid #d6d6d6; position: relative; transition: transform .35s var(--hl-ease), background .3s ease, border-color .3s ease; }
.hl-faq-icon::before, .hl-faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.hl-faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.hl-faq details[open] .hl-faq-icon { transform: rotate(45deg); background: #000; border-color: #000; color: #fff; }
.hl-faq-body { padding: 0 48px 26px 0; color: var(--hl-body); line-height: 1.65; }

/* ── CTA band ────────────────────────────────── */
.hl-cta {
  margin: 0 10px 10px; border-radius: 32px; overflow: hidden; position: relative; isolation: isolate;
  padding: 120px 24px; text-align: center; color: #fff; background: #020708;
}
.hl-cta::before {
  content: ""; position: absolute; inset: -30%; z-index: -1;
  background:
    radial-gradient(40% 50% at 30% 40%, rgba(20, 184, 166, .55), transparent 70%),
    radial-gradient(35% 45% at 70% 60%, rgba(94, 234, 212, .35), transparent 70%),
    radial-gradient(30% 40% at 55% 20%, rgba(13, 148, 136, .45), transparent 70%);
  filter: blur(20px); animation: hl-aurora 16s ease-in-out infinite alternate;
}
@keyframes hl-aurora { 0% { transform: translate3d(-4%, -2%, 0) rotate(0deg); } 100% { transform: translate3d(4%, 3%, 0) rotate(8deg); } }
.hl-cta .hl-eyebrow { color: rgba(255, 255, 255, .75); }
.hl-cta h2 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -.04em; font-weight: 500; margin: 0 auto 18px; max-width: 16ch; }
.hl-cta p { color: rgba(255, 255, 255, .78); font-size: 16px; margin: 0 auto 32px; max-width: 520px; line-height: 1.55; }
.hl-cta .hl-hero-ctas { justify-content: center; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1024px) {
  .hl-domains { grid-template-columns: repeat(2, 1fr); }
  .hl-process-grid, .hl-infra-grid, .hl-faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .hl-process-side { position: static; }
  .hl-thesis { grid-template-columns: 1fr; gap: 48px; }
  .hl-network { justify-self: center; }
  .hl-stats { grid-template-columns: repeat(2, 1fr); }
  .hl-stat:nth-child(2) { border-right: 0; }
  .hl-stat:nth-child(3) { padding-left: 0; }
  .hl-stat:nth-child(n+3) { border-top: 1px solid var(--hl-line); }
}
@media (max-width: 760px) {
  .hl-section { padding: 56px 0; }
  .hl-statement { padding: 56px 0 48px; }
  .hl-compare, .hl-ways { grid-template-columns: 1fr; }
  .hl-hero-side { justify-items: start; }
  .hl-chips { justify-content: flex-start; }
  .hl-compare-card, .hl-way { padding: 28px; }
  .hl-way { min-height: 280px; }
  .hl-demo { padding: 20px; }
  .hl-model { grid-template-columns: 56px 1fr 78px; gap: 10px; }
  .hl-process { margin: 0; border-radius: 24px; }
  .hl-faq-body { padding-right: 0; }
}
@media (max-width: 520px) {
  .hl-domains, .hl-stats { grid-template-columns: 1fr; }
  .hl-stat, .hl-stat + .hl-stat { padding: 28px 0 8px; border-right: 0; border-top: 1px solid var(--hl-line); }
  .hl-hero-ctas .hl-btn { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hl-grad, .hl-cta::before, .hl-scroll-track span { animation: none; }
  .hl-line > span, .hl-hero-fade { transform: none; opacity: 1; transition: none; }
  .hl-word { color: #000; }
  .hl-links use, .hl-halo, .hl-float { animation: none; }
  .hl-pulses { display: none; }
}
