@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/static/landing/fonts/AtkinsonHyperlegible-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('/static/landing/fonts/AtkinsonHyperlegible-Bold.ttf') format('truetype');
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0c0c0d; --surface: #161618; --gold: #FFD700; --gold-dim: #C8A800;
  --gold-soft: rgba(255,215,0,0.12); --white: #FFFFFF;
  --muted: #D6D6D3; --border: rgba(255,255,255,0.14);
  --radius: 16px; --max: 1080px;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  background: var(--bg); color: var(--white);
  font-size: 20px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
/* Nav */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12,12,13,0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo { height: 28px; width: auto; color: var(--gold); display: block; }
.nav-right { display: flex; align-items: center; gap: .75rem; }
/* Custom language dropdown */
.lang-dd { position: relative; }
.lang-dd-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--surface); color: var(--white);
  border: 1px solid var(--border); border-radius: 999px;
  padding: .55rem 1.1rem; min-height: 44px;
  font-family: inherit; font-size: .9rem; font-weight: 700; cursor: pointer;
  transition: border-color .15s;
}
.lang-dd-btn:hover, .lang-dd-btn:focus-visible { border-color: var(--gold); outline: none; }
.lang-dd-btn svg { transition: transform .2s ease; color: var(--gold); }
.lang-dd[data-open="true"] .lang-dd-btn svg { transform: rotate(180deg); }
.lang-dd-menu {
  position: absolute; top: calc(100% + .5rem); right: 0;
  min-width: 11rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: 14px;
  padding: .4rem; list-style: none; margin: 0;
  box-shadow: 0 20px 48px rgba(0,0,0,.55);
  opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top right;
  /* visibility:hidden keeps the closed menu out of the keyboard tab order
     (opacity/pointer-events alone leave the links focusable). The 0s delay on
     visibility lets the fade-out play before the menu is removed. */
  visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; z-index: 200;
}
.lang-dd[data-open="true"] .lang-dd-menu {
  opacity: 1; transform: none; visibility: visible; pointer-events: auto;
  transition: opacity .18s ease, transform .18s ease, visibility 0s;
}
.lang-dd-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem .9rem; border-radius: 9px;
  color: var(--white); text-decoration: none; font-weight: 700; font-size: .95rem;
  white-space: nowrap;
}
.lang-dd-menu a:hover, .lang-dd-menu a:focus-visible { background: var(--gold-soft); color: var(--gold); outline: none; }
.lang-dd-menu a[aria-current="true"] { color: var(--gold); }
.lang-dd-menu a[aria-current="true"]::after { content: "✓"; font-size: .9rem; }
.btn-nav {
  background: var(--gold); color: #000; font-weight: 700; font-size: .9rem;
  padding: .55rem 1.2rem; border-radius: 999px; text-decoration: none;
  white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center;
  transition: background .15s;
}
.btn-nav:hover { background: var(--gold-dim); }
/* Layout */
.section { padding: 5.5rem 1.5rem; max-width: var(--max); margin: 0 auto; }
.section-full { padding: 5.5rem 1.5rem; }
.section-full > .inner { max-width: var(--max); margin: 0 auto; }
h1, h2, h3 { line-height: 1.12; font-weight: 700; }
h1 { font-size: clamp(3rem, 8vw, 5.25rem); }
h2 { font-size: clamp(2rem, 4.8vw, 3.2rem); }
h3 { font-size: 1.2rem; }
.muted { color: var(--muted); }
/* Phone visual + ambient glow */
.phone { position: relative; display: inline-block; }
.phone::before {
  content: ''; position: absolute; inset: -14% -12%; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, rgba(255,215,0,0.18), rgba(255,215,0,0.06) 45%, transparent 72%);
  filter: blur(44px);
}
.phone img {
  position: relative; z-index: 1; display: block;
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 9%, #000 91%, transparent),
    linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 9%, #000 91%, transparent),
    linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  mask-composite: intersect;
}
/* Hero */
.hero {
  padding: 4rem 1.5rem; max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center;
}
@media (min-width: 760px) { .hero { grid-template-columns: 1.1fr 1fr; padding: 6rem 1.5rem; } }
.hero-text h1 { margin-bottom: 1.5rem; }
.hero-text h1 em { font-style: normal; color: var(--gold); }
.hero-sub { font-size: 1.25rem; color: var(--muted); margin-bottom: 2.5rem; max-width: 480px; }
.cta-group { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.btn-store {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold); color: #000; font-weight: 700; font-size: 1rem;
  padding: .9rem 1.6rem; border-radius: var(--radius); text-decoration: none;
  transition: background .15s, transform .1s; min-height: 56px;
}
.btn-store:hover { background: var(--gold-dim); transform: translateY(-1px); }
.btn-store-ghost { background: transparent; border: 2px solid var(--gold); color: var(--gold); }
.btn-store-ghost:hover { background: var(--gold-soft); transform: translateY(-1px); }
.cta-note { width: 100%; font-size: .95rem; color: var(--muted); margin-top: .25rem; }
.hero-visual { display: flex; justify-content: center; align-items: flex-end; }
@media (min-width: 760px) { .hero-visual { justify-content: flex-end; } }
.phone-hero { width: min(280px, 72vw); border-radius: 36px; }
/* Problem */
.problem-bg { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.problem-intro { max-width: 660px; margin-bottom: 3.5rem; }
.problem-intro p { font-size: 1.2rem; color: var(--muted); margin-top: 1rem; }
.prob-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.prob-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.75rem; }
.prob-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.prob-icon {
  flex-shrink: 0; width: 60px; height: 60px; border-radius: 16px;
  background: var(--gold-soft); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.prob-icon svg { width: 30px; height: 30px; }
.prob-card h3 { font-size: 1.5rem; line-height: 1.2; }
.prob-card p { font-size: 1.1rem; color: var(--muted); }
/* How */
.how-intro { max-width: 600px; }
.steps { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-top: 3.5rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.step { display: flex; flex-direction: column; align-items: center; }
.step-header { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; width: 100%; }
@media (min-width: 760px) { .step-header { min-height: 9.5rem; } }
.step-num {
  width: 48px; height: 48px; background: var(--gold); color: #000;
  font-weight: 700; font-size: 1.2rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-text h3 { font-size: 1.5rem; margin-bottom: .5rem; line-height: 1.2; }
.step-text p { font-size: 1.1rem; color: var(--muted); }
.step-phone { width: 100%; max-width: 230px; border-radius: 28px; }
/* Who is it for */
.who { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.who .inner { max-width: 780px; margin: 0 auto; }
.who p { font-size: 1.2rem; color: var(--muted); margin-top: 1.25rem; }
.who p strong { color: var(--white); font-weight: 700; }
/* Final CTA */
.final-bg { background: linear-gradient(160deg,#111112 0%,#0c0c0d 100%); border-top: 1px solid var(--border); text-align: center; }
.final-bg h2 { font-size: clamp(2.2rem,5.5vw,3.6rem); margin-bottom: 1rem; }
.final-bg p { color: var(--muted); font-size: 1.15rem; margin-bottom: 2.5rem; }
.final-ctas { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
/* Footer */
footer {
  border-top: 1px solid var(--border); padding: 2.5rem 1.5rem;
  max-width: var(--max); margin: 0 auto;
}
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1.75rem; }
.footer-links a { color: var(--gold); font-size: 1rem; text-decoration: none; margin: .5rem 0; }
.footer-links a:hover { text-decoration: underline; }
/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
