/* ==========================================================
   FastSweep — static site
   Fonts: Schibsted Grotesk (display) + Hanken Grotesk (text)
   ========================================================== */

:root {
  --ink: #15123b;
  --ink-soft: #4a4872;
  --ink-mute: #7a78a0;
  --indigo: #4748ee;
  --indigo-deep: #3532d9;
  --lav: #8b8bff;
  --paper: #f6f5ff;
  --white: #ffffff;
  --line: rgba(21, 18, 59, 0.12);

  --mint: #e6f4ea;
  --mint-2: #cdebd6;
  --mint-3: #2e9a5f;
  --butter: #faf3db;
  --butter-2: #f5e7b5;
  --butter-3: #d9a40f;
  --peach: #fce6de;
  --peach-2: #f9d3c4;
  --peach-3: #f2724a;
  --lilac: #eae6f9;
  --lilac-2: #d8d1f3;
  --lilac-3: #6c5bd6;
  --pink: #f9e4f0;
  --pink-2: #f5cbe3;
  --pink-3: #e048b0;

  --display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 4vw, 48px);
  --maxw: 1200px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); text-underline-offset: 3px; }
a:hover { color: var(--indigo-deep); }

:focus-visible {
  outline: 3px solid var(--lav);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  z-index: 100;
  transition: top 0.2s;
}
.skip:focus { top: 12px; color: #fff; }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ico {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

h1, h2, h3 {
  font-family: var(--display);
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}
p { margin: 0; }

/* ---------- Header ---------- */
.site-header { padding: 18px 0; position: relative; z-index: 5; }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--ink); }
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 22.4%;
  box-shadow: 0 6px 16px -6px rgba(71, 72, 238, 0.6);
}
.nav { display: flex; gap: 4px; }
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.nav a:hover { background: rgba(71, 72, 238, 0.09); color: var(--indigo); }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }

/* ---------- Hero ---------- */
.hero { padding: 36px 0 112px; position: relative; overflow: hidden; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero h1 {
  font-weight: 800;
  font-size: clamp(3rem, 6.4vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.hero h1 span { display: block; }
.hero h1 .second { color: var(--indigo); }
.hero .lead {
  margin-top: 32px;
  max-width: 31em;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--ink-soft);
}
.hero .lead strong { color: var(--ink); font-weight: 700; }

/* the sweep stage: a small playable demo */
.stage {
  position: relative;
  max-width: 460px;
  width: 100%;
  margin-inline: auto;
  padding-top: 122px;
}
.stage-disc {
  position: absolute;
  top: 0;
  right: -26px;
  width: min(330px, 76%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 24%, #34308a 0%, var(--ink) 68%);
  animation: fade 0.8s ease both;
  container-type: inline-size;
}
.stage-icon {
  position: absolute;
  top: 0;
  right: 46px;
  width: 100px;
  height: 100px;
  z-index: 2;
  border-radius: 22.4%;
  box-shadow: 0 20px 34px -10px rgba(0, 0, 0, 0.6);
  transform: rotate(8deg);
  animation: drop 0.7s cubic-bezier(0.3, 1.4, 0.5, 1) 1.45s both;
}
.stage-hint {
  position: absolute;
  left: 4px;
  top: 24px;
  z-index: 2;
  max-width: 10.5em;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--ink-soft);
  animation: fade 0.6s ease 1.2s both;
}
.stage-spark { position: absolute; fill: var(--indigo); height: auto; aspect-ratio: 1; z-index: 2; }
.stage-spark.a { width: 22px; left: 132px; top: 78px; }
.stage-spark.b { width: 16px; right: 4px; top: 96px; fill: var(--lav); }

.rows { list-style: none; margin: 0; padding: 0 4px; display: grid; gap: 12px; position: relative; z-index: 1; }
.rows li { display: block; }
.row {
  appearance: none;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 72px;
  padding: 0 16px;
  border-radius: 22px;
  color: var(--ink);
  box-shadow: 0 16px 28px -16px rgba(53, 50, 217, 0.45);
  transform: translateX(var(--ox, 0)) rotate(var(--rot, 0deg));
  transition: transform 0.7s cubic-bezier(0.5, 0, 0.2, 1) var(--gd, 0s), opacity 0.5s ease var(--gd, 0s), box-shadow 0.2s;
  animation: sweep-in 0.95s cubic-bezier(0.2, 0.9, 0.25, 1.04) var(--d, 0s) backwards;
}
.row:hover { box-shadow: 0 20px 32px -14px rgba(53, 50, 217, 0.6); }
.row.gone { transform: translate(135%, -24px) rotate(16deg); opacity: 0; pointer-events: none; }
.row .tile {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  flex: none;
}
.row .tile .ico { width: 22px; height: 22px; }
.row b { display: block; font-weight: 700; font-size: 1rem; line-height: 1.2; }
.row small { display: block; color: var(--ink-mute); font-size: 0.84rem; line-height: 1.3; }
.row .tick {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--indigo);
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
  transition: background 0.2s;
}
.row .tick .ico { width: 16px; height: 16px; stroke-width: 2.6; opacity: 0; transform: scale(0.3); transition: opacity 0.2s, transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1); }
.row.sel .tick { background: var(--indigo); }
.row.sel .tick .ico { opacity: 1; transform: none; animation: pop 0.4s cubic-bezier(0.3, 1.6, 0.5, 1) var(--t, 1.5s) backwards; }

