/* ==========================================================================
   Attent landing site stylesheet
   Design tokens mirror lib/core/theme/*.dart so the marketing site matches
   the shipped Flutter app one-to-one.
   ========================================================================== */

/* ---------- Font ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("https://rsms.me/inter/font-files/InterVariable.woff2?v=4.0") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --ink: #111111;
  --ink-inverse: #ffffff;
  --canvas: #ffffff;
  --canvas-muted: #f7f4ef;
  --accent: #25d366;
  --accent-soft: #c6f5d6;
  --accent-wash: #d8f7e5;
  --danger: #c63e2f;
  --line: #111111;

  --stroke: 4px;
  --shadow-offset: 6px;
  --shadow-card: var(--shadow-offset) var(--shadow-offset) 0 0 var(--line);
  --shadow-card-sm: 4px 4px 0 0 var(--line);

  --r-md: 20px;
  --r-lg: 28px;
  --r-pill: 999px;

  --s-xs: 8px;
  --s-sm: 12px;
  --s-md: 16px;
  --s-lg: 24px;
  --s-xl: 32px;
  --s-2xl: 48px;
  --s-3xl: 96px;
  --s-4xl: 144px;

  --container: 1180px;
  --reading: 720px;

  --fs-display: clamp(44px, 7vw, 72px);
  --fs-headline: clamp(28px, 3.6vw, 40px);
  --fs-title: 20px;
  --fs-subtitle: 18px;
  --fs-body: 16px;
  --fs-small: 14px;

  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    radial-gradient(1400px 700px at 85% -10%, var(--accent-wash), transparent 65%),
    radial-gradient(900px 500px at 10% 110%, var(--accent-wash), transparent 70%),
    var(--canvas-muted);
  background-attachment: fixed;
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    system-ui, sans-serif;
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}
h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}

/* ---------- Typography ---------- */
.display {
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.headline {
  font-size: var(--fs-headline);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.title {
  font-size: var(--fs-title);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
}
.subtitle {
  font-size: var(--fs-subtitle);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  background: var(--canvas);
  border: var(--stroke) solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-card-sm);
  transform-origin: left center;
}
.lead {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  font-weight: 500;
  color: var(--ink);
}
.muted {
  color: color-mix(in oklab, var(--ink) 72%, transparent);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-lg);
}
.reading {
  max-width: var(--reading);
  margin: 0 auto;
}
section {
  padding: var(--s-3xl) 0;
}
section + section {
  padding-top: 0;
}
@media (min-width: 900px) {
  section {
    padding: var(--s-4xl) 0;
  }
  section + section {
    padding-top: 0;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in oklab, var(--canvas-muted) 82%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: var(--stroke) solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-md);
  padding-top: var(--s-md);
  padding-bottom: var(--s-md);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: var(--stroke) solid var(--line);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-card-sm);
  transition: transform 250ms var(--ease-out);
}
.brand:hover .brand__mark {
  transform: rotate(-6deg);
}
.brand__name {
  display: inline-block;
  line-height: 1;
  padding-bottom: 1px;
}
.site-nav {
  display: none;
}
.site-nav a {
  padding: 8px 12px;
  font-weight: 700;
  border-radius: var(--r-pill);
  transition: background 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.site-nav a:hover {
  background: var(--canvas);
  border: 2px solid var(--line);
  padding: 6px 10px;
  transform: translateY(-1px);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
}
.locale-switch {
  display: inline-flex;
  padding: 3px;
  background: var(--canvas);
  border: var(--stroke) solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-card-sm);
}
.locale-switch a {
  padding: 6px 14px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  border-radius: var(--r-pill);
  transition: background 160ms var(--ease-out), color 160ms var(--ease-out);
}
.locale-switch a[aria-current="true"] {
  background: var(--ink);
  color: var(--ink-inverse);
}
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--canvas);
  border: var(--stroke) solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-card-sm);
  transition: transform 160ms var(--ease-out);
}
.nav-toggle:hover {
  transform: translateY(-1px);
}
.nav-toggle svg {
  width: 22px;
  height: 22px;
}
@media (min-width: 860px) {
  .site-nav {
    display: flex;
    gap: 4px;
  }
  .nav-toggle {
    display: none;
  }
}
.site-nav--mobile {
  display: none;
  padding: var(--s-md) 0 var(--s-lg);
  border-bottom: var(--stroke) solid var(--line);
  background: var(--canvas-muted);
}
.site-nav--mobile.open {
  display: block;
}
.site-nav--mobile ul {
  display: grid;
  gap: var(--s-xs);
}
.site-nav--mobile a {
  display: block;
  padding: 14px 16px;
  font-weight: 800;
  font-size: 18px;
  background: var(--canvas);
  border: var(--stroke) solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card-sm);
}

