/* ---------- Fonts (self-hosted from Google Fonts, SIL OFL; see fonts/OFL-*.txt) ---------- */
@font-face {
  font-family: "Encode Sans Semi Expanded";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/EncodeSansSemiExpanded-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Encode Sans Semi Expanded";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/EncodeSansSemiExpanded-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Encode Sans Semi Expanded";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/EncodeSansSemiExpanded-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Encode Sans Semi Expanded";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/EncodeSansSemiExpanded-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Encode Sans Semi Expanded";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/EncodeSansSemiExpanded-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Encode Sans Semi Expanded";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/EncodeSansSemiExpanded-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Encode Sans Semi Expanded";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/EncodeSansSemiExpanded-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Encode Sans Semi Expanded";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/EncodeSansSemiExpanded-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* ---------- Tokens ----------
   Colours work like syntax highlighting: every topic keeps its colour across the page.
   cyan = network, violet = servers, green = operations, orange = tailored work */
:root {
  --bg: #0A0F20;
  --bg-raise: #0F1630;
  --surface: #141C38;
  --line: #222B4A;
  --line-strong: #33406A;
  --text: #EEF1FA;
  --muted: #9BA5C4;
  --dim: #66709A;
  --cyan: #5CD6E8;
  --violet: #B69CFF;
  --green: #8FE3A1;
  --orange: #FFAE6B;
  --blue: #82A8FF;
  --spectrum: linear-gradient(90deg, var(--cyan), var(--violet) 50%, var(--orange));
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1240px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Encode Sans Semi Expanded", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
/* Film grain: scrolls with the page on purpose. A position: fixed full-screen layer
   shows up underneath the translucent toolbar in iOS Safari. */
body { position: relative; }
body::after {
  content: ""; position: absolute; inset: 0; z-index: 100; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: rgba(182, 156, 255, .35); }
a { color: inherit; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px;
  font: 500 14.5px/1 "Encode Sans Semi Expanded", sans-serif; text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease);
}
.btn i { font-size: 13px; transition: transform .35s var(--ease); }
.btn:hover i { transform: translateX(3px); }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover {
  background: #fff; transform: translateY(-1px);
  box-shadow: 0 10px 40px -10px rgba(182, 156, 255, .6), 0 0 0 4px rgba(182, 156, 255, .12);
}
.btn-ghost { border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: rgba(238, 241, 250, .35); background: rgba(255, 255, 255, .06); }

/* ---------- Nav (floating) ---------- */
.nav { position: absolute; top: 14px; left: 0; right: 0; z-index: 50; }
.nav-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.nav-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 60px; padding: 0 9px 0 22px; border-radius: 999px;
  background: rgba(15, 22, 48, .55); border: 1px solid rgba(255, 255, 255, .07);
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  transition: background-color .3s, border-color .3s;
}
.nav.scrolled .nav-bar { background: rgba(15, 22, 48, .8); border-color: var(--line); }
.wordmark { font-weight: 700; font-size: 18px; letter-spacing: -.02em; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a:not(.btn) { text-decoration: none; font-size: 14px; color: var(--muted); transition: color .2s; }
.nav-links > a:not(.btn):hover { color: var(--text); }
.nav .btn { height: 40px; padding: 0 18px; font-size: 13.5px; }

.lang { display: flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line); }
.lang a, .lang span { padding: 5px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; line-height: 1; text-decoration: none; }
.lang a { color: var(--dim); }
.lang a:hover { color: var(--text); }
.lang span { background: var(--surface); color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 180px 0 40px; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 -200px; pointer-events: none; z-index: -1;
  animation: drift 18s ease-in-out infinite alternate;
  background:
    radial-gradient(50% 40% at 85% 10%, rgba(182, 156, 255, .20), transparent 70%),
    radial-gradient(40% 35% at 5% 30%, rgba(92, 214, 232, .12), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 75%);
}
.hero-status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line);
  font-size: 14px; color: var(--muted); margin-bottom: 36px;
}
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(143, 227, 161, .14), 0 0 12px rgba(143, 227, 161, .6); flex: none; }
h1 {
  font-size: clamp(36px, 5.5vw, 82px); line-height: 1.04; letter-spacing: -.035em;
  font-weight: 600; margin: 0;
}
h1 span { display: block; }
h1 .grad {
  background: linear-gradient(90deg, var(--cyan), var(--violet) 30%, var(--orange) 50%, var(--violet) 70%, var(--cyan));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em;
  animation: intro 1.1s var(--ease) both, shimmer 9s ease-in-out 1.5s infinite alternate;
  animation-delay: calc(var(--d, 0) * 110ms), 1.5s;
}
@keyframes shimmer { to { background-position: 100% 0; } }
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-top: 44px; }
.lead { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 34em; margin: 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

@keyframes drift { to { transform: translate3d(-4%, 3%, 0) scale(1.08); } }

/* Intro sequence (the one orchestrated load moment) */
.intro { animation: intro 1.1s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms); }
@keyframes intro { from { opacity: 0; transform: translateY(24px); filter: blur(4px); } }

