:root {
  /* Horizon: dark, with the glow rising from the bottom of the hero. */
  --ink: #05070C; --text: #F1F4FA; --blue: #2F6BFF; --blue-2: #8DB0FF; --paper: #0A0F18; --white: #0E1420;
  --steel: #8C95A6; --line: rgba(255,255,255,.09); --faint: rgba(255,255,255,.07); --ink-2: #0E1420; --ink-line: rgba(255,255,255,.1);
  --head: "Familjen Grotesk", system-ui, sans-serif; --body: "Familjen Grotesk", system-ui, sans-serif; --mono: "DM Mono", ui-monospace, monospace;
  --shine: linear-gradient(90deg, #8DB0FF, #C9E4FF 50%, #FFB59A);
  color-scheme: dark;
  --r: 18px; --w: 1120px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--ink); color: var(--text); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.04; letter-spacing: -0.035em; font-weight: 500; }
h3 { font-weight: 600; }
h1 em, h2 em { font-style: italic; font-weight: 400; background: var(--shine); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
h2 { font-size: clamp(32px, 4.4vw, 48px); }
h3 { font-size: 21px; letter-spacing: -0.02em; line-height: 1.25; }
p { color: var(--steel); }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
.eyebrow { font: 500 12.5px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; display: block; }
section { padding: 104px 0; }

/* logo */
.mark { display: block; }
.mark .m { fill: currentColor; }
.mark .o { fill: currentColor; opacity: 0.12; }
.mark .t { fill: var(--blue); }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font: 600 22px/1 var(--head); letter-spacing: -0.02em; }
.logo .mark { width: 30px; height: 30px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 999px; font: 600 16px/1 var(--head); text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; }
.btn-blue { background: var(--text); color: var(--ink); box-shadow: 0 10px 40px -12px rgba(47,107,255,.8); }
.btn-blue:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 10px 50px -8px rgba(47,107,255,.9); }
.btn-ghost { color: var(--text); border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-ghost:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.11); transform: translateY(-1px); }
.btn-ghost svg { transition: transform .15s; } .btn-ghost:hover svg { transform: translateX(3px); }
.btn svg { width: 18px; height: 18px; }