/* ---------- Buttons (mirrors AttentTheme FilledButton/OutlinedButton) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
  border: var(--stroke) solid var(--line);
  border-radius: var(--r-lg);
  background: var(--canvas);
  color: var(--ink);
  box-shadow: var(--shadow-card);
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 700ms var(--ease-out);
  pointer-events: none;
}
.btn:hover::after {
  transform: translateX(120%);
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: calc(var(--shadow-offset) + 2px) calc(var(--shadow-offset) + 2px)
    0 0 var(--line);
}
.btn:active {
  transform: translate(2px, 2px);
  box-shadow: calc(var(--shadow-offset) - 4px) calc(var(--shadow-offset) - 4px)
    0 0 var(--line);
}
.btn--primary {
  background: var(--accent);
  color: var(--ink);
}
.btn--ghost {
  box-shadow: none;
  background: transparent;
}
.btn--sm {
  min-height: 48px;
  padding: 10px 18px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card-sm);
}

/* ---------- Card (mirrors AttentSurface) ---------- */
.card {
  background: var(--canvas);
  border: var(--stroke) solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-xl);
  box-shadow: var(--shadow-card);
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.card--muted {
  background: var(--canvas-muted);
}
.card--accent {
  background: var(--accent);
}
.card--ink {
  background: var(--ink);
  color: var(--ink-inverse);
}
.card--ink .display,
.card--ink .headline,
.card--ink .title,
.card--ink .subtitle {
  color: var(--ink-inverse);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: var(--s-3xl);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 600px at 90% 10%, var(--accent-soft), transparent 65%),
    radial-gradient(700px 400px at 0% 50%, var(--accent-wash), transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.hero__grid {
  display: grid;
  gap: var(--s-3xl);
  align-items: center;
}
@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1.1fr 1fr;
    gap: var(--s-4xl);
  }
}
.hero__copy {
  display: grid;
  gap: var(--s-xl);
}
.hero__headline {
  margin-top: 4px;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-md);
  padding-top: var(--s-xs);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-lg);
  color: color-mix(in oklab, var(--ink) 78%, transparent);
  font-weight: 600;
  font-size: var(--fs-small);
}
.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__meta svg {
  width: 16px;
  height: 16px;
  flex: none;
}

/* ---------- Phone mock ---------- */
.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--s-xl) 0;
}
.phone {
  position: relative;
  width: min(320px, 100%);
  aspect-ratio: 320 / 640;
  background: var(--canvas);
  border: var(--stroke) solid var(--line);
  border-radius: 44px;
  padding: 18px 14px;
  box-shadow: 10px 10px 0 0 var(--line);
  transform: rotate(-3deg);
  animation: phoneFloat 6s ease-in-out infinite;
  transition: transform 400ms var(--ease-out);
  will-change: transform;
}
.phone:hover {
  animation-play-state: paused;
  transform: rotate(-1deg) translateY(-6px);
}
.phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  background: var(--ink);
  border-radius: var(--r-pill);
}
.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--canvas-muted);
  border-radius: 30px;
  overflow: hidden;
  padding: 44px 14px 14px;
}
.phone__appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.phone__appbar h4 {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
}
.phone__dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border: 2px solid var(--line);
  border-radius: var(--r-pill);
  animation: accentPulse 2s ease-in-out infinite;
}
.phone__list {
  display: grid;
  gap: 10px;
}
.phone-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: var(--canvas);
  border: 3px solid var(--line);
  border-radius: 18px;
  box-shadow: 3px 3px 0 0 var(--line);
  opacity: 0;
  transform: translateY(6px);
  animation: phoneItemIn 520ms var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 120ms + 300ms);
}
.phone-item__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 3px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}
.phone-item__text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.phone-item__name {
  font-weight: 800;
  font-size: 13px;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.phone-item__note {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  color: color-mix(in oklab, var(--ink) 70%, transparent);
}
.phone-item__chip {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: var(--r-pill);
  border: 2px solid var(--line);
  background: var(--accent);
}
.phone-item__chip--muted {
  background: var(--canvas-muted);
}

/* ---------- Features grid ---------- */
.features {
  display: grid;
  gap: var(--s-xl);
}
@media (min-width: 780px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}
.feature {
  display: grid;
  gap: var(--s-md);
}
@media (min-width: 780px) {
  .feature.card {
    padding: var(--s-2xl);
  }
}
.feature:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 0 var(--line);
}
.feature:hover .feature__icon {
  transform: rotate(-6deg) scale(1.05);
}
.feature__icon {
  width: 64px;
  height: 64px;
  border: var(--stroke) solid var(--line);
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--accent);
  box-shadow: var(--shadow-card-sm);
  transition: transform 280ms var(--ease-bounce);
}
.feature__icon svg {
  width: 32px;
  height: 32px;
}
.feature h3 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
}
.feature p {
  color: color-mix(in oklab, var(--ink) 80%, transparent);
  font-weight: 500;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  gap: var(--s-xl);
}
@media (min-width: 780px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step {
  display: grid;
  gap: var(--s-md);
  padding: var(--s-xl);
  background: var(--canvas);
  border: var(--stroke) solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
@media (min-width: 780px) {
  .step {
    padding: var(--s-2xl);
  }
}
.step:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 0 var(--line);
}
.step:hover .step__num {
  transform: rotate(-6deg) scale(1.06);
}
.step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--ink-inverse);
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 800;
  border: var(--stroke) solid var(--line);
  transition: transform 280ms var(--ease-bounce);
}
.step.is-visible .step__num {
  animation: popIn 560ms var(--ease-bounce) both;
}
.step h3 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
}

