/* ==========================================================================
   Tara — tarayourmind.com
   Shared site styles. Single CSS file, no external CSS deps beyond
   Google Fonts (Cormorant Garamond + IBM Plex Mono).

   Palette mirrors the iOS app:
     • Background: deep cosmic gradient (#050010 → #0b0420 → #000)
     • Primary text: warm white (#f5f0e8)
     • Gold accent: #d4af37 (logo, headings, links)
     • Soft gold: #fbbf24 (highlights, hover)
     • Purple accent: #a78bfa (subheads, dividers)
   ========================================================================== */

:root {
  --bg-deep:        #050010;
  --bg-mid:         #0b0420;
  --bg-edge:        #000000;
  --text-primary:   #f5f0e8;
  --text-secondary: rgba(245, 240, 232, 0.65);
  --text-muted:     rgba(245, 240, 232, 0.4);
  --gold:           #d4af37;
  --gold-bright:    #fbbf24;
  --purple:         #a78bfa;
  --purple-deep:    #7c3aed;
  --hairline:       rgba(212, 175, 55, 0.18);
  --panel:          rgba(255, 255, 255, 0.03);
  --panel-border:   rgba(212, 175, 55, 0.22);
  --max-width:      720px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-primary);
  background:
    radial-gradient(ellipse at top, var(--bg-mid) 0%, var(--bg-deep) 50%, var(--bg-edge) 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle starfield — pure CSS, no JS */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.4) 50%, transparent 100%),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.3) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 40% 80%, rgba(255,255,255,0.5) 50%, transparent 100%),
    radial-gradient(1px 1px at 75% 20%, rgba(255,255,255,0.35) 50%, transparent 100%),
    radial-gradient(1px 1px at 90% 50%, rgba(255,255,255,0.3) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 15% 60%, rgba(255,255,255,0.4) 50%, transparent 100%),
    radial-gradient(1px 1px at 50% 10%, rgba(255,255,255,0.3) 50%, transparent 100%),
    radial-gradient(1px 1px at 30% 50%, rgba(255,255,255,0.35) 50%, transparent 100%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

main, header, footer { position: relative; z-index: 1; }

/* ==========================================================================
   Top nav — minimal, just the wordmark + a link back home
   ========================================================================== */

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-nav .wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.site-nav .wordmark-icon {
  width: 32px; height: 32px;
  border-radius: 7px;
  border: 1px solid var(--gold);
}

.site-nav .wordmark-text {
  font-size: 22px;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.5px;
}

.site-nav .nav-links {
  display: flex;
  gap: 24px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.site-nav .nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.site-nav .nav-links a:hover {
  color: var(--gold);
}

/* ==========================================================================
   Page content container
   ========================================================================== */

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 32px 96px;
}

/* Page header — used on legal pages */

.page-header {
  text-align: center;
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 40px;
}

.page-header h1 {
  font-size: 44px;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.page-header .last-updated {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ==========================================================================
   Article body — privacy / terms / disclaimer
   ========================================================================== */

article h2 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 32px 0 12px;
}

article h2:first-of-type {
  margin-top: 16px;
}

article p {
  margin-bottom: 14px;
  line-height: 1.7;
}

article ul {
  margin: 0 0 14px 22px;
  padding: 0;
}

article ul li {
  margin-bottom: 6px;
  line-height: 1.65;
}

article a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

article a:hover {
  color: var(--gold-bright);
}

article strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ==========================================================================
   Landing — hero + features
   ========================================================================== */

.hero {
  text-align: center;
  padding: 60px 0 48px;
}

.hero .icon {
  width: 140px; height: 140px;
  border-radius: 30px;
  margin: 0 auto 32px;
  display: block;
  box-shadow:
    0 0 60px rgba(124, 58, 237, 0.5),
    0 0 100px rgba(212, 175, 55, 0.18);
  border: 1px solid var(--gold);
}

.hero .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.hero h1 {
  font-size: 56px;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  line-height: 1.1;
}

.hero .tagline {
  font-size: 21px;
  font-style: italic;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.5;
}

.hero .availability {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--purple);
  padding: 10px 22px;
  border: 1px solid var(--purple-deep);
  border-radius: 999px;
  display: inline-block;
}

/* Divider with diamond */
.divider-diamond {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 56px 0;
}

.divider-diamond::before,
.divider-diamond::after {
  content: '';
  flex: 0 1 80px;
  height: 1px;
  background: var(--hairline);
}

.divider-diamond .diamond {
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Feature panels */

.features {
  display: grid;
  gap: 18px;
  margin: 0 auto;
}

.feature {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 24px 28px;
}

.feature .feature-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}

.feature h3 {
  font-size: 24px;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 8px;
}

.feature p {
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 16px;
}

/* About / studio block */

.studio-block {
  text-align: center;
  margin-top: 80px;
  padding: 40px 24px;
  border-top: 1px solid var(--hairline);
}

.studio-block .from {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

.studio-block .studio-name {
  font-size: 22px;
  font-weight: 300;
  font-style: italic;
}

.studio-block .studio-line {
  color: var(--text-secondary);
  font-size: 16px;
  margin-top: 6px;
  font-style: italic;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 40px 32px 32px;
  text-align: center;
  margin-top: 60px;
}

.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-bottom: 24px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.site-footer .footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer .footer-links a:hover {
  color: var(--gold);
}

.site-footer .copyright {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.site-footer .contact {
  font-size: 14px;
  font-style: italic;
  color: var(--text-secondary);
  margin-top: 12px;
}

.site-footer .contact a {
  color: var(--gold);
  text-decoration: none;
}

.site-footer .contact a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Mobile responsive — only minor tweaks needed
   ========================================================================== */

@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-nav { padding: 20px 22px; }
  .site-nav .nav-links { gap: 16px; font-size: 10px; letter-spacing: 2px; }
  .page { padding: 22px 22px 80px; }
  .page-header h1 { font-size: 34px; }
  .hero { padding: 40px 0 32px; }
  .hero h1 { font-size: 40px; }
  .hero .tagline { font-size: 18px; }
  .hero .icon { width: 110px; height: 110px; border-radius: 24px; }
  article h2 { font-size: 12px; }
  .feature { padding: 20px 22px; }
  .feature h3 { font-size: 21px; }
  .site-footer .footer-links { gap: 18px; font-size: 10px; letter-spacing: 2px; }
}

/* ==========================================================================
   Landing v2 — app visuals (phone mockups, screen rail, feature rows)
   ========================================================================== */

.landing .site-nav { max-width: 1120px; }
.site-nav .wordmark { flex-shrink: 0; margin-right: 24px; }

.page-wide { max-width: 1120px; }

/* Phone frame — real screenshots inside a titanium-ish bezel */
.phone {
  position: relative;
  width: 100%;
  aspect-ratio: 1206 / 2622;
  border-radius: 14% / 6.5%;
  padding: 3.2%;
  background: linear-gradient(145deg, #2a2438 0%, #0d0a14 45%, #2a2438 100%);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.35),
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 70px rgba(124, 58, 237, 0.25);
}
/* Dynamic Island (simulator captures omit it) — 126x37pt on a 402x874pt screen */
.phone::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 2.69%;
  width: 29.3%;
  height: 4.1%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}
.phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 11.5% / 5.3%;
  background: #050010;
}
.phone-lg { max-width: 320px; margin: 0 auto; }
.phone-md { max-width: 260px; }

/* Hero split */
.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  text-align: left;
  padding: 40px 0 24px;
}
.hero-split .icon { margin: 0 0 28px; width: 96px; height: 96px; border-radius: 22px; }
.hero-split .tagline { margin: 0 0 32px; }
.hero-visual { position: relative; }
.hero-visual .halo {
  position: absolute;
  inset: 10% 0;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22) 0%, rgba(124, 58, 237, 0.18) 35%, transparent 70%);
  filter: blur(20px);
  z-index: -1;
}
.hero-visual { min-height: 560px; display: flex; align-items: center; justify-content: center; }
.hero-visual .phone-lg { position: relative; z-index: 2; animation: float 7s ease-in-out infinite; margin: 0; transform: translateX(-18%); }
.hero-visual .phone-back {
  position: absolute;
  z-index: 1;
  width: 62%;
  max-width: 250px;
  right: 2%;
  top: 50%;
  transform: translateY(-46%) rotate(8deg);
  opacity: 0.9;
  filter: saturate(1.05);
}
@keyframes float {
  0%, 100% { transform: translateX(-18%) translateY(0); }
  50%      { transform: translateX(-18%) translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual .phone { animation: none; }
}

/* Section headings */
.section-label {
  display: block;
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  text-align: center;
  font-size: 38px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.2;
  margin-bottom: 40px;
}

/* Horizontal screen rail — scroll-snap, no JS */
.screen-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 200px;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 40px 4px 40px;
  scrollbar-width: thin;
  scrollbar-color: var(--hairline) transparent;
}
.rail-item { scroll-snap-align: center; text-align: center; }
/* Tighter glow inside the scroller so overflow clipping never shows an edge */
.screen-rail .phone {
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.35),
    0 14px 30px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(124, 58, 237, 0.18);
}
.rail-item figcaption {
  margin-top: 16px;
  font-size: 18px;
  font-style: italic;
  color: var(--text-secondary);
}
.screen-rail {
  padding-left: 32px;
  padding-right: 32px;
  scroll-padding-inline: 32px;
}

