/* GetReal — getrealdev.com
   Tokens come from the official mark: navy #081330, arc cyan #40C3FE, silver elephant.
   Amber is the one warm colour. It is reserved for the thing we want pressed. */

@font-face {
  font-family: "Google Sans Flex";
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url("assets/fonts/google-sans-flex-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: "Google Sans Flex";
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url("assets/fonts/google-sans-flex-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #081330;
  --deep: #040a1d;
  --panel: #0c1a3f;
  --cyan: #40c3fe;
  --pop: #ffb224;
  --silver: #c7cdd8;
  --paper: #f3f8fe;
  --white: #fff;
  --on-dark: #e9f0fb;
  --on-dark-2: #9db0cf;
  --on-light-2: #46536e;
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-light: rgba(8, 19, 48, 0.12);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --pad: clamp(20px, 4vw, 40px);
  --section: clamp(88px, 11vw, 168px);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--on-dark);
  font-family: "Google Sans Flex", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--pad), 1240px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

/* Display type: wide and heavy, the way the wordmark sits next to the mark. */
h1, h2 { font-weight: 700; font-stretch: 112%; letter-spacing: -0.04em; line-height: 0.98; text-wrap: balance; }
h2 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
h3 { font-weight: 650; font-stretch: 106%; letter-spacing: -0.02em; line-height: 1.15; font-size: 1.3rem; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  background: var(--pop); color: var(--ink);
  border: 1.5px solid transparent; border-radius: 999px; cursor: pointer; font-family: inherit;
  font-weight: 650; font-size: 1.02rem; text-decoration: none; white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { background: var(--white); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.96rem; }
.btn--ghost { background: transparent; color: var(--on-dark); border-color: rgba(255, 255, 255, 0.34); }
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--deep); color: var(--white); }
.ext { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
a:hover > .ext { transform: translate(2px, -2px); }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 6px; text-decoration-thickness: 1.5px; transition: text-decoration-color 0.2s; }
.link:hover { text-decoration-color: var(--cyan); }
.link--ink { text-decoration-color: rgba(8, 19, 48, 0.4); }
.link--ink:hover { text-decoration-color: var(--ink); }

/* Icons: one sprite, coloured by whatever they sit in. */
.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ib { display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: rgba(64, 195, 254, 0.12); color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(64, 195, 254, 0.3); }
.ib--ink { background: var(--ink); box-shadow: none; }
.ib--sm { width: 36px; height: 36px; border-radius: 11px; }
.ib--sm .ic { width: 19px; height: 19px; }

