:root {
  --bg: #ededeb;
  --card: #fafaf9;
  --white: #ffffff;
  --text: #18181b;
  --body: #3c3c42;
  --muted: #6e6e76;
  --faint: #8a8a90;
  --line: #e8e8e6;
  --line-strong: #dcdcda;
  --track: #f0f0ee;
  --accent: #4a4fe4;
  --accent-soft: #edeefc;
  --good-bg: #e7f5ec;
  --good: #2e7d48;
  --bad-bg: #fdf1f0;
  --bad: #b0433d;
  --radius: 12px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  font-family: "Schibsted Grotesk", -apple-system, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.mono { font-family: "Spline Sans Mono", ui-monospace, monospace; }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 20px; }

/* ── Top bar ── */
.topbar { background: var(--card); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .mark { width: 20px; height: 20px; border-radius: 6px; background: var(--accent); }
.brand .bname { font-weight: 700; font-size: 15px; }
.stepper, .report-meta { display: flex; align-items: center; gap: 8px; }
.report-meta { gap: 14px; }
.seg { width: 22px; height: 5px; border-radius: 3px; background: #e0e0de; }
.seg.on { background: var(--accent); }
.steplabel { font-size: 11px; font-weight: 500; color: var(--faint); margin-left: 6px; letter-spacing: 0.02em; }

/* ── Panels ── */
main { padding: 36px 0 90px; }
.panel {
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  margin-bottom: 20px;
}
.pad-lg { padding: 56px 40px 64px; }
.center-col { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.center-text { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }

h1 { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: -0.025em; text-align: center; }
h2 { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -0.025em; text-align: center; }
.sub { margin: 0; font-size: 15.5px; color: var(--muted); max-width: 460px; line-height: 1.5; text-align: center; }

/* ── Start form ── */
.start-form { display: flex; gap: 12px; width: 560px; max-width: 100%; }
.start-form input { flex: 1; }
input[type="text"], input[type="email"], select {
  height: 50px;
  padding: 0 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--line-strong);
  border-radius: 11px;
  width: 100%;
}
input:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input[readonly] { background: #f2f2f0; border-color: var(--line); color: var(--muted); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23B0B0B4' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }

button {
  font: inherit;
  font-weight: 600;
  font-size: 15.5px;
  height: 54px;
  padding: 0 32px;
  border-radius: 12px;
  border: 0;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}
button:hover { filter: brightness(1.06); }
button:disabled { opacity: 0.55; cursor: default; }
button.ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line-strong); }
button.ghost.small { height: 34px; padding: 0 14px; font-size: 12.5px; font-weight: 600; border-radius: 8px; }
.cta { min-width: 220px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.form-err { color: var(--bad); font-size: 14px; margin: 0; }

/* ── Confirm fields ── */
.fields { width: 560px; max-width: 100%; display: flex; flex-direction: column; gap: 14px; }
.frow { display: flex; gap: 14px; }
.frow label { flex: 1; }
.fields label { display: flex; flex-direction: column; gap: 6px; }
.flabel { font-size: 10.5px; font-weight: 500; letter-spacing: 0.08em; color: var(--faint); }
.flabel.accent { color: var(--accent); }
.email-block { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); margin-top: 6px; }
.email-block input { border-color: var(--accent); }
.hint { font-size: 12.5px; color: var(--faint); }

/* ── Generating ── */
.ring { width: 96px; height: 96px; border-radius: 50%; background: conic-gradient(var(--accent) 0 0%, var(--line) 0% 100%); display: flex; align-items: center; justify-content: center; }
.ring-hole { width: 72px; height: 72px; border-radius: 50%; background: var(--card); display: flex; align-items: center; justify-content: center; }
.ring-hole .mono { font-size: 15px; font-weight: 600; color: var(--accent); }
.engines { width: 520px; max-width: 100%; display: flex; flex-direction: column; gap: 12px; }
.engine { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.engine.active { border-color: var(--accent); }
.engine.locked { opacity: 0.6; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #c9c9ce; flex: none; }
.dot.on { background: var(--accent); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }
.ename { flex: 1; font-size: 15px; font-weight: 600; }
.estatus { font-size: 12px; font-weight: 500; color: var(--accent); }
.badge-full { font-size: 11px; font-weight: 500; padding: 4px 9px; background: var(--accent-soft); color: var(--accent); border-radius: 6px; }
.fact { display: flex; align-items: center; gap: 10px; padding: 14px 20px; background: var(--accent-soft); border-radius: 12px; max-width: 520px; }
.factlabel { font-size: 11px; font-weight: 600; color: var(--accent); flex: none; }
.fact span:last-child { font-size: 13.5px; color: var(--body); line-height: 1.45; }

/* ── Report ── */
.rsection { padding: 32px 40px; border-bottom: 1px solid var(--line); }
.rsection:last-child { border-bottom: 0; }
.rlabel { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; color: var(--faint); margin-bottom: 16px; }
.rlabel.accent { color: var(--accent); }

.rhero { display: flex; gap: 36px; align-items: center; padding: 44px 40px; }
.score-ring { width: 132px; height: 132px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; }
.score-hole { width: 100px; height: 100px; border-radius: 50%; background: var(--card); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.score-val { font-size: 36px; font-weight: 800; line-height: 1; }
.score-cap { font-size: 10px; font-weight: 500; color: var(--faint); }
.hero-copy { display: flex; flex-direction: column; gap: 10px; }
.hero-head { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; max-width: 560px; }
.hero-stats { display: flex; gap: 22px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.hero-stats b { color: var(--text); }

.rgrid { display: grid; grid-template-columns: 1fr 1fr; }
.rgrid > div { padding: 32px 40px; }
.rgrid > div:first-child { border-right: 1px solid var(--line); }
.rnote { font-size: 13px; color: var(--muted); line-height: 1.5; margin-top: 16px; }

.ebar-row { display: flex; align-items: center; gap: 12px; font-size: 14px; padding: 6px 0; }
.ebar-row.locked { opacity: 0.55; }
.ebar-row .nm { width: 100px; flex: none; }
.ebar-track { flex: 1; height: 7px; background: var(--track); border-radius: 4px; overflow: hidden; }
.ebar-fill { display: block; height: 100%; background: var(--accent); }
.ebar-row .val { font-size: 12.5px; font-weight: 500; width: 28px; text-align: right; }
.ebar-row .badge-full { font-size: 10px; padding: 3px 7px; }

.rank-row { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 6px 0; }
.rank-row .pos { width: 18px; color: #b0b0b4; font-weight: 600; flex: none; }
.rank-row .nm { flex: 1; }
.rank-row .val { font-size: 12.5px; font-weight: 500; color: var(--faint); }
.rank-row.you { background: var(--accent-soft); border-radius: 8px; padding: 6px 10px; margin: 0 -10px; }
.rank-row.you .pos, .rank-row.you .nm, .rank-row.you .val { color: var(--accent); font-weight: 700; }

.said-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.said-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.said-q { font-size: 13.5px; font-weight: 600; }
.said-a { font-size: 13.5px; line-height: 1.55; color: #55555c; }
.said-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.stag { font-size: 10.5px; font-weight: 500; padding: 3px 8px; border-radius: 5px; }
.stag.ok { background: var(--good-bg); color: var(--good); }
.stag.miss { background: var(--bad-bg); color: var(--bad); }
.stag.eng { background: var(--track); color: var(--muted); }

.upgrade { display: flex; align-items: center; gap: 28px; padding: 36px 40px; background: linear-gradient(180deg, var(--card) 0%, var(--accent-soft) 100%); }
.upgrade-copy { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.upgrade-head { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.upgrade-sub { font-size: 14px; color: var(--muted); line-height: 1.5; }
.upgrade a.btn { display: flex; align-items: center; height: 52px; padding: 0 26px; background: var(--accent); color: #fff; border-radius: 12px; font-weight: 600; font-size: 15px; text-decoration: none; flex: none; }

.banner { background: var(--accent-soft); border-radius: 12px; padding: 12px 16px; font-size: 14px; margin-bottom: 16px; color: var(--body); }
.caveat { color: var(--faint); font-size: 13px; margin-top: 12px; text-align: center; }
.actions { display: flex; justify-content: flex-start; margin-top: 16px; }

/* ── Landing ── */
.wrapL { max-width: 1280px; margin: 0 auto; padding: 0 48px; }

.hero {
  position: relative;
  min-height: 700px;
  background: linear-gradient(180deg, #fafaf9 0%, #f5f5fc 46%, #dcdefb 70%, #9599f2 90%, #4a4fe4 106%);
  overflow: hidden;
}
.dots { position: absolute; inset: 0; pointer-events: none; }
.dots-a {
  background-image:
    radial-gradient(rgba(74, 79, 228, 0.18) 1.7px, transparent 1.7px),
    radial-gradient(rgba(74, 79, 228, 0.1) 1.4px, transparent 1.4px),
    radial-gradient(rgba(74, 79, 228, 0.14) 2px, transparent 2px);
  background-size: 26px 26px, 38px 34px, 54px 46px;
  background-position: 0 0, 9px 15px, 21px 5px;
  -webkit-mask-image: radial-gradient(560px 380px at 74% 22%, #000 0%, rgba(0, 0, 0, 0.25) 60%, transparent 100%),
    radial-gradient(480px 320px at 22% 62%, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  mask-image: radial-gradient(560px 380px at 74% 22%, #000 0%, rgba(0, 0, 0, 0.25) 60%, transparent 100%),
    radial-gradient(480px 320px at 22% 62%, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
}
.dots-b {
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.55) 1.7px, transparent 1.7px),
    radial-gradient(rgba(255, 255, 255, 0.35) 1.4px, transparent 1.4px);
  background-size: 26px 26px, 42px 36px;
  background-position: 13px 13px, 0 8px;
  -webkit-mask-image: radial-gradient(620px 360px at 50% 96%, #000 0%, rgba(0, 0, 0, 0.3) 65%, transparent 100%);
  mask-image: radial-gradient(620px 360px at 50% 96%, #000 0%, rgba(0, 0, 0, 0.3) 65%, transparent 100%);
}
.hero-nav { position: relative; display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.brand .mark.lg { width: 22px; height: 22px; }
.bname.lg { font-size: 16px; }
.brand .mark.sm { width: 14px; height: 14px; border-radius: 4px; }
.nav-right { display: flex; align-items: center; gap: 26px; }
.navlink { font-size: 14px; color: #55555c; text-decoration: none; }
.navlink:hover { color: var(--text); }
button.dark { background: #18181b; }
button.dark.small { height: 36px; padding: 0 16px; font-size: 13px; border-radius: 8px; }

.hero-body { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; padding: 108px 24px 120px; }
.hero-h1 { margin: 0; font-size: 58px; line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; max-width: min(880px, 100%); }
.accent-text { color: var(--accent); }
.hero-sub { margin: 0; font-size: 18.5px; line-height: 1.5; color: #55555c; }
.url-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  width: 640px;
  max-width: 100%;
  height: 68px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(24, 24, 27, 0.12);
  padding: 0 8px 0 14px;
}
.url-pill input { flex: 1; border: 0; height: 100%; background: transparent; font-size: 16.5px; padding: 0 8px; }
.url-pill input:focus { box-shadow: none; }
.url-pill button { height: 52px; padding: 0 24px; border-radius: 11px; font-size: 15.5px; flex: none; }
.hero-micro { font-size: 13px; color: #55555c; opacity: 0.9; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; justify-content: center; }
.check.inline { display: inline-flex; gap: 5px; font-size: 13px; color: inherit; }
.form-err.on-hero { background: #fff; padding: 8px 14px; border-radius: 8px; }

.dark-band { background: #131316; color: #fff; }
.dark-grid { display: grid; grid-template-columns: 1fr 460px; gap: 56px; padding-top: 88px; padding-bottom: 88px; align-items: center; }
.kicker { font-size: 11.5px; font-weight: 500; letter-spacing: 0.12em; color: #8b8ff5; }
.dark-copy { display: flex; flex-direction: column; gap: 20px; }
.dark-head { font-size: 38px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; max-width: 480px; }
.dark-sub { margin: 0; font-size: 16.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.6); max-width: 440px; }
.numlist { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.numrow { display: flex; align-items: baseline; gap: 12px; font-size: 15px; color: rgba(255, 255, 255, 0.85); }
.numrow .num { font-size: 12px; font-weight: 600; color: #8b8ff5; flex: none; }
.numrow b { color: #fff; }

.sample-card {
  background: #1c1c21;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.sample-top { display: flex; align-items: center; justify-content: space-between; }
.sample-label { font-size: 10.5px; font-weight: 500; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.45); }
.sample-chip { font-size: 10.5px; font-weight: 500; padding: 4px 9px; background: rgba(92, 97, 240, 0.18); color: #8b8ff5; border-radius: 6px; }
.sample-hero { display: flex; align-items: center; gap: 24px; }
.sample-ring { width: 110px; height: 110px; border-radius: 50%; background: conic-gradient(#5c61f0 0 61%, rgba(255, 255, 255, 0.1) 61% 100%); display: flex; align-items: center; justify-content: center; flex: none; }
.sample-hole { width: 82px; height: 82px; border-radius: 50%; background: #1c1c21; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sample-val { font-size: 28px; font-weight: 800; line-height: 1; }
.sample-cap { font-size: 9.5px; font-weight: 500; color: rgba(255, 255, 255, 0.45); }
.sample-copy { display: flex; flex-direction: column; gap: 6px; }
.sample-name { font-weight: 700; font-size: 17px; }
.sample-note { font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, 0.55); }
.sample-bars { display: flex; flex-direction: column; gap: 11px; }
.sbar { display: flex; align-items: center; gap: 12px; font-size: 13.5px; }
.sbar .nm { width: 96px; color: rgba(255, 255, 255, 0.65); flex: none; }
.sbar .tr { flex: 1; height: 7px; background: rgba(255, 255, 255, 0.08); border-radius: 4px; overflow: hidden; }
.sbar .fl { display: block; height: 100%; background: #5c61f0; }
.sbar .vl { font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, 0.8); width: 26px; text-align: right; }
.sample-stats { display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.sample-stats > div { display: flex; flex-direction: column; gap: 2px; }
.sample-stats .sv { font-size: 16px; font-weight: 700; }
.sample-stats .sk { font-size: 10px; font-weight: 500; color: rgba(255, 255, 255, 0.45); }

.features { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 28px; }
.features-head { display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.features-title { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.features-sub { font-size: 15.5px; color: var(--muted); line-height: 1.5; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fcard { border: 1px solid var(--line); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.fcard .ft { font-weight: 700; font-size: 16.5px; }
.fcard .fd { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

.cta-strip { border-top: 1px solid var(--line); }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 44px; padding-bottom: 44px; }
.cta-title { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.cta-form { display: flex; gap: 10px; }
.cta-form input { width: 280px; height: 48px; border-radius: 10px; font-size: 14.5px; }
.cta-form button { height: 48px; padding: 0 22px; border-radius: 10px; font-size: 14.5px; }

.foot { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; padding-bottom: 32px; font-size: 13px; color: var(--faint); }
.foot .brand { gap: 8px; }
.foot-name { font-weight: 600; color: #55555c; }
.foot-dim { color: var(--faint); }
.foot-links { display: flex; gap: 20px; }

#landing { background: var(--card); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .dark-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-h1 { font-size: 40px; }
}

@media (max-width: 640px) {
  .pad-lg { padding: 36px 22px 44px; }
  .wrapL { padding: 0 22px; }
  .hero { min-height: 0; }
  .hero-body { padding: 64px 8px 80px; }
  .hero-h1 { font-size: 33px; }
  .hero-sub { font-size: 16px; }
  .url-pill { height: auto; flex-direction: column; padding: 10px; gap: 8px; border-radius: 14px; }
  .url-pill input { width: 100%; height: 46px; text-align: center; }
  .url-pill button { width: 100%; }
  .dark-head { font-size: 28px; }
  .sample-card { padding: 20px; }
  .fgrid { grid-template-columns: 1fr; }
  .features { padding-top: 52px; padding-bottom: 52px; }
  .cta-in { flex-direction: column; align-items: stretch; text-align: center; }
  .cta-form { flex-direction: column; }
  .cta-form input { width: 100%; }
  .foot { flex-direction: column; gap: 12px; }
  .frow { flex-direction: column; }
  .start-form { flex-direction: column; }
  .rhero { flex-direction: column; text-align: center; padding: 32px 22px; }
  .hero-stats { justify-content: center; }
  .rgrid { grid-template-columns: 1fr; }
  .rgrid > div:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .rgrid > div, .rsection { padding: 24px 22px; }
  .said-grid { grid-template-columns: 1fr; }
  .upgrade { flex-direction: column; align-items: stretch; text-align: center; padding: 28px 22px; }
  .upgrade a.btn { justify-content: center; }
  .steplabel { display: none; }
}

/* ── Print (Download PDF) ── */
@media print {
  .topbar .stepper, .topbar .report-meta, .actions, .check, .upgrade { display: none !important; }
  body { background: #fff; }
  .panel { border: 0; box-shadow: none; }
}
