/* Drifterr landing — dark, animated, orange→pink. Space Grotesk (display),
   Manrope (body), JetBrains Mono (labels). Reproduces the in-house design as a
   dependency-free static page. */

:root {
  --ink: #ffffff;
  --mute: #a9a7ba;
  --mute-2: #a3a1b4;
  --faint: #86849a;
  --faint-2: #6f6d82;

  --card: rgba(255, 255, 255, 0.04);
  --card-2: rgba(255, 255, 255, 0.035);
  --edge: rgba(255, 255, 255, 0.09);
  --edge-soft: rgba(255, 255, 255, 0.07);

  --o1: #ff7847;
  --o2: #ff3d81;
  --o-light: #ff8a64;
  --purple: #7c5cff;
  --green: #34e89e;
  --grad: linear-gradient(135deg, #ff7847, #ff3d81);

  --display: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: #07060d;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.06; }
[id] { scroll-margin-top: 100px; }

/* ===== background ===== */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% -10%, #0e0d1c 0%, #08070f 45%, #050409 100%); }
.bg .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px; animation: gridDrift 24s linear infinite;
  -webkit-mask-image: radial-gradient(80% 60% at 50% 30%, #000 0, transparent 80%);
  mask-image: radial-gradient(80% 60% at 50% 30%, #000 0, transparent 80%);
}
@keyframes gridDrift { to { background-position: 64px 64px; } }
.blob { position: absolute; border-radius: 50%; filter: blur(20px); }
.blob.a { top: -12%; left: 8%; width: 46vw; height: 46vw; max-width: 680px; max-height: 680px;
  background: radial-gradient(circle, rgba(255, 120, 71, 0.34), transparent 62%); animation: floatA 18s ease-in-out infinite; }
.blob.b { top: 18%; right: -6%; width: 42vw; height: 42vw; max-width: 620px; max-height: 620px;
  background: radial-gradient(circle, rgba(255, 61, 129, 0.30), transparent 62%); animation: floatB 22s ease-in-out infinite; }
.blob.c { top: 118%; left: 30%; width: 40vw; height: 40vw; max-width: 560px; max-height: 560px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.22), transparent 62%); animation: floatC 26s ease-in-out infinite; }
@keyframes floatA { 50% { transform: translate(40px, 30px) scale(1.08); } }
@keyframes floatB { 50% { transform: translate(-36px, 40px) scale(1.1); } }
@keyframes floatC { 50% { transform: translate(30px, -34px) scale(1.12); } }

.cursor-glow { position: fixed; width: 460px; height: 460px; border-radius: 50%; z-index: 1; pointer-events: none;
  transform: translate(-50%, -50%); opacity: 0; transition: opacity 0.4s ease;
  background: radial-gradient(circle, rgba(255, 120, 71, 0.10), transparent 60%); }

main, .nav, footer { position: relative; z-index: 2; }

/* ===== nav ===== */
.nav { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 80; width: calc(100% - 36px); max-width: 1140px; }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 12px 22px;
  background: rgba(16, 15, 26, 0.55); border: 1px solid var(--edge);
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  border-radius: 18px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.brand { display: flex; align-items: center; gap: 11px; color: #fff; }
.mark { position: relative; display: inline-flex; width: 26px; height: 26px; animation: logoFloat 4s ease-in-out infinite; }
.mark::before { content: ""; position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 61, 129, 0.5), transparent 64%); filter: blur(5px);
  pointer-events: none; animation: logoHalo 3.2s ease-in-out infinite; }