/* Navigation */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); transition: background-color 0.3s, box-shadow 0.3s; }
.nav.is-stuck { background: rgba(8, 19, 48, 0.95); box-shadow: 0 1px 0 var(--line-dark); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo img { height: 44px; width: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); }
.nav__links > a:not(.btn) { text-decoration: none; font-weight: 500; color: var(--on-dark); opacity: 0.86; transition: opacity 0.2s; }
.nav__links > a:not(.btn):hover { opacity: 1; }
.nav__toggle { display: none; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: calc(var(--nav-h) + 40px) 0 72px; overflow: hidden; isolation: isolate; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 78% 46%, rgba(64, 195, 254, 0.2), transparent 62%),
    radial-gradient(50% 60% at 8% 100%, rgba(40, 92, 220, 0.3), transparent 70%),
    linear-gradient(180deg, var(--deep), var(--ink));
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 70% at 76% 46%, #000, transparent 72%);
  mask-image: radial-gradient(70% 70% at 76% 46%, #000, transparent 72%);
}
.hero__in { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr); align-items: center; gap: clamp(24px, 3vw, 48px); }
.hero__title { font-size: clamp(2.7rem, 6.1vw, 5.6rem); line-height: 0.96; letter-spacing: -0.05em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero__title .line > span { display: block; white-space: nowrap; }
.hero__sub { max-width: 31em; margin-top: 30px; font-size: clamp(1.1rem, 1.5vw, 1.32rem); line-height: 1.45; color: var(--on-dark); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }
.hero__note { margin-top: 44px; color: var(--on-dark-2); font-size: 0.98rem; }

/* Orbit: the mark at the centre, the three products around it. */
.orbit { position: relative; width: clamp(480px, 46vw, 640px); aspect-ratio: 1; justify-self: end; margin-right: clamp(-110px, -6vw, 0px); }
.orbit__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ring { fill: none; }
.ring--faint { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1.5; }
.ring--dash { stroke: rgba(157, 176, 207, 0.4); stroke-width: 1.5; stroke-dasharray: 2 12; stroke-linecap: round; }
.ring--track { stroke: url(#silver); stroke-width: 3; opacity: 0.3; }
.ring--arc { stroke: var(--cyan); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 20 100; transform: rotate(-90deg); transform-origin: 400px 400px; filter: drop-shadow(0 0 10px rgba(64, 195, 254, 0.7)); }
.orbit__mid { transform-origin: 400px 400px; animation: spin 160s linear infinite; }
.spoke { stroke: rgba(157, 176, 207, 0.22); stroke-width: 1.5; }
.pulse { stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 14 262; stroke-dashoffset: 14; animation: pulse 3.6s var(--ease) infinite; }
.pulse--b { animation-delay: 1.2s; }
.pulse--c { animation-delay: 2.4s; }
.orbit__mark { position: absolute; left: 50%; top: 50%; width: 31%; transform: translate(-50%, -50%); border-radius: 50%; box-shadow: 0 0 0 10px rgba(8, 19, 48, 0.6), 0 30px 80px rgba(0, 0, 0, 0.5); }
.node {
  position: absolute; transform: translate(-50%, -50%); width: max-content;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px 11px 14px;
  background: rgba(12, 26, 63, 0.92); color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px;
  font-weight: 650; font-size: 0.98rem; white-space: nowrap; text-decoration: none;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s, background-color 0.2s;
}
.node:hover { border-color: var(--cyan); background: var(--panel); }
.node img { height: 24px; width: auto; }
.node__dot { width: 20px; height: 20px; border-radius: 50%; background: conic-gradient(var(--cyan) 0 20%, var(--silver) 0); -webkit-mask: radial-gradient(circle, transparent 34%, #000 36%); mask: radial-gradient(circle, transparent 34%, #000 36%); }
.node--crm { left: 19.25%; top: 38.75%; }
.node--rain { left: 75.1%; top: 29%; }
.node--csc { left: 55.6%; top: 82.25%; }
.node > * { flex: none; }
.node--crm, .node--rain, .node--csc { animation: bob 7s ease-in-out infinite; }
.node--rain { animation-duration: 8.5s; animation-delay: -2s; }
.node--csc { animation-duration: 9.5s; animation-delay: -4s; }

.orbit__svg { translate: calc(var(--px, 0) * -14px) calc(var(--py, 0) * -14px); transition: translate 0.8s var(--ease); }
.orbit__mark { translate: calc(var(--px, 0) * 10px) calc(var(--py, 0) * 10px); transition: translate 0.8s var(--ease); }
.orbit.is-paused .orbit__mid, .orbit.is-paused .pulse, .orbit.is-paused .node { animation-play-state: paused; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { stroke-dashoffset: 14; opacity: 0; } 12% { opacity: 1; } 70% { opacity: 1; } 100% { stroke-dashoffset: -262; opacity: 0; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }

/* One orchestrated entrance: headline lines rise, the arc draws, the products arrive. */
.js .hero__title .line > span { transform: translateY(105%); }
.js .hero__sub, .js .hero__cta, .js .hero__note, .js .orbit__mark, .js .node, .js .orbit__svg { opacity: 0; }
.js .ring--arc { stroke-dasharray: 0 100; }
.js.is-ready .hero__title .line > span { transform: none; transition: transform 1s var(--ease); }
.js.is-ready .hero__title .line:nth-child(2) > span { transition-delay: 0.09s; }
.js.is-ready .hero__title .line:nth-child(3) > span { transition-delay: 0.18s; }
.js.is-ready .hero__sub, .js.is-ready .hero__cta, .js.is-ready .hero__note { opacity: 1; transition: opacity 0.9s ease 0.5s; }
.js.is-ready .hero__cta { transition-delay: 0.62s; }
.js.is-ready .hero__note { transition-delay: 0.74s; }
.js.is-ready .orbit__svg { opacity: 1; transition: opacity 1.1s ease 0.2s; }
.js.is-ready .orbit__mark { opacity: 1; transition: opacity 0.9s ease 0.35s; }
.js.is-ready .ring--arc { stroke-dasharray: 20 100; transition: stroke-dasharray 1.5s var(--ease) 0.6s; }
.js.is-ready .node { opacity: 1; transition: opacity 0.7s ease 1.2s, border-color 0.2s, background-color 0.2s; }
.js.is-ready .node--rain { transition-delay: 1.4s, 0s, 0s; }
.js.is-ready .node--csc { transition-delay: 1.6s, 0s, 0s; }

/* Statement */
.say { background: var(--paper); color: var(--ink); padding: var(--section) 0; }
.say__text { max-width: 19em; font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.06; letter-spacing: -0.035em; text-wrap: pretty; }
.say__text .w { transition: opacity 0.35s linear; }
.js .say__text .w { opacity: 0.16; }
.js .say__text .w.is-lit { opacity: 1; }
.say__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: clamp(56px, 7vw, 96px); padding-top: 32px; border-top: 1.5px solid var(--ink); }
.say__cols .ib { margin-bottom: 18px; }
.say__cols p { margin-top: 8px; color: var(--on-light-2); max-width: 24em; }

/* Section heads */
.head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(20px, 5vw, 80px); align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.head p { font-size: 1.16rem; line-height: 1.5; color: var(--on-dark-2); max-width: 30em; }
.head--dark p { color: var(--on-light-2); }

/* Products: cards stack as you scroll */
.products { padding: var(--section) 0; background: var(--ink); }
.stack { display: grid; gap: 28px; }
.pcard {
  --spot-x: 70%; --spot-y: 0%; --tint: 64, 195, 254; --hi: 64, 195, 254;
  position: sticky; top: calc(var(--nav-h) + 20px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center;
  min-height: min(620px, calc(100svh - var(--nav-h) - 60px));
  padding: clamp(28px, 4.4vw, 64px);
  background:
    radial-gradient(520px circle at var(--spot-x) var(--spot-y), rgba(var(--tint), 0.2), transparent 62%),
    linear-gradient(160deg, #0f2150, var(--ink) 70%);
  border: 1px solid var(--line-dark); border-radius: 32px;
  box-shadow: 0 -24px 60px rgba(4, 10, 29, 0.55);
  overflow: hidden;
}
.pcard:nth-child(2) { top: calc(var(--nav-h) + 36px); }
.pcard:nth-child(3) { top: calc(var(--nav-h) + 52px); }
.pcard--rain { --tint: 56, 132, 255; --hi: 132, 182, 255; }
.pcard--csc { --tint: 126, 96, 232; --hi: 184, 166, 255; }
.pcard__logo { height: 52px; width: auto; }
.pcard__logo--wide { height: 46px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16); }
.pcard__brand { display: flex; align-items: center; gap: 14px; font-weight: 700; font-stretch: 110%; font-size: 1.5rem; letter-spacing: -0.02em; }
.pcard h3 { margin-top: 28px; font-size: clamp(1.8rem, 3.3vw, 2.9rem); font-weight: 700; font-stretch: 110%; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
.pcard__copy > p { margin-top: 18px; font-size: 1.14rem; color: var(--on-dark); max-width: 30em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark); border-radius: 999px; font-size: 0.94rem; font-weight: 550; }
.chips .ic { width: 18px; height: 18px; color: rgb(var(--hi)); }
.pcard .btn { margin-top: 32px; }

/* Product visuals: drawn versions of the real screens, with sample data. */
.vig { position: relative; min-width: 0; }
.vig figcaption { margin-top: 18px; color: var(--on-dark-2); font-size: 0.88rem; }
[data-step] { transition: opacity 0.5s, color 0.5s, background-color 0.5s, border-color 0.5s, transform 0.6s var(--ease); }
.win { background: #0a1740; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 20px; box-shadow: 0 34px 80px rgba(2, 6, 20, 0.6); overflow: hidden; }
.win__bar { display: flex; align-items: center; gap: 10px; padding: 13px 18px; background: rgba(255, 255, 255, 0.03); border-bottom: 1px solid var(--line-dark); font-size: 0.86rem; font-weight: 600; color: var(--on-dark-2); }
.win__bar::before { content: ""; flex: none; width: 34px; height: 8px; background: radial-gradient(circle at 4px 4px, rgba(255, 255, 255, 0.28) 3.5px, transparent 4px) 0 0 / 13px 8px repeat-x; }
.win__bar img { height: 18px; width: auto; }
.win__body { display: grid; gap: 16px; padding: clamp(16px, 2vw, 22px); }
.win--shot img { width: 100%; }

.rec p, .hub p, .feed p, .files p { min-width: 0; font-size: 0.86rem; line-height: 1.35; color: var(--on-dark-2); }
.rec b, .hub b, .feed b, .files b { display: block; font-size: 1rem; font-weight: 650; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.score { display: grid; place-items: center; min-width: 40px; height: 27px; padding: 0 8px; border-radius: 8px; font-size: 0.86rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.score--hi { background: rgba(52, 211, 153, 0.16); color: #6ee7b7; box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.4); }
.score--mid { background: rgba(255, 178, 36, 0.14); color: #ffd27a; box-shadow: inset 0 0 0 1px rgba(255, 178, 36, 0.4); }
.score--lo { background: rgba(248, 113, 113, 0.14); color: #fca5a5; box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.4); }

/* 8020CRM: a deal record */
.rec { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.rec img { width: 96px; height: 68px; object-fit: cover; border-radius: 10px; }
.stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; }
.stages li { padding: 9px 6px 9px 14px; background: rgba(255, 255, 255, 0.08); color: var(--on-dark-2); font-size: 0.8rem; font-weight: 650; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 10px 50%); }
.stages li:first-child { padding-left: 8px; border-radius: 999px 0 0 999px; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%); }
.stages li:last-child { border-radius: 0 999px 999px 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 10px 50%); }
.stages li.is-on { background: rgb(var(--tint)); color: var(--ink); }
.bands { display: grid; gap: 8px; }
.band { --c: 255, 178, 36; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 14px 11px 12px; background: rgba(var(--c), 0.08); border-left: 3px solid rgb(var(--c)); border-radius: 12px; font-size: 0.94rem; font-weight: 600; color: var(--white); }
.band .ic { width: 20px; height: 20px; color: rgb(var(--c)); }
.band i { font-style: normal; font-size: 0.82rem; font-weight: 500; color: var(--on-dark-2); white-space: nowrap; }
.band--b { --c: 248, 113, 113; }
.band--c { --c: 132, 204, 22; }
.band--d { --c: 45, 212, 191; }

/* RAIN: the Hub inbox, with what RAIN just did on top */
.hub li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line-dark); }
.hub li:first-child { background: rgba(64, 195, 254, 0.06); box-shadow: inset 3px 0 0 var(--cyan); }
.hub li:last-child { border-bottom: 0; }
.hub__acts { display: flex; gap: 6px; color: var(--on-dark-2); }
.hub__acts .ic { width: 28px; height: 28px; padding: 6px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-dark); }
.feed { position: relative; z-index: 1; display: grid; gap: 6px; width: min(100%, 320px); margin: -78px -14px 0 auto; padding: 10px; background: rgba(8, 19, 48, 0.9); border: 1px solid rgba(255, 178, 36, 0.42); border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.feed li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 10px; border-radius: 12px; }
.js .feed li { opacity: 0.35; transform: translateY(4px); }
.js .feed li.is-on { opacity: 1; transform: none; background: rgba(255, 255, 255, 0.05); }
.feed .ic, .feed img { width: 30px; height: 30px; padding: 6px; background: rgba(255, 178, 36, 0.16); border-radius: 50%; color: var(--pop); object-fit: contain; }

/* Cloud Storage Connect: the files panel on a record */
.crumb { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 600; color: var(--on-dark-2); }
.crumb .ic { width: 18px; height: 18px; color: rgb(var(--hi)); }
.files { display: grid; gap: 8px; }
.files li { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-dark); border-radius: 12px; }
.ftype { display: grid; place-items: center; width: 38px; height: 38px; background: rgba(var(--tint), 0.22); border-radius: 10px; color: rgb(var(--hi)); }
.ftype .ic { width: 20px; height: 20px; }
.files i { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; background: rgba(255, 255, 255, 0.08); border-radius: 999px; font-style: normal; font-size: 0.8rem; font-weight: 600; color: var(--on-dark-2); transition: inherit; }
.files i::before { content: ""; width: 9px; height: 9px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.9s linear infinite; }
.files i span:last-child, .files li.is-on i span:first-child { display: none; }
.files li.is-on i span:last-child { display: inline; }
.files li.is-on { border-color: rgba(52, 211, 153, 0.35); }
.files li.is-on i { background: rgba(52, 211, 153, 0.16); color: #6ee7b7; }
.files li.is-on i::before { width: 9px; height: 5px; border: solid currentColor; border-width: 0 0 2px 2px; border-radius: 0; transform: translateY(-2px) rotate(-45deg); animation: none; }
.providers { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line-dark); font-size: 0.86rem; color: var(--on-dark-2); }
.providers img { width: 24px; height: 24px; object-fit: contain; }

/* RAIN Intelligence: the workspace with its sidebar open */
.win__bar .ws__mode { margin-left: auto; padding: 4px 11px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); border-radius: 8px; font-size: 0.78rem; color: var(--on-dark); white-space: nowrap; }
.ws__grid { display: grid; grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr); }
.ws__side { padding: 16px 12px; background: rgba(4, 10, 29, 0.5); border-right: 1px solid var(--line-dark); }
.ws__nav { display: grid; gap: 4px; }
.ws__nav li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 0.94rem; font-weight: 600; color: var(--on-dark-2); }
.ws__nav .ic { width: 18px; height: 18px; }
.ws__nav .is-here { background: rgba(64, 195, 254, 0.14); color: var(--white); }
.ws__nav .is-here .ic { color: var(--cyan); }
.ws__cap { margin: 18px 10px 6px; font-size: 0.76rem; font-weight: 600; color: var(--on-dark-2); opacity: 0.75; }
.ws__recent li { padding: 7px 10px; border-radius: 8px; font-size: 0.84rem; color: var(--on-dark-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws__recent .is-here { background: rgba(255, 255, 255, 0.06); color: var(--white); }
.ws__main { display: grid; gap: 12px; align-content: start; padding: clamp(14px, 2vw, 22px); font-size: 0.94rem; }
.js .ws__main [data-step] { opacity: 0; transform: translateY(6px); }
.js .ws__main [data-step].is-on { opacity: 1; transform: none; }
.ws__ask { justify-self: end; max-width: 85%; padding: 10px 14px; background: rgba(64, 195, 254, 0.18); border-radius: 14px 14px 4px 14px; color: var(--white); font-weight: 550; }
.ws__tool { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--on-dark-2); }
.ws__tool .ic { width: 16px; height: 16px; color: var(--cyan); }
.ws__ans { padding: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark); border-radius: 14px; color: var(--on-dark); }
.ws__ans b { color: var(--white); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 12px; padding-top: 4px; border-bottom: 1px solid var(--line-dark); }
.bars span { flex: 1; height: 30%; background: linear-gradient(180deg, var(--cyan), rgba(64, 195, 254, 0.25)); border-radius: 4px 4px 0 0; }
.bars span:nth-child(2) { height: 46%; }
.bars span:nth-child(3) { height: 38%; }
.bars span:nth-child(4) { height: 72%; }
.bars span:nth-child(5) { height: 55%; }
.bars span:nth-child(6) { height: 100%; }
.bars span:nth-child(7) { height: 64%; }
.ws__gate { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 12px 11px 14px; background: rgba(255, 178, 36, 0.09); border: 1px solid rgba(255, 178, 36, 0.45); border-radius: 14px; font-size: 0.86rem; line-height: 1.3; color: var(--on-dark-2); }
.ws__gate .ic { width: 20px; height: 20px; color: var(--pop); }
.ws__gate b { display: block; font-size: 0.94rem; color: var(--white); }
.ws__gate i { padding: 7px 14px; background: var(--pop); border-radius: 999px; font-style: normal; font-weight: 650; color: var(--ink); }
.ws__box { padding: 11px 14px; border: 1px solid var(--line-dark); border-radius: 12px; font-size: 0.86rem; color: var(--on-dark-2); opacity: 0.7; }

/* Icon tiles */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile { padding: 20px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-dark); border-radius: 20px; transition: border-color 0.25s, background-color 0.25s; }
.tile:hover { background: rgba(64, 195, 254, 0.05); border-color: rgba(64, 195, 254, 0.4); }
.tile dt { display: grid; gap: 16px; font-weight: 650; font-size: 1.12rem; letter-spacing: -0.01em; }
.tile dd { margin-top: 6px; color: var(--on-dark-2); font-size: 0.98rem; }

.more { margin-top: clamp(72px, 9vw, 128px); display: grid; grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr); gap: 16px clamp(20px, 5vw, 80px); position: relative; z-index: 1; }
.more > h3 { font-size: 1.6rem; }
.more__note { grid-column: 2; color: var(--on-dark-2); font-size: 0.88rem; }