/* nav */
header { position: sticky; top: 0; z-index: 10; background: rgba(5,7,12,.72); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); color: #fff; border-bottom: 1px solid rgba(255,255,255,.06); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
header nav { display: flex; align-items: center; gap: 28px; font: 500 15px/1 var(--head); }
header nav a.link { text-decoration: none; color: rgba(255,255,255,.72); }
header nav a.link:hover { color: #fff; }
header .btn { padding: 11px 18px; font-size: 15px; background: rgba(255,255,255,.06); color: var(--text); border: 1px solid var(--line); box-shadow: none; }
header .btn:hover { background: rgba(255,255,255,.12); box-shadow: none; }

/* hero */
.hero { background: var(--ink); color: #fff; padding: 88px 0 112px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1.6px, transparent 1.7px); background-size: 22px 22px; mask-image: radial-gradient(ellipse 70% 80% at 80% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 30%, #000 20%, transparent 75%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(46px, 7vw, 84px); letter-spacing: -0.045em; }
.hero .lede { color: rgba(255,255,255,.72); font-size: 20px; max-width: 34em; margin: 26px 0 36px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.hero .note { margin-top: 28px; font-size: 14px; color: rgba(255,255,255,.5); display: flex; align-items: center; gap: 10px; }
.hero .note i { width: 8px; height: 8px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 0 4px rgba(61,220,151,.18); }

/* hero board */
.board { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 24px; padding: 26px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.board-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.board-head .mark { width: 54px; height: 54px; color: #fff; }
.board-head .mark .o { opacity: .09; }
.board-head small { font: 500 12px/1.3 var(--head); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.45); text-align: right; }
.feed { list-style: none; padding: 0; display: grid; gap: 10px; }
.feed li { display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; padding: 13px 14px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.05); }
.feed .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(47,107,255,.16); color: var(--blue-2); }
.feed .ic svg { width: 17px; height: 17px; }
.feed b { display: block; font: 600 15px/1.3 var(--head); color: #fff; letter-spacing: -0.01em; }
.feed span { font-size: 13px; color: rgba(255,255,255,.5); }
.feed .ok { width: 22px; height: 22px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; }
.feed .ok svg { width: 12px; height: 12px; color: #fff; }
.board-foot { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--ink-line); display: flex; justify-content: space-between; align-items: baseline; }
.board-foot span { font-size: 13px; color: rgba(255,255,255,.5); }
.board-foot b { font: 700 28px/1 var(--head); letter-spacing: -0.03em; }
.board-foot b small { font-size: 15px; color: rgba(255,255,255,.5); font-weight: 500; }
.board-cap { font-size: 12px; color: rgba(255,255,255,.35); margin-top: 12px; text-align: center; }

/* problem */
.problem .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.problem .big p { font-size: 19px; margin-top: 22px; }
.hours { display: grid; gap: 14px; }
.hours div { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; display: grid; grid-template-columns: 76px 1fr; gap: 18px; align-items: center; }
.hours time { font: 500 26px/1 var(--head); letter-spacing: -0.03em; color: var(--blue-2); }
.hours time small { display: block; font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--steel); margin-top: 6px; text-transform: uppercase; }
.hours p { color: var(--text); font-size: 16px; }
.hours p span { color: var(--steel); display: block; font-size: 15px; }

/* services */
.services { background: var(--white); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head p { font-size: 19px; margin-top: 18px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--paper); border-radius: 22px; padding: 30px 28px 32px; border: 1px solid transparent; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--line); transform: translateY(-2px); }
.card .ic { width: 46px; height: 46px; border-radius: 14px; background: rgba(47,107,255,.16); color: var(--blue-2); display: grid; place-items: center; margin-bottom: 22px; }
.card .ic svg { width: 22px; height: 22px; }
.card p { margin-top: 10px; font-size: 16px; }

/* how */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { padding: 32px 28px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); position: relative; }
.step .num { display: flex; gap: 5px; margin-bottom: 26px; }
.step .num i { width: 11px; height: 11px; border-radius: 50%; background: var(--faint); }
.step .num i.on { background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.step .when { font: 600 13px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); margin-bottom: 10px; display: block; }
.step p { margin-top: 10px; font-size: 16px; }

/* founding */
.founding { background: radial-gradient(90% 120% at 100% 100%, rgba(47,107,255,.28), transparent 60%), var(--white); border: 1px solid var(--line); color: var(--text); border-radius: 32px; padding: 64px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; position: relative; overflow: hidden; }
.founding::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 320px; height: 320px; background-image: radial-gradient(rgba(47,107,255,.35) 2px, transparent 2.2px); background-size: 20px 20px; mask-image: radial-gradient(circle, #000 30%, transparent 70%); -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%); }
.founding p { color: rgba(255,255,255,.72); font-size: 18px; margin-top: 18px; }
.founding ul { list-style: none; padding: 0; display: grid; gap: 14px; position: relative; z-index: 1; }
.founding li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: rgba(255,255,255,.88); }
.founding li svg { flex: none; width: 22px; height: 22px; color: var(--blue-2); margin-top: 1px; }
.seats { display: flex; gap: 10px; margin-top: 30px; align-items: center; }
.seats i { width: 18px; height: 18px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(47,107,255,.2); }
.seats span { font: 500 14px/1 var(--head); color: rgba(255,255,255,.6); margin-left: 8px; }

/* about */
.about .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.about .mark { width: 100%; max-width: 300px; color: var(--text); filter: drop-shadow(0 0 30px rgba(47,107,255,.35)); }
.about p { font-size: 18px; margin-top: 18px; }