.mark span { position: absolute; width: 13px; height: 13px; border-radius: 50%; }
.mark .fill { background: var(--grad); left: 0; top: 6px; animation: anchorPulse 2.6s ease-in-out infinite; }
.mark .ring { border: 1.5px solid rgba(255, 255, 255, 0.92); right: 0; top: 0; box-shadow: 0 0 8px rgba(255, 255, 255, 0.25); animation: driftAway 3.8s cubic-bezier(0.6, 0, 0.2, 1) infinite; }
@keyframes logoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.5px); } }
@keyframes logoHalo { 0%, 100% { opacity: 0.45; transform: translate(-50%, -50%) scale(0.9); } 50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.15); } }
@keyframes anchorPulse { 0%, 100% { transform: scale(1); box-shadow: 0 0 9px rgba(255, 61, 129, 0.6), inset 0 0 4px rgba(255, 255, 255, 0.4); } 50% { transform: scale(1.1); box-shadow: 0 0 17px rgba(255, 61, 129, 0.9), inset 0 0 5px rgba(255, 255, 255, 0.5); } }
@keyframes driftAway { 0%, 10% { transform: translate(0, 0); } 46%, 54% { transform: translate(6px, -6px); } 72% { transform: translate(-1.5px, 1.5px); } 84%, 100% { transform: translate(0, 0); } }
.brand b { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: #b6b4c6; font-size: 14.5px; font-weight: 500; transition: color 0.2s ease; }
.nav-links a:hover { color: #fff; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-acct { color: #b6b4c6; font-size: 14.5px; font-weight: 600; transition: color 0.2s ease; }
.nav-acct:hover { color: #fff; }

/* ===== buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 700; cursor: pointer; border: none;
  padding: 10px 18px; border-radius: 12px; font-size: 14px;
  background: var(--grad); color: #fff; box-shadow: 0 6px 24px rgba(255, 61, 129, 0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease, filter 0.2s ease; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 12px 32px rgba(255, 61, 129, 0.45); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 15px 26px; font-size: 15.5px; border-radius: 14px; }
.btn-ghost { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); color: #eceaf4;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: none; font-weight: 600; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); filter: none; }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ===== section heads ===== */
section { padding: 96px 24px; max-width: var(--maxw); margin: 0 auto; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--o-light); }
h2.section-title { font-size: clamp(30px, 3.6vw, 46px); }
.center { text-align: center; }

/* ===== hero ===== */
.hero { padding: 178px 24px 90px; }
.hero-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(36px, 4.3vw, 66px); line-height: 1.04; margin-bottom: 22px; }
.hero h1 .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: 18.5px; line-height: 1.6; color: var(--mute); max-width: 520px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-stats { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats .v { font-family: var(--display); font-weight: 700; font-size: 26px; }
.hero-stats .l { font-size: 13px; color: var(--faint); margin-top: 2px; }
.hero-stats .sep { width: 1px; background: rgba(255, 255, 255, 0.1); align-self: stretch; }

/* chat mockup */
.mock { position: relative; }
.mock-glow { position: absolute; inset: -30px; border-radius: 32px; filter: blur(30px); z-index: 0;
  background: radial-gradient(circle at 70% 20%, rgba(255, 61, 129, 0.28), transparent 60%); }
.chat { position: relative; z-index: 1; background: rgba(15, 14, 24, 0.72); border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%);
  border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); overflow: hidden; }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--edge-soft); }