/* AI agents */
.ai { position: relative; padding: var(--section) 0; overflow: hidden; background: radial-gradient(50% 30% at 50% 30%, rgba(40, 92, 220, 0.3), transparent 72%), var(--deep); }
.neural { max-width: 1080px; margin: clamp(-28px, -2vw, 0px) auto 0; }
.neural canvas { display: block; width: 100%; aspect-ratio: 2.05 / 1; }
.neural.is-empty { display: none; }

/* Autopilot: pick a job, watch RAIN catch it, decide and act. The switch pauses the loop. */
.auto { margin-top: clamp(40px, 5vw, 72px); }
.auto__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.auto__top p { color: var(--on-dark-2); font-size: 0.96rem; }
.auto__switch { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; background: none; border: 1.5px solid rgba(255, 255, 255, 0.24); border-radius: 999px; color: var(--on-dark-2); font: inherit; font-weight: 600; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.auto__knob { position: relative; width: 44px; height: 26px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); transition: background-color 0.25s; }
.auto__knob::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); transition: transform 0.3s var(--ease); }
.auto__switch[aria-pressed="true"] { color: var(--white); border-color: rgba(255, 178, 36, 0.6); }
.auto__switch[aria-pressed="true"] .auto__knob { background: var(--pop); }
.auto__switch[aria-pressed="true"] .auto__knob::after { transform: translateX(18px); background: var(--ink); }

