:root {
  --brand: #e51c23;
  --brand-soft: rgba(229, 28, 35, 0.1);
  --brand-glow: rgba(229, 28, 35, 0.28);
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --surface: #ffffff;
  --text: #1a1a1a;
  --text-muted: #757575;
  --border: #e0e0e0;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  --shadow-soft: 0 4px 18px rgba(0, 0, 0, 0.05);
  --nav-bg: rgba(255, 255, 255, 0.88);
  --radius: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 250ms var(--ease);
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #090909;
  --bg-soft: #121212;
  --surface: #141414;
  --text: #f5f5f5;
  --text-muted: #a3a3a3;
  --border: #2a2a2a;
  --shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 6px 20px rgba(0, 0, 0, 0.35);
  --nav-bg: rgba(9, 9, 9, 0.86);
  --brand-soft: rgba(229, 28, 35, 0.18);
  --brand-glow: rgba(229, 28, 35, 0.22);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", ui-sans-serif, sans-serif;
  background:
    radial-gradient(1200px 500px at 80% -10%, var(--brand-soft), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 48%, var(--bg) 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition),
    border-color var(--transition), background-color var(--transition),
    transform var(--transition), box-shadow var(--transition);
}

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 14px;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.material-symbols-rounded {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
  line-height: 1;
}

/* —— Nav —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--nav-bg);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.nav.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-soft);
}

.nav__inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.nav__brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 8px;
}

.nav__links a {
  padding: 8px 12px;
  border-radius: 12px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--brand);
  background: var(--brand-soft);
  outline: none;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--brand);
  background: var(--surface);
  color: var(--brand);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
}

.theme-toggle:hover {
  background: var(--brand-soft);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

html[data-theme="light"] .theme-toggle__moon,
html[data-theme="dark"] .theme-toggle__sun {
  display: none;
}

.nav__menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.nav__menu-btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.nav__mobile {
  display: grid;
  gap: 4px;
  width: min(100% - 32px, var(--max));
  margin: 0 auto 14px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.nav__mobile[hidden] {
  display: none;
}

.nav__mobile a {
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--text);
}

.nav__mobile a:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

/* —— Hero —— */
.hero {
  position: relative;
  overflow: clip;
  padding: 48px 0 72px;
}

.hero__glow {
  display: none;
  position: absolute;
  right: 8%;
  top: 18%;
  width: min(420px, 46vw);
  height: min(420px, 46vw);
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-glow), transparent 68%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}

html[data-theme="dark"] .hero__glow {
  display: block;
}

.hero__grid {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  display: grid;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.accent {
  color: var(--brand);
}

.lead {
  margin: 20px 0 0;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 1.08rem;
  font-weight: 500;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  border: 1.5px solid transparent;
}

.btn .material-symbols-rounded {
  font-size: 22px;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(229, 28, 35, 0.28);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(229, 28, 35, 0.34);
}

.btn--ghost {
  background: var(--surface);
  color: var(--brand);
  border-color: var(--brand);
}

.btn--ghost:hover {
  background: var(--brand-soft);
}

.trust {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.trust li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.trust .material-symbols-rounded {
  color: var(--brand);
  font-size: 20px;
  margin-top: 1px;
}

.hero__device {
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: min(100%, 300px);
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.18));
  animation: float 6s var(--ease) infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .phone {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

.phone__bezel {
  position: relative;
  border-radius: 36px;
  padding: 10px;
  background: linear-gradient(160deg, #2a2a2a, #111);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone__notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 18px;
  border-radius: 12px;
  background: #0a0a0a;
  z-index: 2;
}

.phone__screen {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
  border-radius: 28px;
  background: #111;
}

/* —— Sections —— */
.section {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 72px 0;
}

.section__head {
  max-width: 36rem;
  margin-bottom: 36px;
}

.section__head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}

.section__head p {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-weight: 500;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* Features */
.features {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.feature {
  padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--brand) 35%, var(--border));
}

.feature__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 16px;
}

.feature__icon .material-symbols-rounded {
  font-size: 26px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  color: var(--text-muted);
  font-weight: 500;
}

/* How */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  position: relative;
}