.r-mint { background: var(--mint); } .r-mint .tile { background: var(--mint-2); color: var(--mint-3); }
.r-butter { background: var(--butter); } .r-butter .tile { background: var(--butter-2); color: var(--butter-3); }
.r-peach { background: var(--peach); } .r-peach .tile { background: var(--peach-2); color: var(--peach-3); }
.r-lilac { background: var(--lilac); } .r-lilac .tile { background: var(--lilac-2); color: var(--lilac-3); }
.r-pink { background: var(--pink); } .r-pink .tile { background: var(--pink-2); color: var(--pink-3); }

.stage-bar {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  animation: fade 0.6s ease 1.8s both;
}
.stage-bar .sum { font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.stage-bar .sum small { display: block; font-family: var(--text); font-weight: 500; font-size: 0.85rem; color: var(--ink-mute); letter-spacing: 0; margin-top: 6px; }
.stage-bar .go {
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(160deg, #5a59f6, var(--indigo-deep));
  border: 0;
  border-radius: 999px;
  padding: 16px 28px;
  cursor: pointer;
  box-shadow: 0 16px 28px -12px rgba(53, 50, 217, 0.75);
  transition: transform 0.15s, box-shadow 0.2s;
}
.stage-bar .go:hover { transform: translateY(-1px); }
.stage-bar .go:active { transform: translateY(1px); }
.stage-bar .go:disabled { opacity: 0.45; cursor: default; transform: none; }


/* after the sweep: the disc becomes the storage ring, a receipt fills the gap */
.disc-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52%;
  aspect-ratio: 1;
  transform: translate(-50%, -34%);
  opacity: 0;
  transition: opacity 0.6s ease;
}
.stage.done .disc-ring { opacity: 1; }
.disc-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); display: block; }
.disc-ring circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.disc-ring .t { stroke: rgba(255, 255, 255, 0.14); }
.disc-ring .f { stroke: var(--lav); stroke-dasharray: 160 314; transition: stroke-dasharray 1.3s cubic-bezier(0.3, 0.8, 0.3, 1); }
.disc-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: #fff; }
.disc-num b { font-family: var(--display); font-weight: 800; font-size: 11.5cqw; line-height: 1; letter-spacing: -0.03em; }
.disc-num small { font-size: 3.9cqw; color: rgba(255, 255, 255, 0.65); margin-top: 1.4cqw; }