.auto__tabs { position: relative; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; margin-top: 22px; }
.auto__tabs button { position: relative; display: grid; justify-items: center; align-content: start; gap: 10px; padding: 16px 6px 22px; background: none; border: 1px solid transparent; border-radius: 16px; color: var(--on-dark-2); font: inherit; font-size: 0.88rem; font-weight: 600; line-height: 1.2; text-align: center; cursor: pointer; transition: color 0.25s, background-color 0.25s, border-color 0.25s; }
.auto__tabs .ic { width: 26px; height: 26px; transition: color 0.25s; }
.auto__tabs button:hover { color: var(--white); }
.auto__tabs button[aria-selected="true"] { background: rgba(255, 255, 255, 0.06); border-color: var(--line-dark); color: var(--white); }
.auto__tabs button[aria-selected="true"] .ic { color: var(--pop); }
.auto__tabs button::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 9px; height: 3px; border-radius: 3px; background: var(--pop); transform-origin: left; transform: scaleX(0); }
.auto__tabs button[aria-selected="true"]::after { transform: scaleX(var(--run, 1)); transition: transform 0.9s var(--ease); }

.auto__stage { margin-top: 14px; padding: clamp(22px, 3vw, 40px); background: rgba(12, 26, 63, 0.6); border: 1px solid var(--line-dark); border-radius: 26px; }
.run { display: grid; align-content: space-between; }
.run[hidden] { display: none; }
.flow { --gap: clamp(20px, 3vw, 44px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--gap); }
.flow__step { position: relative; }
.flow__step, .flow__step > *, .done li { transition: opacity 0.5s, border-color 0.5s, background-color 0.5s; }
.js .flow__step[data-s]:not(.is-on), .js .done li:not(.is-on) { opacity: 0.38; }
.js .flow__step--acts:not(:has(.is-on)) > .flow__ico, .js .flow__step--acts:not(:has(.is-on)) > .flow__label { opacity: 0.38; }
.flow__ico { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; background: #10224f; border-radius: 50%; color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(64, 195, 254, 0.4); }
.flow__ico img { height: 30px; width: auto; }
.flow__step--think .flow__ico { box-shadow: inset 0 0 0 1px rgba(255, 178, 36, 0.6); }
.flow__step--think.is-on .flow__ico::after { content: ""; position: absolute; inset: -6px; border: 1.5px solid rgba(255, 178, 36, 0.7); border-radius: 50%; animation: ring 1.8s ease-out infinite; }
.flow__step--acts .flow__ico { background: var(--pop); color: var(--ink); box-shadow: none; }
@keyframes ring { from { transform: scale(0.86); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }
/* The line a signal travels along to the next step. */
.flow__step[data-s]::before, .flow__step[data-s]::after { content: ""; position: absolute; left: 68px; top: 27px; width: calc(100% + var(--gap) - 80px); height: 2px; border-radius: 2px; }
.flow__step[data-s]::before { background: rgba(255, 255, 255, 0.14); }
.flow__step[data-s]::after { background: var(--pop); transform-origin: left top; transform: scale(0, 1); }
.flow__step[data-s].is-on::after { transform: none; transition: transform 0.9s var(--ease); }
.flow__label { margin-top: 18px; font-size: 0.92rem; font-weight: 650; color: var(--pop); }
.flow__step > p:not(.flow__label) { margin-top: 6px; font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 550; line-height: 1.25; letter-spacing: -0.015em; color: var(--white); text-wrap: pretty; }
.done { display: grid; gap: 8px; margin-top: 10px; }
.done li { position: relative; padding: 10px 14px 10px 42px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark); border-radius: 12px; font-weight: 600; line-height: 1.25; }
.done li::before { content: ""; position: absolute; left: 13px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid rgba(255, 255, 255, 0.3); border-radius: 50%; transition: background-color 0.4s, border-color 0.4s; }
.done li::after { content: ""; position: absolute; left: 19.5px; top: 50%; width: 5px; height: 9px; margin-top: -6px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform 0.4s var(--ease) 0.1s; }
.done li.is-on { border-color: rgba(255, 178, 36, 0.45); }
.done li.is-on::before { background: var(--pop); border-color: var(--pop); }
.done li.is-on::after { transform: rotate(45deg) scale(1); }
.rule { display: flex; align-items: center; gap: 12px; margin-top: clamp(22px, 3vw, 34px); padding-top: 20px; border-top: 1px solid var(--line-dark); color: var(--on-dark-2); }
.rule .ic { width: 20px; height: 20px; color: var(--cyan); }
.auto__note { margin-top: 16px; color: var(--on-dark-2); font-size: 0.88rem; }

.harness { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 56px) clamp(28px, 5vw, 80px); align-items: center; margin-top: clamp(72px, 9vw, 128px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-dark); }
.harness h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; font-stretch: 110%; letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
.harness__copy p { margin: 18px 0 26px; color: var(--on-dark-2); max-width: 30em; }
.harness .tiles { grid-column: 1 / -1; }

