:root {
  --red: #b0141b;
  --red-deep: #9a1218;
  --red-soft: #f0b9bc;
  --bg: #0e0e0f;
  --bg-alt: #151516;
  --surface: #1c1c1e;
  --line: rgba(255, 255, 255, 0.09);
  --ink: #f4f4f5;
  --muted: #a1a1aa;
  --faint: #71717a;
  --success: #1d9e75;
  --radius: 16px;
  --wrap: 1120px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.15; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--red-soft); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--red); color: #fff; padding: 10px 14px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.eyebrow {
  font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red-soft); margin-bottom: 14px;
}
.lead { color: var(--muted); font-size: 19px; margin-top: 18px; }
h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.01em; }
h3 { font-size: 19px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0 22px; border-radius: 999px; background: var(--red); color: #fff;
  font-weight: 500; font-size: 16px; text-decoration: none; border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}
.btn:hover { background: #c81a22; }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.22); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.06); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
/* An access closed for now: shown, not clickable. */
.btn--off, .btn--off:hover { background: var(--surface); border-color: var(--line); color: var(--faint); cursor: not-allowed; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 14, 15, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.nav__logo img { height: 21px; width: auto; }
.nav nav { margin-left: auto; }
.nav__links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; color: var(--muted); font-size: 15px; white-space: nowrap; transition: color 0.2s; }
.nav__links a:hover { color: var(--ink); }
.nav .btn--sm { white-space: nowrap; }

/* Menu button: hidden while all the links fit on one line. */
.nav__toggle {
  display: none; flex: none; width: 44px; height: 44px; padding: 0; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18); background: transparent; color: var(--ink); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav__toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.2s, opacity 0.2s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Below this width the seven links no longer fit: collapse them behind the menu button. */
@media (max-width: 1180px) {
  .nav__inner { gap: 12px; }
  .nav .btn--sm { margin-left: auto; }
  .nav__toggle { display: flex; }
  .nav nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.55);
    max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .nav.is-open nav { display: block; }
  .nav__links { flex-direction: column; gap: 0; max-width: var(--wrap); margin: 0 auto; padding: 8px 24px 16px; }
  .nav__links a { display: block; padding: 14px 0; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav__links li:last-child a { border-bottom: 0; }
}

/* Hero */
.hero {
  padding: 88px 0 96px;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(176, 20, 27, 0.28), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(176, 20, 27, 0.12), transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); font-weight: 500; letter-spacing: -0.02em; }
.hero .lead { max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* Phone mock-up */
.phone {
  justify-self: center; width: 290px; padding: 10px;
  border-radius: 44px; background: #050505; border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 0 6px rgba(255, 255, 255, 0.03);
}
/* The screen takes the screenshot's own proportions (from its width/height attributes). */
.phone__screen { border-radius: 34px; overflow: hidden; background: #fff; }
.phone__screen img { width: 100%; height: auto; }

/* Sections */
.section { padding: 104px 0; border-top: 1px solid var(--line); }
.section--alt { background: var(--bg-alt); }

.cards { display: grid; gap: 18px; margin-top: 44px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }
.card--accent { border-top: 2px solid var(--red); }
.card__tag {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red-soft) !important; margin-bottom: 14px;
}

/* Try-it demo journeys */
.essai { display: flex; flex-direction: column; align-items: flex-start; }
.essai .btn { margin-top: auto; }
.essai p:not(.card__tag) { margin-bottom: 24px; }
.essai__note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Steps */
.steps {
  list-style: none; margin: 48px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: none;
}
.step { position: relative; padding: 24px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step__n {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(176, 20, 27, 0.18); color: var(--red-soft); font-weight: 600; margin-bottom: 18px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* Live selling */
.live {
  background: radial-gradient(50% 60% at 20% 50%, rgba(176, 20, 27, 0.22), transparent 70%), var(--bg);
}
.live__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
.checks { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 22px; }
.checks li { position: relative; padding-left: 36px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(176, 20, 27, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0b9bc' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 8'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checks h3 { font-size: 18px; margin-bottom: 4px; }
.checks p { color: var(--muted); font-size: 16px; }

/* Hardware pack */
.pack {
  background: radial-gradient(45% 55% at 25% 60%, rgba(176, 20, 27, 0.2), transparent 70%), var(--bg);
}
.pack__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; margin-top: 48px; }
.pack__hero {
  margin: 0; padding: 32px 0; text-align: center;
  /* Soft light behind the dark camera so it stands out from the dark page. */
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.09), rgba(176, 20, 27, 0.12) 55%, transparent);
}
.pack__hero img { width: auto; max-height: 440px; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); }
.pack__hero figcaption { margin-top: 18px; color: var(--muted); font-size: 15px; letter-spacing: 0.04em; }
.pack__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pack__list li {
  display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.pack__list svg {
  flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 12px;
  background: rgba(176, 20, 27, 0.18); fill: none; stroke: var(--red-soft);
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.pack__list h3 { font-size: 18px; margin-bottom: 4px; }
.pack__list p { color: var(--muted); font-size: 15px; }

/* Features */
.features {
  list-style: none; margin: 48px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px;
}
.features li { padding-left: 18px; border-left: 2px solid var(--red); }
.features h3 { font-size: 18px; margin-bottom: 8px; }
.features p { color: var(--muted); font-size: 16px; }

/* Timeline */
.timeline {
  list-style: none; margin: 56px 0 0; padding: 0; position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: var(--line);
}
.timeline__item { position: relative; padding-top: 34px; }
.timeline__dot {
  position: absolute; top: 0; left: 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--faint);
}
.timeline__item.is-done .timeline__dot { background: var(--red); border-color: var(--red); }
.timeline__item.is-current .timeline__dot { border-color: var(--red); box-shadow: 0 0 0 6px rgba(176, 20, 27, 0.2); }
.timeline__label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.timeline__item.is-done .timeline__label,
.timeline__item.is-current .timeline__label { color: var(--red-soft); }
.timeline h3 { font-size: 18px; margin-bottom: 8px; }
.timeline p:last-child { color: var(--muted); font-size: 15px; }

/* Contact */
.contact {
  background: radial-gradient(60% 90% at 50% 0%, rgba(176, 20, 27, 0.25), transparent 70%), var(--bg);
}
.contact .btn { margin-top: 32px; }
.contact__mail { margin-top: 16px; }
.contact__mail a { color: var(--muted); text-decoration: none; }
.contact__mail a:hover { color: var(--ink); text-decoration: underline; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 32px 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer img { height: 16px; width: auto; opacity: 0.8; }
.footer p { color: var(--faint); font-size: 14px; }

/* Responsive */
@media (max-width: 960px) {
  .hero__grid, .live__grid, .pack__grid { grid-template-columns: 1fr; }
  .pack__hero img { max-height: 320px; }
  .live__grid { gap: 48px; }
  .live__text { order: -1; }
  .phone { width: 260px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .timeline::before { display: none; }
  .cards--3 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav__links { padding: 4px 16px 12px; }
  .hero { padding: 56px 0 72px; }
  .lead { font-size: 17px; }
  .section { padding: 72px 0; }
  .cards--2, .steps, .features, .timeline { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