/* Terminal showcase */
.showcase { position: relative; margin-top: 88px; perspective: 1600px; }
.showcase::before {
  content: ""; position: absolute; inset: 8% 6% -6%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(45% 55% at 20% 50%, rgba(92, 214, 232, .35), transparent 70%),
    radial-gradient(45% 55% at 55% 30%, rgba(182, 156, 255, .40), transparent 70%),
    radial-gradient(40% 50% at 85% 70%, rgba(255, 174, 107, .28), transparent 70%);
  filter: blur(60px);
}
.terminal {
  position: relative; z-index: 1; max-width: 1040px; margin: 0 auto;
  background: rgba(6, 9, 20, .92); color: #D5DBEE; border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden;
  transform: rotateX(var(--tilt, 0deg)) scale(var(--tscale, 1));
  transform-origin: 50% 0;
}
.term-bar { display: flex; align-items: center; gap: 8px; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.term-bar span { flex: 1; text-align: center; margin-right: 57px; font: 400 13px/1 "Geist Mono", monospace; color: var(--dim); }
.term-grid { display: grid; grid-template-columns: 1fr 260px; }
.term-body {
  font: 400 14.5px/1.8 "Geist Mono", monospace; padding: 26px 30px 30px;
  min-height: 430px; white-space: pre-wrap; word-break: break-word;
}
.term-body .p { color: var(--blue); }
.term-body .ok { color: var(--green); }
.term-body .chg { color: var(--orange); }
.term-body .h { color: var(--cyan); }
.term-body .v { color: var(--violet); }
.term-body .dim { color: var(--dim); }
.cursor { display: inline-block; width: .6em; height: 1.1em; background: #D5DBEE; vertical-align: -.2em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.term-side { border-left: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.term-side p { margin: 0 0 6px; font-size: 12.5px; color: var(--dim); }
.status-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line);
  font-size: 13.5px;
}
.status-row span { display: flex; align-items: center; gap: 10px; }
.status-row .led { width: 7px; height: 7px; box-shadow: 0 0 10px rgba(143, 227, 161, .6); }
.status-row small { color: var(--dim); font: 400 12px/1 "Geist Mono", monospace; }

/* ---------- Stack strip (marquee) ---------- */
.stack { padding: 72px 0 0; }
.stack .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.stack p { margin: 0; color: var(--dim); font-size: 14.5px; }
.marquee {
  display: flex; width: 100%; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.marquee ul { flex: none; display: flex; list-style: none; margin: 0; padding: 0; animation: marquee 34s linear infinite; }
.marquee li { display: flex; align-items: center; gap: 10px; margin-right: 56px; font-weight: 500; font-size: 17px; letter-spacing: -.01em; color: #C9CFE4; white-space: nowrap; }
.marquee li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--c); box-shadow: 0 0 12px var(--c); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Sections ---------- */
section[id] { scroll-margin-top: 100px; }
.block { padding: 150px 0; }
.block-flush { padding-top: 0; }
.block-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: end; margin-bottom: 72px; }
h2 { font-size: clamp(32px, 4.3vw, 58px); line-height: 1.06; letter-spacing: -.03em; font-weight: 600; margin: 0; }
.block-head p { color: var(--muted); margin: 0; max-width: 32em; font-size: 17px; }

.c-cyan { --c: var(--cyan); }
.c-violet { --c: var(--violet); }
.c-green { --c: var(--green); }
.c-orange { --c: var(--orange); }
.c-blue { --c: var(--blue); }

/* Scroll-lit statement */
.statement-block { padding: 170px 0 20px; }
.statement {
  font-size: clamp(28px, 3.9vw, 54px); line-height: 1.16; letter-spacing: -.025em; font-weight: 500;
  margin: 0; max-width: 21ch;
}
.js .statement .w { color: rgba(238, 241, 250, .16); transition: color .4s var(--ease); }
.js .statement .w.on { color: var(--text); }

