/* Palette: the logo's own ramp. deep → mid → pale for surfaces, coral only as a highlight. */
:root {
  --bg: #f8f7fc; --card: #ffffff; --fg: #0e0d18; --fg2: #53546a; --fg3: #8a8b9e;
  --line: rgba(24, 18, 60, .09);
  --accent: #5b55ea; --accent-soft: rgba(91, 85, 234, .1);
  --deep: #3f39cf; --mid: #8a55ee; --warm: #e8714a; --pale: #e6dcff;
  --glow: rgba(91, 85, 234, .13); --glow2: rgba(255, 157, 118, .16);
  --panel: linear-gradient(135deg, #ece8ff 0%, #f4e8ff 48%, #ffe9dd 100%);
  --panel-line: rgba(91, 85, 234, .14);
  --shadow: 0 30px 60px -20px rgba(63, 57, 207, .35);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #09090f; --card: #13121c; --fg: #eeeef6; --fg2: #a5a6ba; --fg3: #6e6f84;
    --line: rgba(255, 255, 255, .08);
    --accent: #8e89ff; --accent-soft: rgba(142, 137, 255, .14);
    --warm: #ff9d76;
    --glow: rgba(142, 137, 255, .16); --glow2: rgba(255, 157, 118, .08);
    --panel: linear-gradient(135deg, #17134a 0%, #261459 52%, #3a1b57 100%);
    --panel-line: rgba(142, 137, 255, .22);
    --shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--fg); -webkit-font-smoothing: antialiased;
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(900px 420px at 12% -80px, var(--glow), transparent 70%),
    radial-gradient(700px 360px at 95% -40px, var(--glow2), transparent 70%), var(--bg);
  background-repeat: no-repeat;
}
body::before { content: ""; display: block; height: 12px; background: url(/art/band.svg) repeat-x center / auto 12px; opacity: .9; }
main { max-width: 720px; margin: 0 auto; padding: 0 20px 72px; }
main.wide { max-width: 1040px; }

/* header: stays put, blurs what scrolls under it */
header {
  position: sticky; top: 10px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 8px 16px; padding: 12px 18px; margin: 10px 0 0;
  background: color-mix(in srgb, var(--card) 72%, transparent); border: 1px solid var(--line); border-radius: 18px;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -.3px; color: var(--fg); text-decoration: none; }
.mark svg { width: 30px; height: 30px; border-radius: 9px; box-shadow: 0 4px 14px rgba(91, 85, 234, .35); }
nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
nav a { position: relative; color: var(--fg2); text-decoration: none; font-size: 15px; white-space: nowrap; padding: 4px 0; }
nav a:hover { color: var(--fg); }
nav a[aria-current="page"] { color: var(--fg); }
nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--deep), var(--mid), var(--warm));
}