/* Services */
.services { background: var(--paper); color: var(--ink); padding: var(--section) 0; }
.fields { display: flex; flex-wrap: wrap; gap: 10px; margin: calc(clamp(44px, 6vw, 80px) * -0.4) 0 clamp(72px, 9vw, 120px); }
.fields li { display: inline-flex; align-items: center; gap: 9px; padding: 8px 18px 8px 13px; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 600; }
.fields .ic { width: 20px; height: 20px; }
.fields .is-core .ic { color: var(--cyan); }
.fields .is-core { background: var(--ink); color: var(--white); }
.phases { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); padding-top: 36px; counter-reset: phase; }
.phases::before, .phases::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; }
.phases::before { background: var(--line-light); }
.phases::after { background: var(--ink); transform-origin: left; transition: transform 1.6s var(--ease); }
.js .phases::after { transform: scaleX(0); }
.js .phases.is-in::after { transform: scaleX(1); }
.phases li { position: relative; counter-increment: phase; }
.phases li::before { content: counter(phase); display: grid; place-items: center; position: absolute; top: -56px; left: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 700; transition: transform 0.6s var(--ease), background-color 0.6s; }
.js .phases li::before { transform: scale(0); }
.js .phases.is-in li::before { transform: scale(1); }
.js .phases.is-in li:nth-child(2)::before { transition-delay: 0.5s; }
.js .phases.is-in li:nth-child(3)::before { transition-delay: 1s; }
.phases h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.03em; margin-top: 8px; }
.phases p { margin-top: 10px; color: var(--on-light-2); max-width: 24em; }

