/* Kolabaja — reverse-engineered from a dark "framed canvas" SaaS layout:
   every section is a rounded panel floating on a dark backdrop, glass chips
   with hairline borders, one gradient-highlighted word per headline.
   Colour mapped to our theme: warm ink + paper, Piksel red as the only accent. */
:root {
  --bg: #080705;
  --panel: #12110e;
  --panel-2: #191813;
  --chip: rgba(255, 244, 225, 0.04);
  --line: rgba(255, 244, 225, 0.09);
  --line-2: rgba(255, 244, 225, 0.16);
  --text: #f4f0e8;
  --muted: #9a9285;
  --dim: #5f594f;
  --red: #b52a2a;
  --red-hover: #c9332f;
  --red-press: #96211f;
  --red-hot: #e5524a;
  --on-red: #fff4e1;
  --paper: #f6f2ea;
  --paper-2: #ece6da;
  --paper-line: #ddd5c6;
  --ink: #12110e;
  --ink-muted: #6d665b;
  --ok: #7bd88f;
  --warn: #f3c24a;
  --bad: #f07a6a;
  --font: 'General Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
  --r: 28px;
  --gutter: clamp(16px, 3vw, 28px);
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background:
    var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* faint star field, like the video backdrop */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255, 240, 210, 0.35), transparent 60%),
    radial-gradient(1px 1px at 78% 14%, rgba(255, 240, 210, 0.25), transparent 60%),
    radial-gradient(1px 1px at 33% 71%, rgba(255, 240, 210, 0.2), transparent 60%),
    radial-gradient(1px 1px at 91% 63%, rgba(255, 240, 210, 0.3), transparent 60%),
    radial-gradient(1px 1px at 55% 41%, rgba(255, 240, 210, 0.18), transparent 60%),
    radial-gradient(1px 1px at 6% 88%, rgba(255, 240, 210, 0.25), transparent 60%);
  z-index: -1;
}

h1,
h2,
h3 {
  text-wrap: balance;
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

h2 {
  font-size: clamp(32px, 4.6vw, 54px);
}

h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
}

p,
li {
  text-wrap: pretty;
}

p {
  margin: 0 0 1em;
}

/* anchors land below the sticky nav */
section[id],
form[id] {
  scroll-margin-top: 96px;
}

/* numbers line up in columns */
.stats b,
.facts b,
.ring b,
.pillar b,
.mock-row b,
.chart .peak b {
  font-variant-numeric: tabular-nums;
}

:focus-visible {
  outline: 2px solid var(--red-hot);
  outline-offset: 2px;
}

.light :focus-visible {
  outline-color: var(--red);
}

/* visually hidden, still read by screen readers */
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: inherit;
}

/* one highlight everywhere: a solid red, no gradient split across words */
.hl {
  color: var(--red-hot);
}

.light .hl {
  color: var(--red);
}

.dim {
  color: #857e72;
}

.light .dim {
  color: #756e62;
}

.fine {
  font-size: 13px;
  color: var(--muted);
}

.light .fine {
  color: var(--ink-muted);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--red);
  color: var(--on-red);
  padding: 8px 12px;
  border-radius: 8px;
}

/* ------------------------------------------------------------------ */
/* Panels: the framed-canvas look                                      */
/* ------------------------------------------------------------------ */

.panel {
  position: relative;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto 20px;
  border-radius: var(--r);
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}

.panel.light {
  background: var(--paper);
  color: var(--ink);
  border-color: transparent;
}

.panel-in {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 64px);
}

.panel-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
  opacity: 0.45;
}

.light.panel-grid::before {
  background-image:
    linear-gradient(rgba(18, 17, 14, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 17, 14, 0.05) 1px, transparent 1px);
}

.center {
  text-align: center;
}

.center h2,
.center .lede {
  margin-left: auto;
  margin-right: auto;
}

.lede {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--muted);
  max-width: 60ch;
}

.light .lede {
  color: var(--ink-muted);
}

/* chip / pill label: "[icon] Results" */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--chip);
  font-size: 13px;
  color: var(--text);
  margin-bottom: 22px;
}

.light .pill {
  border-color: var(--paper-line);
  background: #fff;
  color: var(--ink);
}

.pill svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

.pill-accent svg {
  stroke: var(--red-hot);
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 6px 6px 6px 18px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255, 244, 225, 0.08), rgba(255, 244, 225, 0.02));
  color: var(--text);
  font: 500 15px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s, transform 0.2s;
}

