/* Blast Guide. Tokens mirror the app's BlastTheme (Theme.swift). */
:root {
  --red: #e10600;            /* BlastTheme.red  rgb(0.882, 0.024, 0) */
  --red-soft: rgba(225, 6, 0, 0.16);
  --bg: #000;                /* BlastTheme.bg */
  --card: #1c1c1c;           /* BlastTheme.card  white 0.11 */
  --card-lift: #292929;      /* BlastTheme.cardLift  white 0.16 */
  --hairline: rgba(255, 255, 255, 0.08);
  --text: #fff;
  --secondary: #9e9e9e;      /* BlastTheme.secondary  white 0.62 */
  --icon-bg: #131217;        /* app icon background */
  --green: #5fd06f;
  --ice: #5ab4f5;
  --radius: 16px;            /* BlastTheme.radius */
  --radius-lg: 20px;
  --max: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", system-ui, sans-serif;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, "Inter", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; line-height: 1.08; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* Section label, like "AT A GLANCE" in the app */
.label {
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--secondary); margin: 0 0 14px;
}
.label.red { color: var(--red); }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 5;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--hairline);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { text-decoration: none; color: var(--secondary); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { color: #fff; background: var(--card); }
.nav a[aria-current="page"] { color: #fff; }
.nav .pill { background: var(--red); color: #fff; font-weight: 600; }
.nav .pill:hover { background: #f21a12; }
@media (max-width: 720px) { .nav .hide-sm { display: none; } }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%;
  background: radial-gradient(closest-side, rgba(225, 6, 0, 0.28), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.app-icon { width: 112px; height: 112px; border-radius: 25px; box-shadow: 0 0 0 1px var(--hairline), 0 24px 60px rgba(225, 6, 0, 0.25); margin-bottom: 28px; }
.eyebrow { color: var(--secondary); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { font-size: clamp(48px, 7vw, 84px); font-weight: 800; }
.pitch { font-size: clamp(19px, 2.1vw, 23px); color: #d6d6d6; margin: 18px 0 30px; max-width: 34ch; line-height: 1.4; }
.pitch strong { color: #fff; font-weight: 600; }
.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; }
.badge-link { display: inline-block; border-radius: 12px; transition: transform .15s ease; }
.badge-link:hover { transform: translateY(-1px); }
.badge-link img { height: 56px; width: auto; }
.meta { color: var(--secondary); font-size: 15px; }
.status { color: var(--green); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }

.notice {
  margin-top: 32px; display: flex; gap: 12px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--hairline); border-radius: 14px;
  padding: 14px 16px; font-size: 14px; color: #c9c9c9; max-width: 560px; line-height: 1.45;
}
.notice svg { flex: none; margin-top: 2px; }
.notice strong { color: #fff; }

/* Phones */
.phones { position: relative; display: flex; justify-content: center; align-items: flex-start; min-height: 560px; }
.phone {
  position: relative; width: 270px; flex: none;
  padding: 9px; border-radius: 46px;
  background: linear-gradient(145deg, #3a3a3a, #121212 40%, #262626);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 40px 80px rgba(0,0,0,.7), 0 0 0 1px #000;
}
.phone picture, .phone img { border-radius: 37px; overflow: hidden; width: 100%; height: auto; background: #000; }
.phone::after { /* dynamic island */
  content: ""; position: absolute; top: 19px; left: 50%; transform: translateX(-50%);
  width: 29%; height: 22px; border-radius: 999px; background: #000;
}
.phones .phone.back { position: absolute; transform: translate(-58%, 56px) rotate(-6deg) scale(.9); opacity: .9; }
.phones .phone.front { transform: translateX(22%) rotate(3deg); }

/* Glance tiles, like the app's spec grid */
.glance { padding: 48px 0 24px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { background: var(--card); border-radius: var(--radius); padding: 20px; border: 1px solid var(--hairline); }
.tile svg { color: #fff; margin-bottom: 14px; }
.tile .v { font-family: var(--rounded); font-size: 34px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.tile .k { color: var(--secondary); font-size: 15px; margin-top: 6px; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }

/* Sections */
section { scroll-margin-top: 72px; }
.block { padding: 88px 0; }
.block h2 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; max-width: 21ch; }
.lead { color: var(--secondary); font-size: 19px; max-width: 58ch; margin: 18px 0 0; }

/* Tab bar feature list */
.tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 44px; }
.tabcard { background: var(--card); border-radius: var(--radius-lg); padding: 22px 20px 24px; border: 1px solid var(--hairline); }
.tabcard .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); margin-bottom: 18px; }
.tabcard h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.tabcard p { color: var(--secondary); font-size: 15px; margin: 0; line-height: 1.45; }
@media (max-width: 1080px) { .tabs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .tabs { grid-template-columns: 1fr; } }

/* Feature rows with a screenshot */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 64px 0; border-top: 1px solid var(--hairline); }
.feature .phone { margin: 0 auto; width: 290px; }
.feature.flip .copy { order: 2; }
.feature h3 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; margin-bottom: 16px; }
.feature .copy > p:not(.label) { color: #cfcfcf; font-size: 18px; max-width: 46ch; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: #e6e6e6; font-size: 16px; }
.checks li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 3px; background: var(--red); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { background: var(--card-lift); color: #eaeaea; border-radius: 999px; padding: 7px 13px; font-size: 14px; font-weight: 500; }
.chip b { color: var(--secondary); font-weight: 500; margin-left: 4px; font-variant-numeric: tabular-nums; }

/* LED rows, like the Lights tab */
.leds { display: grid; gap: 10px; margin-top: 22px; max-width: 520px; }
.led { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--hairline); border-radius: 14px; padding: 12px 14px; }
.dot { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.05); }
.dot i { width: 16px; height: 16px; border-radius: 50%; display: block; }
.led strong { display: block; font-size: 15px; }
.led span { color: var(--secondary); font-size: 14px; }

/* Counter mock */
.counter { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: 24px; max-width: 420px; margin: 0 auto; width: 100%; }
.counter .row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--hairline); font-size: 16px; }
.counter .row:last-child { border-bottom: 0; }
.counter .row span:last-child { color: var(--secondary); }
.gauge { position: relative; height: 180px; width: 110px; margin: 6px auto 18px; border: 3px solid #f7f7f8; border-top-width: 16px; border-radius: 10px 10px 16px 16px; overflow: hidden; }
.gauge .fill { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; background: linear-gradient(#b8327a, #7d1f55); }
.gauge .line { position: absolute; left: 0; right: 0; border-top: 1px dashed rgba(255,255,255,.7); font-size: 10px; color: #fff; padding-left: 6px; letter-spacing: .08em; }
.counter-note { color: var(--secondary); font-size: 13px; text-align: center; margin-top: 14px; }

/* Blenders compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.device { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: 28px; display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start; }
.device .mini { width: 56px; }
.device .wm { font-size: 13px; letter-spacing: .14em; color: var(--secondary); font-weight: 600; }
.device h3 { font-size: 26px; font-weight: 700; margin: 4px 0 4px; }
.device .sub { color: var(--secondary); margin: 0 0 14px; }
.device dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: 15px; }
.device dt { color: var(--secondary); }
.device dd { margin: 0; }
@media (max-width: 800px) { .compare { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; }
.gallery figure { margin: 0; }
.gallery .phone { width: 100%; max-width: 250px; margin: 0 auto; border-radius: 40px; padding: 8px; }
.gallery .phone img { border-radius: 32px; }
.gallery .phone::after { top: 16px; height: 18px; }
.gallery figcaption { text-align: center; color: var(--secondary); font-size: 14px; margin-top: 14px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; } }

/* Privacy promise */
.promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.promise div { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 22px; }
.promise strong { display: block; font-size: 18px; margin-bottom: 6px; }
.promise span { color: var(--secondary); font-size: 15px; }
@media (max-width: 900px) { .promise { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .promise { grid-template-columns: 1fr; } }

/* Closing CTA */
.closing { text-align: center; padding: 96px 0 104px; position: relative; overflow: hidden; }
.closing::before { content: ""; position: absolute; left: 50%; top: 10%; width: 720px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(225,6,0,.22), transparent 70%); pointer-events: none; }
.closing .wrap { position: relative; }
.closing .app-icon { margin: 0 auto 26px; }
.closing h2 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; margin: 0 auto; max-width: 16ch; }
.closing p { color: var(--secondary); font-size: 19px; margin: 16px auto 30px; max-width: 44ch; }
.closing .cta-row { justify-content: center; }

/* Footer */
.site-foot { border-top: 1px solid var(--hairline); padding: 36px 0 48px; color: var(--secondary); font-size: 14px; }
.site-foot .wrap { display: grid; gap: 18px; }
.foot-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-links a { color: #d0d0d0; text-decoration: none; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.disclaimer { max-width: 80ch; line-height: 1.55; margin: 0; }

/* Document pages (privacy, support, 404) */
.doc { padding: 64px 0 80px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(38px, 5vw, 54px); font-weight: 800; margin-bottom: 12px; }
.doc .updated { color: var(--secondary); margin-bottom: 28px; }
.doc h2 { font-size: 22px; font-weight: 700; margin: 40px 0 12px; letter-spacing: -0.01em; }
.doc p, .doc li { color: #d4d4d4; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 6px; }
.doc a { color: #fff; text-decoration-color: var(--red); text-underline-offset: 3px; }
.card { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 22px 24px; margin: 22px 0; }
.card p:last-child { margin-bottom: 0; }
.mail { font-size: 22px; font-weight: 700; }
.faq details { background: var(--card); border: 1px solid var(--hairline); border-radius: 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--red); font-size: 22px; font-weight: 500; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 18px 16px; }
.faq details p { color: #c9c9c9; font-size: 16px; margin: 0 0 .7em; }

/* Responsive hero */
@media (max-width: 900px) {
  .hero { padding: 44px 0 16px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .phones { min-height: 0; }
  .phones .phone.front { transform: none; width: 250px; }
  .phones .phone.back { display: none; }
  .feature { grid-template-columns: 1fr; gap: 36px; padding: 48px 0; }
  .feature.flip .copy { order: 0; }
  .block { padding: 64px 0; }
}
@media (max-width: 480px) {
  .app-icon { width: 92px; height: 92px; border-radius: 21px; }
  .badge-link img { height: 50px; }
  .tile { padding: 16px; }
  .tile .v { font-size: 28px; }
  .device { grid-template-columns: 1fr; padding: 22px; }
  .feature .phone { width: 250px; }
}
