:root {
  --bg: #070D1F;          /* night circuit board */
  --bg-2: #0B1430;
  --bg-3: #13204A;
  --glass: rgba(22, 36, 76, .45);
  --line: rgba(150, 175, 230, .14);
  --line-2: rgba(150, 175, 230, .26);
  --gold: #F2B53F;        /* gold-plated pads */
  --gold-2: #FFD47E;
  --cyan: #49D9FF;        /* signal light */
  --text: #EAF0FA;
  --muted: #9AA8C4;
  --ok: #6FE3C2;
  --err: #FF8F86;
  --field: rgba(7, 13, 31, .6);
  --display: 'Familjen Grotesk', system-ui, sans-serif;
  --body: 'IBM Plex Sans', system-ui, sans-serif;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-tap-highlight-color: transparent; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; overflow-x: hidden; }
main { flex: 1; outline: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.06; letter-spacing: -0.025em; margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-left)); position: relative; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--gold); color: var(--bg); padding: 8px 14px; border-radius: 6px; z-index: 20; font-weight: 600; }
.skip:focus { top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ic { width: 20px; height: 20px; flex: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; padding-top: env(safe-area-inset-top); border-bottom: 1px solid transparent; transition: background-color 240ms var(--ease), border-color 240ms var(--ease); }
.site-header.scrolled, .site-header:not(:has(+ main .hero)) { background: rgba(7, 13, 31, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); flex: none; }
.brand img { height: 40px; width: auto; max-width: 200px; object-fit: contain; }
.brand span { font: 700 25px/1 var(--display); letter-spacing: -0.03em; }
.mark { width: 34px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(242, 181, 63, .45)); transition: transform 400ms var(--ease); }
.mark rect { fill: rgba(242, 181, 63, .1); }
.mark circle { fill: var(--cyan); stroke: none; }
.brand:hover .mark { transform: rotate(90deg); }
nav { display: flex; align-items: center; gap: clamp(4px, 1.6vw, 12px); }
nav a { text-decoration: none; font-weight: 500; font-size: 16px; color: var(--muted); padding: 8px 12px; border-radius: 999px; transition: color 150ms var(--ease), background-color 150ms var(--ease); }
nav a:hover, nav a[aria-current] { color: var(--text); background: rgba(150, 175, 230, .08); }
nav .nav-cta { display: inline-flex; align-items: center; gap: 8px; color: var(--bg); background: var(--gold); padding: 9px 18px; font-weight: 600; box-shadow: 0 0 0 1px rgba(255, 212, 126, .4), 0 6px 24px -6px rgba(242, 181, 63, .6); }
nav .nav-cta:hover, nav .nav-cta[aria-current] { background: var(--gold-2); color: var(--bg); }
nav .nav-cta .ic { width: 17px; height: 17px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 600 16px/1 var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; user-select: none; -webkit-user-select: none; transition: transform 140ms var(--ease), background-color 160ms var(--ease), border-color 160ms var(--ease), box-shadow 220ms var(--ease); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn .ic { width: 19px; height: 19px; }
.btn .ic-go, .more .ic-go, .other .ic-go { transition: transform 220ms var(--ease); }
.btn:hover .ic-go { transform: translateX(4px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #1A1300; box-shadow: 0 0 0 1px rgba(255, 212, 126, .5) inset, 0 10px 34px -10px rgba(242, 181, 63, .75); }
.btn-gold:hover { box-shadow: 0 0 0 1px rgba(255, 230, 170, .8) inset, 0 14px 44px -8px rgba(242, 181, 63, .95); }
.btn-ghost { color: var(--text); border-color: var(--line-2); background: rgba(150, 175, 230, .05); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--cyan); box-shadow: 0 0 24px -6px rgba(73, 217, 255, .6); }
.btn-ink { background: var(--bg-3); color: var(--text); }

/* Shared surfaces */
.glass { position: relative; background: linear-gradient(160deg, rgba(30, 48, 98, .55), rgba(12, 20, 46, .55)); border: 1px solid var(--line); border-radius: 22px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 30px 60px -30px rgba(0, 0, 0, .7); }
[data-spot]::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 300ms var(--ease); background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(73, 217, 255, .12), transparent 60%); }
[data-spot]:hover::before { opacity: 1; }
.tile { position: relative; display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; color: var(--gold); background: linear-gradient(145deg, rgba(242, 181, 63, .16), rgba(73, 217, 255, .06)); border: 1px solid rgba(242, 181, 63, .3); box-shadow: 0 0 28px -8px rgba(242, 181, 63, .55); flex: none; transition: transform 320ms var(--ease), box-shadow 320ms var(--ease), color 200ms var(--ease); }
.tile .ic { width: 28px; height: 28px; }
.tile-sm { width: 46px; height: 46px; border-radius: 13px; }
.tile-sm .ic { width: 22px; height: 22px; }