.btn:hover {
  border-color: var(--red-hot);
}

.btn:active {
  transform: translateY(1px);
}

.btn .arr {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--red);
  color: var(--on-red);
}

.btn .arr svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.btn-plain {
  padding: 6px 18px;
}

.btn-solid {
  padding: 6px 20px;
  background: var(--red);
  color: var(--on-red);
  border-color: transparent;
}

.btn-solid:hover {
  border-color: transparent;
  background: var(--red-hover);
}

.light .btn {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* ------------------------------------------------------------------ */
/* Nav                                                                 */
/* ------------------------------------------------------------------ */

.nav {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 12px auto 12px;
  padding: 10px 10px 10px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(18, 17, 14, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  display: block;
  width: auto;
  height: 30px;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  position: relative;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--red-hot);
  transform: scaleX(0);
  transition: transform 0.25s;
}

.nav-links a:hover,
.nav-links a.on {
  color: var(--text);
}

.nav-links a.on::after {
  transform: scaleX(1);
}

.nav-links .only-sm,
.nav-toggle {
  display: none;
}

.nav-toggle {
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: none;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-actions .lnk {
  padding: 8px 10px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

.nav-actions .lnk:hover {
  color: var(--text);
}

/* "Ajukan pilot" is the only filled button in the nav */
.nav .btn {
  min-height: 40px;
  font-size: 14px;
  background: var(--red);
  color: var(--on-red);
  border-color: transparent;
}

.nav .btn:hover {
  background: var(--red-hover);
}

.nav .btn .arr {
  width: 30px;
  height: 30px;
  background: rgba(26, 18, 6, 0.14);
  box-shadow: none;
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */

.hero {
  min-height: min(860px, calc(100svh - 90px));
  display: flex;
  flex-direction: column;
}

.hero .panel-in {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: clamp(72px, 10vw, 120px);
  padding-bottom: 40px;
}

/* the big arc from below */
.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 22%;
  width: 150%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 220, 170, 0.08);
}

.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -220px;
  width: 900px;
  height: 420px;
  transform: translateX(-50%);
  display: none;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 26px;
}

.kicker .pill {
  margin: 0;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 72px);
  max-width: 22ch;
}

.hero h1 .line {
  display: block;
}

/* The typed line sits in a grid cell sized by an invisible copy of the longest
   phrase (data-sizer), so typing never reflows the page. */
.hero h1 .line.type-line,
.type-line {
  display: grid;
  justify-content: center;
}

.type-line::before {
  content: attr(data-sizer);
  grid-area: 1 / 1;
  visibility: hidden;
}

.type-line .typed {
  grid-area: 1 / 1;
  text-align: center;
}

.caret {
  display: inline-block;
  width: 2px;
  height: 0.9em;
  margin-left: 4px;
  vertical-align: -0.08em;
  background: var(--text);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero .lede {
  margin: 22px auto 32px;
  max-width: 56ch;
  text-align: center;
}

/* one joined control: field and solid button share a single rounded border */
.scan-form {
  display: flex;
  align-items: center;
  gap: 6px;
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.scan-form:focus-within {
  border-color: var(--red-hot);
  box-shadow: 0 0 0 2px rgba(229, 82, 74, 0.35);
}

.scan-form input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font: 500 16px var(--font);
}

.scan-form input:focus {
  outline: none;
}

.scan-form input::placeholder {
  color: rgba(244, 240, 232, 0.36);
  font-weight: 400;
  opacity: 1;
}

/* the brightest element in the hero */
.btn-cta {
  background: var(--red);
  color: var(--on-red);
  border-color: transparent;
  font-weight: 600;
}

.btn-cta:hover {
  background: var(--red-hover);
  border-color: transparent;
}

.btn-cta .arr {
  background: rgba(26, 18, 6, 0.14);
  box-shadow: none;
}

.scan-form .btn {
  min-height: 48px;
  border-radius: 11px;
}

.scan-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
  min-height: 1.6em;
}

.scan-note[data-state='error'] {
  color: var(--bad);
}

/* floating icon tiles */
.floaters {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* decorative tiles live in the outer gutters only; hidden where there is no gutter */
.tile {
  position: absolute;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 244, 225, 0.05), rgba(255, 244, 225, 0.01));
  opacity: 0.55;
  animation: float 7s ease-in-out infinite;
}