/* ---------- Trust strip ---------- */
.trust {
  display: grid;
  gap: var(--s-lg);
  padding: var(--s-2xl);
  background: var(--canvas);
  border: var(--stroke) solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}
.trust__grid {
  display: grid;
  gap: var(--s-md);
}
@media (min-width: 720px) {
  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 980px) {
  .trust__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.trust__item {
  display: flex;
  gap: var(--s-sm);
  align-items: flex-start;
  transition: transform 200ms var(--ease-out);
}
.trust__item:hover {
  transform: translateY(-2px);
}
.trust__item:hover .trust__check {
  transform: rotate(-10deg);
}
.trust__check {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--line);
  display: grid;
  place-items: center;
  transition: transform 260ms var(--ease-bounce);
}
.trust__check svg {
  width: 16px;
  height: 16px;
}
.trust__item p {
  font-weight: 600;
  line-height: 1.35;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: var(--s-sm);
}
.faq-item {
  background: var(--canvas);
  border: var(--stroke) solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card-sm);
  overflow: hidden;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.faq-item:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}
.faq-item[open] {
  box-shadow: var(--shadow-card);
}
.faq-item summary {
  padding: 20px 22px;
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-md);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid var(--line);
  background: var(--canvas-muted)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23111' stroke-width='3' stroke-linecap='round' fill='none'><path d='M6 9l6 6 6-6'/></svg>")
    center/18px no-repeat;
  transition: transform 240ms var(--ease-out), background-color 200ms var(--ease-out);
}
.faq-item[open] summary::after {
  transform: rotate(180deg);
  background-color: var(--accent);
}
.faq-item__body {
  padding: 0 22px 22px;
  color: color-mix(in oklab, var(--ink) 82%, transparent);
}
.faq-item__body p + p {
  margin-top: var(--s-sm);
}
.faq-item[open] .faq-item__body {
  animation: faqSlide 260ms var(--ease-out);
}

/* ---------- Download band ---------- */
.download {
  display: grid;
  gap: var(--s-lg);
  padding: var(--s-2xl);
  background: var(--ink);
  color: var(--ink-inverse);
  border: var(--stroke) solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  text-align: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.download::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px 300px at 50% 0%,
    color-mix(in oklab, var(--accent) 40%, transparent),
    transparent 70%
  );
  pointer-events: none;
}
.download > * {
  position: relative;
}
.download .display,
.download .headline,
.download p {
  color: var(--ink-inverse);
}
.download__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-md);
  justify-content: center;
}

