/* AutoSpot — the site's single stylesheet.
 *
 * Palette taken from the app icon (store/brand/icon.svg): graphite, lime and
 * steel blue. No third-party fonts, icons or scripts: the page makes no request
 * outside this domain.
 */

/* ── Design tokens ──────────────────────────────────────────────────────── */

:root {
  --bg: #080b0f;
  --bg-1: #0e1116;
  --bg-2: #151c26;
  --bg-3: #1b222b;

  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(215, 226, 245, 0.12);
  --line-strong: rgba(215, 226, 245, 0.22);

  --text: #ffffff;
  --soft: #d7e2f5;
  --muted: #8fa0be;

  --lime: #c6ff00;
  --lime-ink: #0e1116;
  --lime-soft: rgba(198, 255, 0, 0.1);
  --lime-line: rgba(198, 255, 0, 0.35);

  --steel: #6b7f9c;
  --steel-light: #7c90ad;

  --radius: 18px;
  --radius-lg: 26px;
  --max: 1120px;
  --gutter: clamp(20px, 5vw, 40px);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  color-scheme: dark;
}

/* ── Base ───────────────────────────────────────────────────────────────── */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1100px 760px at 82% -10%, rgba(198, 255, 0, 0.08), transparent 62%),
    radial-gradient(900px 720px at 4% 4%, rgba(107, 127, 156, 0.16), transparent 66%),
    linear-gradient(180deg, #0e1116 0%, #080b0f 100%);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

/* CJK breaks anywhere, so `balance` can split a word in half ("プライ / バシー").
 * Keep runs together ("プライバシーポリシー") and only split inside one when the
 * run is wider than the column. */
html:lang(ja) h1,
html:lang(ja) h2,
html:lang(ko) h1,
html:lang(ko) h2,
html:lang(zh) h1,
html:lang(zh) h2 {
  text-wrap: wrap;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

p,
ul,
ol,
dl {
  margin: 0;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--lime);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

::selection {
  background: var(--lime);
  color: var(--lime-ink);
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Utilities ──────────────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 820px;
}

.section {
  padding-block: clamp(56px, 7vw, 88px);
}

.section--tight {
  padding-block: clamp(40px, 5vw, 64px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
}

.section-head {
  max-width: 680px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
}

.section-head p {
  margin-top: 0.9rem;
  font-size: 1.06rem;
  color: var(--muted);
}

.accent {
  color: var(--lime);
}

.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.6;
  color: var(--soft);
}

.muted {
  color: var(--muted);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--lime-ink);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
}

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

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

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.wordmark {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.wordmark .accent {
  color: var(--lime);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.35rem;
  margin-left: auto;
  font-size: 0.94rem;
}

.site-nav a {
  color: var(--soft);
  text-decoration: none;
  padding-block: 0.35rem;
}

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

.site-nav .nav-cta {
  color: var(--lime);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

/* Language menu: a <details> so it opens without JavaScript. */
.lang {
  position: relative;
}

.lang summary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.46rem 0.7rem 0.46rem 0.62rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  list-style: none;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.lang summary::-webkit-details-marker {
  display: none;
}

.lang summary:hover,
.lang[open] summary {
  border-color: var(--lime-line);
  color: var(--text);
}

.lang summary svg {
  color: var(--muted);
}

.lang ul {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  min-width: 200px;
  margin: 0;
  padding: 0.4rem;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #10151c;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6);
  list-style: none;
}

.lang a {
  display: block;
  padding: 0.45rem 0.6rem;
  border-radius: 9px;
  color: var(--soft);
  font-size: 0.9rem;
  text-decoration: none;
}

.lang a:hover {
  background: var(--surface-2);
  color: var(--text);
}

.lang a[aria-current="page"] {
  color: var(--lime);
  font-weight: 600;
}

/* ── Buttons and badges ─────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.82rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--lime);
  color: var(--lime-ink);
}

.btn--primary:hover {
  background: #d4ff3d;
}

.btn--ghost {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--soft);
}

.btn--ghost:hover {
  border-color: var(--lime-line);
  background: var(--surface-2);
  color: var(--text);
}

.btn svg {
  flex: none;
}

.soon {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.72rem 1.2rem;
  border: 1px dashed var(--lime-line);
  border-radius: 999px;
  background: var(--lime-soft);
  color: var(--lime);
  font-size: 0.93rem;
  font-weight: 600;
}

.soon svg {
  flex: none;
}

.soon--sm {
  padding: 0.48rem 0.85rem;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 92px) clamp(40px, 6vw, 76px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.hero h1 .accent {
  display: block;
}

.hero__lead {
  max-width: 46ch;
  margin-top: clamp(16px, 2.4vw, 24px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: clamp(22px, 3.4vw, 32px);
}

.hero__note {
  margin-top: 1.1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Lime halo behind the phone. */
.hero__visual::before {
  content: "";
  position: absolute;
  inset: 6% -6% 6% -6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(198, 255, 0, 0.18), rgba(198, 255, 0, 0) 72%);
  pointer-events: none;
}

.hero__visual::after {
  content: "";
  position: absolute;
  width: min(340px, 82vw);
  aspect-ratio: 1;
  border: 1px solid rgba(198, 255, 0, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.phone {
  position: relative;
  z-index: 1;
  width: min(292px, 74vw);
  padding: 10px;
  border-radius: 44px;
  background: linear-gradient(155deg, #333c4a 0%, #0a0d12 42%, #1d2530 100%);
  box-shadow:
    0 44px 110px rgba(0, 0, 0, 0.72),
    0 12px 32px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.07) inset;
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: 35px;
  background: #000;
}

/* ── Trust strip ────────────────────────────────────────────────────────── */

.trust {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.trust ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem clamp(20px, 5vw, 56px);
  margin: 0;
  padding: 1.05rem 0;
  list-style: none;
  font-size: 0.92rem;
  color: var(--soft);
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.trust svg {
  flex: none;
  color: var(--lime);
}

/* ── Steps ──────────────────────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
}

.step__num {
  display: block;
  margin-bottom: 1.1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--lime);
}

.step h3 {
  font-size: 1.16rem;
  letter-spacing: -0.015em;
}

.step p {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.97rem;
}

/* ── Features ───────────────────────────────────────────────────────────── */

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature {
  padding: clamp(20px, 2.6vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.feature:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--lime-soft);
  color: var(--lime);
}

.feature h3 {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.feature p {
  margin-top: 0.45rem;
  font-size: 0.94rem;
  color: var(--muted);
}

/* ── Figures ────────────────────────────────────────────────────────────── */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(32px, 4vw, 44px);
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(198, 255, 0, 0.03);
  text-align: center;
}

.stat__value {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--lime);
}

.stat__label {
  margin-top: 0.15rem;
  font-size: 0.83rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* ── Screenshots ────────────────────────────────────────────────────────── */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3.4vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.shot {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.shot .phone {
  width: min(232px, 100%);
  padding: 8px;
  border-radius: 36px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.shot .phone img {
  border-radius: 29px;
}

.shot figcaption {
  font-size: 0.92rem;
  color: var(--muted);
}

.shot figcaption strong {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* ── Privacy ────────────────────────────────────────────────────────────── */

.privacy {
  position: relative;
  overflow: hidden;
}

.privacy__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  padding: clamp(26px, 4.6vw, 56px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) + 4px);
  background:
    radial-gradient(640px 380px at 100% 0%, rgba(198, 255, 0, 0.09), transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.privacy h2 {
  font-size: clamp(1.7rem, 3.3vw, 2.4rem);
}

.privacy p {
  margin-top: 0.9rem;
  color: var(--muted);
}

.privacy ul {
  margin-top: 1.2rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.privacy li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--soft);
}

.privacy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}

.privacy__actions {
  margin-top: 1.6rem;
}

.privacy__card {
  padding: clamp(20px, 2.6vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 11, 15, 0.55);
}

.privacy__card h3 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.privacy__card dl {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.privacy__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}

.privacy__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.privacy__row dt {
  color: var(--muted);
}

.privacy__row dd {
  margin: 0;
  font-weight: 600;
  color: var(--soft);
  text-align: right;
}

.privacy__row dd.no {
  color: var(--lime);
}

/* ── FAQ ────────────────────────────────────────────────────────────────── */

.faq {
  display: grid;
  gap: 0.6rem;
  max-width: 820px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 0 1.2rem;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.faq details[open] {
  border-color: var(--line-strong);
  background: var(--surface-2);
}

.faq summary {
  position: relative;
  padding: 1.05rem 2rem 1.05rem 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  color: var(--lime);
  transition: transform 0.18s ease;
}

.faq details[open] summary::after {
  content: "−";
}

.faq .faq__body {
  padding: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.faq .faq__body p + p {
  margin-top: 0.6rem;
}

.faq .faq__body ul {
  margin-top: 0.5rem;
  padding-left: 1.15rem;
}

/* ── Closing call to action ──────────────────────────────────────────────── */

.cta {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(760px 380px at 50% 0%, rgba(198, 255, 0, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(21, 28, 38, 0.9), rgba(8, 11, 15, 0.9));
  text-align: center;
}

.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: clamp(56px, 8vw, 96px);
}

.cta h2 {
  max-width: 20ch;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
}

.cta p {
  max-width: 52ch;
  margin-top: 1rem;
  color: var(--muted);
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(8, 11, 15, 0.7);
  font-size: 0.92rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: 2rem;
  padding-block: clamp(36px, 5vw, 56px);
}

.site-footer .brand {
  margin-bottom: 0.9rem;
}

.site-footer__tagline {
  max-width: 34ch;
  color: var(--muted);
}

.site-footer h3 {
  margin-bottom: 0.8rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-footer ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding-block: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer__bottom p {
  margin: 0;
}

/* ── Policy page ────────────────────────────────────────────────────────── */

.policy {
  padding-block: clamp(40px, 6vw, 72px) clamp(60px, 8vw, 100px);
}

.policy__header {
  max-width: 820px;
  margin-inline: auto;
}

.policy h1 {
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
}

.policy__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.policy__meta strong {
  color: var(--soft);
  font-weight: 600;
}

.policy__toc {
  max-width: 820px;
  margin: clamp(28px, 4vw, 40px) auto 0;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.policy__toc h2 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.policy__toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1.5rem;
  margin-top: 0.8rem;
  padding-left: 1.2rem;
  font-size: 0.93rem;
}

.policy__toc a {
  color: var(--soft);
  text-decoration: none;
}

.policy__toc a:hover {
  color: var(--lime);
}

.policy__body {
  max-width: 820px;
  margin-inline: auto;
  margin-top: clamp(32px, 4.5vw, 52px);
}

.policy__body > section {
  padding-top: clamp(28px, 3.6vw, 40px);
  margin-top: clamp(28px, 3.6vw, 40px);
  border-top: 1px solid var(--line);
}

.policy__body > section:first-child {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.policy__body h2 {
  font-size: clamp(1.3rem, 2.3vw, 1.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}

.policy__body h3 {
  margin-top: 1.6rem;
  margin-bottom: 0.5rem;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
}

.policy__body p,
.policy__body li {
  color: var(--soft);
}

.policy__body p + p,
.policy__body p + ul,
.policy__body p + ol,
.policy__body ul + p,
.policy__body ol + p,
.policy__body .table-wrap + p,
.policy__body p + .table-wrap {
  margin-top: 0.85rem;
}

.policy__body ul,
.policy__body ol {
  padding-left: 1.3rem;
}

.policy__body li + li {
  margin-top: 0.35rem;
}

.policy__body strong {
  color: var(--text);
}

code {
  padding: 0.12em 0.38em;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--mono);
  font-size: 0.86em;
  overflow-wrap: anywhere;
}

.policy__intro {
  padding: clamp(20px, 3vw, 28px);
  border-left: 3px solid var(--lime);
  border-radius: 0 14px 14px 0;
  background: var(--lime-soft);
  color: var(--soft);
  font-size: 1.02rem;
}

.policy__intro p + p {
  margin-top: 0.7rem;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.policy table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 520px;
}

.policy th,
.policy td {
  padding: 0.7rem 0.9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.policy th {
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
  color: var(--soft);
}

.policy td {
  overflow-wrap: break-word;
}

.policy tr:last-child td {
  border-bottom: 0;
}

.policy tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.015);
}

.policy__back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.policy__back:hover {
  color: var(--lime);
}

.policy__note {
  margin-top: 0.9rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.88rem;
  color: var(--muted);
}

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

@media (max-width: 960px) {
  .hero__grid,
  .privacy__panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__visual {
    order: -1;
    margin-bottom: 8px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 8vw, 3rem);
  }

  .features,
  .steps,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__grid > :first-child {
    grid-column: 1 / -1;
  }
}

/* The header stacks before the hero does: five links (long ones in German and
 * French) plus the badge do not fit on one row below ~1024 px. */
@media (max-width: 1024px) {
  .site-header__inner {
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    padding-block: 0.7rem;
  }

  .site-nav {
    order: 3;
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    width: 100%;
    margin-left: 0;
    gap: 0.2rem 1.4rem;
    font-size: 0.88rem;
  }

  .site-nav a {
    padding-block: 0.2rem;
    white-space: nowrap;
  }

  .header-actions {
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 24px;
  }

  .steps,
  .features,
  .stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem 1rem;
  }

  .gallery {
    display: flex;
    gap: 16px;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .gallery::-webkit-scrollbar {
    display: none;
  }

  .shot {
    flex: 0 0 62vw;
    scroll-snap-align: center;
  }

  .shot .phone {
    width: 100%;
  }

  .policy__toc ol {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Below this width a three-to-five column table is unreadable, so each row
 * becomes a card labelled with its column header (data-label in the HTML). */
/* Below this width a three-to-five column table is unreadable, so each row
 * becomes a card labelled with its column header (data-label in the HTML). */
@media (max-width: 560px) {
  .header-actions .soon--sm {
    display: none;
  }

  .table-wrap {
    overflow-x: visible;
  }

  .policy table,
  .policy tbody,
  .policy tr,
  .policy td {
    display: block;
  }

  .policy table {
    min-width: 0;
  }

  .policy thead {
    display: none;
  }

  .policy tr {
    padding: 0.6rem 0.95rem;
    border-bottom: 1px solid var(--line);
  }

  .policy tr:last-child {
    border-bottom: 0;
  }

  .policy td {
    padding: 0.3rem 0;
    border: 0;
  }

  .policy td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.08rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .policy tbody tr:nth-child(even) td {
    background: none;
  }
}

@media (max-width: 520px) {
  /* Flex, not the 3-column grid: a long label (German, French) must be able to
   * flow to the next row instead of pushing the nav past the screen edge. */
  .site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.2rem 0.75rem;
  }
}

@media (max-width: 460px) {
  .hero__actions .btn,
  .hero__actions .soon {
    width: 100%;
  }

  .site-nav {
    font-size: 0.82rem;
    gap: 0.2rem 0.5rem;
  }

  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}



/* ── User preferences ───────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
  }

  .site-header,
  .site-footer,
  .policy__toc,
  .policy__back,
  .skip-link {
    display: none;
  }

  .policy,
  .policy__body {
    padding: 0;
    margin: 0;
    max-width: none;
  }

  .policy a {
    color: #000;
    text-decoration: underline;
  }

  .policy th,
  .policy td {
    border-color: #bbb;
  }

  .policy__body > section {
    break-inside: avoid;
  }
}
