/* ideaclyst.com — Horizon (fleet standard since 26.09.2026, Design_System DESIGN.md Register 8).
   Bright sky, navy type, cobalt→turquoise, white cards with soft blue shadows. Self-hosted fonts only.
   Replaces the cobalt/paper Higgsfield export; new file name so no browser keeps the old look from its cache. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/Archivo-700.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/InstrumentSans-400.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/InstrumentSans-500.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600 700; font-display: swap; src: url("fonts/InstrumentSans-700.woff2") format("woff2"); }

:root {
  --navy: #0F2552; --ink: #33466B; --muted: #66779A; --line: #DCE7F4; --line-mid: #D2DEEE;
  --sky: #F5F9FE; --tint: #EAF3FC; --panel: #F3F8FE; --paper: #FFFFFF;
  --blue: #1F6FEB; --blue-deep: #1E4FC4; --cyan: #22C3E8; --teal: #2EE6D0;
  --grad: linear-gradient(90deg, #2EE6D0 0%, #22C3E8 45%, #1F6FEB 100%);
  --grad-btn: linear-gradient(90deg, #1FB5E3, #1F6FEB);
  --shadow: 0 1px 2px rgba(15, 37, 82, .06), 0 10px 30px rgba(31, 79, 196, .10);
  --shadow-lift: 0 2px 4px rgba(15, 37, 82, .06), 0 18px 40px rgba(31, 79, 196, .16);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4.5vw, 64px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); font: 400 17px/1.6 var(--sans); background: var(--sky);
  background-image: linear-gradient(180deg, #F3F8FE 0%, #FFFFFF 30%, #F4F9FE 100%); }
img, video, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; color: var(--navy); letter-spacing: -.015em; line-height: 1.1; margin: 0; }
p { margin: 0; }
b, strong { color: var(--navy); }
:focus-visible { outline: 3px solid rgba(31, 111, 235, .45); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: var(--gutter); top: 12px; z-index: 30; background: var(--paper); padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow); }
.shell { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.kicker, .u-label { display: block; font: 500 .76rem/1.5 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink); margin: 0; }
.grad-text { background: linear-gradient(90deg, #1E4FC4, #1F6FEB 55%, #22A9E8); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons: pills ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; text-decoration: none;
  font: 600 .95rem/1 var(--sans); color: var(--navy); background: var(--paper); box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.pill:hover { color: var(--navy); transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.pill.solid { color: #fff; background: var(--grad-btn); box-shadow: 0 8px 20px rgba(31, 111, 235, .28); }
.pill.solid:hover { color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(245, 249, 254, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(220, 231, 244, .8); }
.main-nav { display: flex; align-items: center; gap: 14px; min-height: 72px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; text-decoration: none; color: var(--navy); font: 700 1.12rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.wordmark:hover { color: var(--navy); }
.wordmark img { width: 34px; height: 34px; }
.nav-sections { display: flex; gap: 2px; margin-left: auto; }
.nav-sections a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; font-weight: 500; font-size: .95rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav-sections a:hover, .nav-sections a[aria-current="page"] { background: var(--tint); color: var(--navy); }
.nav-cta { min-height: 42px; }

/* ---------- home hero: headline + gateway ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero-head { text-align: center; max-width: 1000px; margin: 0 auto; padding: 0 var(--gutter); }
.hero h1 { margin-top: 18px; font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1.02; }
.hero-lede { margin: 22px auto 0; max-width: 40em; font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.hero-head .actions { justify-content: center; }
.receipts { margin: 22px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-size: .88rem; color: var(--muted); }
.receipts span { white-space: nowrap; }
.receipts span + span::before { content: "·"; margin-right: 14px; color: var(--line-mid); }
.receipts b { color: var(--ink); font-weight: 600; }

.gateway { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(260px, 26vw, 360px) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 110px); align-items: center; width: min(1320px, 100% - 2 * var(--gutter)); margin: clamp(48px, 6vw, 76px) auto 0; }
.gateway .wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.wires > path { fill: none; stroke-width: 3.2; stroke-linecap: round; }
.wires > path.flow { stroke-dasharray: .1 26; stroke-width: 3; stroke: rgba(255, 255, 255, .9); animation: flow 1.8s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -52.2; } }
.gw-col { display: grid; gap: 12px; position: relative; z-index: 1; }
.gw-label { font: 500 .72rem/1.3 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.gw-card { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; align-items: center; padding: 11px 16px 11px 11px;
  border-radius: 16px; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 9%, #fff), #fff 72%); box-shadow: var(--shadow); }
.gw-card .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--c); color: #fff; box-shadow: 0 6px 14px color-mix(in srgb, var(--c) 35%, transparent); }
.gw-card .ico svg { width: 21px; height: 21px; }
.gw-card b { display: block; font: 700 .98rem/1.2 var(--display); color: var(--navy); }
.gw-card small { display: block; margin-top: 2px; font-size: .82rem; line-height: 1.35; color: var(--muted); }
.gw-col.in .gw-card { background: var(--paper); }
.gw-col.in .gw-card .ico { background: color-mix(in srgb, var(--c) 16%, #fff); color: var(--c); box-shadow: none; }
.hub { position: relative; z-index: 1; aspect-ratio: 1; border-radius: 50%; }
.hub::before { content: ""; position: absolute; inset: -22px; border-radius: 50%; border: 2px dotted rgba(31, 111, 235, .35); }
.hub::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 8px rgba(91, 212, 253, .16), 0 0 70px 10px rgba(34, 195, 232, .42), inset 0 0 40px rgba(34, 195, 232, .32); }
.hub .disc { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 45%, #fff 0%, #F2FAFE 55%, #DDF2FC 100%); }
.hub .disc video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.hub .disc::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(255, 255, 255, .82) 0%, rgba(255, 255, 255, .46) 58%, rgba(255, 255, 255, 0) 80%); }
.hub .core { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; text-align: center; padding: 12%; }
.hub .core img { width: clamp(52px, 6vw, 78px); height: auto; }
.hub .core b { margin-top: 10px; font: 700 clamp(1.2rem, 2.1vw, 1.8rem)/1 var(--display); letter-spacing: .06em; color: var(--navy); }
.hub .core span { margin-top: 10px; font: 500 clamp(.82rem, 1.1vw, .98rem)/1.3 var(--sans); color: var(--navy); }
.hub .core i { display: block; width: 42%; height: 2px; margin: 13px auto; background: var(--grad); border-radius: 2px; }
.hub .core em { font: 700 clamp(.9rem, 1.3vw, 1.1rem)/1 var(--display); font-style: normal; color: var(--blue); }
.hub .note { position: absolute; left: 50%; top: calc(100% + 34px); transform: translateX(-50%); width: max-content; max-width: 88vw; margin: 0; text-align: center; font-size: .88rem; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 7vw, 100px) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 16px clamp(28px, 5vw, 72px); align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { margin-top: 12px; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.section-head > p { font-size: 1.04rem; }

/* council: two voices + the verdict */
.voices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.voice { position: relative; overflow: hidden; background: var(--paper); border-radius: 24px; box-shadow: var(--shadow); padding: clamp(22px, 2.8vw, 34px); }
.voice::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--grad); }
.voice .role { display: inline-flex; align-items: center; gap: 10px; }
.voice .role .num { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font: 700 .82rem var(--display); color: var(--blue); background: var(--tint); }
.voice .role .u-label { color: var(--blue); font-size: .72rem; letter-spacing: .22em; }
.voice h3 { margin-top: 18px; font-size: clamp(1.3rem, 2.2vw, 1.65rem); }
.voice p { margin-top: 10px; }
.verdict { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; margin-top: clamp(14px, 1.8vw, 24px); padding: clamp(18px, 2.4vw, 26px) clamp(20px, 2.8vw, 34px);
  border-radius: 22px; background: linear-gradient(90deg, #EAF6FD, #F3F8FE 60%, #fff); border: 1px solid var(--line); }
.verdict .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-btn); color: #fff; }
.verdict .ico svg { width: 22px; height: 22px; }
.verdict b { display: block; font: 700 1.15rem/1.3 var(--display); }
.verdict span { display: block; margin-top: 4px; }

/* the run: numbered steps (a real sequence) + the start screen */
.run { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.ledger { list-style: none; margin: 0; padding: 8px clamp(18px, 2.4vw, 28px); background: var(--paper); border-radius: 22px; box-shadow: var(--shadow); }
.ledger li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 16px 0; }
.ledger li + li { border-top: 1px solid var(--line); }
.ledger .num { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font: 700 .82rem var(--display); color: var(--blue); background: var(--tint); }
.ledger li:first-child .num, .ledger li:last-child .num { color: #fff; background: var(--grad-btn); }
.ledger b { display: block; font-family: var(--display); font-size: 1.05rem; }
.ledger span:not(.num) { display: block; margin-top: 4px; font-size: .95rem; }

/* real app screens */
.shot { margin: 0; border-radius: 18px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 26px 60px -30px rgba(31, 79, 196, .45); }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1; color: var(--muted); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D2DEEE; }
.shot-bar span { margin-left: 8px; }
.shot img { width: 100%; height: auto; }
.shot figcaption { padding: 10px 14px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.sticky-shot { position: sticky; top: 96px; }

/* packet, research, workspace: white cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--paper); border-radius: 22px; box-shadow: var(--shadow); padding: clamp(20px, 2.4vw, 28px); }
.card .glyph { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--tint); color: var(--blue); }
.card h3 { margin-top: 14px; font-size: 1.18rem; }
.card p { margin-top: 8px; font-size: .96rem; }
.card .u-label { color: var(--blue); font-size: .7rem; letter-spacing: .2em; }
.card .u-label + h3 { margin-top: 10px; }
.with-shot { margin-top: clamp(24px, 3vw, 40px); }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 3.4vw, 48px); align-items: center; }
.stack { display: grid; gap: clamp(14px, 1.8vw, 20px); }

/* ---------- film band with the closing statement ---------- */
.band { position: relative; min-height: clamp(560px, 78vh, 760px); display: grid; place-items: end center; overflow: hidden; background: #CFE6F8; margin-top: clamp(24px, 4vw, 48px); }
/* the film box is taller than the band and anchored at its foot: the sky fills the top, the hill and the dish sit behind the fade */
.band > video { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 165%; object-fit: cover; object-position: 30% 100%; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(245, 249, 254, 0) 34%, rgba(245, 249, 254, .86) 76%, #F5F9FE 100%); }
.band .say { position: relative; z-index: 1; text-align: center; padding: 0 var(--gutter) clamp(40px, 6vw, 72px); }
.band h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); max-width: 22ch; margin: 14px auto 0; text-wrap: balance; }
.band .say > p:not(.kicker) { margin: 14px auto 0; max-width: 40em; font-size: 1.06rem; }
.band .actions { justify-content: center; }
.band .mail { display: inline-block; margin-top: 14px; padding: 8px 0; font-weight: 600; }

/* ---------- inner pages (about, contact, legal): the document on a white sheet ---------- */
.page-head { padding: clamp(40px, 6vw, 72px) 0 0; }
.page-head .shell, .prose .shell { width: min(920px, 100% - 2 * var(--gutter)); }
.page-head h1 { margin-top: 10px; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-head h1 em { font-style: normal; background: linear-gradient(90deg, #1E4FC4, #1F6FEB 55%, #22A9E8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-head .lede { margin-top: 14px; font-size: 1.1rem; max-width: 44em; }
.page-figure { margin-top: 22px; width: min(640px, 100%); height: auto; border-radius: 22px; box-shadow: var(--shadow-lift); }
.prose { padding: 24px 0 clamp(56px, 8vw, 96px); }
.prose .shell { background: var(--paper); border-radius: 24px; box-shadow: var(--shadow); padding: clamp(24px, 5vw, 56px); }
.prose h2 { font-size: clamp(1.22rem, 2.3vw, 1.5rem); margin: 1.8em 0 .55em; }
.prose h2:first-child, .prose .updated + h2, .prose .updated + p + h2 { margin-top: .6em; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; max-width: 70ch; }
.prose li { margin-bottom: 7px; }
.prose a { overflow-wrap: anywhere; display: inline-block; padding: 6px 0; margin: -6px 0; }
.prose .updated { color: var(--muted); font-size: .92rem; }
.prose address { font-style: normal; margin: 0 0 14px; }

/* ---------- footer ---------- */
.marketing-footer { border-top: 1px solid var(--line); background: rgba(255, 255, 255, .6); padding: clamp(44px, 6vw, 64px) 0 26px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, .6fr)); gap: 28px clamp(28px, 5vw, 64px); align-items: start; }
.footer-top p { margin-top: 14px; max-width: 34em; font-size: .95rem; color: var(--muted); }
.footer-top h4 { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-family: var(--sans); font-weight: 500; }
.footer-top ul { list-style: none; margin: 10px 0 0; padding: 0; }
.footer-top li a { display: inline-block; padding: 7px 0; color: var(--ink); text-decoration: none; font-size: .95rem; }
.footer-top li a:hover, .footer-top li a[aria-current="page"] { color: var(--blue); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 22px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.footer-base a { display: inline-block; padding: 10px 0; margin: -10px 0; }
.attribution { color: var(--navy); text-decoration-color: var(--cyan); }
.attribution b { font-weight: 700; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .gateway { gap: 44px; grid-template-columns: minmax(0, 1fr) 250px minmax(0, 1fr); }
  .gw-card small { display: none; }
  .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .gateway { grid-template-columns: minmax(0, 1fr); gap: 60px; max-width: 620px; }
  .gateway .wires { display: none; }
  .hub { width: min(300px, 76vw); justify-self: center; margin-bottom: 30px; }
  .gw-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gw-label { grid-column: 1 / -1; }
  .gw-card small { display: block; }
  .section-head, .run, .split, .footer-top { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticky-shot { position: static; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .main-nav { flex-wrap: wrap; gap: 4px 12px; padding: 10px 0 6px; min-height: 0; }
  .nav-sections { order: 3; width: 100%; margin-left: -12px; overflow-x: auto; scrollbar-width: none; }
  .nav-cta { margin-left: auto; }
  .voices { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .gw-col, .cards, .cards.four { grid-template-columns: minmax(0, 1fr); }
  .receipts { gap: 6px 18px; }
  .receipts span + span::before { content: none; }
  .actions { display: grid; justify-content: stretch; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .nav-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