/* Worry-free package: your part vs. our part */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 20px; }
.part { position: relative; border-radius: 28px; padding: 44px; overflow: hidden; }
.part-yours { background: var(--bg-raise); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.part-label { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin: 0 0 20px; }
.part-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--muted)); box-shadow: 0 0 10px var(--c, transparent); }
.part h3 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; letter-spacing: -.025em; font-weight: 600; margin: 0; max-width: 15ch; }
.part-yours p { color: var(--muted); margin: 0; max-width: 24em; }
.part-ours {
  background:
    radial-gradient(60% 60% at 100% 0%, rgba(182, 156, 255, .18), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(92, 214, 232, .10), transparent 70%),
    var(--surface);
}
.part-ours::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(92, 214, 232, .6), rgba(182, 156, 255, .5) 40%, rgba(255, 255, 255, .06) 70%, rgba(255, 174, 107, .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.checks { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.checks li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 15px; }
.checks i { flex: none; font-size: 17px; color: var(--c); }

/* Services with cursor spotlight */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service {
  position: relative; padding: 44px; border-radius: 28px; overflow: hidden;
  background: var(--bg-raise); border: 1px solid var(--line);
  transition: border-color .4s var(--ease);
}
.service::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c) 16%, transparent), transparent 70%);
}
.service:hover { border-color: color-mix(in srgb, var(--c) 40%, var(--line)); }
.service:hover::before { opacity: 1; }
.service > * { position: relative; }
.service-icon {
  font-size: 20px;
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 64px;
  color: var(--c); background: color-mix(in srgb, var(--c) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  box-shadow: 0 0 30px -6px color-mix(in srgb, var(--c) 45%, transparent);
}
.service h3 { font-size: 24px; letter-spacing: -.02em; font-weight: 600; margin: 0 0 12px; }
.service p { color: var(--muted); margin: 0 0 26px; max-width: 30em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li {
  font-size: 13.5px; padding: 6px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, .025); border: 1px solid color-mix(in srgb, var(--c) 28%, var(--line));
}

/* Why us */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; list-style: none; margin: 0; padding: 0; }
.why li { padding-top: 28px; border-top: 1px solid var(--line); position: relative; }
.why li::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 2px; background: var(--c); box-shadow: 0 0 16px var(--c); }
.why strong { display: block; font-size: 18px; letter-spacing: -.015em; font-weight: 600; margin-bottom: 10px; }
.why p { margin: 0; color: var(--muted); font-size: 15px; }