.tile svg {
  width: 15px;
  height: 15px;
  stroke: var(--muted);
  stroke-width: 1.6;
  fill: none;
}

.tile:nth-child(1) { left: 3%; top: 16%; animation-delay: -1s; }
.tile:nth-child(2) { left: 6%; top: 32%; animation-delay: -3s; }
.tile:nth-child(3) { left: 3%; top: 48%; animation-delay: -5s; }
.tile:nth-child(4) { right: 3%; top: 16%; animation-delay: -2s; }
.tile:nth-child(5) { right: 6%; top: 32%; animation-delay: -4s; }
.tile:nth-child(6) { right: 3%; top: 48%; animation-delay: -6s; }

@keyframes float {
  50% {
    translate: 0 -10px;
  }
}

/* flow chips: equal-height single-line nodes joined by one dashed connector,
   tags centred on the connector */
.flow {
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: clamp(40px, 6vw, 72px);
}

.flow .node {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 10px 0 8px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(18, 17, 14, 0.75);
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.flow .node b {
  color: var(--text);
  font-weight: 500;
}

.flow .ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
}

.flow .ico svg {
  width: 14px;
  height: 14px;
  stroke: var(--text);
  stroke-width: 1.6;
  fill: none;
}

.flow .wire {
  flex: none;
  position: relative;
  width: 84px;
  height: 46px;
}

.flow .wire::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px dashed var(--line-2);
}

.flow .tag {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 3px 9px;
  border-radius: 7px;
  background: var(--panel-2);
  border: 1px solid var(--line-2);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.flow .tag.alt {
  background: var(--red-hot);
  border-color: transparent;
  color: var(--on-red);
}

.hero-note {
  margin: 20px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* ------------------------------------------------------------------ */
/* Scan result                                                         */
/* ------------------------------------------------------------------ */

.result[hidden] {
  display: none;
}

.result-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.ring {
  --v: 0;
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: conic-gradient(var(--red-hot) calc(var(--v) * 1%), rgba(255, 244, 225, 0.07) 0);
  display: grid;
  place-items: center;
}

.ring::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: var(--panel);
}

.ring span {
  position: relative;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.ring b {
  display: block;
  font-size: 52px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}

.result h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 10px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.pillar {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--chip);
}

.pillar span {
  font-size: 13px;
  color: var(--muted);
}

.pillar b {
  display: block;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.bar {
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 244, 225, 0.08);
  overflow: hidden;
  margin-top: 8px;
}

.bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--red-hot);
  transition: width 0.8s ease;
}

.issues {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.issues li {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  font-size: 14px;
  color: var(--muted);
}

.issues li b {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 4px;
}

.issues li b::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bad);
}

.issues li.warn b::before {
  background: var(--warn);
}

.issues li i {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: auto;
}

.result-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.result-cta p {
  flex: 1 1 280px;
  margin: 0;
  color: var(--muted);
}

/* ------------------------------------------------------------------ */
/* Results: statement + chart + stats                                  */
/* ------------------------------------------------------------------ */

.statement {
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 500;
  max-width: 42ch;
  margin: 0 auto;
}

.chart-card {
  max-width: 820px;
  margin: clamp(40px, 6vw, 64px) auto 0;
  text-align: left;
}

.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.chart-head h3 {
  font-size: 17px;
}

.chart-head .tag {
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid var(--line-2);
  font-size: 12px;
  color: var(--muted);
  vertical-align: middle;
  font-weight: 500;
  letter-spacing: 0;
}

.seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  background: var(--chip);
}

.seg button {
  padding: 5px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: none;
  color: var(--muted);
  font: 500 13px var(--font);
  cursor: pointer;
}

.seg button[aria-selected='true'] {
  color: var(--text);
  border-color: var(--line-2);
  background: rgba(255, 244, 225, 0.06);
}

.chart {
  position: relative;
}

.chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.chart .peak {
  position: absolute;
  right: 0;
  top: -6px;
  text-align: right;
  font-size: 13px;
  line-height: 1.3;
}

.chart-x {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  padding-left: 40px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 40px);
  list-style: none;
  margin: clamp(48px, 7vw, 80px) 0 0;
  padding: 0;
  text-align: left;
}

.stats b {
  display: block;
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.1;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 10px;
}

