:root {
  --bg: #08080c;
  --bg-soft: #0c0c12;
  --surface: #111119;
  --surface-2: #16161f;
  --surface-3: #1d1d28;
  --border: #242433;
  --border-soft: #1c1c27;
  --text: #f4f4f8;
  --muted: #a6a6b6;
  --muted-2: #7e7e90;
  --red: #c4170c;
  --red-light: #e0241a;
  --red-dark: #8c0e08;
  --green: #3ddc84;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 80px rgba(0, 0, 0, .55);
  --wrap: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -20% -10% auto;
  height: 70vh;
  background:
    radial-gradient(55% 55% at 22% 10%, rgba(196, 23, 12, .28), transparent 70%),
    radial-gradient(40% 40% at 82% 0%, rgba(224, 36, 26, .14), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0;
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--red-light);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 100;
  background: var(--text);
  color: #111;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  left: 16px;
}

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(8, 8, 12, .72);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.brand-glyph svg {
  border-radius: 9px;
  box-shadow: 0 6px 18px rgba(196, 23, 12, .35);
}

.brand-name strong {
  font-weight: 700;
}

.site-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 14.5px;
  color: var(--muted);
}

.site-nav a {
  transition: color .2s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  margin: 4px 0;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--red-light), var(--red-dark));
  color: #fff;
  box-shadow: 0 12px 34px rgba(196, 23, 12, .38), inset 0 1px 0 rgba(255, 255, 255, .18);
}

.btn-primary:hover {
  box-shadow: 0 16px 42px rgba(224, 36, 26, .45), inset 0 1px 0 rgba(255, 255, 255, .22);
}

.btn-secondary {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: #35354a;
  background: var(--surface-3);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.btn-ghost:hover {
  background: var(--surface-2);
}

.btn-sub {
  font-size: 11px;
  font-weight: 600;
  opacity: .75;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  letter-spacing: .02em;
}

.btn-link {
  min-height: 44px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  color: #ff9c94;
  text-decoration: underline;
  text-decoration-color: rgba(255, 156, 148, .35);
  text-underline-offset: 4px;
  font-size: 14px;
}

.btn-link:hover {
  color: #ffc1bb;
}

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 48px;
  align-items: center;
  padding-block: 78px 60px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 18px;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-light);
  box-shadow: 0 0 0 0 rgba(224, 36, 26, .55);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(224, 36, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 36, 26, 0); }
}

.hero h1 {
  font-size: clamp(38px, 5.6vw, 62px);
  font-weight: 800;
  letter-spacing: -.035em;
}

.grad-text {
  background: linear-gradient(100deg, #fff 15%, #ff8d84 55%, var(--red-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin-top: 22px;
  max-width: 54ch;
  color: var(--muted);
  font-size: 17.5px;
}

.lede strong {
  color: var(--text);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.meta {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted-2);
}

.meta a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: #3d3d50;
  text-underline-offset: 3px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--muted);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points li::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    linear-gradient(var(--green), var(--green)) 4px 7px / 3px 6px no-repeat,
    linear-gradient(var(--green), var(--green)) 6px 9px / 7px 3px no-repeat,
    radial-gradient(circle at 50% 50%, rgba(61, 220, 132, .22), transparent 65%);
}

/* ---------- phone ---------- */

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 23, 12, .35), transparent 65%);
  filter: blur(20px);
}

.phone {
  position: relative;
  width: min(300px, 82vw);
  aspect-ratio: 9 / 19;
  border-radius: 46px;
  padding: 10px;
  background: linear-gradient(160deg, #2a2a35, #101016 45%, #23232e);
  border: 1px solid #333342;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .05);
  transform: rotate(-1.6deg);
  z-index: 1;
}

.phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 22px;
  border-radius: 0 0 16px 16px;
  background: #0a0a0f;
  z-index: 3;
}

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 37px;
  overflow: hidden;
  padding: 34px 18px 16px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(90% 55% at 15% 0%, rgba(196, 23, 12, .55), transparent 65%),
    radial-gradient(70% 45% at 95% 30%, rgba(68, 28, 120, .55), transparent 70%),
    linear-gradient(170deg, #23101a 0%, #0b0b12 55%, #151522 100%);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: rgba(255, 255, 255, .8);
  letter-spacing: .04em;
}

.phone-status .dots {
  letter-spacing: .1em;
  opacity: .7;
}

.phone-clock {
  margin-top: 18px;
  font-size: 46px;
  font-weight: 200;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}

.phone-date {
  font-size: 10px;
  color: rgba(255, 255, 255, .7);
  margin-top: 2px;
}

.phone-search {
  margin-top: 16px;
  height: 30px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .55);
  font-size: 9.5px;
}

.phone-apps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 10px;
  margin-top: 18px;
}

.phone-app {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-inline: auto;
  border-radius: 12px;
  background: var(--tile);
  font-size: 16px;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 6px 12px rgba(0, 0, 0, .3);
}

.phone-dock {
  margin-top: auto;
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 9px 10px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
}

.dock-tile {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--tile);
  font-size: 15px;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
}

.store-tile {
  background: transparent;
  box-shadow: 0 5px 14px rgba(196, 23, 12, .45);
}

.store-tile svg,
.store-tile img {
  border-radius: 8px;
}

.store-mini svg,
.store-mini img {
  border-radius: 7px;
}

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(20, 20, 28, .86);
  border: 1px solid #2c2c3c;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
  backdrop-filter: blur(10px);
  animation: float 7s ease-in-out infinite;
}