/* Process: sticky head, steps fill on scroll */
.process { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.process-head { position: sticky; top: 140px; }
.process-head p { color: var(--muted); font-size: 17px; margin: 24px 0 0; max-width: 26em; }
.steps { position: relative; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps::before, .steps::after {
  content: ""; position: absolute; left: 21px; width: 2px; border-radius: 2px;
  top: var(--line-top, 22px); height: var(--line-h, calc(100% - 44px));
}
.steps::before { background: var(--line); }
.steps::after {
  background: var(--line-grad, linear-gradient(var(--violet), var(--cyan), var(--orange), var(--green)));
  clip-path: inset(0 0 calc((1 - var(--progress, 1)) * 100%) 0);
}
.steps li { position: relative; padding: 0 0 72px 76px; counter-increment: step; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-size: 15px; font-weight: 600; color: var(--bg); background: var(--c); border: 2px solid var(--c);
  box-shadow: 0 0 24px -2px var(--c);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.js .steps li:not(.on)::before { color: var(--muted); background: var(--bg); border-color: var(--line); box-shadow: none; }
.steps h3 { font-size: 22px; letter-spacing: -.02em; font-weight: 600; margin: 6px 0 10px; }
.steps p { margin: 0; color: var(--muted); max-width: 28em; }

/* Pricing terms under the package */
.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 20px 0 0; padding: 0; }
.term {
  display: flex; gap: 18px; align-items: flex-start; padding: 28px; border-radius: 22px;
  background: var(--bg-raise); border: 1px solid var(--line);
}
.term-icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 17px;
  color: var(--c); background: color-mix(in srgb, var(--c) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
}
.term strong { display: block; font-size: 16.5px; font-weight: 600; margin: 2px 0 6px; }
.term p { margin: 0; color: var(--muted); font-size: 15px; }

/* FAQ accordion */
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.faq-head { position: sticky; top: 60px; }
.faq-head p { color: var(--muted); font-size: 17px; margin: 24px 0 0; max-width: 24em; }
.faq-head a { color: var(--text); text-decoration-color: var(--violet); text-underline-offset: 4px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 28px;
  padding: 28px 0; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 500; letter-spacing: -.01em; color: #D9DEEE;
  transition: color .25s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover, .faq-item[open] summary { color: var(--text); }
.faq-icon {
  position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: transform .45s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.5px; border-radius: 1px;
  background: currentColor; transform: translate(-50%, -50%);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item summary:hover .faq-icon { border-color: rgba(238, 241, 250, .4); }
.faq-item[open]:not(.closing) .faq-icon { transform: rotate(135deg); background: var(--text); border-color: var(--text); color: var(--bg); }
.faq-body { overflow: hidden; }
.faq-body p { margin: 0; padding: 0 68px 30px 0; color: var(--muted); max-width: 42em; }

/* Contact: person left, message right */
.contact { padding: 0 0 150px; }
.contact-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 300px 1fr; align-items: center; gap: 72px;
  border-radius: 36px; padding: 80px 72px;
  background: var(--bg-raise); border: 1px solid var(--line);
}
.contact-card::before {
  content: ""; position: absolute; z-index: -1; right: -20%; bottom: -70%; width: 110%; aspect-ratio: 2;
  background:
    radial-gradient(closest-side at 30% 50%, rgba(92, 214, 232, .28), transparent),
    radial-gradient(closest-side at 55% 45%, rgba(182, 156, 255, .38), transparent),
    radial-gradient(closest-side at 78% 55%, rgba(255, 174, 107, .24), transparent);
  filter: blur(40px);
}
.contact-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--spectrum); opacity: .8; }
.person {
  display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
  padding-right: 72px; border-right: 1px solid var(--line);
}
.avatar { display: block; flex: none; padding: 3px; border-radius: 50%; background: var(--spectrum); box-shadow: 0 16px 50px -14px rgba(182, 156, 255, .6); }
.avatar img { display: block; width: 144px; height: 144px; border-radius: 50%; object-fit: cover; border: 4px solid var(--bg-raise); }
.person p { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.person strong { font-size: 19px; font-weight: 600; }
.person span { font-size: 14.5px; color: var(--muted); }
.contact-main h2 { font-size: clamp(28px, 3.4vw, 46px); font-weight: 500; letter-spacing: -.02em; line-height: 1.12; max-width: 18ch; }
.contact-main p { color: var(--muted); margin: 20px 0 36px; max-width: 34em; font-size: 17px; }
.mail {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 8px 8px 8px 26px; border-radius: 999px; text-decoration: none;
  background: var(--text); color: var(--bg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease);
}
.mail strong { font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.mail span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--bg); color: var(--text); }
.mail span i { font-size: 16px; transform: rotate(-45deg); transition: transform .35s var(--ease); }
.mail:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 16px 50px -12px rgba(182, 156, 255, .7), 0 0 0 5px rgba(182, 156, 255, .12); }
.mail:hover span i { transform: rotate(0); }