.stats span {
  font-size: 14px;
  color: var(--muted);
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(123, 216, 143, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(123, 216, 143, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(123, 216, 143, 0);
  }
}

/* ------------------------------------------------------------------ */
/* Features (light): list on the left, mock on the right               */
/* ------------------------------------------------------------------ */

.features {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.features h2 {
  margin-bottom: clamp(32px, 4vw, 48px);
}

.feat-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 18px;
  border-left: 1px solid var(--paper-line);
}

.feat {
  position: relative;
  padding: 14px 0 14px 18px;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.25s;
}

.feat[aria-selected='true'],
.feat:hover {
  opacity: 1;
}

.feat[aria-selected='true']::before {
  content: '';
  position: absolute;
  left: -19px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: var(--red-hot);
}

.feat small {
  display: block;
  font: 500 12px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #756e62;
  margin-bottom: 6px;
}

.feat h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  margin-bottom: 6px;
}

.feat p {
  margin: 0 0 0 38px;
  font-size: 15px;
  color: var(--ink-muted);
}

.feat .fi {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--paper-line);
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.feat .fi svg {
  width: 14px;
  height: 14px;
  stroke: var(--ink);
  stroke-width: 1.7;
  fill: none;
}

.mock {
  position: relative;
  min-height: 380px;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--paper-line);
  background: linear-gradient(135deg, #faf7f1, #f3efe6 60%, #f6f2ea);
  box-shadow: 0 30px 60px -30px rgba(18, 17, 14, 0.18);
}

.mock-view[hidden] {
  display: none;
}

.mock-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  border-radius: 12px;
  border: 1px solid var(--paper-line);
  background: var(--paper-2);
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 18px;
}

.mock-chip b {
  color: var(--ink);
  font-weight: 500;
}

.mock-chip .fi {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid #e3d29d;
  display: grid;
  place-items: center;
  background: #fff;
}

.mock-chip svg {
  width: 13px;
  height: 13px;
  stroke: var(--ink);
  stroke-width: 1.7;
  fill: none;
}

.mock-card {
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--paper-line);
  padding: 16px;
  font-size: 13px;
}

.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #f0ebe1;
}

.mock-row:last-child {
  border-bottom: 0;
}

.mock-row span {
  color: var(--ink-muted);
}

.mock-row b {
  font-weight: 600;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  background: #3fb75d;
}

.dot.w {
  background: #e5a91e;
}

.dot.b {
  background: #e0533f;
}

.mock-bar {
  height: 6px;
  border-radius: 6px;
  background: #f0ebe1;
  overflow: hidden;
  width: 90px;
}

.mock-bar i {
  display: block;
  height: 100%;
  background: var(--red);
}

/* ------------------------------------------------------------------ */
/* Network hub                                                         */
/* ------------------------------------------------------------------ */

.hub {
  position: relative;
  max-width: 860px;
  margin: clamp(32px, 5vw, 56px) auto 0;
  aspect-ratio: 16 / 9;
}

.hub svg.wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hub svg.wires path {
  fill: none;
  stroke: rgba(255, 244, 225, 0.12);
  stroke-width: 1;
}

.hub svg.wires path.pulse {
  stroke: url(#wire-glow);
  stroke-width: 1.5;
  stroke-dasharray: 40 400;
  animation: run 4s linear infinite;
}

@keyframes run {
  to {
    stroke-dashoffset: -440;
  }
}

.hub-core,
.hub-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.25;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
}

.hub-core {
  left: 50%;
  top: 50%;
}

.hub-core .box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  border: 1px solid var(--red-hot);
  background: linear-gradient(180deg, #221d18, #15120d);
  box-shadow: inset 0 0 0 1px rgba(255, 244, 225, 0.06);
}

.hub-node .box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255, 244, 225, 0.06), rgba(255, 244, 225, 0.01));
}

.hub .box {
  display: grid;
  place-items: center;
}

.hub .box svg {
  width: 18px;
  height: 18px;
  stroke: var(--text);
  stroke-width: 1.6;
  fill: none;
}

.hub-core .box svg {
  width: 30px;
  height: 30px;
}

.programs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: clamp(32px, 5vw, 56px);
  text-align: left;
}

.program {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--chip);
  text-decoration: none;
  transition: border-color 0.2s;
}

.program:hover {
  border-color: rgba(229, 82, 74, 0.5);
}

