:root {
  color-scheme: dark;
  --ink: #08080d;
  --ink-soft: #111117;
  --paper: #f7f3eb;
  --muted: #b8b1ad;
  --red: #ff2b1e;
  --red-deep: #81130c;
  --yellow: #ffca1a;
  --line: rgba(255, 255, 255, 0.13);
  --radius: 30px;
  --shell: min(1180px, calc(100vw - 40px));
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 6%, rgba(255, 43, 30, 0.14), transparent 24rem),
    var(--ink);
  color: var(--paper);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 800;
}
.skip-link:focus { top: 16px; }

.section-shell { width: var(--shell); margin-inline: auto; }

.site-header {
  width: var(--shell);
  min-height: 94px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}
.brand {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.brand img {
  width: 60px;
  height: 60px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 14px;
}
.nav { display: flex; align-items: center; gap: 26px; font-size: 0.88rem; font-weight: 750; }
.nav a { text-decoration: none; opacity: 0.78; transition: opacity 180ms ease; }
.nav a:hover, .nav a:focus-visible { opacity: 1; }
.nav-contact { color: var(--yellow); }

.language-toggle {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--paper);
  border-radius: 999px;
  min-height: 38px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 800 0.7rem/1 var(--body);
  cursor: pointer;
}
.language-toggle:focus-visible, a:focus-visible, .screen-strip:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}
.toggle-track { width: 31px; height: 17px; padding: 2px; display: block; background: var(--yellow); border-radius: 999px; }
.toggle-dot { width: 13px; height: 13px; display: block; background: var(--ink); border-radius: 50%; transition: transform 180ms ease; }
html[lang="en"] .toggle-dot { transform: translateX(14px); }

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: center;
  padding: 76px 0 92px;
}
.eyebrow { color: var(--yellow); font-size: 0.76rem; font-weight: 950; letter-spacing: 0.2em; margin: 0 0 18px; }
h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--display); text-transform: uppercase; letter-spacing: -0.025em; line-height: 0.92; }
h1 { max-width: 720px; font-size: clamp(4.1rem, 8vw, 7.8rem); }
.hero-lede { max-width: 670px; margin: 28px 0 0; color: #d0cac6; font-size: clamp(1.05rem, 1.8vw, 1.32rem); line-height: 1.58; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px 22px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 15px;
  box-shadow: 0 11px 40px rgba(255, 202, 26, 0.11);
}
.store-button small { display: block; font-size: 0.58rem; font-weight: 850; letter-spacing: 0.09em; }
.store-button strong { display: block; font-size: 1.35rem; line-height: 1.05; }
.store-mark { width: 29px; height: 29px; display: grid; place-items: center; border: 2px solid currentColor; border-radius: 50%; font-size: 0.55rem; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--yellow); text-underline-offset: 5px; font-weight: 800; }
.review-note { margin: 15px 0 0; color: #817a78; font-size: 0.8rem; }

.hero-visual { position: relative; height: 650px; isolation: isolate; }
.poster-glow { position: absolute; border-radius: 50%; filter: blur(55px); opacity: 0.5; z-index: -1; }
.poster-glow-one { width: 300px; height: 300px; background: var(--red); right: 5%; top: 9%; }
.poster-glow-two { width: 240px; height: 240px; background: var(--yellow); left: 4%; bottom: 4%; opacity: 0.2; }
.phone {
  position: absolute;
  overflow: hidden;
  margin: 0;
  background: #030307;
  border: 7px solid #242229;
  border-radius: 47px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.58);
}
.phone::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 20px;
  background: #050509;
  border-radius: 999px;
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone-main { width: 302px; height: 654px; top: 0; right: 5%; transform: rotate(2.6deg); z-index: 2; }
.phone-side { width: 240px; height: 520px; left: 0; bottom: 8px; transform: rotate(-8deg); opacity: 0.88; }
.floating-note {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 12, 15, 0.84);
  backdrop-filter: blur(14px);
  border-radius: 999px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.38);
  font-size: 0.76rem;
  font-weight: 900;
}
.floating-note::before { content: ""; width: 8px; height: 8px; margin-right: 8px; background: var(--yellow); border-radius: 50%; box-shadow: 0 0 12px var(--yellow); }
.floating-note-top { right: -24px; top: 120px; }
.floating-note-bottom { left: 28px; bottom: 74px; }

.statement {
  padding: 100px 0;
  display: grid;
  grid-template-columns: 80px 1.25fr 0.7fr;
  gap: 34px;
  align-items: end;
  border-top: 1px solid var(--line);
}
.section-number { margin: 0; align-self: start; color: var(--red); font-weight: 900; }
.statement h2 { font-size: clamp(3.3rem, 7vw, 6.5rem); }
.statement-copy { max-width: 440px; margin: 0 0 6px; color: var(--muted); line-height: 1.65; font-size: 1.05rem; }