/* Feature rows — screenshot beside copy, alternating */
.feature-rows { display: grid; gap: 72px; }
.feature-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  gap: 56px;
  max-width: 880px;
  margin: 0 auto;
}
.feature-row.reverse { grid-template-columns: 1fr 260px; }
.feature-row.reverse .phone { order: 2; }
.feature-row .feature { padding: 32px 36px; }
.feature-row .feature h3 { font-size: 30px; }
.feature-row .feature p { font-size: 18px; }

/* Closing call */
.closing { text-align: center; padding: 96px 0 0; }
.closing .icon {
  width: 72px; height: 72px; border-radius: 16px;
  border: 1px solid var(--gold);
  box-shadow: 0 0 50px rgba(124, 58, 237, 0.5);
  margin-bottom: 24px;
}
.closing .section-title { margin-bottom: 24px; }
.closing .availability,
.hero-split .availability {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--purple);
  padding: 10px 22px;
  border: 1px solid var(--purple-deep);
  border-radius: 999px;
  display: inline-block;
}

@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-split .icon { margin: 0 auto 24px; }
  .hero-split .tagline { margin: 0 auto 28px; }
  .phone-lg { max-width: 240px; }
  .hero-visual { min-height: 0; padding-bottom: 12px; }
  .hero-visual .phone-back { width: 52%; max-width: 200px; right: 6%; }
  .feature-row,
  .feature-row.reverse { grid-template-columns: 1fr; gap: 28px; }
  .feature-row .phone,
  .feature-row.reverse .phone { order: 0; margin: 0 auto; max-width: 220px; }
  .feature-row .feature { padding: 24px 24px; }
  .feature-row .feature h3 { font-size: 24px; }
  .feature-row .feature p { font-size: 16px; }
  .feature-rows { gap: 56px; }
}