/* Hero */
.hero { position: relative; overflow: hidden; margin-top: -77px; padding-top: 77px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-bg .orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.orb-a { width: 620px; height: 620px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(73, 217, 255, .45), transparent 65%); }
.orb-b { width: 560px; height: 560px; left: -200px; bottom: -260px; background: radial-gradient(circle, rgba(242, 181, 63, .38), transparent 65%); }
.hero-bg .grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(150, 175, 230, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 175, 230, .07) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%); }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, var(--bg)); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); min-height: min(820px, calc(100svh - 77px)); }
.hero h1 { font-size: clamp(46px, 7vw, 96px); letter-spacing: -0.045em; line-height: .96; max-width: 11ch; color: #fff; }
.hero h1 .w { display: inline-block; padding-bottom: .08em; background: linear-gradient(180deg, #FFFFFF 35%, #AFC0E6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; max-width: 34em; color: var(--muted); }
.hero .lede { margin: 28px 0 36px; max-width: 31em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.board { width: 100%; height: auto; overflow: visible; }
.hero .board { width: 112%; margin-left: -4%; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .5)); }
.board .deco path { fill: none; stroke: #23335F; stroke-width: 2; stroke-linejoin: round; }
.board .deco circle { fill: var(--bg); stroke: #2E4277; stroke-width: 2; }
.board .traces path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(242, 181, 63, .55)); }
.board .pulse path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 0 1; }
.board .pulse-main path { stroke: #E9FBFF; stroke-width: 3.5; }
.board .pulse-glow path { stroke: var(--cyan); stroke-width: 10; }
.board .pulse-deco path { stroke: var(--cyan); stroke-width: 2.5; opacity: .8; }
.board .pins rect { fill: #8D9AB8; }
.board .chip-glow { fill: none; stroke: var(--cyan); stroke-width: 4; opacity: .45; }
.board .chip { fill: url(#core); stroke: url(#rim); stroke-width: 2; }
.board .chip-inner { fill: none; stroke: rgba(150, 175, 230, .16); stroke-dasharray: 3 5; }
.board .dot { fill: var(--gold); }
.board .chip-name { font: 700 23px var(--display); letter-spacing: .14em; fill: #fff; }
.board .chip-sub { font: 500 12px var(--body); letter-spacing: .06em; fill: var(--muted); }
.board .pad { cursor: pointer; }
.board .pad-halo { fill: var(--gold); opacity: 0; }
.board .pad-ring { fill: var(--bg); stroke: var(--gold); stroke-width: 3; transition: r 180ms var(--ease); }
.board .pad-core { fill: var(--gold-2); }
.board .pad-label { font: 600 15px var(--body); fill: var(--text); transition: fill 150ms var(--ease); }
.board .pad:hover .pad-ring, .board .pad:focus-visible .pad-ring { r: 16; }
.board .pad:hover .pad-label, .board .pad:focus-visible .pad-label { fill: var(--gold-2); }
.board .pad:focus-visible { outline: none; }

@media (prefers-reduced-motion: no-preference) {
  /* Page load: headline words rise, traces route out to the pads, then light starts to flow. */
  .hero h1 .w { opacity: 0; transform: translateY(.45em); animation: rise 700ms var(--ease) forwards; animation-delay: calc(80ms + var(--i) * 55ms); }
  .hero .lede, .hero .actions { opacity: 0; animation: rise 700ms var(--ease) forwards; animation-delay: 450ms; transform: translateY(14px); }
  .hero .actions { animation-delay: 560ms; }
  .board .traces path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: route 700ms var(--ease) forwards; animation-delay: calc(300ms + var(--i) * 80ms); }
  .board .deco path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: route 900ms var(--ease) forwards; animation-delay: calc(var(--i) * 50ms); }
  .board .pad { opacity: 0; animation: lit 300ms var(--ease) forwards; animation-delay: calc(900ms + var(--i) * 80ms); }
  .board .pulse-main path, .board .pulse-glow path { stroke-dasharray: .12 1.2; animation: flow 2.4s cubic-bezier(.45, 0, .2, 1) infinite; animation-delay: calc(1.3s + var(--i) * .6s); }
  .board .pulse-deco path { stroke-dasharray: .1 1.2; animation: flow var(--d) linear infinite; animation-delay: calc(1s + var(--i) * .45s); }
  .board .pad-halo { animation: halo 2.4s var(--ease) infinite; animation-delay: calc(1.3s + 1.25s + var(--i) * .6s); transform-box: fill-box; transform-origin: center; }
  .board .chip-glow { animation: breathe 3.2s ease-in-out infinite; }
  .orb-a { animation: drift 18s ease-in-out infinite alternate; }
  .orb-b { animation: drift 22s ease-in-out infinite alternate-reverse; }
  @keyframes rise { to { opacity: 1; transform: none; } }
  @keyframes route { to { stroke-dashoffset: 0; } }
  @keyframes lit { to { opacity: 1; } }
  @keyframes flow { 0% { stroke-dashoffset: .12; } 70%, 100% { stroke-dashoffset: -1.1; } }
  @keyframes halo { 0% { opacity: .55; transform: scale(1); } 45%, 100% { opacity: 0; transform: scale(2.6); } }
  @keyframes breathe { 50% { opacity: .15; } }
  @keyframes drift { to { transform: translate(-80px, 60px) scale(1.12); } }
}

/* Tech strip */
.tech { padding: 8px 0 clamp(40px, 6vw, 72px); }
.tech-title { text-align: center; color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; }
.marquee ul { display: flex; gap: 12px; margin: 0; padding: 0 6px; list-style: none; }
.marquee li { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); background: rgba(150, 175, 230, .04); color: #C8D2E8; font-weight: 500; font-size: 15px; }
.marquee li .ic { color: var(--cyan); }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 42s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(-50%); } }
}

/* Section heads */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head h2 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.04em; }
.section-head p { color: var(--muted); margin: 0; max-width: 34em; font-size: 18px; }