.float-card strong {
  display: block;
  font-size: 12.5px;
  line-height: 1.3;
}

.float-card small {
  color: var(--muted-2);
  font-size: 10.5px;
}

.float-card .badge {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(224, 36, 26, .18);
  color: #ff8d84;
  border: 1px solid rgba(224, 36, 26, .35);
}

.card-new {
  left: -14px;
  bottom: 96px;
}

.card-store {
  right: -10px;
  top: 90px;
  animation-delay: -3.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- logos strip ---------- */

.logos-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0 6px;
  border-top: 1px solid var(--border-soft);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.logos-row {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font-size: 14px;
  letter-spacing: -.01em;
  text-transform: none;
  color: var(--muted);
}

.logos-row a {
  transition: color .2s ease;
}

.logos-row a:hover {
  color: var(--text);
}

/* ---------- sections ---------- */

.section {
  padding-block: 84px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
}

.section-lede {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16.5px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature {
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--border-soft);
  transition: border-color .2s ease, transform .2s ease;
}

.feature:hover {
  border-color: #2f2f42;
  transform: translateY(-3px);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(224, 36, 26, .13);
  border: 1px solid rgba(224, 36, 26, .25);
  color: #ff8d84;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.feature p {
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: none;
}

.steps li {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border-soft);
}

.step-num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-light), var(--red-dark));
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 18px;
  box-shadow: 0 8px 22px rgba(196, 23, 12, .35);
}

.steps h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.steps p {
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- install ---------- */

.install-card {
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  overflow: hidden;
}

.tabs {
  display: flex;
  gap: 6px;
  padding: 14px;
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-soft);
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  flex: 0 0 auto;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.tab:hover {
  color: var(--text);
}

.tab.is-active {
  background: rgba(224, 36, 26, .14);
  border-color: rgba(224, 36, 26, .32);
  color: #ff9c94;
}

.tab-panel {
  padding: 28px;
}

.install-steps {
  display: grid;
  gap: 18px;
  margin-bottom: 26px;
}

.install-steps li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  align-items: start;
}

.install-steps li > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface-3);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.install-steps li > div > strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

.install-steps p {
  color: var(--muted);
  font-size: 14.5px;
}

.note {
  color: var(--muted-2);
  font-size: 13.5px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
}

/* ---------- faq ---------- */

.faq {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.faq details {
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  overflow: hidden;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 400;
  font-size: 17px;
  transition: transform .2s ease, background .2s ease;
}

.faq details[open] summary::after {
  content: "–";
  background: rgba(224, 36, 26, .14);
  border-color: rgba(224, 36, 26, .3);
  color: #ff9c94;
}

.faq details p {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- final cta ---------- */

.cta-final {
  padding-block: 20px 90px;
}

.cta-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 38px;
  border-radius: 24px;
  background:
    radial-gradient(80% 140% at 8% 0%, rgba(224, 36, 26, .26), transparent 60%),
    linear-gradient(120deg, #14141d, #0b0b11);
  border: 1px solid #2b2b3c;
}

.cta-card h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
}

.cta-card p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 60ch;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--border-soft);
  background: var(--bg-soft);
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 46px;
}

.footer-brand p {
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 14px;
  max-width: 34ch;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h3 {
  font-size: 12px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14.5px;
  color: var(--muted);
  transition: color .2s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 0 26px;
  border-top: 1px solid var(--border-soft);
  color: var(--muted-2);
  font-size: 12.5px;
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 20px);
  z-index: 90;
  max-width: min(92vw, 460px);
  padding: 13px 18px;
  border-radius: 12px;
  background: #1c1c27;
  border: 1px solid #32324a;
  color: var(--text);
  font-size: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-block: 56px 40px;
    gap: 56px;
  }

  .hero-visual {
    min-height: 540px;
  }

  .float-card.card-new {
    left: 4%;
  }

  .float-card.card-store {
    right: 4%;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 760px) {
  .site-nav {
    position: fixed;
    inset: 72px 0 auto;
    flex-direction: column;
    gap: 0;
    padding: 10px 20px 20px;
    background: rgba(10, 10, 15, .97);
    border-bottom: 1px solid var(--border-soft);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-soft);
    font-size: 16px;
    color: var(--text);
  }

  .nav-toggle {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .hero-visual {
    min-height: 480px;
  }

  .card-new {
    bottom: 40px;
  }

  .card-store {
    top: 24px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 62px;
  }

  .tab-panel {
    padding: 22px;
  }

  .cta-card {
    padding: 26px;
  }
}

@media (max-width: 520px) {
  .wrap {
    width: min(100% - 28px, var(--wrap));
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 46px);
  }

  .lede {
    font-size: 16px;
  }

  .cta-row .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 430px;
  }

  .phone {
    width: min(250px, 80vw);
  }

  .float-card {
    padding: 9px 11px;
    gap: 8px;
  }

  .float-card strong {
    font-size: 11.5px;
  }

  .float-card small {
    font-size: 9.5px;
  }

  .card-new {
    left: -2px;
    bottom: 22px;
  }

  .card-store {
    right: -2px;
    top: 12px;
  }

  .card-new {
    display: none;
  }

  .logos-strip {
    justify-content: center;
    text-align: center;
  }

  .tabs {
    flex-wrap: wrap;
  }

  .tab {
    padding: 9px 13px;
    font-size: 13px;
  }

  .logos-row {
    justify-content: center;
    gap: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