.features { padding: 98px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 42px; }
.section-heading h2 { font-size: clamp(3.1rem, 6vw, 5.6rem); }
.section-heading > p { max-width: 420px; margin: 0 0 6px; color: var(--muted); line-height: 1.6; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { min-height: 390px; padding: 30px; border-radius: var(--radius); display: flex; flex-direction: column; }
.feature-index { align-self: flex-end; font-size: 0.72rem; font-weight: 900; opacity: 0.58; }
.feature-icon { margin: auto 0 34px; font-family: var(--display); font-size: 5.4rem; line-height: 1; }
.feature-card h3 { max-width: 330px; font-size: 1.65rem; line-height: 1.05; text-transform: uppercase; }
.feature-card p { margin: 17px 0 0; line-height: 1.55; opacity: 0.74; }
.feature-yellow { background: var(--yellow); color: var(--ink); transform: rotate(-1deg); }
.feature-red { background: var(--red); color: var(--ink); transform: translateY(22px) rotate(1deg); }
.feature-dark { background: #18161b; border: 1px solid var(--line); transform: rotate(-0.7deg); }

.screens { width: 100%; padding: 130px max(20px, calc((100vw - 1180px) / 2)) 90px; overflow: hidden; }
.screen-heading { width: min(1180px, calc(100vw - 40px)); margin-inline: auto; }
.swipe-hint { color: var(--yellow) !important; font-size: 0.82rem; font-weight: 900; }
.phone-gallery {
  min-height: 710px;
  width: min(1180px, calc(100vw - 40px));
  margin-inline: auto;
  padding: 52px 12px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.gallery-phone {
  flex: 0 1 255px;
  width: 255px;
  min-width: 0;
  margin: 0 -12px;
  position: relative;
  transition: transform 220ms ease;
}
.gallery-device {
  position: relative;
  width: 100%;
  aspect-ratio: 760 / 1648;
  overflow: hidden;
  background: #030307;
  border: 6px solid #29272e;
  border-radius: 41px;
  box-shadow: 0 34px 78px rgba(0, 0, 0, 0.55);
}
.gallery-device::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 17px;
  background: #050509;
  border-radius: 999px;
}
.gallery-device img { width: 100%; height: 100%; object-fit: contain; background: #030307; }
.gallery-phone figcaption {
  min-height: 42px;
  margin: 16px 8px 0;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(22, 19, 23, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
  font-size: 0.76rem;
}
.gallery-phone figcaption span { color: var(--red); font-weight: 950; }
.gallery-phone figcaption strong { text-align: right; }
.gallery-phone-one { transform: translateY(48px) rotate(-7deg); z-index: 1; }
.gallery-phone-two { transform: translateY(5px) rotate(-3deg); z-index: 2; }
.gallery-phone-three { transform: translateY(-18px) scale(1.06); z-index: 5; }
.gallery-phone-four { transform: translateY(5px) rotate(3deg); z-index: 2; }
.gallery-phone-five { transform: translateY(48px) rotate(7deg); z-index: 1; }
.gallery-phone:hover { z-index: 8; transform: translateY(-24px) scale(1.04); }

.contact {
  min-height: 520px;
  margin-top: 70px;
  margin-bottom: 100px;
  padding: clamp(32px, 6vw, 80px);
  display: grid;
  grid-template-columns: minmax(190px, 0.5fr) 1fr;
  align-items: center;
  gap: clamp(30px, 7vw, 90px);
  background: linear-gradient(125deg, #62110c, #190b0d 58%, #0c0b10);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 44px;
  overflow: hidden;
  position: relative;
}
.contact::after { content: ""; position: absolute; width: 400px; height: 400px; right: -220px; top: -220px; border: 1px solid rgba(255,202,26,0.3); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,202,26,0.03), 0 0 0 140px rgba(255,202,26,0.02); }
.contact-icon {
  width: min(100%, 220px);
  height: auto;
  max-height: 220px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  align-self: center;
  justify-self: center;
  border-radius: 24%;
  box-shadow: 0 28px 70px rgba(0,0,0,0.42);
  transform: rotate(-4deg);
}
.contact-copy { position: relative; z-index: 1; }
.contact h2 { max-width: 800px; font-size: clamp(2.8rem, 5.5vw, 5.4rem); }
.contact-copy > p:not(.eyebrow) { max-width: 660px; margin: 24px 0; color: #c9c1bd; line-height: 1.6; }
.email-link { display: inline-flex; align-items: center; gap: 12px; color: var(--yellow); font-size: clamp(1.05rem, 2vw, 1.4rem); font-weight: 900; text-underline-offset: 7px; }

.site-footer { min-height: 180px; padding: 30px 0 45px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px; border-top: 1px solid var(--line); color: #8e8784; }
.site-footer img { width: 74px; height: 74px; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 16px; }
.site-footer p { margin: 6px 0 0; font-size: 0.78rem; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--paper); font-size: 0.82rem; text-underline-offset: 5px; }
.copyright { grid-column: 1 / -1; }

/* Support and privacy pages */
.legal-main { padding: 88px 0 120px; }
.legal-hero { max-width: 860px; margin-bottom: 70px; }
.legal-hero h1 { font-size: clamp(3.8rem, 8vw, 7.2rem); }
.legal-hero > p:last-child { max-width: 690px; margin: 28px 0 0; color: var(--muted); font-size: 1.1rem; line-height: 1.65; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 70px; align-items: start; }
.legal-aside { position: sticky; top: 28px; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,0.025); }
.legal-aside p { margin: 0 0 8px; color: var(--muted); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; }
.legal-aside a { color: var(--yellow); font-size: 0.9rem; overflow-wrap: anywhere; text-underline-offset: 4px; }
.legal-content section { padding: 0 0 42px; margin-bottom: 42px; border-bottom: 1px solid var(--line); }
.legal-content section:last-child { border-bottom: 0; }
.legal-content h2 { margin-bottom: 18px; font: 850 clamp(1.5rem, 3vw, 2rem)/1.15 var(--body); text-transform: none; letter-spacing: -0.025em; }
.legal-content h3 { margin: 22px 0 10px; font-size: 1rem; }
.legal-content p, .legal-content li { color: #bbb4b0; line-height: 1.72; }
.legal-content ul { padding-left: 20px; }
.legal-content li + li { margin-top: 9px; }
.support-card { padding: 28px; background: linear-gradient(135deg, rgba(255,43,30,0.16), rgba(255,202,26,0.05)); border: 1px solid rgba(255,202,26,0.22); border-radius: 24px; }
.support-card p { margin-bottom: 18px; }
.back-link { display: inline-flex; gap: 8px; align-items: center; color: var(--yellow); font-weight: 850; text-underline-offset: 5px; }

@media (max-width: 900px) {
  .nav > a:not(.nav-contact) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 62px; }
  .hero-copy { position: relative; z-index: 3; }
  .hero-visual { width: min(560px, 100%); margin: -10px auto 0; }
  .statement { grid-template-columns: 50px 1fr; }
  .statement-copy { grid-column: 2; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 300px; transform: none; }
  .feature-icon { margin-top: 55px; }
  .phone-gallery {
    min-height: 0;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding: 24px 6px 38px;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--red) rgba(255,255,255,0.08);
  }
  .gallery-phone {
    flex: 0 0 min(300px, 68vw);
    width: min(300px, 68vw);
    margin: 0;
    transform: none;
    scroll-snap-align: center;
  }
  .gallery-phone:hover { transform: none; }
  .contact { grid-template-columns: 0.38fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 40px; }
  .legal-aside { position: static; }
}

@media (max-width: 620px) {
  :root { --shell: min(100% - 28px, 1180px); --radius: 24px; }
  .site-header { min-height: 78px; }
  .brand { width: 54px; height: 54px; }
  .brand img { width: 50px; height: 50px; border-radius: 12px; }
  .nav { gap: 12px; }
  .nav-contact { display: none; }
  .hero { min-height: auto; padding: 54px 0 72px; gap: 50px; }
  h1 { font-size: clamp(3.8rem, 18vw, 5.3rem); }
  .hero-lede { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual { height: 520px; }
  .phone-main { width: 244px; height: 528px; right: 2%; }
  .phone-side { width: 176px; height: 382px; left: 1%; bottom: 4px; }
  .phone { border-width: 5px; border-radius: 37px; }
  .phone::before { width: 63px; height: 15px; top: 8px; }
  .floating-note-top { top: 92px; right: -5px; }
  .floating-note-bottom { left: 4px; bottom: 47px; }
  .statement { padding: 76px 0; display: block; }
  .section-number { margin-bottom: 38px; }
  .statement h2 { font-size: clamp(3.25rem, 16vw, 4.6rem); }
  .statement-copy { margin-top: 30px; }
  .features { padding: 70px 0; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: clamp(3.1rem, 15vw, 4.3rem); }
  .section-heading > p { margin-top: 24px; }
  .feature-card { min-height: 330px; padding: 26px; }
  .screens { padding-top: 90px; padding-bottom: 70px; }
  .phone-gallery { width: calc(100vw - 28px); }
  .gallery-phone { flex-basis: min(310px, 78vw); width: min(310px, 78vw); }
  .gallery-device { border-width: 5px; border-radius: 37px; }
  .contact { margin-top: 40px; margin-bottom: 75px; padding: 28px; display: block; border-radius: 30px; }
  .contact-icon { width: 108px; max-height: 108px; margin: 0 0 38px; border-radius: 22px; }
  .contact h2 { font-size: clamp(2.8rem, 13vw, 4.1rem); overflow-wrap: anywhere; }
  .email-link { font-size: 0.98rem; overflow-wrap: anywhere; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .copyright { grid-column: auto; }
  .legal-main { padding: 65px 0 90px; }
  .legal-hero h1 { font-size: clamp(3.6rem, 17vw, 5.1rem); }
}

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