.step {
  padding: 24px;
  position: relative;
}

.step__num {
  display: inline-block;
  color: var(--brand);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-weight: 500;
}

/* Shots */
.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 360px);
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.shots:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

.shot {
  margin: 0;
  padding: 12px;
  scroll-snap-align: start;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(72vh, 640px);
}

.shot img {
  width: 100%;
  height: auto;
  max-height: min(72vh, 640px);
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
  background: var(--bg-soft);
}

@media (min-width: 720px) {
  .shots {
    grid-auto-columns: minmax(320px, 400px);
  }

  .shot {
    min-height: min(78vh, 720px);
  }

  .shot img {
    max-height: min(78vh, 720px);
  }
}

@media (min-width: 1100px) {
  .shots {
    grid-auto-columns: minmax(360px, 420px);
  }
}

/* Privacy */
.privacy {
  padding: clamp(28px, 5vw, 48px);
  max-width: 760px;
  margin: 0 auto;
  border-color: color-mix(in srgb, var(--brand) 35%, var(--border));
}

.privacy__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 18px;
}

.privacy__icon .material-symbols-rounded {
  font-size: 28px;
}

.privacy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}

.privacy > p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 1.05rem;
}

.privacy ul {
  margin: 0 0 20px;
  padding-inline-start: 1.2rem;
  color: var(--text-muted);
  font-weight: 500;
}

.privacy li + li {
  margin-top: 8px;
}

.text-link {
  color: var(--brand);
  font-weight: 700;
}

.text-link:hover {
  text-decoration: underline;
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.faq__item {
  overflow: hidden;
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary .material-symbols-rounded {
  color: var(--brand);
  transition: transform var(--transition);
}

.faq__item[open] summary .material-symbols-rounded {
  transform: rotate(180deg);
}

.faq__item p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Download */
.download {
  padding-bottom: 96px;
}

.download__card {
  padding: clamp(28px, 5vw, 48px);
}

.download__layout {
  display: grid;
  gap: 28px;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.download__copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}

.download__copy p {
  margin: 0 auto 24px;
  max-width: 32rem;
  color: var(--text-muted);
  font-weight: 500;
}

.download__qr {
  margin: 0;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.download__qr a {
  display: block;
  padding: 14px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.download__qr a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.download__qr img {
  width: min(220px, 56vw);
  height: auto;
  border-radius: 12px;
}

.download__qr figcaption {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

@media (min-width: 720px) {
  .download__layout {
    grid-template-columns: 1.2fr auto;
    text-align: start;
    justify-items: stretch;
  }

  .download__copy p {
    margin-left: 0;
  }

  .download__qr {
    justify-self: end;
  }
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  background: color-mix(in srgb, var(--bg) 70%, var(--bg-soft));
}

.footer__inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.footer__brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.footer__copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer__copy a {
  color: var(--text-muted);
  font-weight: 700;
}

.footer__copy a:hover {
  color: var(--brand);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

.footer__links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.footer__links a:hover {
  color: var(--brand);
}

/* —— Responsive —— */
@media (min-width: 720px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .steps::before {
    content: "";
    position: absolute;
    top: 42px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(
      90deg,
      transparent,
      color-mix(in srgb, var(--brand) 55%, var(--border)),
      transparent
    );
    z-index: 0;
    pointer-events: none;
  }

  .step {
    z-index: 1;
  }

  .phone {
    width: min(100%, 320px);
  }
}

@media (min-width: 980px) {
  .nav__links {
    display: flex;
  }

  .nav__menu-btn,
  .nav__mobile {
    display: none !important;
  }

  .hero {
    padding: 64px 0 96px;
    min-height: calc(100svh - 68px);
    display: flex;
    align-items: center;
  }

  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }

  .features {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer__inner {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    text-align: start;
  }

  .footer__brand {
    justify-self: start;
  }

  .footer__copy {
    justify-self: center;
  }

  .footer__links {
    justify-self: end;
  }
}

@media (min-width: 1400px) {
  :root {
    --max: 1240px;
  }

  .phone {
    width: 340px;
  }
}