.rows-wrap { position: relative; z-index: 1; }
.rows-wrap .rows { z-index: auto; }
.result {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 0;
  z-index: 2;
  background: #fff;
  border-radius: 28px;
  padding: 20px 22px 14px;
  box-shadow: 0 24px 40px -22px rgba(53, 50, 217, 0.55);
  opacity: 0;
  transform: translateY(18px) rotate(-1deg);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.3, 1.2, 0.5, 1);
}
.stage.done .result { opacity: 1; transform: rotate(-1deg); }
.result h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.result .ok { width: 28px; height: 28px; border-radius: 50%; background: var(--mint-3); color: #fff; display: grid; place-items: center; }
.result .ok .ico { width: 16px; height: 16px; stroke-width: 3; }
.result ul { list-style: none; margin: 0; padding: 0; }
.result li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.97rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: calc(var(--i, 0) * 0.12s + 0.15s);
}
.stage.done .result li { opacity: 1; transform: none; }
.result li i { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--indigo); }
.result li span { margin-left: auto; color: var(--ink-mute); font-weight: 500; font-variant-numeric: tabular-nums; }
.result li.t-mint i { background: var(--mint-3); }
.result li.t-butter i { background: var(--butter-3); }
.result li.t-peach i { background: var(--peach-3); }
.result li.t-lilac i { background: var(--lilac-3); }
.result li.t-pink i { background: var(--pink-3); }

@keyframes sweep-in {
  from { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; }
  35% { opacity: 1; }
}
@keyframes pop { from { transform: scale(0); } }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes drop {
  from { opacity: 0; transform: translateY(-40px) rotate(-24deg) scale(0.8); }
  to { opacity: 1; transform: rotate(8deg); }
}

/* ---------- Reel (mockup strip) ---------- */
.reel {
  background: linear-gradient(180deg, var(--lav) 0%, var(--indigo) 52%, var(--indigo-deep) 100%);
  color: #fff;
  padding: 104px 0 112px;
}
.sec-head { max-width: 40rem; margin-bottom: 64px; }
.sec-head h2 { font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 800; letter-spacing: -0.03em; }
.sec-head p { margin-top: 18px; font-size: 1.12rem; opacity: 0.88; max-width: 32em; }
.strip {
  display: flex;
  gap: clamp(14px, 2.2vw, 30px);
  align-items: flex-start;
  padding-bottom: 56px;
  margin: 0;
}
.strip figure { margin: 0; flex: 1 1 0; min-width: 0; }
.strip figure:nth-child(even) { transform: translateY(56px); }
.strip img {
  width: 100%;
  filter: drop-shadow(0 28px 32px rgba(21, 18, 80, 0.5));
}
.strip figcaption {
  margin-top: 18px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  text-align: center;
  letter-spacing: -0.02em;
}