.svc { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 6vw, 96px); align-items: start; margin-top: clamp(64px, 8vw, 112px); }
.svc__list li { display: grid; grid-template-columns: 46px minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 6px 20px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line-light); transition: padding-left 0.35s var(--ease); }
.svc__list li:last-child { border-bottom: 1px solid var(--line-light); }
.svc__list li:hover { padding-left: 12px; }
.svc__list p { color: var(--on-light-2); }

.quote { position: sticky; top: calc(var(--nav-h) + 32px); padding: clamp(26px, 3vw, 40px); background: var(--ink); color: var(--white); border-radius: 26px; }
.quote blockquote { font-size: clamp(1.4rem, 2.1vw, 1.8rem); font-weight: 600; font-stretch: 106%; line-height: 1.18; letter-spacing: -0.025em; text-wrap: balance; }
.quote figcaption { margin-top: 22px; color: var(--on-dark-2); font-weight: 500; }
.quote--light { position: static; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark); }

/* About */
.about { position: relative; padding: var(--section) 0; background: radial-gradient(55% 45% at 16% 18%, rgba(64, 195, 254, 0.14), transparent 70%), linear-gradient(180deg, var(--ink), var(--deep)); }
.mission { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.dial { position: relative; width: min(100%, 360px); aspect-ratio: 1; }
.dial svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.dial__track { fill: none; stroke: rgba(199, 205, 216, 0.22); stroke-width: 14; }
.dial__arc { fill: none; stroke: var(--cyan); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 20 100; filter: drop-shadow(0 0 12px rgba(64, 195, 254, 0.6)); transition: stroke-dasharray 1.8s var(--ease); }
.js .dial__arc { stroke-dasharray: 0 100; }
.js .dial.is-in .dial__arc { stroke-dasharray: 20 100; }
.dial__num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.dial__num span { font-size: clamp(4.4rem, 9vw, 7rem); font-weight: 750; font-stretch: 112%; letter-spacing: -0.06em; line-height: 0.9; font-variant-numeric: tabular-nums; }
.dial__num small { display: block; margin-top: 8px; font-size: 1rem; color: var(--on-dark-2); }
.mission__lead { margin-top: 28px; max-width: 26em; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.34; letter-spacing: -0.015em; }
.mission__note { margin-top: 16px; color: var(--on-dark-2); }

.story { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: clamp(72px, 9vw, 128px); padding-top: 40px; border-top: 1px solid var(--line-dark); }
.story__text p { margin-top: 14px; color: var(--on-dark-2); max-width: 32em; }
.story__text a { color: var(--white); text-decoration-color: rgba(255, 255, 255, 0.4); text-underline-offset: 4px; }
.story__text a:hover { text-decoration-color: var(--cyan); }
.story__values ul { margin-top: 14px; display: grid; gap: 4px; font-size: 1.22rem; font-weight: 600; font-stretch: 106%; letter-spacing: -0.02em; }
.logos { margin-top: clamp(72px, 9vw, 128px); padding-top: 40px; border-top: 1px solid var(--line-dark); }
.logos__band { margin-top: 30px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.logos__band:hover .logos__track { animation-play-state: paused; }
.logos__row { --gap: clamp(40px, 5vw, 76px); display: flex; align-items: center; gap: var(--gap); padding-right: var(--gap); }
.logos__row li { flex: none; }
.logos__row img { height: 48px; width: auto; opacity: 0.85; }
.logos__name { font-size: 1.3rem; font-weight: 700; font-stretch: 112%; letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.85); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

.voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; margin-top: clamp(56px, 7vw, 96px); }
.voices > h3 { grid-column: 1 / -1; margin-bottom: 4px; }
.voices .quote { --a: 64, 195, 254; position: relative; top: auto; display: flex; flex-direction: column; justify-content: space-between; border-color: rgba(var(--a), 0.26); overflow: hidden; }
.voices .quote--b { --a: 255, 178, 36; }
.voices .quote--c { --a: 150, 124, 255; }
.voices .quote::before { content: "\201C"; display: block; height: 0.52em; margin-bottom: 14px; font-size: 5rem; font-weight: 700; line-height: 1; color: rgb(var(--a)); }
.voices .quote blockquote { position: relative; font-size: clamp(1.2rem, 1.7vw, 1.5rem); }
.voices figcaption { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px 14px; align-items: center; margin-top: 28px; font-size: 0.94rem; line-height: 1.3; color: var(--on-dark-2); }
.voices figcaption b { display: block; font-size: 1.04rem; font-weight: 650; color: var(--white); }
.who { display: grid; place-items: center; width: 44px; height: 44px; background: rgba(var(--a), 0.2); border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(var(--a), 0.7); font-size: 0.92rem; font-weight: 700; letter-spacing: -0.01em; color: var(--white); }
.quote__logos { display: flex; align-items: center; gap: 22px; }
.quote__logos img { height: 40px; width: auto; opacity: 0.9; }
.voices .quote--lead { grid-column: 1 / -1; padding: clamp(28px, 4vw, 56px); background: radial-gradient(60% 130% at 100% 0%, rgba(64, 195, 254, 0.24), transparent 62%), linear-gradient(120deg, rgba(64, 195, 254, 0.12), rgba(255, 255, 255, 0.04) 60%); }
.voices .quote--lead::after { content: ""; position: absolute; inset: 0 0 0 52%; background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1.4px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(70% 80% at 80% 30%, #000, transparent 75%); mask-image: radial-gradient(70% 80% at 80% 30%, #000, transparent 75%); pointer-events: none; }
.voices .quote--lead blockquote { max-width: 28em; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.1; }
.story h3, .voices > h3, .logos h3 { font-size: 1rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; color: var(--on-dark-2); }

/* Questions */
.faq { background: var(--paper); color: var(--ink); padding: var(--section) 0; }
.faq__in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq details { border-top: 1px solid var(--line-light); }
.faq details:last-child { border-bottom: 1px solid var(--line-light); }
.faq__side p { margin-top: 18px; max-width: 22em; font-size: 1.14rem; color: var(--on-light-2); }
.faq__ask { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; padding: 12px 24px 12px 12px; background: var(--ink); border-radius: 18px; color: var(--on-dark-2); font-size: 0.94rem; line-height: 1.3; text-decoration: none; transition: transform 0.25s var(--ease); }
.faq__ask:hover { transform: translateY(-2px); }
.faq__ask b { display: block; font-size: 1.04rem; font-weight: 650; color: var(--white); }
.faq summary { display: flex; align-items: center; gap: 16px; padding: 18px 0; list-style: none; cursor: pointer; font-weight: 650; font-stretch: 104%; font-size: 1.2rem; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; margin-left: auto; font-weight: 400; font-size: 1.7rem; line-height: 0.8; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline-color: var(--ink); }
.faq details p { padding: 0 40px 26px 52px; max-width: 40em; color: var(--on-light-2); }

/* Contact */
.contact { position: relative; overflow: hidden; background: var(--cyan); color: var(--ink); padding: clamp(80px, 10vw, 150px) 0; }
.contact::before { content: ""; position: absolute; left: -14%; bottom: -52%; width: 820px; aspect-ratio: 1; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 62px, rgba(8, 19, 48, 0.09) 62px 64px); pointer-events: none; }
.contact__in { position: relative; }
.next { display: grid; gap: 14px; margin-top: 34px; }
.next li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; align-items: center; line-height: 1.3; }
.next b { display: block; font-size: 1.1rem; font-weight: 650; }
.contact h1, .contact h2 { font-size: clamp(2.6rem, 6.6vw, 5.6rem); max-width: 12em; }
.contact__in > p, .contact__copy > p { margin-top: 26px; font-size: 1.24rem; max-width: 30em; }
.contact__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 38px; }
.contact__in--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__in--split h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.contact__copy .link { margin-top: 32px; }