/* Footer */
footer { padding: 36px 0 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer nav { display: flex; gap: 24px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

/* Legal pages */
.legal { padding: 180px 0 140px; }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: clamp(30px, 4.4vw, 56px); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; margin-bottom: 20px; }
.legal h2 { font-size: 21px; letter-spacing: -.01em; margin: 52px 0 12px; }
.legal h3 { font-size: 16px; font-weight: 600; margin: 28px 0 6px; }
.legal h4 { font-size: 15px; font-weight: 500; margin: 22px 0 6px; color: var(--text); }
.legal p, .legal li { color: var(--muted); }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 20px; }
.legal li { margin-bottom: 4px; }
.legal a { color: var(--cyan); text-decoration-color: rgba(92, 214, 232, .4); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal .lede { font-size: 18px; margin: 0 0 16px; }
.legal .caps { font-size: 13px; letter-spacing: .01em; }

/* ---------- Scroll interactions ---------- */
.js .rv {
  opacity: 0; transform: translateY(32px); filter: blur(6px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease), border-color .4s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .rv.in { opacity: 1; transform: none; filter: none; }
.js .rv.done { transition-delay: 0s; }
.wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.wd > span { display: inline-block; }
.js .split-words .wd > span { transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--w, 0) * 45ms); }
.js .split-words.in .wd > span { transform: none; }
.service.rv.done { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), border-color .4s var(--ease); }
.magnet { transition: transform .5s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .term-grid { grid-template-columns: 1fr; }
  .term-side { border-left: 0; border-top: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; }
  .term-side p { width: 100%; }
  .status-row { flex: 1 1 180px; }
  .why { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
}
@media (max-width: 980px) {
  .hero-row { flex-direction: column; align-items: flex-start; gap: 32px; }
  .block-head, .split, .process, .faq { grid-template-columns: 1fr; }
  .faq { gap: 40px; }
  .faq-head { position: static; }
  .terms { grid-template-columns: 1fr; gap: 14px; }
  .block-head { gap: 20px; margin-bottom: 48px; }
  .process { gap: 56px; }
  .process-head { position: static; }
  .contact-card { grid-template-columns: 1fr; gap: 40px; padding: 64px 48px; }
  .person { flex-direction: row; text-align: left; gap: 20px; padding: 0 0 32px; border-right: 0; border-bottom: 1px solid var(--line); }
  .avatar img { width: 96px; height: 96px; border-width: 3px; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .wrap, .nav-inner { padding: 0 16px; }

  /* nav: equal 8px air around the last control */
  .nav { top: 10px; }
  .nav-bar { height: 56px; padding: 0 8px 0 18px; }
  .nav-links > a:not(.btn) { display: none; }
  .nav-links { gap: 8px; }
  .nav .btn { height: 38px; padding: 0 14px; font-size: 13px; }
  .lang { height: 38px; align-items: center; }
  .lang a, .lang span { padding: 7px 11px; }

  /* hero */
  .hero { padding: 124px 0 8px; }
  .hero-status { margin-bottom: 24px; font-size: 13px; }
  .hero-row { margin-top: 24px; gap: 28px; }
  .lead { font-size: 16.5px; }
  .hero-actions { width: 100%; flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; height: 52px; padding: 0 20px; }
  .showcase { margin-top: 48px; perspective: none; }
  .showcase::before { inset: 10% 0 0; filter: blur(44px); }
  .terminal { transform: none; border-radius: 18px; }
  .term-bar { padding: 13px 16px; }
  .term-bar span { margin-right: 0; text-align: right; font-size: 12px; }
  .term-body { font-size: 12px; line-height: 1.75; padding: 16px; min-height: 338px; }
  .term-side { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 16px 16px; }
  .term-side p { grid-column: 1 / -1; margin: 0 0 2px; }
  .status-row { padding: 10px 12px; font-size: 13px; border-radius: 10px; }

  /* strip + statement */
  .stack { padding-top: 48px; }
  .stack .wrap { gap: 16px; }
  .marquee li { font-size: 14.5px; margin-right: 36px; }
  .statement-block { padding: 88px 0 0; }

  /* sections */
  .block { padding: 72px 0; }
  .block-flush { padding-top: 0; }
  .block-head { gap: 14px; margin-bottom: 32px; }
  .block-head p, .process-head p, .faq-head p { font-size: 15.5px; }
  .process-head p, .faq-head p { margin-top: 14px; }
  .part, .service { padding: 28px 24px; border-radius: 22px; }
  .part-yours { gap: 28px; }
  .checks { grid-template-columns: 1fr; margin-top: 28px; }
  .checks li { padding: 13px 0; }
  .terms { margin-top: 14px; }
  .term { padding: 22px 24px; border-radius: 22px; gap: 16px; }
  .services { grid-template-columns: 1fr; gap: 14px; }
  .service-icon { margin-bottom: 28px; width: 48px; height: 48px; font-size: 18px; }
  .service h3 { font-size: 21px; }
  .service p { margin-bottom: 20px; }
  .why { grid-template-columns: 1fr; row-gap: 32px; }
  .why li { padding-top: 22px; }
  .process { gap: 36px; }
  .steps li { padding: 0 0 44px 60px; }
  .steps h3 { font-size: 19px; margin-top: 8px; }
  .faq { gap: 28px; }
  .faq-item summary { font-size: 16px; padding: 20px 0; gap: 18px; }
  .faq-icon { width: 34px; height: 34px; }
  .faq-body p { padding: 0 0 22px; }

  /* contact */
  .contact { padding-bottom: 72px; }
  .contact-card { padding: 32px 24px; border-radius: 22px; gap: 28px; }
  .person { gap: 18px; padding-bottom: 28px; }
  .avatar img { width: 72px; height: 72px; border-width: 3px; }
  .person strong { font-size: 17px; }
  .person span { font-size: 14px; }
  .contact-main h2 { font-size: 26px; }
  .contact-main p { font-size: 15.5px; margin: 14px 0 26px; }
  .mail { display: flex; justify-content: space-between; padding: 6px 6px 6px 20px; }
  .mail strong { font-size: 15.5px; }
  .mail span { width: 44px; height: 44px; }

  footer { padding: 28px 0 32px; font-size: 13.5px; }
  footer .wrap { gap: 14px 24px; }
  .legal { padding: 120px 0 88px; }
}
@media (max-width: 420px) {
  .nav .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cursor { animation: none; }
  .intro { animation: none; }
  .terminal { transform: none; }
  .js .statement .w { color: var(--text); }
  .js .rv, .js .split-words .wd > span { opacity: 1; transform: none; filter: none; transition: none; }
  .marquee ul, .hero::before, h1 .grad { animation: none; }
}