@media (max-width: 640px) {
  .site-nav .wordmark { margin-right: 12px; }
  .site-nav .wordmark-text { font-size: 20px; }
  .site-nav .nav-links { gap: 12px; letter-spacing: 1.5px; }
  .section-title { font-size: 28px; margin-bottom: 28px; }
  .screen-rail { grid-auto-columns: 62%; gap: 20px; }
  .closing { padding-top: 64px; }
}

/* ==========================================================================
   Playbook layout: top bar, ☰ menu, language picker, sign-up, promise, FAQ
   ========================================================================== */

html { overflow-x: clip; }
.sr-only, .hp {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

header.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 20px;
  max-width: 1120px; margin: 0 auto; padding: 14px 32px;
  background: rgba(5, 0, 16, 0.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
header.nav .wordmark { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text-primary); flex-shrink: 0; }
header.nav .wordmark-icon { width: 32px; height: 32px; border-radius: 7px; border: 1px solid var(--gold); }
header.nav .wordmark-text { font-size: 22px; font-weight: 300; font-style: italic; }
header.nav nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
header.nav nav a, .lang-pick summary {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-secondary); text-decoration: none; transition: color .2s;
}
header.nav nav a:hover, .lang-pick summary:hover { color: var(--gold); }
header.nav a:focus-visible, header.nav button:focus-visible, .btn:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold-bright); outline-offset: 3px;
}
.menu-toggle { display: none; }
.menu-langs { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 0 22px; border-radius: 999px; border: 1px solid var(--gold);
  background: linear-gradient(180deg, #e3c25a, #b8941d); color: #0a0518;
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:disabled { opacity: .6; cursor: default; }
.btn-small { min-height: 36px; padding: 0 16px; font-size: 10px; letter-spacing: 2px; }

/* 🌐 language picker (inserted by tools/website/build_i18n.py) */
.lang-pick { position: relative; }
.lang-pick summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.lang-pick summary::-webkit-details-marker { display: none; }
.lang-menu {
  position: absolute; right: 0; top: 100%; min-width: 150px; padding: 8px;
  background: #0b0420; border: 1px solid var(--panel-border); border-radius: 12px;
  display: grid; gap: 2px;
}
.lang-menu a, .menu-langs a { color: var(--text-primary); text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: 16px; }
.lang-menu a:hover { background: rgba(255,255,255,.05); }
.lang-menu a[aria-current], .menu-langs a[aria-current], .lang-switch a[aria-current] { color: var(--gold); }
.lang-banner {
  position: relative; z-index: 30; display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap;
  padding: 10px 44px; background: #1a0b3e; color: var(--text-primary); font-size: 15px; text-align: center;
}
.lang-banner a { color: var(--gold); }
.lang-banner button { position: absolute; right: 10px; background: none; border: 0; color: var(--text-secondary); font-size: 22px; min-width: 44px; min-height: 44px; cursor: pointer; }
.lang-switch { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--text-muted); margin: 18px 0 8px; }
.lang-switch a { color: var(--text-secondary); text-decoration: none; }

/* Launch-notice sign-up */
.get { margin-top: 4px; }
.get .availability {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--purple); margin-bottom: 14px;
}
form.notify { display: flex; gap: 10px; flex-wrap: wrap; max-width: 460px; }
form.notify input[type=email] {
  flex: 1 1 220px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--panel-border); background: rgba(255,255,255,.04); color: var(--text-primary);
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 18px;
}
form.notify input::placeholder { color: var(--text-muted); }
.notify-msg { min-height: 1.4em; margin-top: 10px; font-size: 16px; font-style: italic; color: var(--gold-bright); }
.notify-msg.bad { color: #f9a8a8; }
.fine-print { font-size: 14px; color: var(--text-muted); font-style: italic; }
.closing .get { display: flex; flex-direction: column; align-items: center; }
.closing form.notify { justify-content: center; margin: 0 auto; }

.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin-top: 26px; padding: 0; }
.facts li { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-secondary); }
.facts li::before { content: '✦ '; color: var(--gold); }