.form-card { padding: clamp(22px, 3vw, 40px); background: var(--ink); color: var(--on-dark); border-radius: 28px; box-shadow: 0 30px 70px rgba(8, 19, 48, 0.3); }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form label { display: grid; gap: 7px; font-size: 0.94rem; font-weight: 600; }
.form input, .form select, .form textarea { width: 100%; min-height: 52px; padding: 12px 14px; background: rgba(255, 255, 255, 0.06); border: 1.5px solid rgba(255, 255, 255, 0.22); border-radius: 12px; color: var(--white); font: inherit; font-weight: 400; font-size: 1.02rem; transition: border-color 0.2s, background-color 0.2s; }
.form textarea { resize: vertical; min-height: 120px; }
.form select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--white) 50%), linear-gradient(135deg, var(--white) 50%, transparent 50%); background-position: calc(100% - 21px) 23px, calc(100% - 15px) 23px; background-size: 6px 6px; background-repeat: no-repeat; }
.form select option { color: var(--ink); background: var(--white); }
.form input:hover, .form select:hover, .form textarea:hover { border-color: rgba(255, 255, 255, 0.4); }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 0; border-color: var(--cyan); background-color: rgba(64, 195, 254, 0.08); }
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__check:empty { display: none; }
.form .btn { justify-self: start; margin-top: 4px; }
.form__status { min-height: 1.5em; font-weight: 600; color: var(--on-dark); }
.form__status:empty { display: none; }
.form__status.is-bad { color: #ffc9a8; }
.form__fine { font-size: 0.86rem; color: var(--on-dark-2); }
.form__fine a { color: var(--on-dark); text-underline-offset: 3px; }
.form__done { padding: clamp(20px, 4vw, 48px) 0; }
.form__done:focus { outline: 0; }
.form__done h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; font-stretch: 110%; letter-spacing: -0.035em; }
.form__done p { margin-top: 14px; font-size: 1.14rem; color: var(--on-dark-2); }

/* Footer */
.foot { background: var(--deep); padding: 72px 0 36px; color: var(--on-dark-2); }
.foot__in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr) minmax(0, 0.6fr); gap: 40px; }
.foot__brand img { height: 44px; width: auto; }
.foot__brand p { margin-top: 18px; }
.foot nav { display: grid; gap: 10px; align-content: start; }
.foot h2 { font-size: 1rem; font-weight: 650; font-stretch: 100%; letter-spacing: 0; line-height: 1.4; color: var(--white); margin-bottom: 4px; }
.foot nav a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-dark-2); transition: color 0.2s; }
.foot nav a img { height: 18px; width: auto; }
.foot nav a .node__dot { width: 16px; height: 16px; flex: none; }
.foot nav a:hover { color: var(--white); }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 0.9rem; }