/* Services */
.services { padding: clamp(48px, 7vw, 96px) 0; }
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.svc { padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; transition: transform 320ms var(--ease), border-color 220ms var(--ease), box-shadow 320ms var(--ease); }
.svc { overflow: hidden; }
.watermark { position: absolute; right: -36px; bottom: -36px; width: 210px; height: 210px; color: var(--gold); opacity: .06; stroke-width: 1; pointer-events: none; transition: opacity 400ms var(--ease), transform 600ms var(--ease); }
.svc-soon .watermark { color: var(--cyan); }
.svc:hover .watermark { opacity: .12; transform: rotate(-8deg) scale(1.05); }
.svc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.svc h3 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 12px; }
.svc h3 a { text-decoration: none; }
.svc h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: 1; } /* whole card clickable */
.svc p { color: var(--muted); max-width: 32em; }
.more { margin-top: auto; padding-top: 8px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold-2); }
.svc:hover { transform: translateY(-6px); border-color: rgba(242, 181, 63, .45); box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 40px 80px -36px rgba(0, 0, 0, .9), 0 0 60px -20px rgba(242, 181, 63, .35); }
.svc:hover .more .ic-go, .other:hover .ic-go { transform: translateX(5px); }
.svc:hover .tile, .other:hover .tile, .why-item:hover .tile { transform: translateY(-3px) rotate(-6deg) scale(1.06); color: var(--gold-2); box-shadow: 0 0 40px -6px rgba(242, 181, 63, .8); }
.svc-soon { background: radial-gradient(120% 90% at 100% 0%, rgba(73, 217, 255, .16), transparent 55%), linear-gradient(160deg, rgba(30, 48, 98, .6), rgba(12, 20, 46, .6)); border-color: rgba(73, 217, 255, .28); }
.svc-soon .tile { color: var(--cyan); border-color: rgba(73, 217, 255, .4); box-shadow: 0 0 28px -8px rgba(73, 217, 255, .7); background: linear-gradient(145deg, rgba(73, 217, 255, .16), rgba(242, 181, 63, .05)); }
.svc-soon .form { position: relative; z-index: 2; }

