/* K Singularity Solutions: site styles
   Design carried over from the original bundled page: same palette, gradients,
   type scale and fonts (Manrope, Spectral, IBM Plex Mono). */

/* ---------- Fonts (self-hosted, Latin subsets) ---------- */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/manrope-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/manrope-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: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/ibm-plex-mono-400-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/ibm-plex-mono-400-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/ibm-plex-mono-500-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/ibm-plex-mono-500-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/ibm-plex-mono-600-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/ibm-plex-mono-600-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: 'Spectral'; font-style: italic; font-weight: 600; font-display: swap;
  src: url("fonts/spectral-600-italic-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Spectral'; font-style: italic; font-weight: 600; font-display: swap;
  src: url("fonts/spectral-600-italic-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; }

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --bg: #F6F8F9;
  --white: #FFFFFF;
  --ink: #16212E;
  --ink-2: #27343F;
  --ink-3: #3A4855;
  --body: #48586A;
  --body-2: #5A6975;
  --muted: #7E8B97;
  --muted-2: #8A96A1;
  --muted-3: #9AA6B0;
  --line: rgba(22, 33, 46, .08);
  --line-soft: rgba(22, 33, 46, .06);
  --teal: #159A8F;
  --green: #15B07A;
  --grad: linear-gradient(120deg, #2ECE7C, #1E97D6);
  --grad-text: linear-gradient(105deg, #1FB86B 0%, #15B8A0 46%, #1E93D6 100%);
  --grad-text-2: linear-gradient(120deg, #27C97B, #1E93D6);
  --grad-text-dark: linear-gradient(120deg, #39E08C, #3FB6EC);
  --ease: cubic-bezier(.16, .84, .44, 1);
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --serif: 'Spectral', Georgia, serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid #1E93D6; outline-offset: 3px; border-radius: 6px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -64px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px;
  font-weight: 600; font-size: 14px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 18px;
}
h2 {
  font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; letter-spacing: -.02em;
  font-weight: 800; color: var(--ink); text-wrap: balance;
}
.serif-accent { font-family: var(--serif); font-style: italic; font-weight: 600; letter-spacing: -.005em; }
.lead { font-size: clamp(16.5px, 1.5vw, 18px); line-height: 1.62; color: var(--body); margin-top: 22px; text-wrap: pretty; }
.grad-text {
  background: var(--grad-text-2); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-weight: 600; text-decoration: none; white-space: nowrap;
  border-radius: 11px;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 1px 2px rgba(22, 33, 46, .18); }
.btn-dark:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(22, 33, 46, .20); }
.btn-sm { font-size: 14px; padding: 11px 18px; }
.btn-lg { font-size: 16px; padding: 16px 26px; border-radius: 13px; box-shadow: 0 10px 26px rgba(22, 33, 46, .18); }
.btn-lg:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(22, 33, 46, .24); }
.btn-light {
  background: #fff; color: var(--ink); font-weight: 700; font-size: 16.5px;
  padding: 18px 34px; border-radius: 14px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .6); }
.btn-ghost {
  color: #E6EBEF; font-size: 13px; padding: 10px 16px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .18);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, .42); background-color: rgba(255, 255, 255, .04); }
.arrow { font-size: 1.06em; line-height: 1; transition: transform .2s ease; }
.btn:hover .arrow, .text-link:hover .arrow { transform: translateX(3px); }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 8px;
  color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 248, 249, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(22, 33, 46, .07);
}
.header-inner {
  max-width: 1180px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-logo { height: 31px; width: auto; flex: none; transition: transform .3s ease; }
.brand:hover .brand-logo { transform: scale(1.08) rotate(-3deg); }
.brand-name { font-weight: 700; font-size: 17px; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; }
.brand-name span { color: var(--muted); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 30px; white-space: nowrap; }
.nav-links a { text-decoration: none; color: #43525F; font-size: 14.5px; font-weight: 500; transition: color .2s ease; }
.nav-links a:hover { color: var(--ink); }

@media (max-width: 940px) { .nav-links { display: none; } }
@media (max-width: 560px) {
  .header-inner { padding: 12px 20px; gap: 14px; }
  .brand-logo { height: 28px; }
  .brand-name { font-size: 15.5px; }
  .site-header .btn-sm { font-size: 13.5px; padding: 10px 14px; }
}
@media (max-width: 430px) { .site-header .brand-name span { display: none; } }
@media (max-width: 340px) { .site-header .brand-name { display: none; } }

/* ---------- Hero ---------- */
.hero {
  max-width: 1240px; margin: 0 auto;
  padding: clamp(36px, 5.5vw, 72px) 24px clamp(48px, 7vw, 92px);
  display: flex; flex-wrap: wrap; align-items: center; gap: clamp(36px, 4.5vw, 64px);
}
.hero-copy { flex: 1 1 440px; min-width: 0; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal); background: #fff; border: 1px solid rgba(22, 33, 46, .09);
  padding: 7px 13px; border-radius: 999px; box-shadow: 0 1px 2px rgba(22, 33, 46, .04);
}
.eyebrow-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); flex: none; }
.hero h1 { font-weight: 800; margin-top: 22px; }
.h1-main {
  display: block; font-size: clamp(33px, 4.3vw, 54px); line-height: 1.06; letter-spacing: -.022em;
  color: var(--ink); text-wrap: balance;
}
.h1-accent {
  display: block; margin-top: 8px; padding: 0 .08em .06em 0;
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: clamp(40px, 5.2vw, 66px); line-height: 1.02; letter-spacing: -.01em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-sub { font-size: clamp(16px, 1.4vw, 18.5px); line-height: 1.62; color: var(--body); max-width: 560px; margin-top: 24px; text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 34px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 28px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); font-weight: 500; }
.chips svg { flex: none; }

@media (max-width: 420px) {
  .eyebrow-pill { font-size: 10.5px; letter-spacing: .1em; padding: 7px 11px; gap: 8px; }
}

/* ---------- Hero visual: growth map card ---------- */
.hero-visual { flex: 1 1 440px; min-width: 0; display: flex; justify-content: center; }
.hero-stage { position: relative; width: 100%; max-width: 580px; }
.hero-glow {
  position: absolute; inset: -10% -6% -14% -6%; z-index: 0; pointer-events: none;
  background: radial-gradient(58% 58% at 64% 46%, rgba(46, 206, 124, .22), rgba(30, 151, 214, .18) 46%, rgba(30, 151, 214, 0) 74%);
  filter: blur(22px);
}
.map-card {
  --pad: 15px; --num: 34px;
  position: relative; z-index: 1; container-type: inline-size;
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 44px 96px -54px rgba(22, 33, 46, .55), 0 8px 24px -16px rgba(22, 33, 46, .18);
  padding: clamp(18px, 2vw, 24px);
}
.map-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.map-brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.map-logo img { height: 27px; width: auto; }
.map-brand .brand-name { font-size: 15.5px; }
.map-brand .brand-name span { color: var(--muted-2); }
.map-label {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}

.stages { display: flex; flex-direction: column; gap: 18px; }
.stage {
  position: relative;
  display: grid; grid-template-columns: var(--num) minmax(0, 1fr) clamp(56px, 22%, 112px); align-items: center; gap: 14px;
  padding: 13px var(--pad); background: #fff; border: 1px solid var(--line); border-radius: 14px;
}
/* flow arrow between consecutive stages, centred under the number badge */
.stage + .stage::before {
  content: ""; position: absolute; top: -16px; left: calc(var(--pad) + var(--num) / 2 - 7px);
  width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1.5v9M3.2 7 7 10.8 10.8 7' fill='none' stroke='%239AA6B0' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.stage-num {
  width: var(--num); height: var(--num); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: #F1F4F6; color: var(--muted);
  font-family: var(--mono); font-size: 12.5px; font-weight: 600;
}
.stage-text { display: flex; flex-direction: column; min-width: 0; }
.stage-name { font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; line-height: 1.3; }
.stage-desc { font-size: 12px; color: var(--muted-2); line-height: 1.4; margin-top: 2px; }
.meter { height: 6px; border-radius: 999px; background: #EDF1F4; overflow: hidden; }
.meter i { display: block; height: 100%; width: calc(var(--score) * 100%); border-radius: inherit; background: linear-gradient(90deg, #27C97B, #1BBDB0); }

.stage.is-bottleneck {
  border: 1.5px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(120deg, #2ECE7C, #1BBDB0 50%, #1E93D6) border-box;
  box-shadow: 0 0 0 5px rgba(46, 206, 124, .10), 0 18px 40px -22px rgba(30, 151, 214, .55);
}
.is-bottleneck .stage-num { background: var(--grad); color: #fff; box-shadow: 0 6px 14px -6px rgba(30, 151, 214, .6); }
.is-bottleneck .meter { background: rgba(30, 151, 214, .12); }
.is-bottleneck .meter i { background: linear-gradient(90deg, #1E93D6, #1BBDB0); }
.bottleneck-tag {
  position: absolute; top: -12px; right: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--ink); color: #fff; border-radius: 999px; padding: 5px 11px 5px 9px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.3;
  box-shadow: 0 8px 18px -8px rgba(22, 33, 46, .6); white-space: nowrap;
}
.bottleneck-tag .pulse { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #2ECE7C; flex: none; }
.bottleneck-tag .pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #2ECE7C;
  animation: ssPing 1.8s ease-out infinite;
}
.map-banner {
  margin-top: 18px; display: flex; align-items: center; gap: 11px;
  background: rgba(46, 206, 124, .10); border: 1px solid rgba(46, 206, 124, .22); border-radius: 14px; padding: 13px 16px;
  font-size: 13px; color: var(--ink-2); font-weight: 600; line-height: 1.4;
}
.map-banner .check {
  width: 22px; height: 22px; flex: none; border-radius: 50%;
  background: linear-gradient(120deg, #2ECE7C, #15B07A); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 12px;
}

@container (max-width: 420px) {
  .stages { gap: 16px; }
  .stage { --pad: 12px; --num: 30px; gap: 11px; padding-top: 12px; padding-bottom: 12px; grid-template-columns: var(--num) minmax(0, 1fr) 52px; }
  .map-card .stage-num { font-size: 11.5px; border-radius: 9px; }
  .stage-name { font-size: 14px; }
  .stage-desc { font-size: 11.5px; }
  .stage.is-bottleneck { padding-top: 22px; }
  .bottleneck-tag { right: 10px; font-size: 9.5px; letter-spacing: .1em; }
  .map-brand .brand-name span { display: none; }
}

/* Intro animation (brand mark draws in, then hands off to the card's logo) */
.intro { display: none; }
.js .is-playing .intro {
  position: absolute; inset: 0; z-index: 6; display: flex; align-items: center; justify-content: center;
  pointer-events: none; will-change: transform, opacity;
}
.intro-mark { position: relative; width: 46%; max-width: 220px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.intro-spin {
  position: absolute; inset: -20%; border-radius: 50%; opacity: .9; filter: blur(15px);
  background: conic-gradient(from 0deg, rgba(46, 206, 124, 0), rgba(46, 206, 124, .40), rgba(30, 151, 214, .40), rgba(46, 206, 124, 0));
  animation: ssSpin 3.2s linear infinite;
}
.intro-ring { position: absolute; inset: 4%; border-radius: 50%; border: 2px solid rgba(46, 206, 124, .55); animation: ssRing 1.7s ease-out 1.95s 2; }
.intro svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.intro path {
  stroke-dasharray: 300; stroke-dashoffset: 300; filter: drop-shadow(0 0 7px rgba(40, 200, 150, .6));
  animation: ssDraw 1.1s cubic-bezier(.55, 0, .25, 1) .2s forwards, ssInfFade 1.8s ease .35s forwards;
}
.intro img {
  position: relative; width: 70%; height: auto; opacity: 0; transform: scale(.55);
  filter: drop-shadow(0 6px 16px rgba(40, 200, 150, .42));
  animation: ssPop .85s cubic-bezier(.2, .75, .25, 1) 1.3s forwards;
}

/* Card assembly states (only when JS runs; without JS everything is shown as-is) */
.js .map-card { opacity: 0; transform: scale(.965) translateY(16px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.js .map-logo { opacity: 0; transition: opacity .5s ease .43s; }
.js .stage { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.js .meter i { width: 0; transition: width 1s cubic-bezier(.5, 0, .2, 1); }
.js .bottleneck-tag { opacity: 0; transform: translateY(5px) scale(.92); transition: opacity .45s ease 1.3s, transform .45s cubic-bezier(.2, .75, .25, 1.2) 1.3s; }
.js .stage.is-bottleneck { box-shadow: 0 0 0 0 rgba(46, 206, 124, 0), 0 18px 40px -22px rgba(30, 151, 214, 0); transition: opacity .55s ease, transform .55s ease, box-shadow .6s ease 1.15s; }
.js .map-banner { opacity: 0; transform: translateY(10px); transition: opacity .6s ease 1.5s, transform .6s ease 1.5s; }

.js .is-assembled .map-card { opacity: 1; transform: none; }
.js .is-assembled .map-logo { opacity: 1; }
.js .is-assembled .stage { opacity: 1; transform: none; }
.js .is-assembled .stage:nth-child(1) { transition-delay: .26s; }
.js .is-assembled .stage:nth-child(2) { transition-delay: .40s; }
.js .is-assembled .stage:nth-child(3) { transition-delay: .54s; }
.js .is-assembled .stage:nth-child(4) { transition-delay: .68s; }
.js .is-assembled .stage.is-bottleneck { transition-delay: .40s, .40s, 1.15s; box-shadow: 0 0 0 5px rgba(46, 206, 124, .10), 0 18px 40px -22px rgba(30, 151, 214, .55); }
.js .is-assembled .meter i { width: calc(var(--score) * 100%); }
.js .is-assembled .stage:nth-child(1) .meter i { transition-delay: .55s; }
.js .is-assembled .stage:nth-child(2) .meter i { transition-delay: .69s; }
.js .is-assembled .stage:nth-child(3) .meter i { transition-delay: .83s; }
.js .is-assembled .stage:nth-child(4) .meter i { transition-delay: .97s; }
.js .is-assembled .bottleneck-tag { opacity: 1; transform: none; }
.js .is-assembled .map-banner { opacity: 1; transform: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 118px) 0; scroll-margin-top: 64px; }
.section-white { background: #fff; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { max-width: 720px; }
.section-head.center { text-align: center; margin: 0 auto; }

/* Problem */
.pitfalls {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-top: 40px;
}
.pitfall { background: #fff; padding: 24px 26px; display: flex; gap: 16px; align-items: flex-start; }
.pitfall-x {
  width: 30px; height: 30px; flex: none; border-radius: 9px; background: #F1F4F6; color: #A6B0BA;
  display: flex; align-items: center; justify-content: center;
}
.pitfall p { font-size: 16px; line-height: 1.55; color: var(--ink-2); font-weight: 600; }
.pitfall p span { color: var(--body-2); font-weight: 500; }
.statement {
  font-size: clamp(19px, 2vw, 24px); line-height: 1.45; font-weight: 600; color: var(--ink);
  margin-top: 40px; max-width: 820px; letter-spacing: -.01em; text-wrap: pretty;
}

/* Four stages */
.stage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.stage-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(22px, 2.6vw, 30px); display: flex; flex-direction: column; gap: 22px;
  box-shadow: 0 24px 50px -44px rgba(22, 33, 46, .45);
}
.stage-card-head { display: flex; align-items: center; gap: 14px; }
.num-badge {
  width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--grad); color: #fff;
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.stage-card h3 { font-size: 22px; font-weight: 800; letter-spacing: -.015em; color: var(--ink); line-height: 1.2; }
.stage-tagline { font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.stage-facts { display: flex; flex-direction: column; gap: 18px; flex: 1; }
.stage-facts dt {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.stage-facts dd { font-size: 15px; line-height: 1.62; color: var(--body); }
.moves {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px;
  background: rgba(46, 206, 124, .08); border: 1px solid rgba(46, 206, 124, .22); border-radius: 12px; padding: 13px 16px;
}
.moves-label { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.moves-value { font-size: 15px; font-weight: 700; color: var(--ink-2); }
@media (max-width: 860px) { .stage-grid { grid-template-columns: 1fr; } }

/* Process */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 18px; margin-top: 44px; }
.step { background: var(--bg); border: 1px solid rgba(22, 33, 46, .07); border-radius: 18px; padding: 26px 22px; display: flex; flex-direction: column; }
.step-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.step-num {
  width: 30px; height: 30px; flex: none; border-radius: 9px; background: var(--grad); color: #fff;
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.step-line { height: 1px; flex: 1; background: linear-gradient(90deg, rgba(30, 151, 214, .4), rgba(30, 151, 214, 0)); }
.step h3 { font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; line-height: 1.3; }
.step-tag {
  align-self: flex-start; margin-top: 10px;
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal); background: #fff; border: 1px solid rgba(21, 154, 143, .25); padding: 4px 10px; border-radius: 999px;
}
.step-desc { font-size: 14.5px; line-height: 1.6; color: var(--body-2); margin-top: 10px; }

/* What we build */
.build-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.build-card {
  grid-column: span 2; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px;
}
.build-card:nth-child(n+4) { grid-column: span 3; }
.build-icon {
  width: 40px; height: 40px; border-radius: 11px; background: rgba(46, 206, 124, .10);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.build-card h3 { font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.build-card p { font-size: 14.5px; line-height: 1.6; color: var(--body-2); margin-top: 8px; }
@media (max-width: 960px) {
  .build-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .build-card, .build-card:nth-child(n+4) { grid-column: auto; }
  .build-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .build-grid { grid-template-columns: 1fr; }
  .build-card:last-child { grid-column: auto; }
}

/* Fit */
.fit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 22px; margin-top: 40px; }
.fit-card { border-radius: 20px; padding: clamp(24px, 3vw, 32px); }
.fit-good { background: #fff; border: 1px solid rgba(46, 206, 124, .28); box-shadow: 0 24px 50px -38px rgba(40, 180, 120, .5); }
.fit-bad { background: var(--bg); border: 1px solid var(--line); }
.fit-head { display: flex; align-items: center; gap: 11px; margin-bottom: 22px; }
.fit-badge {
  width: 30px; height: 30px; flex: none; border-radius: 9px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.fit-good .fit-badge { background: linear-gradient(120deg, #2ECE7C, #1BBDB0); color: #fff; }
.fit-bad .fit-badge { background: #E3E8EC; color: var(--muted-2); }
.fit-card h3 { font-size: 18px; font-weight: 700; color: var(--ink); }
.fit-bad h3 { color: var(--body-2); }
.fit-card li { display: flex; gap: 13px; padding: 13px 0; border-top: 1px solid rgba(22, 33, 46, .07); font-size: 15px; line-height: 1.5; color: var(--ink-3); }
.fit-card li::before { content: "\2713"; content: "\2713" / ""; color: #1BAE7A; font-weight: 800; flex: none; }
.fit-bad li { color: #6A7682; }
.fit-bad li::before { content: "\2013"; content: "\2013" / ""; color: #A6B0BA; }

/* Investment */
.offer-card {
  position: relative; border-radius: 24px; overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 30px 70px -40px rgba(22, 33, 46, .35);
}
.offer-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #2ECE7C, #1BBDB0, #1E93D6); }
.offer-inner { padding: clamp(28px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px, 4vw, 64px); }
.offer-copy { flex: 1 1 360px; min-width: 0; }
.price-tiles { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.price-tile {
  background: var(--bg); border: 1px solid rgba(22, 33, 46, .07); border-radius: 16px; padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px;
}
.price-label { font-size: 14.5px; font-weight: 600; color: var(--body-2); }
.price-value { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.price-free { justify-content: flex-start; flex-wrap: nowrap; gap: 14px; }
.price-free .check {
  width: 34px; height: 34px; flex: none; border-radius: 9px; background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px;
}
.price-free span:last-child { font-size: 15.5px; font-weight: 700; color: var(--ink); line-height: 1.45; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 44px; }
.faq { background: #fff; border: 1px solid rgba(22, 33, 46, .09); border-radius: 14px; transition: border-color .3s ease; }
.faq[open] { border-color: rgba(30, 151, 214, .32); }
.faq summary {
  list-style: none; cursor: pointer; padding: 21px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-size: 16.5px; font-weight: 700; color: var(--ink); border-radius: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 26px; height: 26px; flex: none; border-radius: 7px; background: #F1F4F6; color: #1E97D6;
  display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 500; line-height: 1;
}
.faq-icon span { display: block; transition: transform .3s var(--ease); }
.faq[open] .faq-icon { background: var(--grad); color: #fff; }
.faq[open] .faq-icon span { transform: rotate(45deg); }
.faq-a { padding: 0 24px 22px; font-size: 15.5px; line-height: 1.62; color: #52616D; }
@supports selector(::details-content) {
  :root { interpolate-size: allow-keywords; }
  .faq::details-content { height: 0; overflow: clip; transition: height .4s var(--ease), content-visibility .4s allow-discrete; }
  .faq[open]::details-content { height: auto; }
}

/* Final CTA */
.cta { position: relative; overflow: hidden; background: var(--ink); scroll-margin-top: 64px; }
.cta-glow {
  position: absolute; top: -15%; left: 50%; transform: translateX(-50%); width: 700px; height: 700px; max-width: none;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(30, 151, 214, .22), rgba(46, 206, 124, .10) 40%, rgba(22, 33, 46, 0) 70%);
}
.cta-inner { position: relative; max-width: 840px; margin: 0 auto; padding: clamp(72px, 10vw, 130px) 24px; text-align: center; }
.cta-logo { height: 50px; width: auto; margin: 0 auto 28px; filter: drop-shadow(0 6px 18px rgba(46, 206, 124, .35)); }
.cta h2 { font-size: clamp(28px, 4vw, 46px); line-height: 1.12; color: #fff; }
.cta h2 .serif-accent {
  background: var(--grad-text-dark); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; padding-right: .06em;
}
.cta-text { font-size: clamp(16px, 1.5vw, 18px); line-height: 1.6; color: #B4C0CA; max-width: 520px; margin: 20px auto 0; text-wrap: pretty; }
.cta-actions { margin-top: 36px; }
@media (max-width: 380px) { .btn-light { padding: 16px 18px; font-size: 16px; } }
@media (max-width: 340px) { .btn-lg, .btn-light { white-space: normal; text-align: center; } }

/* Footer */
.site-footer { background: #0F1822; color: var(--muted); }
.footer-top {
  max-width: 1180px; margin: 0 auto; padding: 48px 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.site-footer .brand-logo { height: 27px; }
.site-footer .brand-name { font-size: 15px; color: #E6EBEF; }
.footer-tagline { font-size: 13px; line-height: 1.6; max-width: 420px; }
.footer-bottom {
  max-width: 1180px; margin: 0 auto; padding: 0 24px 32px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
}
.footer-bottom a { color: var(--muted-3); text-decoration: none; }
.footer-bottom a:hover { color: #E6EBEF; }

/* ---------- Scroll reveal (JS only) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes ssDraw { to { stroke-dashoffset: 0; } }
@keyframes ssInfFade { 0%, 52% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ssRing { 0% { transform: scale(.45); opacity: .55; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes ssSpin { to { transform: rotate(360deg); } }
@keyframes ssPop { 0% { transform: scale(.5); opacity: 0; } 55% { opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes ssPing { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.6); opacity: 0; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