/* Tablet and down */
@media (max-width: 980px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-bottom: 48px; }
  .orbit { justify-self: center; margin: 12px 0 0; width: min(100%, 520px); }
  .hero__title .line > span { white-space: normal; }
  .head, .mission, .svc, .more, .harness, .contact__in--split, .faq__in { grid-template-columns: 1fr; }
  .more__note { grid-column: auto; }
  .tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auto__tabs { display: flex; gap: 6px; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); overflow-x: auto; scrollbar-width: none; scroll-padding-inline: var(--pad); }
  .auto__tabs::-webkit-scrollbar { display: none; }
  .auto__tabs button { flex: 0 0 116px; }
  .voices { grid-template-columns: 1fr; }
  .head { align-items: start; }
  .pcard { grid-template-columns: minmax(0, 1fr); position: static; min-height: 0; }
  .quote { position: static; }
  .dial { width: min(70%, 300px); }
}

@media (max-height: 700px) { .pcard { position: static; } }

/* Phone */
@media (max-width: 720px) {
  :root { --nav-h: 66px; }
  .nav__logo img { height: 34px; }
  .nav__toggle { display: grid; place-items: center; width: 46px; height: 46px; margin-right: -8px; background: none; border: 0; color: var(--white); cursor: pointer; }
  .nav__bars, .nav__bars::before, .nav__bars::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease), background-color 0.2s; }
  .nav__bars { position: relative; }
  .nav__bars::before, .nav__bars::after { content: ""; position: absolute; left: 0; }
  .nav__bars::before { top: -7px; }
  .nav__bars::after { top: 7px; }
  .nav.is-open .nav__bars { background: transparent; }
  .nav.is-open .nav__bars::before { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__bars::after { transform: translateY(-7px) rotate(-45deg); }
  .nav__links { position: absolute; left: 0; right: 0; top: var(--nav-h); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 24px; background: var(--ink); border-bottom: 1px solid var(--line-dark); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s; }
  .nav.is-open { background: var(--ink); }
  .nav.is-open .nav__links { visibility: visible; opacity: 1; transform: none; }
  .nav__links > a:not(.btn) { padding: 16px 0; font-size: 1.2rem; border-bottom: 1px solid var(--line-dark); opacity: 1; }
  .nav__links .btn { margin-top: 20px; justify-content: center; min-height: 54px; }

  .hero { min-height: 0; padding-top: calc(var(--nav-h) + 36px); }
  .node { font-size: 0.82rem; padding: 8px 12px 8px 10px; gap: 7px; }
  .node img { height: 18px; }
  .node__dot { width: 16px; height: 16px; }
  .node--crm { left: 17%; top: 33%; }
  .node--rain { left: 74%; top: 22%; }
  .node--csc { left: 52%; top: 88%; }
  .say__cols, .phases, .story, .voices, .form__row { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile { padding: 16px; border-radius: 16px; }
  .tile dt { font-size: 1.02rem; gap: 12px; }
  .tile dd { font-size: 0.92rem; }
  .neural canvas { aspect-ratio: 1.45 / 1; }
  .flow { grid-template-columns: 1fr; gap: 22px; }
  .flow__step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; align-content: start; }
  .flow__ico { grid-row: 1 / span 2; }
  .flow__label { margin-top: 4px; }
  .flow__step > :not(.flow__ico) { grid-column: 2; }
  .flow__step[data-s]::before, .flow__step[data-s]::after { left: 27px; top: 62px; width: 2px; height: calc(100% - 46px); }
  .flow__step[data-s]::after { transform: scale(1, 0); }
  .rule { align-items: flex-start; font-size: 0.96rem; }
  .rule .ic { margin-top: 2px; }
  .form .btn { justify-self: stretch; justify-content: center; }
  .say__cols { gap: 28px; }
  .phases { padding-top: 0; gap: 0; }
  .phases::before, .phases::after { display: none; }
  .phases li { padding: 22px 0 22px 58px; border-top: 1px solid var(--line-light); }
  .phases li::before { top: 22px; }
  .phases h3 { margin-top: 4px; }
  .svc__list li:hover { padding-left: 0; }
  .pcard { border-radius: 24px; padding: 24px 22px; }
  .pcard .btn { white-space: normal; max-width: 100%; padding: 12px 20px; font-size: 0.96rem; }
  .ws__grid { grid-template-columns: 104px minmax(0, 1fr); }
  .ws__side { padding: 12px 6px; }
  .ws__nav li { padding: 8px; gap: 8px; font-size: 0.84rem; }
  .ws__cap, .ws__recent, .win__bar .ws__mode { display: none; }
  .ws__main { padding: 12px; font-size: 0.88rem; }
  .ws__gate { grid-template-columns: minmax(0, 1fr); }
  .ws__gate .ic { display: none; }
  .ws__gate i { justify-self: start; }
  .logos__row img { height: 38px; }
  .logos__name { font-size: 1.1rem; }
  .voices figcaption { grid-template-columns: 44px minmax(0, 1fr); }
  .quote__logos { grid-column: 1 / -1; }
  .faq details p { padding-left: 0; }
  .rec { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; }
  .rec img { width: 72px; height: 54px; }
  .win__body { padding: 14px; }
  .stages { gap: 2px; }
  .stages li { font-size: 0.68rem; padding-inline: 9px 1px; text-overflow: clip; }
  .stages li:first-child { padding-left: 4px; }
  .rec b, .files b { white-space: normal; }
  .band i { display: none; }
  .hub li { padding: 12px 14px; gap: 12px; }
  .hub__acts .ic:nth-child(n + 2) { display: none; }
  .feed { margin: -34px -6px 0 auto; width: min(100%, 290px); }
  .svc__list li { grid-template-columns: 46px minmax(0, 1fr); }
  .svc__list p { grid-column: 2; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .mission { justify-items: start; }
}

/* Reduced motion: everything is shown in its finished state. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pulse { display: none; }
  .logos__band { -webkit-mask-image: none; mask-image: none; }
  .logos__track { width: auto; }
  .logos__row { flex-wrap: wrap; row-gap: 28px; padding-right: 0; }
  .logos__row[aria-hidden] { display: none; }
}
