:root {
  --bg: #0b0e0c;
  --bg-elev: #11161a;
  --surface: #161b1d;
  --surface-2: #1c2225;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eceae5;
  --text-2: rgba(236, 234, 229, 0.68);
  --text-3: rgba(236, 234, 229, 0.42);
  --accent: #c68b5d;
  --accent-2: #e0a878;
  --accent-soft: rgba(198, 139, 93, 0.14);
  --accent-border: rgba(198, 139, 93, 0.28);
  --green: #7aa268;
  --green-soft: rgba(122, 162, 104, 0.16);
  --max-prose: 720px;
  --page-max: 1120px;
  --header-h: 68px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--accent);
  color: #1a0e05;
  font-weight: 700;
}

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

.container {
  width: min(100% - 48px, var(--page-max));
  margin-inline: auto;
}

/* ── Header ─────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 14, 12, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  color: var(--accent);
  flex-shrink: 0;
}

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

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

.nav-cta {
  margin-left: 4px;
  padding: 9px 16px !important;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent-2) !important;
  font-weight: 700 !important;
}

.nav-cta:hover {
  background: rgba(198, 139, 93, 0.22) !important;
}

.lang-switch {
  display: inline-flex;
  margin-left: 4px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.lang-switch a {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--text-3);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.lang-switch a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

.lang-switch a[aria-current='page'] {
  color: var(--accent-2);
  background: var(--accent-soft);
}

/* ── Hero ───────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% -10%, rgba(122, 162, 104, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(198, 139, 93, 0.16), transparent 50%),
    linear-gradient(180deg, #14191b 0%, var(--bg) 72%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero-copy-block {
  max-width: 36rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(122, 162, 104, 0.7);
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.35rem, 6vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero-tagline {
  margin: 0 0 22px;
  color: var(--accent-2);
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
}

.hero-lead {
  margin: 0 0 28px;
  max-width: 32rem;
  color: var(--text-2);
  font-size: 1.0625rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.store-badge:hover {
  border-color: var(--accent-border);
  background: rgba(198, 139, 93, 0.08);
  text-decoration: none;
  transform: translateY(-1px);
}

.store-badge svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-badge-text small {
  color: var(--text-3);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.store-badge-text span {
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
}

.phone-frame {
  position: relative;
  margin-inline: auto;
  width: min(100%, 320px);
  padding: 14px;
  border: 1px solid var(--line-2);
  border-radius: 32px;
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow);
}

.phone-notch {
  width: 96px;
  height: 22px;
  margin: 0 auto 14px;
  border-radius: 0 0 14px 14px;
  background: var(--bg);
}

.phone-screen {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--bg);
  line-height: 0;
}

.phone-screen img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Sections ───────────────────────────────────────── */

.section {
  padding: 72px 0;
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015), transparent);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 40px;
}

.section-head.centered {
  margin-inline: auto;
  text-align: center;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-head p {
  margin: 0;
  color: var(--text-2);
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  gap: 16px;
}

.feature-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent-2);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.94rem;
}

/* Trust / privacy band */
.trust-grid {
  display: grid;
  gap: 16px;
}

.trust-item {
  display: flex;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
}

.trust-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--green);
  margin-top: 2px;
}

.trust-item h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
}

.trust-item p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.9rem;
}

/* CTA band */
.cta-band {
  padding: 56px 32px;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 80% 100% at 50% 0%, rgba(198, 139, 93, 0.12), transparent 60%),
    var(--surface);
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.cta-band p {
  margin: 0 auto 24px;
  max-width: 32rem;
  color: var(--text-2);
}

.cta-band .hero-actions {
  justify-content: center;
}

/* ── Legal / prose ──────────────────────────────────── */

.site-main {
  padding: 56px 0 80px;
}

.prose {
  max-width: var(--max-prose);
}

.prose h1 {
  margin: 0 0 8px;
  font-size: 2.15rem;
  letter-spacing: -0.03em;
}

.prose .meta {
  margin: 0 0 32px;
  color: var(--text-3);
  font-size: 0.875rem;
}

.prose h2 {
  margin: 36px 0 10px;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.prose p,
.prose li {
  color: var(--text-2);
}

.prose ul {
  padding-left: 1.25rem;
}

.prose a {
  color: var(--accent-2);
}

/* ── Footer ─────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 56px;
  background: #090c0a;
}

.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-brand p {
  margin: 12px 0 0;
  max-width: 22rem;
  color: var(--text-3);
  font-size: 0.9rem;
}

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--text-2);
  font-size: 0.92rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.84rem;
}

/* ── 404 ────────────────────────────────────────────── */

.error-page {
  min-height: calc(100vh - var(--header-h) - 120px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 0;
}

.error-page h1 {
  margin: 0 0 8px;
  font-size: 4rem;
  letter-spacing: -0.05em;
  color: var(--accent);
}

.error-page p {
  margin: 0 0 24px;
  color: var(--text-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent-2);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}

.btn:hover {
  background: rgba(198, 139, 93, 0.22);
  text-decoration: none;
}

/* ── Responsive ─────────────────────────────────────── */

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .nav a:not(.nav-cta) {
    display: none;
  }
}