/* The promise */
.promise { text-align: center; padding: 96px 0 0; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 820px; margin: 0 auto; }
.promise-item { background: var(--panel); border: 1px solid var(--panel-border); border-radius: 16px; padding: 28px 18px; }
.promise-item .big { display: block; font-size: 54px; font-weight: 300; color: var(--gold); line-height: 1; }
.promise-item p { color: var(--text-secondary); margin-top: 10px; font-size: 17px; }
.promise-note { margin-top: 22px; color: var(--text-secondary); font-style: italic; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; padding-top: 96px; }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  cursor: pointer; list-style: none; min-height: 44px; padding: 18px 36px 18px 0; position: relative;
  font-size: 22px; font-style: italic; font-weight: 400;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 16px; color: var(--gold); font-size: 24px; font-style: normal; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--text-secondary); padding: 0 0 20px; font-size: 18px; }

.site-footer .fine { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 1px; color: var(--text-muted); margin-top: 16px; }

@media (max-width: 1020px) {
  header.nav { flex-wrap: wrap; padding: 12px 20px; }
  .menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 10px; margin-left: 4px;
    background: none; border: 1px solid var(--hairline); border-radius: 12px; cursor: pointer;
  }
  .menu-toggle span { display: block; height: 1.5px; background: var(--text-primary); border-radius: 1px; }
  header.nav nav {
    display: none; order: 10; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0;
    margin: 8px 0 4px; padding: 6px 0; border-top: 1px solid var(--hairline);
  }
  header.nav.open nav { display: flex; }
  header.nav nav a { padding: 14px 4px; font-size: 13px; }
  header.nav .btn-small { margin-left: auto; }
  header.nav .lang-pick { display: none; }
  .menu-langs { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; padding: 10px 4px 4px; color: var(--text-muted); }
}
@media (max-width: 640px) {
  .promise-grid { grid-template-columns: 1fr; }
  .faq summary { font-size: 20px; }
  form.notify { justify-content: center; }
  .hero-split .facts { justify-content: center; }
}
@media (max-width: 360px) {
  header.nav .wordmark-text { display: none; }
}

/* Japanese: real Mincho serif, no synthesized italics, slightly tighter tracking */
:lang(ja) body, :lang(ja) .hero h1, :lang(ja) .section-title, :lang(ja) .feature h3, :lang(ja) .tagline,
:lang(ja) .faq summary, :lang(ja) .faq details p, :lang(ja) figcaption, :lang(ja) .fine-print,
:lang(ja) .promise-note, :lang(ja) .notify-msg, :lang(ja) form.notify input[type=email] {
  font-family: 'Cormorant Garamond', 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif JP', serif;
  font-style: normal;
}
:lang(ja) .hero h1 { line-height: 1.25; }
:lang(ja) .label, :lang(ja) .section-label, :lang(ja) .feature-label, :lang(ja) .facts li,
:lang(ja) .get .availability, :lang(ja) header.nav nav a, :lang(ja) .btn { letter-spacing: 1px; }
