/* Sentvale design system. Light mode only. Warm paper base, near-black UI,
   one violet-pink-blue gradient used as the accent. Self-hosted fonts. */

/* Display serif (Fraunces) + body grotesque (Hanken Grotesk), latin subsets */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/fraunces-600.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/fraunces-700.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/hanken-400.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/hanken-500.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/hanken-700.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("fonts/fraunces-900.woff2") format("woff2");
}
@font-face {
  /* heavy ALL-CAPS callouts (King Kong loudness) */
  font-family: "Archivo Black";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/archivo-black.woff2") format("woff2");
}

:root {
  /* King Kong layout, sky-blue / white / black theme */
  --bg:         #ffffff;  /* white base */
  --surface:    #ffffff;
  --surface-2:  #eef2f6;  /* light grey-blue alt section */
  --ink:        #0a0a0c;  /* near-black: huge headlines + body */
  --text:       #23262b;  /* body text */
  --muted:      #6b7480;  /* secondary */
  --border:     #e3e8ee;  /* hairline */
  --hero-bg:    #0a0a0c;  /* black hero */
  --accent:     #1f9fff;  /* sky blue: accents, highlight, big shapes */
  --accent-strong: #0a84e8;
  --link:       #1366c8;  /* AA-safe blue for inline text/links/power words */
  --accent-ink: #ffffff;
  --hl:         rgba(31, 159, 255, 0.28); /* sky-blue highlighter marker */
  --btn-grad:   linear-gradient(180deg, #2aa0ff 0%, #0a84e8 100%); /* glossy sky-blue */
  --btn-ink:    #ffffff;
  --radius-pill: 999px;
  --radius-btn:  14px;    /* King Kong: rounded-rect buttons */
  --radius-card: 18px;
  --maxw: 1080px;

  /* one heavy display sans for every big headline (King Kong), clean body */
  --font-display: "Archivo Black", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-loud: "Archivo Black", system-ui, -apple-system, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.6;
  text-align: start;
}

/* Layout */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

main {
  display: block;
}

html {
  scroll-behavior: smooth;
}

section {
  padding-block: clamp(40px, 6vw, 72px);
}

/* Anchor targets clear the sticky header */
#how-it-works,
#features,
#trust,
#story,
#faq {
  scroll-margin-top: 80px;
}

/* Typography */
h1, h2, h3 {
  color: var(--ink);
  margin: 0;
  font-family: var(--font-display);
}

h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(54px, 9.5vw, 132px);
  font-weight: 400; /* Archivo Black is already heavy */
  letter-spacing: -0.015em;
  line-height: 0.9;
}

h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(42px, 6.2vw, 92px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 0.94;
}