/* ---------- Bento features ---------- */
.features { padding: 120px 0 112px; }
.features .sec-head p { color: var(--ink-soft); opacity: 1; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.card {
  border-radius: 32px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 300px;
}
.card h3 { font-size: 1.55rem; font-weight: 700; letter-spacing: -0.02em; }
.card p { font-size: 1rem; color: var(--ink-soft); margin-top: 8px; max-width: 30em; }
.card .viz { margin-top: auto; }

.c-scan { grid-column: span 7; background: linear-gradient(150deg, var(--indigo) 0%, var(--indigo-deep) 100%); color: #fff; flex-direction: row; align-items: center; justify-content: space-between; }
.c-scan p { color: rgba(255, 255, 255, 0.82); }
.c-dup { grid-column: span 5; background: var(--mint); }
.c-sim { grid-column: span 4; background: var(--peach); }
.c-cat { grid-column: span 4; background: var(--butter); }
.c-vault { grid-column: span 4; background: var(--ink); color: #fff; }
.c-vault p { color: rgba(255, 255, 255, 0.72); }
.c-comp { grid-column: span 12; background: var(--lilac); flex-direction: row; align-items: center; gap: 48px; min-height: 0; }

.ring { width: 168px; height: 168px; flex: none; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 11; stroke-linecap: round; }
.ring .bg { stroke: rgba(255, 255, 255, 0.22); }
.ring .fg { stroke: #fff; stroke-dasharray: 160 314; transition: stroke-dasharray 1.4s cubic-bezier(0.3, 0.8, 0.3, 1); }
.js .ring .fg { stroke-dasharray: 0 314; }
.js .in .ring .fg { stroke-dasharray: 160 314; }
.ring .num {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.3rem;
  line-height: 1;
}
.ring .num small { font-family: var(--text); font-weight: 500; font-size: 0.72rem; opacity: 0.8; margin-top: 6px; }

.big-fig { font-family: var(--display); font-weight: 700; font-size: clamp(2.8rem, 5vw, 3.8rem); letter-spacing: -0.03em; line-height: 1; color: var(--mint-3); }
.big-fig small { font-size: 0.4em; letter-spacing: 0; margin-left: 4px; }
.pair { position: relative; height: 96px; }
.pair i {
  position: absolute;
  width: 84px;
  height: 84px;
  border-radius: 20px;
  background: linear-gradient(135deg, #9ad9b4, #3fae75);
  box-shadow: 0 10px 20px -10px rgba(46, 154, 95, 0.7);
}
.pair i:first-child { left: 0; top: 10px; transform: rotate(-8deg); background: linear-gradient(135deg, #bfe8cf, #6cc593); }
.pair i:last-child { left: 46px; top: 0; transform: rotate(6deg); }
.pair i::after {
  content: "";
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: 38px;
  height: 22px;
  background: rgba(255, 255, 255, 0.55);
  clip-path: polygon(0 100%, 35% 20%, 60% 70%, 78% 45%, 100% 100%);
}

.group { display: flex; gap: 10px; align-items: flex-end; }
.thumb {
  position: relative;
  border-radius: 18px;
  background: linear-gradient(150deg, #ffc8a8, #f2724a);
  flex: none;
}
.thumb.big { width: 104px; height: 128px; }
.thumb.sm { width: 60px; height: 76px; background: linear-gradient(150deg, #ffd9c2, #f58e6a); border-radius: 14px; }
.thumb .best {
  position: absolute;
  left: 8px;
  top: 8px;
  background: var(--indigo);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 8px;
}
.thumb .dot {
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--indigo);
  color: #fff;
  display: grid;
  place-items: center;
}
.thumb .dot .ico { width: 13px; height: 13px; stroke-width: 2.8; }
.thumb.sm .dot { width: 18px; height: 18px; right: 5px; bottom: 5px; }
.thumb.sm .dot .ico { width: 11px; height: 11px; }
.thumb.off .dot { background: transparent; border: 2px solid var(--indigo); }
.thumb.off .dot .ico { display: none; }

.mini { display: grid; gap: 8px; }
.mini div {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.95rem;
}
.mini div span:last-child { margin-left: auto; color: var(--ink-mute); font-weight: 500; font-size: 0.88rem; }
.mini .ico { color: var(--butter-3); }
.mini div:nth-child(2) .ico { color: var(--lilac-3); }
.mini div:nth-child(3) .ico { color: var(--pink-3); }

.pin {
  background: #fff;
  color: var(--ink);
  border-radius: 24px;
  padding: 18px 18px 20px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 10px;
}
.pin .lk { width: 40px; height: 40px; border-radius: 13px; background: var(--peach); color: var(--peach-3); display: grid; place-items: center; }
.pin b { font-family: var(--display); font-size: 1.05rem; }
.pin .dots { display: flex; gap: 14px; }
.pin .dots i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--indigo);
  transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1), opacity 0.3s;
}
.js .pin .dots i { transform: scale(0); opacity: 0; }
.js .in .pin .dots i { transform: scale(1); opacity: 1; }
.pin .dots i:nth-child(2) { transition-delay: 0.15s; }
.pin .dots i:nth-child(3) { transition-delay: 0.3s; }
.pin .dots i:nth-child(4) { transition-delay: 0.45s; }

.comp-text { flex: 0 1 340px; }
.comp-viz { flex: 1 1 0; display: grid; gap: 22px; min-width: 0; }
.bars { display: grid; gap: 10px; }
.bar { height: 46px; border-radius: 16px; display: flex; align-items: center; padding: 0 16px; font-weight: 700; font-family: var(--display); font-size: 1.05rem; white-space: nowrap; }
.bar.before { background: var(--lilac-2); color: var(--ink); width: 100%; }
.bar.after { background: var(--indigo); color: #fff; width: var(--w, 50%); min-width: max-content; transition: width 0.9s cubic-bezier(0.3, 0.8, 0.3, 1); }
.js .reveal:not(.in) .bar.after { width: 100%; }
.card .saves { max-width: none; margin: 0; font-weight: 600; font-size: 0.95rem; color: var(--ink-soft); text-align: right; min-height: 1.4em; }
.saves b { color: var(--indigo); font-family: var(--display); font-weight: 800; font-size: 1.15rem; }
.hint { margin-top: 14px; font-size: 0.92rem; font-weight: 600; color: var(--lilac-3); }
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: stretch; }
.lvl {
  appearance: none;
  border: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  padding: 14px 12px;
  text-align: center;
  position: relative;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.lvl { height: 100%; }
.lvl .pc { font-weight: 700; color: var(--ink-soft); margin-top: 2px; }
.lvl:hover { background: rgba(255, 255, 255, 0.95); transform: translateY(-2px); }
.lvl b { display: block; font-family: var(--display); font-size: 1.1rem; transition: color 0.2s; }
.lvl span { display: block; font-size: 0.85rem; color: var(--ink-mute); }
.lvl[aria-pressed="true"] { background: #fff; box-shadow: 0 0 0 2px var(--indigo), 0 14px 24px -14px rgba(71, 72, 238, 0.7); }
.lvl[aria-pressed="true"] b { color: var(--indigo); }
.lvl .tag {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--indigo);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 8px;
  white-space: nowrap;
}

/* ---------- Showcase ---------- */
.show { position: relative; overflow: hidden; padding-top: clamp(72px, 9vw, 112px); }
.show .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.show .txt { align-self: center; padding-bottom: clamp(56px, 9vw, 112px); }
.show h2 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); font-weight: 800; letter-spacing: -0.03em; }
.show .txt > p { margin-top: 20px; font-size: 1.1rem; max-width: 30em; }
.show ul { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.show li { display: flex; gap: 14px; align-items: flex-start; font-weight: 500; }
.show li .ico { margin-top: 3px; width: 22px; height: 22px; padding: 3px; border-radius: 50%; stroke-width: 3; }
.show .ph { align-self: end; }
.show .ph img {
  width: min(400px, 82%);
  margin-inline: auto;
  margin-bottom: -26%;
  filter: drop-shadow(0 30px 40px rgba(21, 18, 59, 0.28));
}
.show.flip .txt { order: 2; }
.show.flip .ph { order: 1; }

.s-peach { background: var(--peach); }
.s-peach .txt > p, .s-peach li { color: var(--ink-soft); }
.s-peach li .ico { background: var(--peach-3); color: #fff; }
.s-lilac { background: var(--lilac); }
.s-lilac .txt > p, .s-lilac li { color: var(--ink-soft); }
.s-lilac li .ico { background: var(--indigo); color: #fff; }
.s-ink { background: var(--ink); color: #fff; }
.s-ink .txt > p, .s-ink li { color: rgba(255, 255, 255, 0.78); }
.s-ink li .ico { background: var(--peach-3); color: #fff; }
.s-ink .ph img { filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6)); }

/* ---------- Proof ---------- */
.proof { padding: 112px 0; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 8px 28px 8px 28px; border-left: 2px solid var(--line); }
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-item strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.8rem, 5.4vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--indigo);
}
.proof-item p { margin-top: 14px; color: var(--ink-soft); font-size: 1rem; max-width: 15em; }

/* ---------- Finale ---------- */
.finale { background: var(--ink); color: #fff; padding: 128px 0 120px; position: relative; overflow: hidden; }
.finale .wrap { position: relative; }
.finale img.ic { width: 96px; height: 96px; border-radius: 22.4%; margin-bottom: 40px; box-shadow: 0 24px 40px -14px rgba(71, 72, 238, 0.8); transform: rotate(-6deg); }
.finale h2 {
  font-weight: 800;
  font-size: clamp(3rem, 9.4vw, 8.4rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.finale h2 span { display: block; }
.finale h2 .dim { color: var(--lav); }
.finale .spark { position: absolute; fill: var(--lav); opacity: 0.5; }
.finale .spark.a { width: 54px; right: 12%; top: 6%; }
.finale .spark.b { width: 28px; right: 22%; top: 40%; }
.finale .spark.c { width: 38px; right: 6%; bottom: 8%; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); padding: 0 0 40px; font-size: 0.97rem; }
.footer .foot-grid { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 56px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 40px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand:hover { color: #fff; }
.footer a { color: rgba(255, 255, 255, 0.88); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer h4 { font-family: var(--display); color: #fff; font-size: 1.02rem; margin: 0 0 14px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer address { font-style: normal; display: grid; gap: 6px; }
.foot-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Inner pages ---------- */
.page-hero { padding: 0; }
.page-hero .band {
  border-radius: 0 0 48px 48px;
  padding: 20px 0 64px;
}
.band.b-mint { background: var(--mint); }
.band.b-lilac { background: var(--lilac); }
.band.b-peach { background: var(--peach); }
.page-hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 800; letter-spacing: -0.03em; margin-top: 40px; }
.page-hero .sub { margin-top: 16px; font-size: 1.15rem; color: var(--ink-soft); max-width: 34em; }
.page-hero .meta { margin-top: 20px; font-size: 0.92rem; color: var(--ink-mute); font-weight: 600; }

.doc { padding: 64px 0 112px; }
.doc .wrap { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: clamp(32px, 6vw, 88px); justify-content: center; }
.toc { position: sticky; top: 24px; align-self: start; font-size: 0.95rem; }
.toc h2 { font-size: 1rem; margin-bottom: 14px; color: var(--ink-mute); font-weight: 600; letter-spacing: 0; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: 10px; padding: 6px 10px; margin-inline: -10px; border-radius: 10px; color: var(--ink-soft); text-decoration: none; line-height: 1.35; }
.toc a::before { content: counter(t) "."; color: var(--ink-mute); min-width: 1.4em; font-variant-numeric: tabular-nums; }
.toc a:hover { background: rgba(71, 72, 238, 0.08); color: var(--indigo); }

.prose { counter-reset: s; }
.prose .tldr {
  background: var(--white);
  border: 2px solid var(--lilac-2);
  border-radius: 24px;
  padding: 22px 26px;
  margin-bottom: 8px;
  color: var(--ink-soft);
}
.prose .tldr b { color: var(--ink); font-family: var(--display); font-size: 1.1rem; display: block; margin-bottom: 6px; }
.prose section { counter-increment: s; scroll-margin-top: 24px; }
.prose h2 { font-size: 1.7rem; margin: 56px 0 16px; font-weight: 700; letter-spacing: -0.02em; display: flex; gap: 14px; align-items: baseline; }
.prose h2::before { content: counter(s) "."; color: var(--indigo); font-variant-numeric: tabular-nums; }
.prose h3 { font-size: 1.15rem; margin: 28px 0 8px; font-weight: 700; letter-spacing: -0.02em; }
.prose p { margin-bottom: 14px; color: var(--ink-soft); }
.prose ul { margin: 0 0 16px; padding-left: 1.3em; color: var(--ink-soft); }
.prose li { margin-bottom: 8px; padding-left: 4px; }
.prose li::marker { color: var(--indigo); }
.prose strong { color: var(--ink); }
.prose .caps { font-size: 0.95rem; text-transform: none; }

/* ---------- Contact ---------- */
.contact { padding: 64px 0 112px; }
.contact .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.info { display: grid; gap: 14px; }
.info-card { display: flex; gap: 18px; align-items: flex-start; background: var(--white); border-radius: 26px; padding: 22px 24px; }
.info-card .ti { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; flex: none; }
.info-card .ti .ico { width: 24px; height: 24px; }
.info-card:nth-child(1) .ti { background: var(--lilac); color: var(--lilac-3); }
.info-card:nth-child(2) .ti { background: var(--mint); color: var(--mint-3); }
.info-card:nth-child(3) .ti { background: var(--peach); color: var(--peach-3); }
.info-card h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.02em; }
.info-card p, .info-card address { font-style: normal; color: var(--ink-soft); font-size: 1rem; line-height: 1.5; }
.info-card a { font-weight: 700; word-break: break-word; }

.form-card { background: var(--white); border-radius: 36px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 30px 60px -40px rgba(53, 50, 217, 0.5); }
.form-card h2 { font-size: 1.8rem; font-weight: 700; letter-spacing: -0.02em; }
.form-card > p { margin-top: 8px; color: var(--ink-soft); }
form { margin-top: 26px; display: grid; gap: 18px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 7px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 14px 16px;
  transition: border-color 0.2s, background 0.2s;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--lilac-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); background: #fff; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%234748ee' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.btn {
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(160deg, #5a59f6, var(--indigo-deep));
  border: 0;
  border-radius: 999px;
  padding: 17px 32px;
  cursor: pointer;
  box-shadow: 0 16px 30px -12px rgba(53, 50, 217, 0.75);
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 20px 34px -12px rgba(53, 50, 217, 0.85); }
.btn:active { transform: translateY(1px); }
.form-note { font-size: 0.88rem; color: var(--ink-mute); }
.status { min-height: 1.5em; font-weight: 600; font-size: 0.95rem; color: var(--mint-3); }
.status.err { color: #c9382a; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { margin-top: 24px; }
  .c-scan, .c-dup, .c-sim, .c-cat, .c-vault { grid-column: span 6; }
  .c-scan { grid-column: span 12; }
  .c-vault { grid-column: span 12; }
  .c-comp { flex-direction: column; align-items: stretch; gap: 28px; }
  .comp-text { flex: none; }
  .proof-grid { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .proof-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .doc .wrap { grid-template-columns: 1fr; }
  .toc { position: static; background: var(--white); border-radius: 24px; padding: 20px 22px; }
  .toc ol { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .contact .wrap { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
  .show .wrap { grid-template-columns: 1fr; gap: 0; }
  .show.flip .txt, .show.flip .ph { order: 0; }
  .show .txt { padding-bottom: 48px; }
  .show .ph img { width: min(340px, 78%); margin-bottom: -22%; }
  .strip {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scrollbar-width: none;
    padding-bottom: 64px;
  }
  .strip::-webkit-scrollbar { display: none; }
  .strip figure { flex: 0 0 min(58vw, 250px); scroll-snap-align: center; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .nav a { padding: 8px 10px; font-size: 0.9rem; }
  .brand { font-size: 1.15rem; }
  .brand img { width: 36px; height: 36px; }
  .hero { padding-bottom: 80px; }
  .stage { padding-top: 108px; }
  .stage-disc { right: -14px; width: 70%; }
  .stage-icon { width: 84px; height: 84px; right: 30px; }
  .stage-hint { font-size: 0.88rem; }
  .result { padding: 16px 16px 10px; border-radius: 24px; }
  .result li { padding: 7px 0; font-size: 0.92rem; }
  .row { height: 66px; padding: 0 12px; gap: 11px; }
  .row .tile { width: 38px; height: 38px; }
  .stage-bar .sum { font-size: 1.7rem; }
  .stage-bar .go { padding: 14px 22px; }
  .features { padding: 80px 0; }
  .reel { padding: 80px 0 72px; }
  .sec-head { margin-bottom: 44px; }
  .c-dup, .c-sim, .c-cat, .c-vault, .c-scan { grid-column: span 12; }
  .card { padding: 24px; border-radius: 28px; min-height: 0; }
  .c-scan { flex-direction: column; align-items: flex-start; }
  .proof { padding: 80px 0; }
  .proof-item { padding-inline: 18px; }
  .finale { padding: 88px 0; }
  .finale .spark { display: none; }
  .f-row { grid-template-columns: 1fr; }
  .toc ol { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .page-hero .band { border-radius: 0 0 32px 32px; padding-bottom: 44px; }
  .prose h2 { font-size: 1.45rem; }
  .levels { gap: 6px; }
  .lvl { padding: 12px 6px; }
  .bar { font-size: 0.92rem; }
}

@media (max-width: 480px) {
  .site-header .wrap { gap: 8px; }
  .brand { gap: 8px; font-size: 1.05rem; }
  .brand img { width: 32px; height: 32px; }
  .nav { gap: 0; }
  .nav a { padding: 7px 8px; font-size: 0.86rem; }
}

@media (max-width: 380px) {
  .brand { font-size: 0.95rem; gap: 6px; }
  .brand img { width: 28px; height: 28px; }
  .nav a { padding: 6px 6px; font-size: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .ring .fg { stroke-dasharray: 160 314; }
  .js .reveal:not(.in) .bar.after { width: var(--w, 50%); }
  .js .pin .dots i { transform: none; opacity: 1; }
}