.dots { display: flex; gap: 7px; }
.dots span { width: 11px; height: 11px; border-radius: 50%; }
.dots span:nth-child(1) { background: #ff5f57; } .dots span:nth-child(2) { background: #febc2e; } .dots span:nth-child(3) { background: #28c840; }
.chat-head .sess { font-family: var(--mono); font-size: 11px; color: #7e7c92; letter-spacing: 0.05em; }
.anchor { margin: 14px 16px 4px; padding: 10px 13px; border-radius: 12px; background: rgba(255, 120, 71, 0.08);
  border: 1px solid rgba(255, 120, 71, 0.22); display: flex; align-items: center; gap: 10px; }
.anchor .sq { width: 8px; height: 8px; border-radius: 2px; background: var(--grad); flex-shrink: 0; }
.anchor .tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.05em; color: #ffb08c; }
.anchor .txt { font-size: 12.5px; color: #d8d6e4; }
.anchor .txt b { color: #ff9b78; font-weight: 600; }
.msgs { padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 84%; padding: 11px 14px; font-size: 13.5px; line-height: 1.5; }
.msg.me { align-self: flex-end; max-width: 78%; border-radius: 14px 14px 4px 14px; background: rgba(255, 255, 255, 0.07); color: #e9e7f1; }
.msg.ai { align-self: flex-start; border-radius: 14px 14px 14px 4px; background: rgba(255, 120, 71, 0.06); border: 1px solid rgba(255, 255, 255, 0.05); color: #cfcddd; }
.typing { align-self: flex-start; display: flex; gap: 5px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 120, 71, 0.06); border: 1px solid rgba(255, 255, 255, 0.05); }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: #8a889c; animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: 0.2s; } .typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
.alert { margin: 4px 14px 16px; padding: 16px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 61, 129, 0.14), rgba(255, 61, 129, 0.05));
  border: 1px solid rgba(255, 61, 129, 0.35); animation: dropIn 0.6s var(--ease) 1s both; }
@keyframes dropIn { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.alert-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.alert-top .l { display: flex; align-items: center; gap: 9px; }
.alert .bang { width: 24px; height: 24px; border-radius: 50%; background: var(--grad); display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: #fff; animation: pulseRing 2.4s infinite; }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(255, 61, 129, 0.5); } 70% { box-shadow: 0 0 0 10px rgba(255, 61, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 61, 129, 0); } }
.alert .title { font-family: var(--display); font-weight: 700; font-size: 15px; }
.alert .score { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1; color: #ff5e92; text-align: right; }
.alert .score small { display: block; font-size: 9.5px; letter-spacing: 0.08em; font-family: var(--mono); color: #c9849f; font-weight: 400; margin-top: 3px; }
.bar { height: 5px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin-bottom: 12px; }
.bar i { display: block; height: 100%; border-radius: 4px; background: var(--grad); width: 87%; animation: barFill 1.7s var(--ease) 0.5s both; }
@keyframes barFill { from { width: 0; } }
.alert p { font-size: 12.5px; line-height: 1.5; color: #d8c4ce; margin-bottom: 14px; }
.alert p b { color: #fff; font-weight: 600; } .alert p .c { color: #ff9b78; }
.alert-btns { display: flex; gap: 9px; }
.alert-btns .re { flex: 1; padding: 10px; border: none; border-radius: 11px; background: var(--grad); color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; font-family: var(--sans); }
.alert-btns .dismiss { padding: 10px 16px; border-radius: 11px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); color: #cbc9d8; font-weight: 600; font-size: 13px; cursor: pointer; font-family: var(--sans); }

/* marquee */
.marquee { margin-top: 72px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 26s linear infinite;
  align-items: center; color: var(--faint-2); font-family: var(--display); font-weight: 600; font-size: 18px; }
.marquee-track .row { display: flex; align-items: center; gap: 56px; }
.marquee-track .row b { color: #9a98ad; font-weight: 600; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== how ===== */
.how .head { text-align: center; margin-bottom: 60px; }
.how .head .kicker { display: block; margin-bottom: 16px; }
.how-grid { display: grid; grid-template-columns: 0.84fr 1.16fr; gap: 36px; align-items: stretch; }
.how-steps { display: flex; flex-direction: column; gap: 12px; }
.how-step { position: relative; display: flex; gap: 15px; align-items: flex-start; text-align: left; cursor: pointer;
  padding: 20px; border-radius: 18px; background: transparent; border: 1px solid transparent; color: inherit; font: inherit;
  transition: background 0.3s var(--ease), border-color 0.3s ease; }
.how-step:hover { background: rgba(255, 255, 255, 0.03); }
.how-step.active { background: var(--card); border-color: var(--edge); }
.s-num { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  font-family: var(--mono); font-size: 13px; border: 1px solid var(--edge); color: var(--ink-faint); }
.how-step.active .s-num { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(255, 61, 129, 0.35); }
.s-body { flex: 1; min-width: 0; }
.how-step h3 { font-size: 18px; margin-bottom: 5px; color: #f4f3f7; }
.how-step p { font-size: 13.5px; line-height: 1.55; color: var(--mute-2); }
.s-prog { display: block; margin-top: 14px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; opacity: 0; transition: opacity 0.3s; }
.how-step.active .s-prog { opacity: 1; }
.s-prog i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--grad); }
.how-grid.advancing .how-step.active .s-prog i { animation: progFill 3.8s linear forwards; }
@keyframes progFill { from { width: 0; } to { width: 100%; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* live demo panel */
.how-panel { background: rgba(15, 14, 24, 0.6); border: 1px solid var(--edge); border-radius: 22px; overflow: hidden;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); display: flex; flex-direction: column; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4); }
.hp-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; border-bottom: 1px solid var(--edge-soft); }
.dots3 { display: flex; gap: 7px; }
.dots3 i { width: 11px; height: 11px; border-radius: 50%; }
.dots3 i:nth-child(1) { background: #ff5f57; } .dots3 i:nth-child(2) { background: #febc2e; } .dots3 i:nth-child(3) { background: #28c840; }
.hp-live { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.hp-live .live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.hp-body { flex: 1; padding: 24px; min-height: 326px; }
.hp-state { display: flex; flex-direction: column; gap: 14px; animation: dropY 0.5s var(--ease); }
.hp-state[hidden] { display: none; }
@keyframes dropY { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hp-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: #7e7c92; }
.hp-msg { align-self: flex-start; max-width: 90%; padding: 12px 15px; border-radius: 12px; font-size: 13.5px; line-height: 1.5; background: rgba(255, 255, 255, 0.05); color: #e9e7f1; }
.hp-msg.me { align-self: flex-end; border-radius: 12px 12px 4px 12px; }
.hp-msg.warn { align-self: stretch; max-width: none; background: rgba(255, 120, 71, 0.1); border: 1px solid rgba(255, 120, 71, 0.25); color: #ffcaa8; font-family: var(--mono); font-size: 12px; }
.hp-msg b { color: #ff9b78; font-weight: 600; }
.hp-anchor { display: flex; align-items: center; gap: 10px; padding: 10px 13px; border-radius: 12px; background: rgba(255, 120, 71, 0.08); border: 1px solid rgba(255, 120, 71, 0.22); font-size: 12.5px; color: #d8d6e4; }
.hp-anchor .tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.05em; color: #ffb08c; }
.hp-anchor b { color: #ff9b78; }
.hp-ok { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--green); line-height: 1.4; }
.hp-ok .ck { flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; background: rgba(52, 232, 158, 0.18); display: grid; place-items: center; font-size: 11px; }
.hp-meter-row { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: #c9849f; }
.hp-meter { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.hp-meter i { display: block; height: 100%; width: 64%; background: var(--grad); }
.hp-alert { padding: 16px; border-radius: 16px; background: linear-gradient(180deg, rgba(255, 61, 129, 0.14), rgba(255, 61, 129, 0.05)); border: 1px solid rgba(255, 61, 129, 0.35); display: flex; flex-direction: column; gap: 12px; }
.hp-alert-top { display: flex; align-items: center; justify-content: space-between; }
.hp-alert-top .l { display: flex; align-items: center; gap: 9px; }
.hp-bang { width: 22px; height: 22px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; }
.hp-alert .ttl { font-family: var(--display); font-weight: 700; font-size: 15px; }
.hp-alert .pct { font-family: var(--mono); font-size: 11px; color: #c9849f; }
.hp-alert p { font-size: 12.5px; line-height: 1.5; color: #d8c4ce; }
.hp-alert p b { color: #fff; font-weight: 600; } .hp-alert p .c { color: #ff9b78; }
.hp-re { align-self: flex-start; background: var(--grad); color: #fff; border: none; border-radius: 10px; padding: 9px 15px; font-size: 12.5px; font-weight: 700; cursor: pointer; font-family: var(--sans); }

/* ===== features (bento) ===== */
.features .head { max-width: 620px; margin-bottom: 54px; }
.features .head .kicker { display: block; margin-bottom: 16px; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(202px, auto); grid-auto-flow: dense; gap: 18px; }
.card { position: relative; overflow: hidden; padding: 28px; border-radius: 24px;
  background: var(--card-2); border: 1px solid var(--edge);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform 0.3s var(--ease), border-color 0.3s ease; }
.card:hover { transform: translateY(-4px); border-color: rgba(255, 138, 100, 0.4); }
.card.big { grid-column: span 2; grid-row: span 2; padding: 32px; justify-content: flex-start; }
.card.wide { grid-column: span 2; }
.card.row { flex-direction: row; align-items: center; gap: 24px; }
.card .b-meta { position: relative; }
.card h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -0.01em; }
.card.big h3 { font-size: 23px; margin-bottom: 10px; }
.card p { font-size: 14px; line-height: 1.6; color: var(--mute-2); max-width: 420px; }
.card .glow { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.35s ease;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 138, 100, 0.16), transparent 55%); }
.card[data-spot]:hover .glow { opacity: 1; }

/* drift-score tile */
.card.big .live { position: relative; display: flex; align-items: center; gap: 9px; }
.card.big .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.card.big[data-spot]:hover .pulse { animation: blink 2s ease-in-out infinite; }
.card.big .mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #9a98ad; }
.gauge { position: relative; flex: 1; display: grid; place-items: center; margin: 6px 0; }
.gauge svg { width: 168px; height: 168px; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.gauge .g-bg { stroke: rgba(255, 255, 255, 0.08); }
.gauge .g-fg { stroke: var(--o-light); stroke-dasharray: 314; stroke-dashoffset: 182; }
.card.big[data-spot]:hover .g-fg { animation: gaugeFill 1.8s var(--ease); }
@keyframes gaugeFill { from { stroke-dashoffset: 314; } }
.g-num { position: absolute; text-align: center; }
.g-num b { font-family: var(--display); font-weight: 700; font-size: 44px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.g-num span { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--faint); }
.g-num i { color: var(--o-light); font-style: normal; }

/* constraint chips */
.chips { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { font-family: var(--mono); font-size: 12px; padding: 6px 11px; border-radius: 8px;
  background: rgba(52, 232, 158, 0.14); border: 1px solid rgba(52, 232, 158, 0.45); color: #7ff0c0; }
.card.wide[data-spot]:hover .chips .brk { animation: chipBreak 4.2s ease-in-out infinite; }
.chips.small { margin-top: 12px; }
.chips.small span { font-family: var(--sans); font-weight: 600; background: rgba(255, 255, 255, 0.05); border-color: var(--edge); color: #b6b4c6; }
.chips.small .more { color: var(--o-light); }
@keyframes chipBreak { 0%, 50% { background: rgba(52, 232, 158, 0.14); border-color: rgba(52, 232, 158, 0.45); color: #7ff0c0; }
  62%, 88% { background: rgba(255, 61, 129, 0.2); border-color: rgba(255, 61, 129, 0.55); color: #ffd0dc; }
  100% { background: rgba(52, 232, 158, 0.14); border-color: rgba(52, 232, 158, 0.45); color: #7ff0c0; } }

/* re-anchor demo */
.re-demo { position: relative; display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.re-track { position: relative; flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(255,138,100,.4), rgba(255,61,129,.4)); }
.re-dot { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 12px rgba(255,120,71,.9); transform: translate(-50%, -50%); }
.card.wide[data-spot]:hover .re-dot { animation: snapDrift 3.4s ease-in-out infinite; }
.re-pill { font-size: 12.5px; font-weight: 700; color: #fff; padding: 8px 14px; border-radius: 999px; background: var(--grad); box-shadow: 0 6px 18px rgba(255,61,129,.35); white-space: nowrap; }
@keyframes snapDrift { 0%, 10% { left: 0; } 42%, 58% { left: 100%; } 72% { left: 46%; } 82%, 100% { left: 0; } }

/* works-everywhere orbit */
.orbit { position: relative; width: 72px; height: 72px; flex-shrink: 0; }
.orbit .o-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.08); }
.orbit .o-ring.d2 { inset: 14px; }
.orbit .o-core { position: absolute; left: 50%; top: 50%; width: 13px; height: 13px; border-radius: 50%; background: var(--grad); transform: translate(-50%, -50%); box-shadow: 0 0 12px rgba(255,120,71,.8); }
.orbit .o-sat { position: absolute; width: 8px; height: 8px; border-radius: 50%; top: -3px; left: 50%; margin-left: -4px; }
.orbit .o-sat.s1 { transform-origin: 4px 39px; background: var(--o-light); }
.orbit .o-sat.s2 { transform-origin: 4px 25px; background: var(--o2); top: 11px; }
.card.row[data-spot]:hover .o-sat.s1 { animation: spin 5.5s linear infinite; }
.card.row[data-spot]:hover .o-sat.s2 { animation: spin 3.8s linear infinite reverse; }

/* drift-map equaliser */
.eq { display: flex; align-items: flex-end; gap: 5px; height: 48px; }
.eq span { width: 6px; height: 46px; border-radius: 3px; background: linear-gradient(#ff7847, #ff3d81); transform-origin: bottom; transform: scaleY(0.4); }
.eq span:nth-child(odd) { transform: scaleY(0.7); }
.card[data-spot]:hover .eq span { animation: eq 1.7s ease-in-out infinite; }
.eq span:nth-child(2) { animation-delay: 0.15s; } .eq span:nth-child(3) { animation-delay: 0.3s; }
.eq span:nth-child(4) { animation-delay: 0.45s; } .eq span:nth-child(5) { animation-delay: 0.6s; }
.eq span:nth-child(6) { animation-delay: 0.75s; } .eq span:nth-child(7) { animation-delay: 0.9s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.22); } 50% { transform: scaleY(1); } }

/* private shield */
.shield { position: relative; width: 50px; height: 56px; display: grid; place-items: center; overflow: hidden; }
.shield svg { width: 50px; height: 56px; }
.shield .scan { position: absolute; left: 0; right: 0; height: 34%; top: -30%; background: linear-gradient(180deg, transparent, rgba(255, 138, 100, 0.6), transparent); }
.card[data-spot]:hover .shield .scan { animation: scanY 2.6s linear infinite; }
@keyframes scanY { 0% { top: -30%; } 100% { top: 115%; } }

/* ===== testimonials ===== */
.tmonials .head { margin-bottom: 40px; }
.tmonials .head .kicker { display: block; margin-bottom: 16px; }
.tm-row { display: flex; gap: 20px; width: max-content; animation: marquee 40s linear infinite; }
.tm-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tm { flex: 0 0 358px; width: 358px; padding: 26px; border-radius: 20px; background: var(--card); border: 1px solid var(--edge); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.tm p { font-size: 15px; line-height: 1.6; color: #d8d6e4; margin-bottom: 18px; }
.tm .who { display: flex; align-items: center; gap: 11px; }
.tm .av { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); flex-shrink: 0; }
.tm .nm { font-weight: 700; font-size: 14px; } .tm .rl { font-size: 12.5px; color: var(--faint); }

/* ===== pricing ===== */
.pricing .head { text-align: center; margin-bottom: 16px; }
.pricing .head .kicker { display: block; margin-bottom: 16px; }
.toggle { display: flex; justify-content: center; gap: 4px; margin: 0 auto 48px; padding: 5px; width: max-content;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--edge); border-radius: 12px; }
.toggle button { position: relative; padding: 9px 20px; border: none; border-radius: 9px; background: transparent; color: #fff;
  font-weight: 600; font-size: 13.5px; cursor: pointer; font-family: var(--sans); display: flex; align-items: center; gap: 8px; }
.toggle button.on { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.14); }
.toggle .save { font-size: 10.5px; padding: 2px 7px; border-radius: 6px; background: rgba(255, 120, 71, 0.18); color: #ff9b78; font-family: var(--mono); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier { display: flex; flex-direction: column; padding: 32px 28px; border-radius: 22px; background: var(--card); border: 1px solid var(--edge); position: relative; }
.tier.feat { border-color: rgba(255, 120, 71, 0.4); box-shadow: 0 20px 60px rgba(255, 61, 129, 0.12); }
.tier .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 100px; background: var(--grad); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; }
.tier .name { font-family: var(--display); font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.tier .price { font-family: var(--display); font-weight: 700; font-size: 46px; letter-spacing: -0.02em; }
.tier .price small { font-size: 15px; color: var(--faint); font-weight: 500; font-family: var(--sans); }
.tier .desc { font-size: 13.5px; color: #8d8ba0; margin: 10px 0 22px; }
.tier ul { list-style: none; display: grid; gap: 11px; margin-bottom: 26px; }
.tier li { display: flex; gap: 9px; font-size: 14px; color: #d8d6e4; }
.tier li span { color: var(--o-light); }
.tier .pick { margin-top: auto; text-align: center; padding: 13px; border-radius: 12px; font-weight: 700; font-size: 14px; }
.tier .pick.ghost { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); color: #fff; }

/* ===== faq ===== */
.faq { max-width: 820px; }
.faq .head { text-align: center; margin-bottom: 48px; }
.faq .head .kicker { display: block; margin-bottom: 16px; }
.qa { position: relative; border: 1px solid var(--edge); border-radius: 16px; background: rgba(255, 255, 255, 0.02); margin-bottom: 12px; overflow: hidden; }
.qa.open { border-color: rgba(255, 120, 71, 0.3); }
.qa.open::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad); }
.qa button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px;
  background: transparent; border: none; color: #fff; cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 16.5px; text-align: left; }
.qa .plus { flex-shrink: 0; color: var(--o-light); font-size: 22px; transition: transform 0.3s var(--ease); }
.qa.open .plus { transform: rotate(45deg); }
.qa .ans { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.qa.open .ans { max-height: 240px; }
.qa .ans p { padding: 0 22px 20px; font-size: 14.5px; line-height: 1.65; color: var(--mute-2); }

/* ===== final cta ===== */
.final { padding: 60px 24px 110px; text-align: center; }
.final h2 { font-size: clamp(32px, 4.2vw, 56px); letter-spacing: -0.025em; line-height: 1.05; margin-bottom: 18px; }
.final h2 .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.final p { font-size: 17px; color: var(--mute); max-width: 30em; margin: 0 auto 32px; line-height: 1.6; }
.final-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.final .sub { margin-top: 18px; font-size: 13px; color: var(--faint-2); }

/* ===== footer ===== */
footer { border-top: 1px solid var(--edge-soft); }
.foot-inner { max-width: var(--maxw); margin: 0 auto; padding: 40px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a { color: var(--faint); font-size: 14.5px; transition: color 0.2s ease; }
.foot-links a:hover { color: #fff; }
.foot-copy { font-family: var(--mono); font-size: 12px; color: #5d5b70; }

/* ===== toast ===== */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  z-index: 200; max-width: calc(100% - 32px);
  padding: 13px 20px; border-radius: 14px;
  background: rgba(20, 18, 30, 0.85); border: 1px solid var(--edge);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  color: var(--ink); font-size: 14px; font-weight: 500;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ===== reveal ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.bento .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: 0.08s; }
.bento .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: 0.16s; }

/* ===== responsive ===== */
@media (max-width: 920px) {
  .nav-links { display: none; }
  .hero { padding-top: 130px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .tiers { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .card.big, .card.wide { grid-column: auto; grid-row: auto; }
  .track { display: none; }
  .tier.feat { order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