/* card titles stay clean sentence-case bold (King Kong sub-heads) */
h3 {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

a {
  color: var(--link);
}

/* --- Loudness + emphasis system (King Kong / Sabri Suby) ----------------- */

/* heavy ALL-CAPS callout line for the genuine punch moments */
.loud {
  font-family: var(--font-loud);
  text-transform: uppercase;
  font-weight: 400; /* Archivo Black is already heavy */
  font-size: clamp(38px, 7vw, 84px);
  letter-spacing: -0.01em;
  line-height: 0.98;
  color: var(--ink);
}

/* highlighter marker behind a phrase. Saturated enough to read on the
   cool-blue base; wraps cleanly across line breaks. */
.hl {
  background: var(--hl);
  border-radius: 5px;
  padding: 0.04em 0.2em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* thick accent underline drawn at the baseline (survives descenders) */
.uline {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 3px;
  padding-bottom: 3px;
}

/* power word: bright enough to pop, dark enough to pass AA inline */
.pow {
  color: var(--link);
  font-weight: 700;
}

/* gradient-text class kept as a harmless alias (now plain accent) for any
   leftover markup */
.grad-text {
  color: var(--link);
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

/* Accessible focus + skip link */
:where(a, button, input, summary):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 16px;
}

.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

/* Buttons: big, heavy, uppercase, rounded-rect sky blue (King Kong) */
.btn {
  display: inline-block;
  background: var(--btn-grad);
  color: var(--btn-ink);
  font-family: var(--font-loud);
  text-transform: uppercase;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 0;
  border-radius: var(--radius-btn);
  padding: 18px 34px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(10, 132, 232, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 16px 32px rgba(10, 132, 232, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* alias kept so existing .btn-grad markup still renders the glossy blue */
.btn-grad {
  background: var(--btn-grad);
}

.btn:disabled {
  cursor: default;
  filter: none;
  transform: none;
  opacity: 0.6;
}

/* Top navigation: solid black bar (King Kong) */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #0a0a0c;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.2s ease;
}

.nav.scrolled {
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

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

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-mark {
  width: 24px;
  height: 24px;
  flex: none;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 15px;
  box-shadow: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  opacity: 0.72;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a.active {
  opacity: 1;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
}

/* Hero (side-by-side: copy left, animated phone right) — black, King Kong */
.hero {
  position: relative;
  background: var(--hero-bg);
  padding-block: clamp(44px, 6vw, 80px) clamp(72px, 10vw, 132px);
  overflow: clip;
  /* diagonal bottom edge where the black hero meets the white page */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 4vw));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.hero-copy {
  max-width: 40rem;
}

/* huge white headline on black (King Kong) */
.hero .eyebrow {
  color: var(--accent);
}

.hero h1 {
  color: #fff;
  font-size: clamp(40px, 5.6vw, 78px);
  margin-block: 4px 24px;
}

.hero .subhead {
  font-size: clamp(20px, 2.4vw, 27px);
  color: rgba(255, 255, 255, 0.94);
}

.hero .subhead + .subhead {
  margin-top: 8px;
}

.hero .btn {
  margin-top: 30px;
  box-shadow: 0 8px 22px rgba(8, 40, 90, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.microtrust {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

/* Phone + soft gradient glow behind it (atmosphere, Cluely-style) */
.phone-stage {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 320px;
}

.phone-glow {
  position: absolute;
  inset: -16% -14% -10%;
  z-index: 0;
  background: radial-gradient(closest-side, rgba(42, 160, 255, 0.7), transparent 72%);
  filter: blur(58px);
  opacity: 0.9;
  border-radius: 50%;
  pointer-events: none;
}

/* Phone mock: realistic Telegram dark chat, pure HTML/CSS. Telegram tokens are
   scoped here so the phone reads as a dark device on the light page. */
.phone {
  --tg-bg:        #0e1621;   /* chat wallpaper base */
  --tg-bar:       #17212b;   /* header + input bars */
  --tg-bubble:    #182533;   /* incoming bubble */
  --tg-ink:       #ebf0f4;   /* message text */
  --tg-dim:       #6d7f8f;   /* timestamps, secondary */
  --tg-name:      #6cb1f0;   /* sender name (peer color) */
  --tg-blue:      #3390ec;   /* Telegram accent */

  position: relative;
  z-index: 1;
  justify-self: center;
  width: 100%;
  max-width: 320px;
  background: #0a0d12;
  border: 10px solid #2b3039;
  border-radius: 44px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.28);
}

/* Stage holds the animated scenes (one visible at a time) */
.phone-screen {
  position: relative;
  background: #0a0d12;
  border-radius: 34px;
  overflow: hidden;
  min-height: 560px;
}

/* faint Telegram-style doodle wallpaper, inline so there is no external image */
.scene-lock,
.scene-chat {
  background-color: var(--tg-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.4' stroke-linecap='round' opacity='0.05'%3E%3Cpath d='M20 18l4 4 4-4'/%3E%3Ccircle cx='90' cy='22' r='6'/%3E%3Cpath d='M58 50h12v10H58z'/%3E%3Cpath d='M22 70c4-6 10-6 14 0'/%3E%3Cpath d='M86 78l5 5 5-5'/%3E%3Cpath d='M44 96c0-5 4-9 9-9'/%3E%3Cpath d='M100 100l4 4'/%3E%3Ccircle cx='30' cy='44' r='3'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 150px;
}

/* --- Scene engine -------------------------------------------------------- */
.scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease;
}

.scene.is-active {
  opacity: 1;
  visibility: visible;
}

/* tap ripple used across scenes */
.tap {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.scene.is-active .tap {
  animation: tap-pulse 1.6s ease-out 0.5s infinite;
}

@keyframes tap-pulse {
  0% { transform: scale(0.4); opacity: 0; }
  20% { opacity: 0.9; }
  60% { transform: scale(1.5); opacity: 0; }
  100% { opacity: 0; }
}

/* Scene 1: lock screen + push notification */
.scene-lock .lock-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px;
}

.lock-clock {
  margin-top: 38px;
  font-size: 64px;
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.lock-date {
  margin-top: 6px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.notif {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  width: 100%;
  margin-top: auto;
  margin-bottom: 24px;
  padding: 12px;
  background: rgba(28, 36, 46, 0.92);
  border-radius: 16px;
  backdrop-filter: blur(6px);
}

.scene-lock.is-active .notif {
  animation: notif-in 0.6s ease both;
}

@keyframes notif-in {
  from { transform: translateY(-14px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.notif-icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--tg-blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.notif-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.notif-app {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.notif-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.notif-body {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.35;
}

.notif .tap {
  right: 14px;
  bottom: 12px;
}

/* Scene 3 + 4 + 5 + 6: light trading-app surfaces */
.scene-app,
.scene-confirm,
.scene-balance,
.scene-chart {
  background: #f4f6f9;
  color: var(--text);
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 16px 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  color: var(--ink);
}

.app-bar .app-back {
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
}

.app-bar .app-ex {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.app-body {
  flex: 1;
  padding: 18px 16px;
}

.bot-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 6px 20px rgba(11, 13, 18, 0.06);
}

.bot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bot-pair {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.status-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.status-pill.warn {
  background: #fdecec;
  color: #c0341d;
}

.status-pill.ok {
  background: #e8f6ee;
  color: #1c7a45;
}

.bot-type {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

.bot-range {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text);
}

.bot-range .bot-price {
  font-weight: 700;
  color: var(--ink);
}

.app-btn {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 13px 16px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: default;
  overflow: hidden;
}

.app-btn .tap {
  left: 50%;
  top: 50%;
  margin: -13px 0 0 -13px;
}

/* Scene 4: sell confirm sheet */
.scene-confirm {
  background: rgba(11, 13, 18, 0.55);
  justify-content: flex-end;
}

.sheet {
  background: var(--surface);
  border-radius: 20px 20px 0 0;
  padding: 24px 18px 26px;
  text-align: center;
}

.scene-confirm.is-active .sheet {
  animation: sheet-up 0.5s ease both;
}

@keyframes sheet-up {
  from { transform: translateY(40px); opacity: 0.4; }
  to { transform: translateY(0); opacity: 1; }
}

.sheet-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.sheet-sub {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.sheet-cancel {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

/* Scene 5: balance secured */
.balance-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.check-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e8f6ee;
  color: #1c7a45;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 700;
}

.scene-balance.is-active .check-badge {
  animation: pop-in 0.5s ease both;
}

@keyframes pop-in {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.balance-label {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

.balance-amt {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 30px;
  font-weight: 800;
  color: var(--ink);
}

.balance-amt span {
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
}

.usdt-logo {
  width: 28px;
  height: 28px;
  flex: none;
}

.balance-cap {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #1c7a45;
}

/* Scene 6: profit chart */
.chart-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 18px;
}

.chart-head {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.chart-wrap {
  margin-top: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
}

.mini-chart {
  display: block;
  width: 100%;
  height: 120px;
}

.mini-chart .range-band {
  fill: rgba(31, 123, 255, 0.09);
}

.mini-chart .range-line {
  stroke: rgba(31, 123, 255, 0.38);
  stroke-width: 1;
  stroke-dasharray: 4 4;
}

.mini-chart .price-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
}

.scene-chart.is-active .price-line {
  animation: draw-line 1.6s ease forwards;
}

@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}

.chart-cap {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 600;
}

/* iOS-style status bar */
.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--tg-bar);
  color: var(--tg-ink);
  padding: 10px 22px 6px;
  font-size: 13px;
  font-weight: 600;
}

.phone-status .status-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.signal-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 11px;
}

.signal-bars i {
  width: 3px;
  background: var(--tg-ink);
  border-radius: 1px;
}

.signal-bars i:nth-child(1) { height: 4px; }
.signal-bars i:nth-child(2) { height: 6px; }
.signal-bars i:nth-child(3) { height: 8px; }
.signal-bars i:nth-child(4) { height: 11px; }

.battery {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: #4ac26b;
  font-weight: 700;
}

.battery .cell {
  width: 22px;
  height: 11px;
  border: 1.5px solid #4ac26b;
  border-radius: 3px;
  position: relative;
  padding: 1.5px;
}

.battery .cell::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 3px;
  width: 2px;
  height: 4px;
  background: #4ac26b;
  border-radius: 0 1px 1px 0;
}

.battery .fill {
  display: block;
  height: 100%;
  width: 85%;
  background: #4ac26b;
  border-radius: 1px;
}

/* Chat header */
.phone-header {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--tg-bar);
  color: var(--tg-ink);
  padding: 8px 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.phone-back {
  color: var(--tg-blue);
  font-size: 22px;
  line-height: 1;
  flex: none;
}

.phone-peer {
  flex: 1;
  min-width: 0;
}

.phone-title {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
}

.phone-sub {
  font-size: 12px;
  color: var(--tg-blue);
}

.phone-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--tg-blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  flex: none;
}

/* Messages */
.phone-body {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-day {
  align-self: center;
  background: rgba(0, 0, 0, 0.35);
  color: #c9d4de;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.bubble {
  align-self: flex-start;
  background: var(--tg-bubble);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  padding: 8px 11px 6px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--tg-ink);
  max-width: 86%;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  position: relative;
}

.bubble .bubble-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 13px;
  color: var(--tg-name);
  margin-bottom: 2px;
}

.bubble .siren {
  font-size: 13px;
  line-height: 1;
}

.bubble .bubble-time {
  display: block;
  text-align: right;
  font-size: 10px;
  color: var(--tg-dim);
  margin-top: 2px;
}

/* Input bar */
.phone-input {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--tg-bar);
  padding: 10px 14px;
  color: var(--tg-dim);
}

.phone-input .pill {
  flex: 1;
  background: #242f3d;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--tg-dim);
}

.phone-input .ico {
  font-size: 18px;
  color: var(--tg-dim);
  flex: none;
}

/* Problem band */
.band-center {
  text-align: center;
}

.band-center h2 {
  max-width: 28rem;
  margin-inline: auto;
}

/* Stacked one-sentence lines, centered */
.stack {
  max-width: 40rem;
  margin: 22px auto 0;
  display: grid;
  gap: 8px;
}

.stack p {
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.5;
  color: var(--text);
}

.stack .punch {
  color: var(--ink);
  font-weight: 700;
}

/* Steps + feature cards */
.section-head {
  max-width: 54rem;
  margin: 0 auto 40px;
  text-align: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  text-align: center;
  /* identity transforms so :hover does not create a new stacking context abruptly */
  translate: 0;
  scale: 1;
  transition: translate 0.25s ease, box-shadow 0.25s ease;
}

/* gradient top accent that reveals on hover */
.card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

@media (hover: hover) {
  .card:hover {
    translate: 0 -6px;
    box-shadow: 0 18px 40px rgba(13, 13, 15, 0.1);
  }

  .card:hover::before {
    opacity: 1;
  }
}

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

.card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(31, 123, 255, 0.32);
}

/* Trust band */
.trust {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 48px 40px;
  text-align: center;
}

.trust h2 {
  margin-bottom: 16px;
}

.trust p {
  max-width: 44rem;
  margin-inline: auto;
  color: var(--text);
}

/* FAQ accordion (native details/summary, works without JS) */
.faq {
  max-width: 60rem;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 700;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.3;
  color: var(--ink);
}

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

.faq-icon {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg); /* + becomes x */
}

.faq-a {
  padding: 0 24px 22px;
}

.faq-a p {
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.55;
  color: var(--text);
}

.faq-a p + p {
  margin-top: 12px;
}

/* Final CTA: black section, diagonal top, white text (King Kong) */
.cta-band {
  position: relative;
  background: var(--hero-bg);
  color: #fff;
  text-align: center;
  clip-path: polygon(0 0, 100% 4vw, 100% 100%, 0 100%);
  padding-top: clamp(72px, 10vw, 132px);
}

.cta-band h2,
.cta-band .loud {
  color: #fff;
  font-size: clamp(40px, 5.8vw, 78px);
  max-width: 46rem;
  margin-inline: auto;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: clamp(20px, 2.4vw, 27px);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
}

.cta-sub .pow {
  color: var(--accent);
}

.ps-stack {
  margin-top: 34px;
}

.ps-stack p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.ps-stack .punch {
  color: #fff;
}

/* Trust stamp (Signal-style negative-capability beat) */
.stamp {
  text-align: center;
}

.stamp-line {
  font-family: var(--font-loud);
  text-transform: uppercase;
  font-size: clamp(40px, 6.5vw, 92px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 0.95;
  color: var(--ink);
  max-width: 30rem;
  margin-inline: auto;
}

.stamp-line .off {
  color: var(--accent-strong);
}

/* Founder story (first-person PAS, one sentence per line) */
.story {
  max-width: 34rem;
  margin-inline: auto;
  text-align: center;
}

.story p {
  font-size: 19px;
  line-height: 1.5;
  color: var(--text);
  margin-top: 14px;
}

.story p:first-of-type {
  margin-top: 0;
}

.story .lead {
  font-weight: 700;
  color: var(--ink);
}

.story .sig {
  margin-top: 22px;
  font-size: 15px;
  color: var(--muted);
}

/* Light-grey letter section with a King Kong diagonal top edge */
.story-section {
  position: relative;
  background: var(--surface-2);
  clip-path: polygon(0 4.5vw, 100% 0, 100% 100%, 0 100%);
  padding-top: clamp(64px, 9vw, 124px);
}

/* sky-blue accent bar in the top-left (clipped to the section, behind text) */
.story-section::before {
  content: "";
  position: absolute;
  top: 5.5vw;
  left: -14px;
  width: 190px;
  height: 26px;
  background: var(--accent);
  transform: skewX(-22deg);
  z-index: 0;
}

/* Long-form "letter" narrative (King Kong / Sabri momentum copy) */
.letter {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin-inline: auto;
}

.letter .kicker {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 0.01em;
  padding-bottom: 5px;
  margin-bottom: 30px;
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 100% / 100% 3px;
}

.letter p {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.5;
  color: var(--text);
  margin-top: 26px;
}

.letter p:first-of-type {
  margin-top: 0;
}

.letter .lead {
  font-weight: 700;
  color: var(--ink);
}

.letter .punch {
  font-weight: 700;
  color: var(--ink);
}

.letter .loud {
  display: block;
  margin: 36px 0;
  font-size: clamp(34px, 5.5vw, 66px);
  line-height: 1.0;
}

.letter .sig {
  margin-top: 30px;
  font-weight: 700;
  color: var(--ink);
}

/* Aligned-incentive manifesto + platform-agnostic */
.aligned {
  max-width: 54rem;
  margin-inline: auto;
  text-align: center;
}

.aligned-lines {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.aligned-lines li {
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.45;
  color: var(--text);
}

.aligned-lines strong {
  color: var(--ink);
}

.platforms {
  margin-top: 36px;
}

.platforms-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.platform-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.platform {
  font-size: 16px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
}

/* the one live platform: subtle blue emphasis */
.platform.is-live {
  border-color: var(--accent);
  color: var(--accent-strong);
  box-shadow: 0 2px 10px rgba(31, 159, 255, 0.18);
}

/* roadmap platforms: greyed and dashed */
.platform.is-soon {
  color: var(--muted);
  opacity: 0.5;
  border-style: dashed;
}

.platforms-note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

/* Footer (black, continues the CTA section) */
.footer {
  border-top: 0;
  background: var(--hero-bg);
  color: rgba(255, 255, 255, 0.6);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.disclaimer p {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 22px 24px 30px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}

/* Scroll reveal (only when JS is active, so no-JS users see everything) */
html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Forms */
.form-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.back-link {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.back-link:hover {
  color: var(--ink);
}

.form-card {
  width: 100%;
  max-width: 34rem;
  margin-inline: auto;
  text-align: center;
}

.form-card h1 {
  font-size: clamp(34px, 5vw, 48px);
  margin-bottom: 16px;
}

.form-card .subhead {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 32px;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: start;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
}

input[type="email"] {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--ink);
  padding: 14px 16px;
  font-size: 16px;
  min-height: 52px;
}

input[type="email"]:user-invalid {
  border-color: #b91c1c;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--accent);
}

.check label {
  font-size: 15px;
  color: var(--text);
  font-weight: 400;
}

.waitlist-form .btn {
  width: 100%;
  margin-top: 4px;
}

.fineprint {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: 4px;
}

.form-status {
  font-size: 15px;
  font-weight: 600;
}

.form-status.error {
  color: #b91c1c;
}

.success {
  text-align: center;
}

.success h2 {
  margin-bottom: 8px;
}

.tg-pitch {
  margin-top: 18px;
  font-size: 15px;
  color: var(--text);
}

/* Telegram-branded variant of .btn — used for the channel join on success. */
.btn-tg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: #fff;
  background: #3390ec;
  box-shadow: 0 10px 24px rgba(51, 144, 236, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-tg:hover {
  box-shadow: 0 16px 32px rgba(51, 144, 236, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-tg-icon {
  width: 20px;
  height: 20px;
  flex: none;
}

/* Legal pages */
.legal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 48px;
  max-width: 48rem;
  margin-inline: auto;
}

.legal h1 {
  font-size: clamp(30px, 4vw, 40px);
  margin-bottom: 8px;
}

.legal h2 {
  font-size: 20px;
  margin-block: 32px 12px;
}

.legal p {
  color: var(--text);
  margin-bottom: 12px;
  max-width: 70ch;
}

.legal .updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 36px;
  }

  .hero-copy {
    max-width: 40rem;
  }

  .hero .subhead {
    margin-inline: auto;
  }

  .phone-stage {
    width: min(320px, 80vw);
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: #fff;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #0a0a0c;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
    padding: 8px 24px 16px;
    z-index: 50;
  }

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

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
    width: 100%;
  }

  .nav-links a.active::after {
    display: none;
  }

  .legal {
    padding: 32px 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

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

  html {
    scroll-behavior: auto;
  }

  /* never leave revealed content hidden when motion is off */
  html.js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