/* faq */
.faq { background: var(--white); border-block: 1px solid var(--line); }
.faq .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
details:first-child { padding-top: 0; }
summary { font: 500 19px/1.35 var(--head); letter-spacing: -0.015em; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 400; font-size: 26px; line-height: 1; color: var(--blue-2); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 12px; font-size: 16px; max-width: 40em; }

/* contact */
.contact .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.contact .big p { font-size: 19px; margin-top: 18px; }
.contact .direct { margin-top: 28px; font-size: 16px; }
.contact .direct a { color: var(--blue-2); font-weight: 600; text-decoration: none; }
form { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: grid; gap: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: grid; gap: 7px; font: 600 14px/1.2 var(--head); color: var(--text); }
label small { font-weight: 400; color: var(--steel); }
input, textarea { font: 400 16px/1.4 var(--body); color: var(--text); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; width: 100%; transition: border-color .15s, box-shadow .15s; }
input:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,107,255,.2); background: var(--paper); }
textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
form .btn { justify-self: start; }
.form-note { font-size: 13px; color: var(--steel); }
.form-msg { display: none; padding: 14px 16px; border-radius: 12px; font-size: 15px; }
.form-msg.ok { display: block; background: rgba(47,107,255,.16); color: var(--text); }
.form-msg.err { display: block; background: rgba(255,120,90,.14); color: #FFB4A2; }

/* footer */
footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 48px 0; font-size: 14px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer .logo { color: #fff; font-size: 20px; }
footer .logo .mark { width: 24px; height: 24px; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }

/* tick animation: the four tick dots light up in order, like a sign board */
@media (prefers-reduced-motion: no-preference) {
  .anim .t { animation: lite 4s infinite both; }
  .anim .t1 { animation-delay: .15s; } .anim .t2 { animation-delay: .3s; } .anim .t3 { animation-delay: .45s; }
  @keyframes lite { 0%, 6% { fill: currentColor; fill-opacity: .12; } 12%, 88% { fill: var(--blue-2); fill-opacity: 1; } 96%, 100% { fill: currentColor; fill-opacity: .12; } }
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
  .feed li { animation: slide .5s both; }
  .feed li:nth-child(2) { animation-delay: .25s; } .feed li:nth-child(3) { animation-delay: .5s; } .feed li:nth-child(4) { animation-delay: .75s; }
  @keyframes slide { from { opacity: 0; transform: translateY(8px); } }
}

@media (max-width: 920px) {
  section { padding: 76px 0; }
  .hero { padding: 56px 0 80px; }
  .hero .wrap, .problem .wrap, .about .wrap, .faq .wrap, .contact .wrap, .founding { grid-template-columns: 1fr; gap: 44px; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  .founding { padding: 44px 32px; }
  .about .mark { max-width: 160px; }
  header nav a.link { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .grid, .grid.two, .steps, .row { grid-template-columns: 1fr; }
  .hero .lede { font-size: 18px; }
  .board { padding: 18px; }
  .founding { padding: 36px 22px; border-radius: 24px; }
  form { padding: 22px; }
  .hours div { grid-template-columns: 64px 1fr; padding: 18px; }
}

/* ---------- multi-page additions ---------- */
header nav a.link[aria-current="page"] { color: #fff; }
.menu-btn { display: none; background: none; border: 0; color: #fff; padding: 8px; margin-right: -8px; cursor: pointer; }
.menu-btn svg { width: 26px; height: 26px; display: block; }
.page-hero { background: var(--ink); color: var(--text); padding: 84px 0 120px; position: relative; overflow: hidden; }
/* a still slice of the Horizon glow along the bottom edge of every inner page */
.page-hero::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -70px; height: 190px; background: radial-gradient(40% 70% at 22% 100%, rgba(255,150,120,.38), transparent 70%), radial-gradient(45% 80% at 60% 100%, rgba(80,190,255,.55), transparent 72%), radial-gradient(40% 75% at 92% 100%, rgba(47,107,255,.6), transparent 70%); filter: blur(18px); pointer-events: none; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1.6px, transparent 1.7px); background-size: 22px 22px; mask-image: radial-gradient(ellipse 60% 90% at 90% 20%, #000 15%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 90% at 90% 20%, #000 15%, transparent 70%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(40px, 6vw, 68px); letter-spacing: -0.04em; max-width: 14em; }
.page-hero p.lede { color: rgba(255,255,255,.72); font-size: 20px; max-width: 36em; margin-top: 22px; }
.page-hero .ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.top { align-items: start; }
.prose p { font-size: 18px; margin-top: 16px; }
.prose h2 + p { margin-top: 20px; }
.ticks { list-style: none; padding: 0; display: grid; gap: 14px; margin-top: 24px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; color: var(--text); }
.ticks li svg { flex: none; width: 22px; height: 22px; color: var(--blue-2); margin-top: 2px; }
.ticks li span small { display: block; color: var(--steel); font-size: 15px; margin-top: 2px; }
.dark .ticks li { color: rgba(255,255,255,.88); }
.dark .ticks li svg { color: var(--blue-2); }

/* OS mock */
.os { background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 30px 90px -40px rgba(47,107,255,.55); overflow: hidden; }
.os-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font: 600 14px/1 var(--head); }
.os-bar .mark { width: 20px; height: 20px; color: var(--text); }
.os-bar span { color: var(--steel); font-weight: 500; margin-left: auto; font-size: 13px; }
.os-body { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; background: var(--paper); }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.tile small { display: block; font: 600 11px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.tile b { display: block; font: 500 26px/1.1 var(--head); letter-spacing: -0.03em; margin-top: 8px; }
.tile i { font-style: normal; font-size: 13px; color: var(--steel); }
.tile.wide { grid-column: 1 / -1; }
.tile .row-item { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 7px 0; border-top: 1px solid var(--faint); color: var(--text); }
.tile .row-item:first-of-type { border-top: 0; margin-top: 6px; }
.tile .row-item em { font-style: normal; color: var(--blue-2); font-weight: 600; white-space: nowrap; }
.os-cap { font-size: 12px; color: var(--steel); text-align: center; padding: 10px; border-top: 1px solid var(--line); }

/* request flow */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: f; }
.flow div { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 26px 22px; position: relative; }
.flow div::before { counter-increment: f; content: counter(f); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; font: 700 15px/1 var(--head); margin-bottom: 18px; }
.flow p { font-size: 15px; margin-top: 8px; }

/* work */
.case { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; padding: 48px; background: var(--white); border: 1px solid var(--line); border-radius: 28px; }
.case + .case { margin-top: 22px; }
.case .tag { display: inline-block; font: 600 12px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--blue-2); background: rgba(47,107,255,.16); padding: 7px 10px; border-radius: 999px; margin-bottom: 16px; }
.case h2 { font-size: clamp(28px, 3.4vw, 38px); }
.case .prose p { font-size: 17px; }
.built { display: grid; gap: 12px; }
.built div { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 16px; border-radius: 16px; background: var(--paper); }
.built .ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(47,107,255,.16); color: var(--blue-2); display: grid; place-items: center; }
.built .ic svg { width: 19px; height: 19px; }
.built b { display: block; font: 600 16px/1.3 var(--head); }
.built span { font-size: 15px; color: var(--steel); }
.note-box { margin-top: 28px; padding: 18px 20px; border-radius: 16px; border: 1px dashed var(--line); font-size: 15px; color: var(--steel); background: var(--paper); }

/* CTA band */
.band { background: radial-gradient(70% 140% at 50% 100%, rgba(47,107,255,.35), transparent 65%), var(--white); border: 1px solid var(--line); color: var(--text); border-radius: 32px; padding: 56px 64px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.band h2 { font-size: clamp(28px, 3.6vw, 40px); max-width: 16em; }
.band p { color: rgba(255,255,255,.7); margin-top: 10px; font-size: 17px; }
.band-wrap { padding: 0 0 104px; }

/* footer columns */
footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; width: 100%; }
footer .cols p { color: rgba(255,255,255,.55); margin-top: 14px; font-size: 14px; max-width: 22em; }
footer h4 { font: 600 13px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 14px; }
footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
footer .base { width: 100%; border-top: 1px solid rgba(255,255,255,.08); margin-top: 36px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.45); }
footer .wrap { display: block; }

/* legal */
.legal { max-width: 760px; }
.legal h2 { font-size: 26px; margin-top: 44px; }
.legal p, .legal li { font-size: 17px; color: var(--steel); margin-top: 12px; }
.legal ul { padding-left: 20px; }

select { font: 400 16px/1.4 var(--body); color: var(--text); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; width: 100%; }
select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,107,255,.2); }