.badge { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font: 600 14px/1 var(--body); padding: 8px 14px 8px 12px; border-radius: 999px; border: 1px solid rgba(73, 217, 255, .45); background: rgba(73, 217, 255, .08); }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.badge::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-100%); }
@media (prefers-reduced-motion: no-preference) {
  .badge i { animation: blink 1.6s ease-in-out infinite; }
  .badge::after { animation: shimmer 3.2s var(--ease) infinite 1s; }
  @keyframes blink { 50% { opacity: .3; box-shadow: 0 0 2px var(--cyan); } }
  @keyframes shimmer { 0% { transform: translateX(-100%); } 40%, 100% { transform: translateX(100%); } }
}

/* Process */
.process { padding: clamp(56px, 8vw, 112px) 0; position: relative; }
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps-line { position: absolute; left: 40px; right: calc((100% - 84px) / 4 - 40px); top: 40px; height: 2px; background: linear-gradient(90deg, var(--gold), rgba(242, 181, 63, .15)); overflow: hidden; }
.steps-line i { position: absolute; top: 0; left: 0; width: 120px; height: 100%; background: linear-gradient(90deg, transparent, var(--cyan), #fff); box-shadow: 0 0 12px var(--cyan); transform: translateX(-120px); }
.step { position: relative; }
.step-node { position: relative; width: 80px; height: 80px; display: grid; place-items: center; border-radius: 22px; background: var(--bg-2); border: 1px solid rgba(242, 181, 63, .4); color: var(--gold); box-shadow: 0 0 0 8px var(--bg), 0 0 40px -10px rgba(242, 181, 63, .7); margin-bottom: 26px; }
.step-node .ic { width: 32px; height: 32px; }
.step-n { position: absolute; top: -10px; right: -10px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #1A1300; font: 700 14px/1 var(--display); }
.step h3 { font-size: 26px; margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; max-width: 24em; }
@media (prefers-reduced-motion: no-preference) {
  .steps-line i { animation: sweep 3.6s cubic-bezier(.45, 0, .2, 1) infinite 1s; }
  @keyframes sweep { 0% { transform: translateX(-120px); } 70%, 100% { transform: translateX(110vw); } }
}

/* Why */
.why { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 9vw, 120px); }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.why-item { padding: clamp(24px, 3vw, 36px); background: var(--bg); transition: background-color 300ms var(--ease); }
.why-item:hover { background: #0C1530; }
.why-item .tile { margin-bottom: 22px; }
.why-item h3 { font-size: 22px; margin-bottom: 8px; letter-spacing: -0.015em; }
.why-item p { color: var(--muted); margin: 0; font-size: 16px; }

/* Scroll reveal (only when JS runs) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease), transform 800ms var(--ease), border-color 220ms var(--ease), box-shadow 320ms var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .js .svc[data-reveal].in:hover { transform: translateY(-6px); transition-delay: 0ms; }
}

/* Forms */
.form { display: grid; gap: 16px; }
.form label { display: flex; flex-wrap: wrap; gap: 6px 5px; align-items: baseline; font-weight: 500; font-size: 15px; }
.opt { color: var(--muted); font-weight: 400; }
input, textarea { width: 100%; flex: 1 0 100%; font: 400 16px/1.4 var(--body); color: var(--text); background: var(--field); border: 1.5px solid var(--line-2); border-radius: 12px; padding: 13px 15px; transition: border-color 150ms var(--ease), box-shadow 200ms var(--ease); }
input::placeholder, textarea::placeholder { color: #6E7C9A; }
input:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(242, 181, 63, .18); }
textarea { resize: vertical; min-height: 150px; }
.form-msg { margin: 0; font-size: 15px; min-height: 1.4em; display: flex; gap: 8px; align-items: center; }
.form-msg .ic { width: 18px; height: 18px; }
.form-msg.ok { color: var(--ok); font-weight: 500; }
.form-msg.err { color: var(--err); font-weight: 500; }
.waitlist.compact { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin: 4px 0 20px; }
.waitlist.compact .form-msg { grid-column: 1 / -1; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Inner pages */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero .orb-a { opacity: .4; }
.page-hero h1 { font-size: clamp(42px, 6vw, 80px); letter-spacing: -0.04em; max-width: 14ch; line-height: .98; }
.page-hero .lede { margin: 24px 0 0; }
.page-hero .badge { margin-top: 20px; }
.page-hero a { color: var(--gold-2); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.crumb { display: inline-flex; align-items: center; gap: 8px; color: var(--muted) !important; text-decoration: none; font-weight: 500; margin-bottom: 20px; }
.crumb .ic { width: 17px; height: 17px; transition: transform 200ms var(--ease); }
.crumb:hover { color: var(--text) !important; }
.crumb:hover .ic { transform: translateX(-3px); }

/* Big "chip in a socket" icon on inner pages */
.socket { position: relative; width: clamp(150px, 20vw, 240px); aspect-ratio: 1; display: grid; place-items: center; margin-right: 20px; }
.socket-pins { position: absolute; inset: 0; background:
  repeating-linear-gradient(90deg, transparent 0 18%, #8D9AB8 18% 22%, transparent 22% 26%) top / 64% 9% no-repeat,
  repeating-linear-gradient(90deg, transparent 0 18%, #8D9AB8 18% 22%, transparent 22% 26%) bottom / 64% 9% no-repeat,
  repeating-linear-gradient(0deg, transparent 0 18%, #8D9AB8 18% 22%, transparent 22% 26%) left / 9% 64% no-repeat,
  repeating-linear-gradient(0deg, transparent 0 18%, #8D9AB8 18% 22%, transparent 22% 26%) right / 9% 64% no-repeat; opacity: .8; }
.socket-core { position: relative; width: 78%; height: 78%; display: grid; place-items: center; border-radius: 22%; background: radial-gradient(circle at 50% 40%, #22366B, #0D1733); border: 2px solid rgba(242, 181, 63, .55); color: var(--gold); box-shadow: 0 0 0 1px rgba(73, 217, 255, .2), 0 0 80px -10px rgba(242, 181, 63, .55), 0 0 120px -20px rgba(73, 217, 255, .5); }
.socket-core .ic { width: 46%; height: 46%; stroke-width: 1.5; filter: drop-shadow(0 0 10px rgba(242, 181, 63, .6)); }
@media (prefers-reduced-motion: no-preference) {
  .socket-core { animation: glowpulse 4s ease-in-out infinite; }
  .socket { animation: rise 900ms var(--ease) both 150ms; transform: translateY(14px); opacity: 0; }
  .ph-copy > * { animation: rise 700ms var(--ease) both; opacity: 0; transform: translateY(14px); }
  .ph-copy > :nth-child(2) { animation-delay: 70ms; } .ph-copy > :nth-child(3) { animation-delay: 140ms; } .ph-copy > :nth-child(4) { animation-delay: 210ms; }
  @keyframes glowpulse { 50% { box-shadow: 0 0 0 1px rgba(73, 217, 255, .35), 0 0 100px -6px rgba(242, 181, 63, .75), 0 0 160px -20px rgba(73, 217, 255, .7); } }
}

.detail { padding: clamp(48px, 7vw, 96px) 0; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.detail h2 { font-size: 28px; margin-bottom: 22px; }
.detail-body p { font-size: 18px; max-width: 34em; color: #C8D2E8; }
.detail-body .btn { margin-top: 12px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(150, 175, 230, .04); transition: border-color 200ms var(--ease), background-color 200ms var(--ease), transform 260ms var(--ease); }
.checks li:hover { border-color: rgba(242, 181, 63, .4); background: rgba(242, 181, 63, .05); transform: translateX(4px); }
.checks .ic { color: var(--gold); width: 22px; height: 22px; }
.panel { padding: clamp(24px, 3vw, 38px); margin-top: 32px; }
.panel h2 { font-size: 26px; margin-bottom: 8px; }
.panel > .tile { margin-bottom: 18px; color: var(--cyan); border-color: rgba(73, 217, 255, .4); }
.panel p { color: var(--muted); }
.form.panel h2 { margin-bottom: 4px; }
.panel .waitlist { margin-top: 20px; }

.others { padding: 0 0 clamp(56px, 8vw, 104px); }
.others h2 { font-size: 26px; margin-bottom: 20px; }
.others-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.other { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; text-decoration: none; font-weight: 600; transition: border-color 200ms var(--ease), transform 300ms var(--ease); }
.other > span:nth-child(2) { flex: 1; }
.other .ic-go { color: var(--gold-2); }
.other:hover { border-color: rgba(242, 181, 63, .45); transform: translateY(-3px); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-grid .panel { margin-top: 0; }
.info { margin: 0; display: grid; gap: 12px; }
.info div { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(150, 175, 230, .04); transition: border-color 200ms var(--ease); }
.info div:hover { border-color: rgba(242, 181, 63, .4); }
.info dt { display: contents; color: var(--muted); font-size: 14px; }
.info dt .tile { grid-row: span 2; }
.info dd { margin: 0; grid-column: 2; font-size: 17px; font-weight: 500; overflow-wrap: anywhere; }
.info a { text-decoration: none; }
.info a:hover { color: var(--gold-2); }

/* Closing CTA with skyline */
.closing { padding: 0 0 clamp(64px, 9vw, 120px); }
.closing-inner { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; border-radius: 30px; padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 72px) clamp(120px, 14vw, 180px); background: radial-gradient(90% 120% at 0% 0%, rgba(242, 181, 63, .22), transparent 55%), radial-gradient(80% 120% at 100% 100%, rgba(73, 217, 255, .18), transparent 55%), linear-gradient(160deg, #13224E, #0A1330); border: 1px solid rgba(242, 181, 63, .3); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9), 0 0 80px -40px rgba(242, 181, 63, .5); }
.closing h2 { font-size: clamp(34px, 4.6vw, 60px); letter-spacing: -0.04em; margin-bottom: 12px; }
.closing p { color: #C8D2E8; margin: 0; font-size: 18px; }
.skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(90px, 13vw, 164px); z-index: -1; pointer-events: none; }
.sky-line { fill: none; stroke: rgba(242, 181, 63, .45); stroke-width: 1.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.sky-pulse { fill: none; stroke: var(--cyan); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 0 1; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px var(--cyan)); }
@media (prefers-reduced-motion: no-preference) {
  .sky-pulse { stroke-dasharray: .06 1.1; animation: flow 7s linear infinite; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: linear-gradient(var(--bg), #050916); color: var(--muted); padding: 64px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 15px; }
.foot { display: grid; grid-template-columns: 1.4fr 1.1fr .7fr 1.2fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.foot-brand .brand { margin-bottom: 18px; }
.foot-brand p { max-width: 26em; }
.site-footer h2 { font: 600 15px var(--body); color: var(--text); margin-bottom: 16px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.site-footer li > * { display: inline-flex; gap: 10px; align-items: flex-start; }
.site-footer li .ic { width: 17px; height: 17px; margin-top: 3px; color: var(--gold); opacity: .8; }
.site-footer a { text-decoration: none; transition: color 150ms var(--ease); }
.site-footer a:hover { color: var(--gold-2); }
.legal { padding-top: 24px; font-size: 14px; color: #6E7C9A; }

/* Tablets and phones */
@media (max-width: 960px) {
  .hero .board { width: 100%; margin-left: 0; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero h1 { max-width: 12ch; }
  .hero-art { max-width: 600px; width: 100%; margin: 0 auto; }
  .section-head, .detail-grid, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
  .steps-line { display: none; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .bar { height: 64px; }
  .hero { margin-top: -65px; padding-top: 65px; }
  .brand span { font-size: 21px; }
  .mark { width: 28px; height: 28px; }
  .brand img { height: 32px; max-width: 140px; }
  nav a:not(.nav-cta) { padding: 8px 8px; font-size: 15px; }
  nav .nav-cta { padding: 9px 12px; }
  nav .nav-cta span { display: none; }
  .hero-grid { padding-top: 32px; gap: 8px; }
  .hero h1 { font-size: clamp(44px, 13vw, 60px); }
  .hero .lede { margin: 20px 0 28px; }
  .actions .btn { flex: 1 1 100%; }
  .board .pad-label { font-size: 17px; }
  .svc-grid, .others-row, .why-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 64px 1fr; gap: 4px 18px; padding-bottom: 32px; }
  .step::before { content: ''; position: absolute; left: 31px; top: 64px; bottom: 0; width: 2px; background: linear-gradient(var(--gold), rgba(242, 181, 63, .1)); }
  .step:last-child::before { display: none; }
  .step-node { width: 64px; height: 64px; border-radius: 18px; grid-row: span 2; margin: 0; box-shadow: 0 0 0 6px var(--bg), 0 0 30px -10px rgba(242, 181, 63, .7); }
  .step-node .ic { width: 26px; height: 26px; }
  .step h3 { font-size: 22px; margin: 4px 0 4px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .socket { width: 120px; margin: 0; }
  .row2 { grid-template-columns: 1fr; }
  .waitlist.compact { grid-template-columns: 1fr; }
  .waitlist .btn { width: 100%; }
  .closing-inner { border-radius: 24px; }
  .closing-inner .btn { width: 100%; }
}
@media (max-width: 400px) {
  .foot { grid-template-columns: 1fr; }
  nav a:not(.nav-cta) { padding: 8px 6px; }
}
@media (hover: none) {
  .svc:hover, .other:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; }
}

/* Admin: light, quiet editor using the same components */
.adm { --bg: #EEF1F7; --bg-2: #fff; --bg-3: #13204A; --text: #142040; --muted: #5A6785; --line: #D6DCE8; --line-2: #C5CDDD; --field: #fff; --ok: #0F7A5F; --err: #B3261E; }
.adm .site-header { background: rgba(255, 255, 255, .85); border-bottom-color: var(--line); backdrop-filter: blur(10px); }
.adm .brand span { font-size: 22px; }
.adm .panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: none; backdrop-filter: none; }
.adm-main { padding-top: 40px; padding-bottom: 120px; max-width: 880px; }
.adm h1 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 12px; }
.adm-lead { color: var(--muted); }
.adm-login { max-width: 420px; margin: 8vh auto 0; }
.adm-login h1 { font-size: 28px; }
.adm-sec { display: grid; gap: 16px; margin-top: 20px; }
.adm-sec h2 { font-size: 24px; }
.adm fieldset { border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin: 0; display: grid; gap: 14px; }
.adm legend { font: 700 18px var(--display); padding: 0 8px; }
.adm-id { margin: 0; color: var(--muted); font-size: 14px; }
.adm-save { position: sticky; bottom: 0; display: flex; align-items: center; gap: 20px; padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bg) 30%); margin-top: 8px; }
.adm-save a { font-weight: 600; color: var(--text); }
.adm-flash { background: #E3F2EE; padding: 10px 14px; border-radius: 10px; }
.btn-ghost-ink { color: var(--text); border-color: var(--line); min-height: 40px; padding: 0 16px; background: transparent; }
.btn-ghost-ink:hover { border-color: var(--text); }
.adm .btn-ink { background: #13204A; color: #fff; }
.adm-msg { border-top: 1px solid var(--line); padding-top: 12px; }
.adm-msg p { margin: 0 0 4px; }
.adm-meta { color: var(--muted); font-size: 14px; }
.adm-body { white-space: normal; color: var(--text); }