/* ---------- Store badges ---------- */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 22px 10px 18px;
  background: var(--ink);
  color: var(--ink-inverse);
  border: var(--stroke) solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
  position: relative;
  overflow: hidden;
}
.store-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 800ms var(--ease-out);
  pointer-events: none;
}
.store-badge:hover::after {
  transform: translateX(120%);
}
.store-badge:hover {
  transform: translate(-2px, -2px);
  box-shadow: calc(var(--shadow-offset) + 2px) calc(var(--shadow-offset) + 2px)
    0 0 var(--line);
}
.store-badge:active {
  transform: translate(2px, 2px);
  box-shadow: calc(var(--shadow-offset) - 4px) calc(var(--shadow-offset) - 4px)
    0 0 var(--line);
}
.store-badge svg {
  width: 28px;
  height: 28px;
  flex: none;
  position: relative;
  z-index: 1;
}
.store-badge__text {
  display: grid;
  text-align: left;
  line-height: 1;
  position: relative;
  z-index: 1;
}
.store-badge__small {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
  color: color-mix(in oklab, var(--ink-inverse) 80%, transparent);
}
.store-badge__large {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.download .store-badge {
  background: var(--canvas);
  color: var(--ink);
  box-shadow: 6px 6px 0 0 var(--accent);
}
.download .store-badge:hover {
  box-shadow: 8px 8px 0 0 var(--accent);
}
.download .store-badge__small {
  color: color-mix(in oklab, var(--ink) 70%, transparent);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: var(--stroke) solid var(--line);
  padding: var(--s-2xl) 0 var(--s-xl);
  background: var(--canvas-muted);
}
.site-footer__inner {
  display: grid;
  gap: var(--s-lg);
  align-items: center;
}
@media (min-width: 720px) {
  .site-footer__inner {
    grid-template-columns: 1fr auto;
  }
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-md);
  font-weight: 700;
}
.site-footer__links a {
  transition: text-decoration-color 160ms var(--ease-out);
}
.site-footer__links a:hover {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}
.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-md);
}
.site-footer__legal {
  font-size: var(--fs-small);
  color: color-mix(in oklab, var(--ink) 70%, transparent);
}

/* ---------- Section header ---------- */
.section-head {
  display: grid;
  gap: var(--s-md);
  margin-bottom: var(--s-3xl);
  max-width: 820px;
  justify-items: start;
}
.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  justify-items: center;
}
.section-head .eyebrow + * {
  margin-top: var(--s-xs);
}

/* ---------- Legal / long form pages ---------- */
.legal {
  padding-top: var(--s-3xl);
  padding-bottom: var(--s-4xl);
}
.legal__card {
  background: var(--canvas);
  border: var(--stroke) solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(28px, 4vw, 56px);
}
.legal__meta {
  margin-bottom: var(--s-lg);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: color-mix(in oklab, var(--ink) 70%, transparent);
}
.legal h1 {
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-md);
}
.legal h2 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  margin-top: var(--s-xl);
  margin-bottom: var(--s-sm);
}
.legal h3 {
  font-size: 18px;
  font-weight: 800;
  margin-top: var(--s-lg);
  margin-bottom: var(--s-xs);
}
.legal p {
  margin-bottom: var(--s-md);
  line-height: 1.6;
}
.legal ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 var(--s-md);
  display: grid;
  gap: 8px;
}
.legal ul li {
  position: relative;
  padding-left: 22px;
  line-height: 1.55;
}
.legal ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border: 2px solid var(--line);
  border-radius: 50%;
}
.legal a {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.legal__toc {
  display: grid;
  gap: 6px;
  padding: var(--s-md);
  background: var(--canvas-muted);
  border: 3px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: var(--s-xl);
  font-weight: 700;
}
.legal__toc a {
  display: block;
  padding: 4px 4px;
  text-decoration: none;
  transition: transform 160ms var(--ease-out);
}
.legal__toc a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  transform: translateX(3px);
}

/* ---------- Locale fallback (root redirect) ---------- */
.redirect {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: var(--s-lg);
}
.redirect__card {
  max-width: 520px;
  display: grid;
  gap: var(--s-lg);
  text-align: center;
}
.redirect__brand {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.redirect__brand .brand__mark {
  width: 48px;
  height: 48px;
}
.redirect__ctas {
  display: grid;
  gap: var(--s-sm);
}
@media (min-width: 480px) {
  .redirect__ctas {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal--stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal--stagger.is-visible > * {
  opacity: 1;
  transform: none;
}

/* ---------- Keyframes ---------- */
@keyframes phoneFloat {
  0%,
  100% {
    transform: rotate(-3deg) translateY(0);
  }
  50% {
    transform: rotate(-3deg) translateY(-8px);
  }
}
@keyframes accentPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 60%, transparent);
  }
  50% {
    box-shadow: 0 0 0 6px transparent;
  }
}
@keyframes popIn {
  0% {
    transform: scale(0.5) rotate(-12deg);
    opacity: 0;
  }
  60% {
    transform: scale(1.1) rotate(4deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}
@keyframes phoneItemIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes faqSlide {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes eyebrowBreathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.015);
  }
}
.hero .eyebrow,
.section-head .eyebrow {
  animation: eyebrowBreathe 5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal,
  .reveal--stagger > * {
    opacity: 1;
    transform: none;
  }
  .phone-item {
    opacity: 1;
    transform: none;
  }
  .phone {
    animation: none;
    transform: rotate(-3deg);
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--ink-inverse);
  border-radius: var(--r-pill);
  font-weight: 800;
  z-index: 100;
}
.skip-link:focus {
  left: 12px;
}