/* type */
h1 { font-size: clamp(32px, 5.1vw, 58px); line-height: 1.04; letter-spacing: -1.8px; font-weight: 800; margin: 0 0 20px; }
.hero h1 .ln { display: block; white-space: nowrap; }
.hero h1 .grad { background: linear-gradient(95deg, var(--deep) 0%, var(--mid) 55%, var(--warm) 105%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
@media (prefers-color-scheme: dark) { .hero h1 .grad { background-image: linear-gradient(95deg, #a9a3ff 0%, #c79bff 55%, #ffb184 105%); } }
h1.page { font-size: 36px; letter-spacing: -1px; margin: 24px 0 20px; background: linear-gradient(100deg, var(--fg) 55%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 4px; }
h2 { font-size: 18px; letter-spacing: -.2px; margin: 20px 0 6px; }
p, li { color: var(--fg2); }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 20px; }
li { margin: 4px 0; }
strong { color: var(--fg); font-weight: 600; }
a { color: var(--accent); }
.lede { font-size: 20px; color: var(--fg2); margin: 0 0 28px; max-width: 29em; }
.meta { color: var(--fg3); font-size: 14px; margin: 0 0 24px; }
.pill { display: inline-block; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 14px; padding: 5px 12px; border-radius: 99px; margin-bottom: 20px; }

/* buttons */
a.cta {
  display: inline-block; font-weight: 600; text-decoration: none; color: #fff; padding: 12px 22px; border-radius: 13px;
  background: linear-gradient(135deg, var(--deep), var(--mid)); box-shadow: 0 6px 18px rgba(91, 85, 234, .28);
  transition: transform .15s ease, box-shadow .15s ease;
}
a.cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(91, 85, 234, .4); }
a.cta.ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--panel-line); }
a.cta.ghost:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 0; }
a.quiet { color: var(--fg2); text-decoration: none; font-weight: 500; }
a.quiet::after { content: " →"; color: var(--accent); }
a.quiet:hover { color: var(--fg); }

/* home: hero with a phone */
.hero { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 24px 40px; padding: 48px 0 56px; }
.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone-wrap::before {
  content: ""; position: absolute; inset: 8% 6%; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(138, 85, 238, .5), rgba(63, 57, 207, .16) 60%, transparent);
  filter: blur(30px);
}
.phone {
  position: relative; width: 272px; padding: 9px; border-radius: 44px; box-shadow: var(--shadow);
  background: linear-gradient(160deg, #2b2a3d, #0e0e18); transform: rotate(2.5deg);
}
.notch { position: absolute; top: 17px; left: 50%; width: 76px; height: 22px; margin-left: -38px; border-radius: 12px; background: #05050a; z-index: 2; }
.screen { border-radius: 36px; padding: 52px 18px 22px; background: linear-gradient(180deg, #1a1740, #0f0e1c 70%); color: #eeeef6; overflow: hidden; }
.screen .sm { font-size: 13px; color: #a5a6ba; }
.screen .big { font-size: 34px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; margin: 2px 0 6px; }
.screen .chg { font-size: 12px; color: #a5a6ba; margin-bottom: 8px; }
.screen .chg span { background: rgba(255, 157, 118, .18); color: #ffc9a3; font-weight: 700; padding: 2px 8px; border-radius: 99px; margin-right: 4px; }
.trend { display: block; width: 100%; height: auto; margin: 4px 0 14px; }
.acct { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 13px; }
.acct span { flex: 1; color: #c8c9d8; }
.acct b { font-weight: 600; color: #fff; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.d1 { background: #8e89ff; } .d2 { background: #b58cff; } .d3 { background: #ff9d76; } .d4 { background: #6a64e8; }

/* home: features */
.features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: 0 0 56px; }
.feature { position: relative; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; transition: transform .15s ease, border-color .15s ease; }
.feature:hover { transform: translateY(-2px); border-color: var(--accent); }
.feature b { display: block; font-size: 17px; letter-spacing: -.2px; margin: 14px 0 4px; }
.feature > span:last-child { color: var(--fg2); font-size: 15px; }
.ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: linear-gradient(135deg, var(--accent-soft), rgba(255, 157, 118, .14)); color: var(--accent); }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature:nth-child(even) .ico { background: linear-gradient(135deg, rgba(255, 157, 118, .16), var(--accent-soft)); }

/* home: the promise, and the close */
.promise { position: relative; overflow: hidden; padding: 44px clamp(24px, 6vw, 56px); border-radius: 26px; background: var(--panel); border: 1px solid var(--panel-line); margin: 0 0 56px; }
.promise::before { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(closest-side, var(--glow2), transparent); }
.promise h2 { position: relative; font-size: clamp(24px, 3.6vw, 34px); line-height: 1.15; letter-spacing: -.9px; max-width: 18em; margin: 0 0 12px; }
.promise p { position: relative; max-width: 36em; }
.closing { text-align: center; padding: 8px 0 24px; }
.closing h2 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -1px; margin: 0 0 8px; }

/* inside pages */
section { position: relative; margin: 0 0 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; }
section::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), var(--warm), transparent); opacity: .55; }
.rows { margin: 0 0 14px; }
.rows p { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rows p:last-child { border-bottom: 0; }

footer { position: relative; color: var(--fg3); font-size: 14px; margin-top: 40px; padding-top: 20px; }
footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, var(--accent), var(--warm), transparent); opacity: .5; }

@media (max-width: 480px) {
  header { padding: 12px 14px; }
  nav { gap: 4px 14px; }
  nav a { font-size: 14px; }
}
@media (max-width: 820px) {
  header { position: static; }
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
  .phone-wrap { margin-top: 8px; }
  .phone { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .feature, a.cta { transition: none; }
  .feature:hover, a.cta:hover { transform: none; }
}
