/* Wait For It — site styles (tokens from the design system) */
:root {
  --midnight-950: #070920; --midnight-900: #0C0F2A; --midnight-800: #151A3D; --midnight-700: #222853;
  --dusk-600: #3B3272; --dusk-500: #5A4C98; --lavender-300: #BEB4EE; --lavender-200: #DCD5F7; --lavender-100: #EEEAFB;
  --coral-500: #FF7657; --coral-600: #E85A3C; --coral-400: #FF9677;
  --paper: #F7F4EF; --sand: #F1EBE1; --ink: #16142A; --text-2: #5C576B; --text-3: #9A94A6;
  --grad-dusk: radial-gradient(110% 80% at 18% 115%, rgba(255,138,104,.95) 0%, rgba(255,138,104,0) 58%), linear-gradient(160deg, #0C0F2A 0%, #2A2560 62%, #4A3F88 100%);
  --font-ui: 'Heebo', -apple-system, 'SF Hebrew', system-ui, sans-serif;
  --font-brand: 'Instrument Sans', -apple-system, system-ui, sans-serif;
  --font-serif: 'Frank Ruhl Libre', 'Times New Roman', serif;
  --bg: var(--paper); --fg: var(--ink); --fg-2: var(--text-2); --card: #fff; --rule: rgba(22,20,42,.1); --tint: var(--dusk-600);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: var(--midnight-950); --fg: #F4F1FB; --fg-2: #B3ADC6; --card: #12163A; --rule: rgba(238,234,251,.1); --tint: var(--lavender-300); }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--font-ui); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--tint); }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }

/* Wordmark + crescendo */
.wordmark { display: inline-flex; align-items: baseline; gap: .12em; font: 600 22px/1 var(--font-brand); letter-spacing: -0.035em; color: #fff; text-decoration: none; direction: ltr; }
.wordmark.dark { color: var(--fg); }
.wordmark .mark { display: inline-flex; align-items: center; gap: 2.5px; margin-inline-start: 4px; }
.wordmark .mark i { display: block; border-radius: 50%; background: rgba(190,180,238,.5); width: 3px; height: 3px; }
.wordmark .mark i:nth-child(2) { width: 3.8px; height: 3.8px; background: rgba(220,213,247,.86); }
.wordmark .mark i:nth-child(3) { width: 4.8px; height: 4.8px; background: var(--coral-500); }
.wordmark.dark .mark i { background: rgba(59,50,114,.3); }
.wordmark.dark .mark i:nth-child(2) { background: rgba(59,50,114,.64); }
.wordmark.dark .mark i:nth-child(3) { background: var(--coral-500); }

.crescendo { display: inline-flex; align-items: center; gap: 7px; }
.crescendo i { display: block; border-radius: 50%; width: 11px; height: 11px; background: var(--dusk-600); opacity: .9; }
.crescendo i:nth-child(2) { width: 14px; height: 14px; background: rgba(59,50,114,.22); }
.crescendo i:nth-child(2).on { background: var(--dusk-600); }
.crescendo i:nth-child(3) { width: 18px; height: 18px; background: transparent; border: 3px solid rgba(59,50,114,.22); }
.crescendo i.ring { border-color: var(--coral-500); }
.crescendo i.fill { background: var(--coral-500); border-color: var(--coral-500); }
@media (prefers-color-scheme: dark) {
  .crescendo i { background: rgba(255,255,255,.94); }
  .crescendo i:nth-child(2) { background: rgba(255,255,255,.3); }
  .crescendo i:nth-child(2).on { background: rgba(255,255,255,.94); }
  .crescendo i:nth-child(3) { border-color: rgba(255,255,255,.3); }
}
.crescendo.big { gap: 12px; margin-bottom: 26px; }
.crescendo.big i { width: 20px; height: 20px; background: rgba(255,255,255,.55); }
.crescendo.big i:nth-child(2) { width: 26px; height: 26px; background: rgba(255,255,255,.9); }
.crescendo.big i:nth-child(3) { width: 34px; height: 34px; border: 3.5px solid var(--coral-500); background: transparent; }

/* Top bar */
.topbar { position: absolute; top: 0; inset-inline: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 22px clamp(16px, 5vw, 56px); }
.topbar nav { display: flex; gap: 22px; }
.topbar nav a { color: rgba(255,255,255,.82); text-decoration: none; font-size: 15px; font-weight: 500; }
.topbar nav a:hover { color: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--grad-dusk); color: #fff; padding: 120px clamp(16px, 5vw, 56px) 0; }
.hero-glow { position: absolute; inset: auto -10% -30% auto; width: 60%; height: 70%; background: radial-gradient(closest-side, rgba(255,118,87,.35), transparent); pointer-events: none; }
.hero-inner { position: relative; max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: end; }
.hero-copy { padding-bottom: 110px; }
.hero h1 { font-size: clamp(48px, 7.5vw, 92px); font-weight: 800; line-height: 1; letter-spacing: -0.035em; }
.hero .lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: rgba(255,255,255,.84); max-width: 30ch; margin: 22px 0 34px; }
.cta-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 24px; border-radius: 999px; background: var(--coral-500); color: #fff; box-shadow: 0 12px 30px rgba(255,118,87,.4); font-weight: 700; font-size: 19px; }
.store-badge small { display: block; font-size: 11px; font-weight: 500; opacity: .85; line-height: 1; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; font-family: var(--font-brand); }
.link-soft { color: #fff; opacity: .86; text-decoration: none; font-weight: 600; }
.link-soft:hover { opacity: 1; }

.hero-phones { position: relative; height: 620px; }
.phone { margin: 0; border-radius: 44px; overflow: hidden; background: #000; padding: 9px; box-shadow: 0 30px 70px rgba(7,9,32,.55), inset 0 0 0 1.5px rgba(255,255,255,.12); }
.phone img { border-radius: 36px; width: 100%; }
.hero-phones .phone { position: absolute; width: 300px; bottom: -60px; }
.hero-phones .front { inset-inline-start: 0; z-index: 2; }
.hero-phones .back { inset-inline-start: 210px; bottom: 10px; transform: rotate(6deg); opacity: .96; }

/* Sections */
.section { max-width: 1160px; margin: 0 auto; padding: 110px clamp(16px, 5vw, 56px) 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.kicker { display: inline-block; font: 600 13px var(--font-ui); letter-spacing: .02em; color: var(--coral-600); margin-bottom: 12px; }
.section h2 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; line-height: 1.08; }
.section p { color: var(--fg-2); font-size: 18px; max-width: 58ch; }

.widget-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.widget-grid figure { margin: 0; }
.widget-grid img { width: 100%; border-radius: 30px; box-shadow: 0 18px 40px rgba(22,20,42,.14); }
.widget-grid figcaption { margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--fg-2); }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: var(--card); border-radius: 26px; padding: 26px 24px 28px; box-shadow: 0 1px 2px rgba(22,20,42,.06), 0 10px 28px rgba(22,20,42,.07); }
.feature h3 { font-size: 20px; font-weight: 700; margin: 22px 0 8px; }
.feature p { font-size: 15.5px; margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-copy p { margin: 18px 0 0; }
.split-phones { display: flex; gap: 22px; justify-content: center; }
.split-phones .phone { width: 250px; }
.split-phones .phone:nth-child(2) { margin-top: 60px; }
.split.reverse .split-copy { order: 2; }
.split-phones.single .phone { width: 280px; }

.privacy-band { text-align: center; padding-bottom: 20px; }
.privacy-band h2 { font-size: clamp(28px, 3.4vw, 40px); max-width: 22ch; margin: 0 auto; }
.privacy-band p { margin: 16px auto 18px; }
.privacy-band .link-soft { color: var(--tint); }

.site-footer { max-width: 1160px; margin: 110px auto 0; padding: 36px clamp(16px, 5vw, 56px) 48px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { border-radius: 13px; }
.footer-brand p { margin: 6px 0 0; color: var(--fg-2); font-size: 14px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--fg-2); text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: var(--fg); }
.copy { width: 100%; margin: 0; color: var(--text-3); font-size: 13px; }

/* Document pages (privacy / support) */
.doc { max-width: 720px; margin: 0 auto; padding: 36px 20px 60px; }
.doc .back { display: inline-block; margin-bottom: 36px; }
.doc h1 { font-size: 36px; font-weight: 800; }
.doc h2 { font-size: 20px; margin: 34px 0 8px; }
.doc p, .doc li { color: var(--fg-2); }
.doc .sub { color: var(--text-3); margin: 6px 0 28px; }
.doc .card { background: var(--card); border-radius: 22px; padding: 18px 22px; margin: 14px 0; color: var(--fg); }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-phones { height: 520px; }
  .hero-phones .phone { width: 250px; }
  .hero-phones .front { inset-inline-start: calc(50% - 200px); }
  .hero-phones .back { inset-inline-start: calc(50% - 30px); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-copy { order: 0; }
  .topbar nav { display: none; }
}
@media (max-width: 560px) {
  .widget-grid, .feature-grid { grid-template-columns: 1fr; }
  .hero-phones { height: 440px; }
  .hero-phones .phone { width: 210px; border-radius: 34px; padding: 7px; }
  .hero-phones .phone img { border-radius: 28px; }
  .hero-phones .front { inset-inline-start: calc(50% - 170px); }
  .hero-phones .back { inset-inline-start: calc(50% - 20px); }
  .split-phones .phone { width: 46%; }
  .section { padding-top: 80px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