@media (max-width: 920px) {
  .menu-btn { display: block; }
  header nav { position: absolute; top: 68px; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 18px 20px; border-bottom: 1px solid rgba(255,255,255,.08); display: none; }
  header nav.open { display: flex; }
  header nav a.link { display: block; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 17px; }
  header nav .btn { margin-top: 14px; justify-content: center; }
  .split, .case { grid-template-columns: 1fr; gap: 40px; }
  .case { padding: 32px; }
  .flow { grid-template-columns: 1fr 1fr; }
  .band { padding: 40px 32px; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 56px 0 64px; }
}
@media (max-width: 600px) {
  .flow, .os-body { grid-template-columns: 1fr; }
  .case { padding: 24px 20px; border-radius: 22px; }
  .band { padding: 32px 22px; border-radius: 24px; }
  footer .cols { grid-template-columns: 1fr; }
  .band-wrap { padding-bottom: 76px; }
}
section:not(.services) .card { background: var(--white); border-color: var(--line); }

/* ---------- Horizon hero (home): the glow rises from the bottom and swells while a request types ---------- */
.hero.horizon { padding: 0; min-height: min(calc(100svh - 68px), 860px); display: grid; }
.hero.horizon::before { display: none; }
.hero.horizon .fallback { position: absolute; inset: auto 0 0; height: 50%; background: radial-gradient(70% 90% at 50% 100%, #2F6BFF, rgba(79,195,255,.35) 40%, transparent 75%); }
.hero.horizon .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 48px; padding-top: 9vh; padding-bottom: 11vh; align-items: start; }
.hero.horizon h1 { font-size: clamp(48px, 8.4vw, 120px); letter-spacing: -0.045em; line-height: .96; max-width: 12ch; font-weight: 500; }
.hero.horizon .lede { color: rgba(241,244,250,.78); font-size: clamp(17px, 1.6vw, 20px); max-width: 44ch; margin: 24px 0 0; }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.ask-bar { --e: .2; position: relative; isolation: isolate; display: flex; align-items: center; gap: 12px; width: 100%; max-width: 640px; margin: 0 auto; padding: 10px 10px 10px 22px; border-radius: 999px; background: rgba(10,15,26,.82); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); animation: bar-turn 6s linear infinite; }
/* the Gemini-style glow: a turning conic ring, and a blurred halo that swells with --e while the brain works */
.ask-bar::before { content: ""; position: absolute; inset: -1.5px; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--a), #2F6BFF, #4FC3FF, #C9E4FF, #FFB59A, #8DB0FF, #2F6BFF); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: calc(.55 + var(--e) * .45); pointer-events: none; }
.ask-bar::after { content: ""; position: absolute; inset: -18px -26px; border-radius: inherit; z-index: -1; background: conic-gradient(from var(--a), #2F6BFF, #4FC3FF, #FFB59A, #8DB0FF, #2F6BFF); filter: blur(calc(26px + var(--e) * 14px)); opacity: calc(.24 + var(--e) * .46); transform: scale(calc(.94 + var(--e) * .08)); pointer-events: none; }
@keyframes bar-turn { to { --a: 360deg; } }
.ask-bar .typed { flex: 1; min-width: 0; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.ask-bar .typed::after { content: ""; display: inline-block; width: 2px; height: 1.1em; background: var(--blue-2); vertical-align: -3px; margin-left: 2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.ask-bar .go { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--text); color: var(--ink); display: grid; place-items: center; }
.ask-bar .go svg { width: 18px; height: 18px; }
/* under the bar: the brain's working, then the automations that flow on from it. Height is reserved so nothing jumps. */
.think { font-variant-ligatures: none; font-feature-settings: "liga" 0, "calt" 0; max-width: 640px; margin: 18px auto 0; padding: 0 22px; min-height: 196px; font: 13px/1.45 var(--mono); color: rgba(241,244,250,.62); transition: opacity .5s; }
.think.fade { opacity: 0; }
.think-h { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-2); }
.think-h i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 10px var(--blue); animation: pulse 1.2s ease-in-out infinite; }
.think.flowing .think-h i { animation: none; background: #3DDC97; box-shadow: 0 0 10px rgba(61,220,151,.7); }
@keyframes pulse { 50% { opacity: .3; } }
.think ol { list-style: none; margin: 0; padding: 0 0 0 3px; border-left: 1px solid rgba(141,176,255,.22); display: grid; gap: 5px; }
.think ol li { position: relative; padding-left: 20px; opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s, color .35s; }
.think ol li::before { content: ""; position: absolute; left: -4px; top: .45em; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--blue-2); border-right-color: transparent; animation: spin .8s linear infinite; background: var(--ink); }
.think ol li.ok { color: rgba(241,244,250,.82); }
.think ol li.ok::before { animation: none; border-color: var(--blue-2); background: var(--blue-2); }
.think li.on { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.then { display: flex; gap: 10px; align-items: baseline; margin-top: 14px; opacity: 0; transition: opacity .4s; }
.think.flowing .then { opacity: 1; }
.then > span { flex: none; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #FFB59A; }
.flows { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.flows li { padding: 4px 10px; border-radius: 99px; border: 1px solid rgba(255,181,154,.35); background: rgba(255,181,154,.07); color: #FFD9C9; font-size: 12px; opacity: 0; transform: translateX(-6px); transition: opacity .35s, transform .35s; }
@media (prefers-reduced-motion: reduce) { .ask-bar { animation: none; } .think ol li, .flows li { transition: none; } .think-h i { animation: none; } }
.hero.cortex { background: radial-gradient(45% 55% at 76% 36%, rgba(47,107,255,.12), transparent 70%), var(--ink); }
@media (max-width: 760px) { .hero.cortex .wrap { gap: min(230px, 30vh); } }
.hero.cortex .brain { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.hero.cortex .fallback { inset: 8% 6% auto auto; width: 34vw; height: 34vw; max-width: 420px; max-height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(47,107,255,.35), transparent 70%); }
@media (max-width: 760px) { .hero.cortex { background: radial-gradient(70% 30% at 50% 40%, rgba(47,107,255,.12), transparent 70%), var(--ink); } .hero.cortex .fallback { inset: 30% 0 auto; margin: auto; width: 60vw; height: 60vw; } .think { padding: 0 6px; min-height: 250px; } .then { flex-direction: column; gap: 6px; } }
.hero.horizon .ctas { justify-content: center; margin-top: 26px; }
.hero.horizon .note { justify-content: center; margin-top: 22px; color: rgba(241,244,250,.7); }
@media (max-width: 600px) { .hero.horizon .wrap { padding-top: 6vh; padding-bottom: 8vh; } .ask-bar .typed { font-size: 15.5px; } }
