:root {
  --ink: #ffffff;
  --ink-soft: #b9b1b2;
  --accent: #ff4149;
  --accent-bright: #ff5a62;
  --accent-pale: rgba(255, 65, 73, 0.14);
  --brand-deep: #270001;
  --brand-wash: #3d090c;
  --surface: #090909;
  --surface-raised: #171717;
  --surface-soft: #211b1c;
  --line: #3b3032;
  --success: #29df6f;
  --warning: #ffbd73;
  --warning-bg: #2a1c10;
  --body-size: 1rem;
  --shadow-soft: 0 2rem 5rem rgba(0, 0, 0, 0.42);
  --shadow-card: 0 1rem 2.5rem rgba(0, 0, 0, 0.24);
  --radius-lg: 2rem;
  --radius-md: 1.35rem;
  --shell: 72rem;
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--surface);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: var(--body-size);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 3px;
}

.shell {
  width: min(100% - 2rem, var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: 0.75rem;
  color: #130304;
  background: white;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(9, 9, 9, 0.88);
  backdrop-filter: blur(1.25rem);
  -webkit-backdrop-filter: blur(1.25rem);
}

.header-inner {
  min-height: 4.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: white;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.75rem;
  box-shadow: 0 0.45rem 1.2rem rgba(255, 65, 73, 0.2);
}

.language-switcher {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #776c6d;
  background: rgba(255, 255, 255, 0.06);
}

.language-switcher button {
  min-width: 2.5rem;
  min-height: 2.15rem;
  padding: 0.35rem 0.7rem;
  border: 0;
  border-radius: 999px;
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 750;
}

.language-switcher button[aria-pressed="true"] {
  color: white;
  background: var(--accent);
  box-shadow: 0 0.3rem 1rem rgba(255, 65, 73, 0.28);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.75rem 0 4rem;
  background:
    radial-gradient(circle at 85% 25%, rgba(255, 65, 73, 0.22), transparent 24rem),
    radial-gradient(circle at 10% 0%, rgba(91, 15, 19, 0.62), transparent 35rem),
    linear-gradient(180deg, #130304 0%, #090909 86%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 65, 73, 0.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 65, 73, 0.18) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero-grid { position: relative; display: grid; align-items: center; gap: 3rem; }
.hero-copy { position: relative; z-index: 5; }

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-bright);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { line-height: 1.12; }

h1 {
  margin: 0;
  font-size: clamp(3rem, 13vw, 6.4rem);
  font-weight: 780;
  letter-spacing: -0.065em;
}

.hero-subtitle {
  max-width: 41rem;
  margin: 1.45rem 0 0;
  color: #d5cdce;
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  line-height: 1.48;
  letter-spacing: -0.02em;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

.app-store-button {
  display: inline-flex;
  min-height: 4rem;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.95rem;
  color: white;
  background: #050505;
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.38);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.app-store-button:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 1rem 2.2rem rgba(255, 65, 73, 0.16); }
.app-store-button svg { width: 1.9rem; fill: currentColor; }
.app-store-button span { display: grid; }
.app-store-button small { font-size: 0.72rem; line-height: 1; }
.app-store-button strong { margin-top: 0.16rem; font-size: 1.25rem; line-height: 1; letter-spacing: -0.025em; }
.availability { margin: 1rem 0 0; color: #a89fa0; font-size: 0.925rem; }

.device-stage {
  position: relative;
  min-height: 34rem;
  display: grid;
  place-items: center;
}

.brand-glow {
  position: absolute;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: rgba(255, 65, 73, 0.2);
  filter: blur(5rem);
}

.screen-stack {
  position: relative;
  width: min(100%, 29rem);
  height: 33rem;
}

.screenshot-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 0.38rem solid #302b2c;
  border-radius: 2.5rem;
  background: #000;
  box-shadow: 0 2rem 4.5rem rgba(0, 0, 0, 0.55);
}

.screenshot-card img { width: 100%; height: auto; }
.timeline-shot { z-index: 1; top: 1.5rem; left: 2%; width: 12rem; opacity: 0.68; transform: rotate(-5deg); }
.home-shot { z-index: 2; top: 0; right: 8%; width: 14rem; transform: rotate(3deg); }

.watch-shot {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 1.6rem;
  width: 8.8rem;
  margin: 0;
  overflow: hidden;
  border: 0.34rem solid #373334;
  border-radius: 2rem;
  background: #000;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.6);
  transform: rotate(-4deg);
}

.watch-shot img { width: 100%; height: auto; }

.section { padding: 5rem 0; }
.section-heading { max-width: 46rem; margin-bottom: 2.2rem; }
.section-heading h2, .disclaimer-panel h2 { margin: 0; font-size: clamp(2rem, 7vw, 3.35rem); letter-spacing: -0.05em; }
.features { background: linear-gradient(180deg, #090909, #100b0c 75%, #090909); }
.feature-grid { display: grid; gap: 1rem; }

.feature-card {
  min-height: 14rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #1c1a1a, #121212);
  box-shadow: var(--shadow-card);
}

.feature-card h3 { margin: 1.15rem 0 0.6rem; font-size: 1.25rem; letter-spacing: -0.025em; }
.feature-card p { margin: 0; color: var(--ink-soft); }
.feature-icon { display: grid; width: 2.6rem; height: 2.6rem; place-items: center; border-radius: 0.9rem; color: var(--accent-bright); background: var(--accent-pale); font-size: 0.78rem; font-weight: 850; }
.privacy-card { border-color: rgba(41, 223, 111, 0.32); background: linear-gradient(145deg, #142019, #101412); }
.privacy-card .feature-icon { color: var(--success); background: rgba(41, 223, 111, 0.13); }

.disclaimer { padding-top: 1rem; }
.disclaimer-panel { display: grid; gap: 1.25rem; padding: clamp(1.5rem, 6vw, 3rem); border: 1px solid #4f2528; border-radius: var(--radius-lg); background: linear-gradient(145deg, #2b1012, #160c0d); }
.disclaimer-panel h2 { margin-bottom: 1rem; font-size: clamp(1.75rem, 5vw, 2.75rem); }
.disclaimer-panel p:last-child { max-width: 55rem; margin: 0; color: #c8bfc0; font-size: 1.04rem; }
.disclaimer-symbol { display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: 50%; color: white; background: var(--accent); font-family: Georgia, serif; font-size: 1.4rem; font-weight: bold; }

.site-footer { margin-top: 4rem; padding: 2.5rem 0; border-top: 1px solid var(--line); background: #0e0c0c; }
.footer-inner { display: grid; gap: 1.5rem; color: var(--ink-soft); }
.footer-inner strong { color: white; }
.footer-inner p { margin: 0.25rem 0 0; font-size: 0.9rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; }
.footer-inner a { color: var(--accent-bright); font-size: 0.925rem; font-weight: 650; text-underline-offset: 0.2em; }
.copyright { align-self: center; }

.policy-page { background: radial-gradient(circle at 75% 0, #2d080a, #090909 28rem); }
.policy-main { padding: 3.5rem 0 1rem; }
.policy-shell { max-width: 55rem; }
.back-link { display: inline-flex; align-items: center; gap: 0.45rem; margin-bottom: 3rem; color: var(--accent-bright); font-weight: 700; text-decoration: none; }
.back-link:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.policy-header { padding-bottom: 2.4rem; border-bottom: 1px solid var(--line); }
.policy-header h1 { font-size: clamp(2.7rem, 10vw, 5rem); }
.policy-date { display: inline-flex; margin: 1.3rem 0 0; padding: 0.35rem 0.75rem; border-radius: 999px; color: #ffb0b4; background: var(--accent-pale); font-size: 0.875rem; font-weight: 700; }
.policy-intro { max-width: 47rem; margin: 1.5rem 0 0; color: var(--ink-soft); font-size: 1.15rem; line-height: 1.7; }
.policy-content { display: grid; gap: 0; padding-top: 0.5rem; }
.policy-content section { padding: 2rem 0; border-bottom: 1px solid var(--line); }
.policy-content h2 { margin: 0 0 0.7rem; font-size: 1.35rem; letter-spacing: -0.025em; }
.policy-content p { margin: 0; color: var(--ink-soft); }
.contact-section { margin-top: 1.5rem; padding: 1.5rem !important; border: 1px solid #693136 !important; border-radius: var(--radius-md); background: #251113; }
.contact-section h2 { color: white; }
.contact-email { display: inline-flex; margin-top: 1rem; padding: 0.5rem 0.8rem; border-radius: 0.6rem; color: white; background: var(--accent); font-weight: 750; text-decoration: none; }
.contact-email:hover { background: var(--accent-bright); }

@media (min-width: 40rem) {
  .shell { width: min(100% - 3rem, var(--shell)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .disclaimer-panel { grid-template-columns: auto 1fr; }
  .footer-inner { grid-template-columns: 1.3fr 1fr auto; align-items: start; }
}

@media (min-width: 48rem) {
  .hero { padding: 6rem 0 5rem; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(25rem, 0.95fr); }
  .device-stage { min-height: 38rem; }
  .screen-stack { height: 37rem; }
  .timeline-shot { width: 14rem; left: 0; }
  .home-shot { width: 16rem; right: 8%; }
  .watch-shot { width: 9.8rem; right: 0; bottom: 1rem; }
  .section { padding: 7rem 0; }
  .feature-card { padding: 1.8rem; }
  .policy-main { padding-top: 5rem; }
}

@media (min-width: 64rem) {
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-grid { gap: 5rem; }
}

@media (max-width: 24rem) {
  .timeline-shot { width: 10.2rem; }
  .home-shot { width: 12rem; right: 4%; }
  .watch-shot { width: 7.7rem; }
  .language-switcher button { min-width: 2.25rem; padding-inline: 0.55rem; }
  .contact-email { display: flex; width: 100%; justify-content: center; font-size: 0.92rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