.program b {
  display: block;
  font-weight: 500;
  margin-bottom: 4px;
}

.program span {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}

.program i {
  margin-top: auto;
  font-style: normal;
  font-size: 13px;
  color: var(--red-hot);
}

/* ------------------------------------------------------------------ */
/* Model (YC-style manifesto)                                          */
/* ------------------------------------------------------------------ */

.manifesto h2 {
  font-size: clamp(36px, 5.6vw, 68px);
  max-width: 16ch;
}

.manifesto .cols {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(32px, 5vw, 56px);
  font-size: 18px;
}

.manifesto blockquote {
  margin: 0;
  padding: 0 0 0 20px;
  border-left: 2px solid var(--red-hot);
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.manifesto blockquote footer {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-muted);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
  margin: clamp(40px, 6vw, 64px) 0 0;
  padding: 0;
}

.facts li {
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--paper-line);
}

.facts b {
  display: block;
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.facts span {
  font-size: 14px;
  color: var(--ink-muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  list-style: none;
  margin: clamp(40px, 6vw, 64px) 0 0;
  padding: 0;
  counter-reset: s;
}

.steps li {
  counter-increment: s;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--paper-line);
}

.steps li::before {
  content: '0' counter(s);
  display: block;
  font: 500 12px var(--mono);
  letter-spacing: 0.1em;
  color: #756e62;
  margin-bottom: 14px;
}

.steps h3 {
  margin-bottom: 8px;
}

.steps p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-muted);
}

/* ------------------------------------------------------------------ */
/* Pricing                                                             */
/* ------------------------------------------------------------------ */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: clamp(32px, 5vw, 56px);
  text-align: left;
}

.card {
  padding: 26px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--chip);
  display: flex;
  flex-direction: column;
}

.card.hot {
  border-color: var(--red-hot);
  background: linear-gradient(180deg, rgba(229, 82, 74, 0.08), rgba(229, 82, 74, 0.02));
}

.card-k {
  font: 500 12px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 15px;
}

.card ul {
  list-style: none;
  margin: auto 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.card li {
  display: flex;
  gap: 8px;
}

.card li::before {
  content: '';
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-hot) 35%, transparent 40%);
  border: 1px solid rgba(229, 82, 74, 0.5);
}

/* compare table */
.table-scroll {
  overflow-x: auto;
  margin-top: clamp(28px, 4vw, 44px);
  border-radius: 18px;
  border: 1px solid var(--paper-line);
  background: #fff;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid #f0ebe1;
  vertical-align: top;
}

thead th {
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-muted);
}

tbody th {
  font-weight: 500;
}

tr:last-child th,
tr:last-child td {
  border-bottom: 0;
}

.us {
  background: var(--paper-2);
  font-weight: 500;
}

thead .us {
  color: var(--ink);
}

/* ------------------------------------------------------------------ */
/* FAQ                                                                 */
/* ------------------------------------------------------------------ */

.faq-list {
  max-width: 820px;
  margin: clamp(28px, 4vw, 44px) auto 0;
  text-align: left;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  color: var(--red-hot);
  font-size: 22px;
  line-height: 1;
}

.faq details[open] summary::after {
  content: '–';
}

.faq details p {
  font-size: 16px;
  color: var(--muted);
  max-width: 68ch;
}

/* ------------------------------------------------------------------ */
/* Pilot form                                                          */
/* ------------------------------------------------------------------ */

.pilot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.pilot h2 {
  margin-bottom: 18px;
}

.pilot-alt {
  margin-top: 20px;
}

.pilot-form {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--panel-2);
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.field small {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
  font: 400 15px var(--font);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(244, 240, 232, 0.36);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red-hot);
  box-shadow: 0 0 0 2px rgba(229, 82, 74, 0.35);
}

