/* FiberForge marketing site
   Palette from the brand kit (brand/index.html). Type: Inter. */

:root {
  --ink: #0E1622;
  --ink-2: #142031;
  --ink-3: #1C2A3E;
  --ink-line: rgba(232, 238, 245, .12);
  --paper: #F6F3EE;
  --paper-2: #EFEAE2;
  --surface: #FFFFFF;
  --line: #E3DDD3;
  --frost: #E8EEF5;
  --frost-dim: #A9B4C3;
  --text: #0E1622;
  --muted: #535C69;        /* 6.3:1 on paper */
  --ember: #FF5A1F;
  --amber: #FFB23F;
  --ember-text: #B93A0B;   /* ember tuned for text on light: 5.4:1 on paper */
  --ok: #1F8A5B;
  --glow: linear-gradient(90deg, var(--ember), var(--amber));

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(14, 22, 34, .06), 0 2px 6px rgba(14, 22, 34, .05);
  --shadow: 0 1px 2px rgba(14, 22, 34, .06), 0 12px 32px -8px rgba(14, 22, 34, .18), 0 40px 80px -24px rgba(14, 22, 34, .22);
  --shadow-dark: 0 0 0 1px rgba(232, 238, 245, .08), 0 30px 80px -20px rgba(0, 0, 0, .65), 0 0 120px -30px rgba(255, 90, 31, .35);

  --wrap: 1200px;
  --gutter: 24px;
  --sec: clamp(80px, 11vw, 140px);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { text-wrap: balance; margin: 0; line-height: 1.1; letter-spacing: -.025em; font-weight: 800; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--amber); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ember-text);
  margin-bottom: 18px;
}
.eyebrow::before {   /* the lit strand */
  content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--glow);
}
.dark .eyebrow { color: var(--amber); }
.h2 { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.035em; }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); line-height: 1.55; max-width: 640px; }
.dark .lede { color: var(--frost-dim); }
.sec-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.sec-head .h2 { margin-bottom: 20px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .lede { margin-left: auto; margin-right: auto; }
.lit {
  background: linear-gradient(90deg, var(--ember) 10%, var(--amber) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font: 650 16px/1 var(--font); letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .2s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ember); color: var(--ink); box-shadow: 0 8px 24px -8px rgba(255, 90, 31, .65); }
.btn-primary:hover { background: #FF6C35; box-shadow: 0 12px 28px -8px rgba(255, 90, 31, .75); }
.btn-ghost-dark { color: var(--frost); border-color: rgba(232, 238, 245, .22); }
.btn-ghost-dark:hover { border-color: rgba(232, 238, 245, .5); background: rgba(232, 238, 245, .05); }
.btn-ghost { color: var(--ink); border-color: #CFC7BB; background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 22, 34, .82);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--ink-line);
  color: var(--frost);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; flex: none; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a {
  color: var(--frost-dim); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 8px 12px; border-radius: 8px; transition: color .15s, background-color .15s;
}
.nav a:hover { color: #fff; background: rgba(232, 238, 245, .06); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.login { color: var(--frost); text-decoration: none; font-weight: 550; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.login:hover { background: rgba(232, 238, 245, .07); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  background: var(--ink); color: var(--frost);
  padding: clamp(64px, 9vw, 112px) 0 0;
  overflow: hidden;
}
.hero::before {          /* faint survey grid */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(232, 238, 245, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 238, 245, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero::after {           /* ember glow behind the product */
  content: ""; position: absolute; left: 50%; bottom: -10%; z-index: -1;
  width: min(1400px, 140vw); height: 70%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 60%, rgba(255, 90, 31, .30), rgba(255, 178, 63, .08) 40%, transparent 68%);
}
.hero-copy { text-align: center; max-width: 920px; margin: 0 auto; }
.hero .eyebrow { color: var(--amber); }
.hero h1 {
  font-size: clamp(42px, 7.2vw, 88px);
  line-height: 1.02; letter-spacing: -.045em; color: #fff;
  margin-bottom: 26px;
}
.hero h1 .lit { display: inline-block; padding-bottom: .06em; }
.hero .lede { margin: 0 auto 36px; max-width: 700px; color: #B9C3D0; font-size: clamp(18px, 1.8vw, 21px); }
.hero-ctas { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-note { margin: 22px 0 0; font-size: 14px; color: #8F9BAC; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); opacity: .8; }

/* Splice motif: three strands in, one lit strand out */
.splice-line { position: relative; margin: clamp(48px, 6vw, 72px) auto 0; max-width: 1100px; height: 70px; }
.splice-line svg { width: 100%; height: 100%; overflow: visible; }
.splice-line .pulse { stroke-dasharray: 60 940; stroke-dashoffset: 1000; animation: pulse 3.6s cubic-bezier(.5, 0, .3, 1) infinite; }
@keyframes pulse { to { stroke-dashoffset: 0; } }

/* Product frame */
.stage { position: relative; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: #0A111B; box-shadow: var(--shadow);
  border: 1px solid rgba(14, 22, 34, .08);
}
.frame-bar {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px;
  background: #F3F1EC; border-bottom: 1px solid #E1DCD2;
}
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: #D8D2C7; }
.frame-bar .url {
  margin: 0 auto; transform: translateX(-24px);
  font: 500 12.5px/1 var(--font); color: #6B7280; background: #fff; border: 1px solid #E5E0D7;
  border-radius: 7px; padding: 6px 14px; display: inline-flex; align-items: center; gap: 7px;
}
.frame-bar .url::before { content: ""; width: 9px; height: 10px; border-radius: 2px; border: 1.5px solid #9AA1AB; border-top-width: 3px; box-sizing: border-box; }
.frame .media { aspect-ratio: 1748 / 966; background: #EDEAE3; position: relative; }
.frame .media img, .frame .media video { width: 100%; height: 100%; object-fit: cover; }
.frame .media video { position: absolute; inset: 0; }
.frame-dark { box-shadow: var(--shadow-dark); border-color: rgba(232, 238, 245, .1); }
.hero .stage { margin-top: 8px; }
.hero .frame { margin-bottom: -1px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

.chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(14, 22, 34, .92); color: #fff;
  border: 1px solid rgba(232, 238, 245, .14);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 13.5px; font-weight: 550; line-height: 1.25; letter-spacing: -.005em;
  padding: 10px 14px; border-radius: 12px;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5);
}
.chip small { display: block; color: var(--frost-dim); font-weight: 450; font-size: 12px; }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 178, 63, .2); flex: none; }
.chip .hex { width: 22px; height: 22px; flex: none; }
.hero .chip.c1 { left: -10px; top: 24%; }
.hero .chip.c2 { right: -6px; top: 58%; }

/* ---------- Audience strip ---------- */
.strip { background: var(--ink-2); color: var(--frost-dim); border-top: 1px solid var(--ink-line); }
.strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 26px; font-size: 14.5px; }
.strip b { color: #fff; font-weight: 600; }
.strip .formats { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.strip .formats span { font: 500 12.5px/1 var(--mono); color: var(--frost); border: 1px solid rgba(232, 238, 245, .16); border-radius: 6px; padding: 6px 8px; }
.strip .formats em { font-style: normal; margin-right: 6px; }

/* ---------- Sections ---------- */
section { padding: var(--sec) 0; position: relative; }
.dark { background: var(--ink); color: var(--frost); }
.dark .h2, .dark h3 { color: #fff; }
.alt { background: var(--paper-2); }

/* Origin + cost */
.origin-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.origin .story p { color: var(--muted); font-size: 18px; max-width: 540px; }
.origin .story .h2 { margin-bottom: 26px; }
.origin .sig { display: flex; align-items: center; gap: 14px; margin-top: 30px; color: var(--muted); font-size: 15px; }
.origin .sig img { width: 40px; height: 40px; }
.origin .sig b { color: var(--ink); display: block; }

.cost {
  background: var(--surface); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 40px);
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.cost h3 { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 26px; }
.cost-row { margin-bottom: 30px; }
.cost-row:last-of-type { margin-bottom: 8px; }
.cost-label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 12px; }
.cost-label b { font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.cost-label .num { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.035em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cost-label .num small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.bar { display: flex; height: 44px; border-radius: 10px; overflow: hidden; background: var(--paper); }
.bar span {
  display: flex; align-items: center; padding: 0 12px; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden;
}
.bar .seg-a { background: #2B3748; color: #fff; }
.bar .seg-b { background: #4A5568; color: #fff; border-left: 2px solid #fff; }
.bar .seg-ff { background: var(--glow); color: var(--ink); }
.cost-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.cost-foot div { font-size: 14px; color: var(--muted); }
.cost-foot strong { display: block; font-size: 28px; letter-spacing: -.035em; color: var(--ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.cost-foot .save strong { color: var(--ember-text); }
.cost-note { font-size: 13.5px; color: var(--muted); margin: 18px 0 0; }

/* Features: alternating rows */
.feature { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.feature + .feature { margin-top: clamp(88px, 11vw, 150px); }
.feature.flip { grid-template-columns: 1.35fr 1fr; }
.feature.flip .feature-copy { order: 2; }
.feature-copy h3 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -.03em; margin-bottom: 18px; }
.feature-copy > p { color: var(--muted); font-size: 18px; }
.tag {
  display: inline-block; font: 700 12px/1 var(--mono); letter-spacing: .06em; color: var(--ember-text);
  background: #FFE9DF; border-radius: 6px; padding: 6px 8px; margin-bottom: 18px;
}
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.5; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: #FFE9DF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.5L13 6.4' fill='none' stroke='%23B93A0B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}
.ticks li b { font-weight: 650; }
.feature-visual { position: relative; }
.feature-visual .chip { font-size: 13px; }
.feature-visual .chip.tl { left: -18px; top: 26px; }
.feature-visual .chip.br { right: -18px; bottom: 28px; }
.inset {
  position: absolute; right: -28px; bottom: -36px; width: 52%;
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 24px 50px -16px rgba(14, 22, 34, .35);
  background: #fff;
}
.inset img { width: 100%; height: auto; }
.caveat { margin-top: 22px; font-size: 14px; color: var(--muted); border-left: 3px solid var(--line); padding: 2px 0 2px 14px; }

/* Pole illustration card */
.pole-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.pole-card .pc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 14px; }
.pole-card .pc-head b { font-weight: 700; }
.pole-card .pc-head .pass { font: 650 12.5px/1 var(--font); color: var(--ok); background: #E3F4EC; border-radius: 999px; padding: 6px 10px; white-space: nowrap; }
.pole-card svg { width: 100%; height: auto; }
.pole-card .pc-foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.pole-card .pc-foot div { padding: 14px 22px; font-size: 12.5px; color: var(--muted); }
.pole-card .pc-foot div + div { border-left: 1px solid var(--line); }
.pole-card .pc-foot b { display: block; color: var(--ink); font-size: 17px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.illus-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; text-align: right; }

/* More capabilities grid */
.more { margin-top: clamp(96px, 12vw, 160px); }
.more-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.more-head h3 { font-size: clamp(26px, 2.8vw, 34px); letter-spacing: -.03em; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: #D6CEC1; }
.card .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--ink); display: grid; place-items: center; margin-bottom: 18px; }
.card .ico svg { width: 22px; height: 22px; }
.card h4 { font-size: 17px; letter-spacing: -.015em; margin-bottom: 8px; font-weight: 700; }
.card p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.5; }
.card.soon { background: transparent; border-style: dashed; border-color: #CDBFAE; }
.card.soon .ico { background: transparent; border: 1.5px dashed #B6A895; }
.pill-soon { display: inline-block; font: 700 11px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--ember-text); margin-left: 6px; vertical-align: 2px; }

/* Videos */
.videos .vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vcard { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.vcard video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.vcard .vmeta { padding: 20px 22px 22px; }
.vcard h3 { font-size: 19px; letter-spacing: -.02em; margin-bottom: 6px; }
.vcard p { color: var(--frost-dim); font-size: 15px; margin: 0; }
.vcard .len { font: 600 12px/1 var(--mono); color: var(--amber); margin-bottom: 10px; display: block; letter-spacing: .04em; }
.vstack { display: contents; }

/* Compare */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; font-size: 15px; }
.compare-table th, .compare-table td { text-align: left; vertical-align: top; padding: 20px 22px; border-bottom: 1px solid var(--line); line-height: 1.5; }
.compare-table thead th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; background: var(--paper); padding-top: 16px; padding-bottom: 16px; }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table tbody th { width: 18%; font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.compare-table tbody th small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; margin-top: 3px; letter-spacing: 0; }
.compare-table td { color: #2A3340; }
.compare-table td.fit { color: var(--muted); }
.compare-table tr.ff { background: linear-gradient(90deg, rgba(255, 90, 31, .07), rgba(255, 178, 63, .04)); }
.compare-table tr.ff th { color: var(--ember-text); }
.compare-foot { font-size: 13.5px; color: var(--muted); margin-top: 18px; max-width: 860px; }

/* Switch steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before {   /* strand connecting the steps */
  content: ""; position: absolute; left: 24px; right: 24px; top: 23px; height: 2px;
  background: linear-gradient(90deg, rgba(232, 238, 245, .18), rgba(232, 238, 245, .18) 70%, var(--ember) 86%, var(--amber));
}
.steps li { counter-increment: s; position: relative; }
.steps li::before {
  content: counter(s, decimal-leading-zero); position: relative; z-index: 1;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink-3); border: 1px solid rgba(232, 238, 245, .2); color: #fff; font: 700 14px/1 var(--mono);
  margin-bottom: 24px;
}
.steps li:last-child::before { background: var(--glow); color: var(--ink); border-color: transparent; }
.steps h3 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 8px; }
.steps p { color: var(--frost-dim); font-size: 15.5px; margin: 0; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px 30px;
}
.plan h3 { font-size: 22px; letter-spacing: -.02em; }
.plan .who { color: var(--muted); font-size: 15px; margin: 6px 0 24px; min-height: 2.9em; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.plan .price b { font-size: 48px; font-weight: 800; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price span { color: var(--muted); font-size: 16px; }
.plan .billing { font-size: 13.5px; color: var(--muted); margin-bottom: 26px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 11px; align-content: start; font-size: 15.5px; flex: 1; }
.plan li { position: relative; padding-left: 26px; line-height: 1.45; }
.plan li::before { content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 2px; border-radius: 2px; background: var(--glow); }
.plan li.lead { font-weight: 650; }
.plan li .soon { white-space: nowrap; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ember-text); margin-left: 4px; }
.plan .btn { width: 100%; }
.plan.pick li .soon { color: var(--amber); }
.plan.pick { background: var(--ink); color: var(--frost); border-color: var(--ink); box-shadow: var(--shadow); }
.plan.pick h3, .plan.pick .price b { color: #fff; }
.plan.pick .who, .plan.pick .price span, .plan.pick .billing { color: var(--frost-dim); }
.plan.pick::before { content: ""; position: absolute; left: 30px; right: 30px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--glow); }
.badge { position: absolute; top: 30px; right: 28px; font: 700 11.5px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--amber); padding: 6px 9px; border-radius: 999px; }
.onboard {
  margin-top: 20px; display: flex; align-items: center; gap: 20px 32px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 30px;
}
.onboard .ob-title { font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.onboard .ob-title small { display: block; font-weight: 500; color: var(--muted); font-size: 15px; letter-spacing: 0; }
.onboard .ob-price { margin-left: auto; font-weight: 650; font-size: 15px; color: var(--ember-text); white-space: nowrap; }
.price-foot { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; margin-top: 30px; font-size: 14.5px; color: var(--muted); }
.price-foot span { display: inline-flex; align-items: center; gap: 8px; }
.price-foot span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 22px 0; font-size: 18px; font-weight: 650; letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background:
    linear-gradient(var(--ink), var(--ink)) center/11px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center/2px 11px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: -6px 0 24px; max-width: 640px; font-size: 16.5px; }

/* Demo */
.demo { overflow: hidden; isolation: isolate; }
.demo::after { content: ""; position: absolute; right: -20%; top: -30%; width: 80%; height: 120%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 90, 31, .22), transparent); }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.demo .points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; color: #C9D2DD; font-size: 16px; }
.demo .points li { display: flex; gap: 12px; }
.demo .points li::before { content: ""; flex: none; margin-top: 10px; width: 16px; height: 2px; background: var(--glow); border-radius: 2px; }
.demo .already { margin-top: 32px; color: var(--frost-dim); font-size: 15px; }
.demo .already a { color: #fff; }
.form { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 36px); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: #C9D2DD; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font: 16px/1.4 var(--font); color: #fff;
  background: rgba(232, 238, 245, .05); border: 1px solid rgba(232, 238, 245, .16); border-radius: 10px;
  padding: 12px 14px; transition: border-color .15s, background-color .15s;
}
.field textarea { min-height: 92px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23A9B4C3' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); background-color: rgba(232, 238, 245, .08); }
.form .btn { width: 100%; margin-top: 6px; }
.form-msg { font-size: 13.5px; color: var(--frost-dim); margin: 14px 0 0; text-align: center; }
.form-msg.err { color: #FFB4A0; }

/* Footer */
.site-footer { background: #0A111B; color: var(--frost-dim); padding: 56px 0 40px; font-size: 14.5px; }
.footer-top { display: flex; justify-content: space-between; align-items: start; gap: 32px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--ink-line); }
.footer-top .logo img { height: 28px; }
.footer-top p { margin: 14px 0 0; max-width: 340px; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-links h4 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; font-weight: 700; }
.footer-links a { display: block; text-decoration: none; padding: 4px 0; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: 13.5px; }

/* No transitions until the page has loaded (JS adds .ready), so nothing animates from browser defaults on first paint. */
html:not(.ready) *, html:not(.ready) *::before, html:not(.ready) *::after { transition: none !important; }

/* Reveal (JS adds .js to <html>; without JS everything is visible) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
}
@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .origin-grid, .feature, .feature.flip, .faq-grid, .demo-grid, .videos .vgrid { grid-template-columns: 1fr; }
  .feature.flip .feature-copy { order: 0; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan .who { min-height: 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .steps::before { display: none; }
  .inset { right: -8px; bottom: -28px; width: 58%; }
  .feature-visual .chip.tl { left: 8px; }
  .feature-visual .chip.br { right: 8px; }
  .hero .chip.c1 { left: 12px; top: 14%; }
  .hero .chip.c2 { right: 12px; top: auto; bottom: 10%; }

  /* comparison table becomes cards */
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: 100%; }
  .compare-table { background: transparent; border: 0; border-radius: 0; }
  .compare-table thead { display: none; }
  .compare-table tbody tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
  .compare-table tbody th { width: 100%; border-bottom: 1px solid var(--line); }
  .compare-table td { border-bottom: 0; padding-top: 12px; padding-bottom: 4px; }
  .compare-table td:last-child { padding-bottom: 20px; }
  .compare-table td::before { content: attr(data-label); display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .site-header .wrap { height: 62px; gap: 12px; }
  .logo img { height: 24px; }
  .login { padding: 8px 6px; font-size: 14px; }
  .header-actions .btn { height: 38px; padding: 0 14px; font-size: 14px; }
  .hero-ctas .btn { width: 100%; }
  .grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form .two { grid-template-columns: 1fr; gap: 0; }
  .cost-foot { grid-template-columns: 1fr; }
  .bar span { font-size: 11.5px; padding: 0 8px; }
  .frame-bar { height: 28px; }
  .frame-bar i { width: 8px; height: 8px; }
  .frame-bar .url { font-size: 11px; padding: 4px 10px; transform: none; }
  .chip { font-size: 12px; padding: 8px 10px; }
  .chip small { display: none; }
  .hero .chip.c2 { display: none; }
  .inset { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 14px; }
  .pole-card .pc-foot div { padding: 12px 12px; }
  .pole-card .pc-foot b { font-size: 15px; }
  .onboard .ob-price { margin-left: 0; white-space: normal; }
  .splice-line { height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* longer tagline (design, fielding & as-built): keep it tidy on phones */
@media (max-width: 520px) {
  .hero .eyebrow { font-size: 11px; letter-spacing: .08em; text-align: left; max-width: 100%; }
}