.field.invalid input {
  border-color: var(--bad);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.pilot-form .btn {
  justify-self: start;
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.foot {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 28px var(--gutter) 48px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}

.foot a {
  color: var(--text);
}

/* ------------------------------------------------------------------ */
/* Reveal on scroll                                                    */
/* ------------------------------------------------------------------ */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 1100px) {
  .floaters {
    display: none;
  }

  /* vertical stepper */
  .flow {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin-inline: auto;
  }

  .flow .node {
    flex: none;
  }

  .flow .wire {
    width: 100%;
    height: 34px;
  }

  .flow .wire::before {
    left: 50%;
    right: auto;
    top: 0;
    bottom: 0;
    border-top: 0;
    border-left: 1px dashed var(--line-2);
  }
}

@media (max-width: 1000px) {
  /* links collapse into a dropdown opened by the menu button */
  .nav-toggle {
    display: grid;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    border-radius: 18px;
    border: 1px solid var(--line-2);
    background: rgba(18, 17, 14, 0.97);
  }

  .nav.open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 12px 14px;
    font-size: 16px;
  }

  .nav-links a::after {
    left: 14px;
    right: auto;
    width: 24px;
    bottom: 6px;
  }

  .nav-links .only-sm {
    display: block;
  }

  .nav-actions .lnk.hide-sm {
    display: none;
  }

  .features,
  .pilot,
  .manifesto .cols {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .nav {
    margin: 8px 8px;
    top: 8px;
  }

  .nav-actions .btn .arr {
    display: none;
  }

  .nav .btn {
    padding: 6px 14px;
  }

  .panel {
    margin: 0 8px 12px;
    border-radius: 22px;
  }

  /* field and button stack full width, still one framed control */
  .scan-form {
    flex-direction: column;
    align-items: stretch;
  }

  .scan-form input {
    flex: none;
    text-align: center;
  }

  .scan-form .btn {
    width: 100%;
  }

  .hub-node {
    max-width: 84px;
    white-space: normal;
  }

  .hub-node[style*='left:8%'] {
    left: 15% !important;
  }

  .hub-node[style*='left:92%'] {
    left: 85% !important;
  }

  .result-top {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .pillars,
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .issues,
  .cards,
  .programs,
  .facts,
  .steps {
    grid-template-columns: 1fr;
  }

  .hub {
    aspect-ratio: 3 / 4;
  }

  .chart-x {
    padding-left: 30px;
  }

  .foot {
    padding: 24px 24px 40px;
  }
}

/* ------------------------------------------------------------------ */
/* Example report, scan skeleton, sticky mobile CTA                    */
/* ------------------------------------------------------------------ */

.sample .panel-in {
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.sample .ring {
  width: 150px;
  height: 150px;
}

.sample .ring b {
  font-size: 44px;
}

.sample .bar i {
  transition: none;
}

.sample-note {
  margin: 22px 0 0;
}

.sample-note a {
  color: var(--red-hot);
  white-space: nowrap;
}

.result:not(.loading) .sk,
.result.loading .res {
  display: none;
}

.sk-top {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.sk-top > div {
  flex: 1;
}

.sk-ring,
.sk-line,
.sk-pillars span {
  display: block;
  background: linear-gradient(90deg, rgba(255, 244, 225, 0.05) 25%, rgba(255, 244, 225, 0.12) 50%, rgba(255, 244, 225, 0.05) 75%) 0 0 / 200% 100%;
  animation: shimmer 1.4s linear infinite;
}

.sk-ring {
  flex: none;
  width: 180px;
  height: 180px;
  border-radius: 50%;
}

.sk-line {
  height: 18px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.sk-line.w40 {
  width: 40%;
}

.sk-line.w70 {
  width: 70%;
  height: 34px;
}

.sk-step {
  margin: 18px 0 0;
  font-size: 15px;
  color: var(--text);
}

.sk-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.sk-pillars span {
  height: 84px;
  border-radius: 14px;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

.sticky-cta {
  display: none;
}

@media (max-width: 760px) {
  .sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(8, 7, 5, 0), rgba(8, 7, 5, 0.92) 40%);
    visibility: hidden;
    transform: translateY(110%);
    transition: transform 0.3s, visibility 0.3s;
  }

  .sticky-cta.show {
    visibility: visible;
    transform: none;
  }

  .sticky-cta .btn {
    width: 100%;
  }

  .foot {
    padding-bottom: 88px;
  }

  .sk-top {
    flex-direction: column;
  }

  .sk-top > div {
    width: 100%;
  }

  .sk-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .caret {
    display: none;
  }
}

/* Piksel poses: one mascot per screen */
.pose {
  display: block;
  height: auto;
}

.pose-sample {
  margin: 20px 0 0 auto;
  width: 160px;
}

.pose-loading {
  width: 96px;
}

.result.loading ~ .sample .pose-sample {
  display: none;
}

@media (max-width: 720px) {
  .pose-sample {
    margin-inline: auto;
    width: 128px;
  }
}
