/* Laki landing — soft-pop aesthetic.
   Vanilla CSS, no build, no deps. Color shadows, organic blobs, rounded
   typography, no hard borders. Motion via CSS animations + scroll-driven
   timelines. Light by default, dark via prefers-color-scheme OR data-theme. */

:root {
  /* Brand palette mirrors src/theme/colors.ts */
  --coral:        #FF6B6B;
  --coral-deep:   #FF5252;
  --coral-soft:   #FFE5E5;
  --coral-glow:   rgba(255, 107, 107, 0.45);

  --teal:         #2C7A7B;
  --teal-deep:    #1A5B5C;
  --teal-soft:    #B8DDDE;
  --teal-glow:    rgba(44, 122, 123, 0.40);

  --amber:        #FFB347;
  --amber-text:   #8B5A0F;
  --amber-soft:   #FFE0B0;
  --amber-glow:   rgba(255, 179, 71, 0.50);

  /* Warm canvas + surface */
  --canvas:       #FFF9F0;
  --canvas-deep:  #FBEFD8;
  --surface:      #FFFFFF;

  /* Ink scale */
  --ink:          #1A1A1A;
  --ink-soft:     #2D2D2D;
  --body:         #525252;
  --body-mid:     #757575;
  --mute:         #A8A8A8;

  --border-soft:  rgba(26, 26, 26, 0.08);

  /* Radii — generous and round */
  --radius-sm:    14px;
  --radius-md:    22px;
  --radius-lg:    32px;
  --radius-xl:    44px;
  --radius-pill:  999px;

  /* Color shadows — the signature of the soft-pop look */
  --shadow-soft:    0 18px 36px -18px rgba(26, 26, 26, 0.18);
  --shadow-coral:   0 26px 50px -18px var(--coral-glow);
  --shadow-teal:    0 26px 50px -18px var(--teal-glow);
  --shadow-amber:   0 26px 50px -18px var(--amber-glow);
  --shadow-lift:    0 36px 70px -24px rgba(26, 26, 26, 0.28);

  --max-w:          1180px;
  --max-w-narrow:   760px;

  --ease-soft:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-pop:       cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Dark theme — activated by data-theme="dark" OR system pref (without override) */
:root[data-theme="dark"] {
  --canvas:       #14140F;
  --canvas-deep:  #1F1F18;
  --surface:      #1F1F18;
  --ink:          #F5F1E8;
  --ink-soft:     #E0DCD2;
  --body:         #B8B3A8;
  --body-mid:     #8E8A82;
  --mute:         #6E6A62;
  --coral-soft:   #3A1F1F;
  --teal-soft:    #1F4849;
  --amber-soft:   #3A2E12;
  --border-soft:  rgba(245, 241, 232, 0.10);
  --shadow-soft:  0 18px 36px -18px rgba(0, 0, 0, 0.5);
  --shadow-lift:  0 36px 70px -24px rgba(0, 0, 0, 0.7);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) {
    --canvas:       #14140F;
    --canvas-deep:  #1F1F18;
    --surface:      #1F1F18;
    --ink:          #F5F1E8;
    --ink-soft:     #E0DCD2;
    --body:         #B8B3A8;
    --body-mid:     #8E8A82;
    --mute:         #6E6A62;
    --coral-soft:   #3A1F1F;
    --teal-soft:    #1F4849;
    --amber-soft:   #3A2E12;
    --border-soft:  rgba(245, 241, 232, 0.10);
    --shadow-soft:  0 18px 36px -18px rgba(0, 0, 0, 0.5);
    --shadow-lift:  0 36px 70px -24px rgba(0, 0, 0, 0.7);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    ui-rounded,
    "SF Pro Rounded",
    -apple-system,
    BlinkMacSystemFont,
    "Inter",
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

a {
  color: var(--coral);
  text-decoration: none;
  font-weight: 600;
}
a:hover {
  color: var(--coral-deep);
}

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

button { font-family: inherit; }

/* ---------- Background blobs ---------- */

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  animation: blob-drift 18s ease-in-out infinite;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .blob { opacity: 0.35; }
}
:root[data-theme="dark"] .blob { opacity: 0.35; }

.blob-1 {
  width: 480px; height: 480px;
  background: var(--coral);
  top: -120px; left: -120px;
  animation-delay: 0s;
}
.blob-2 {
  width: 420px; height: 420px;
  background: var(--amber);
  top: 200px; right: -120px;
  animation-delay: -6s;
}
.blob-3 {
  width: 380px; height: 380px;
  background: var(--teal);
  bottom: -120px; left: 30%;
  animation-delay: -12s;
}

@keyframes blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.05); }
  66%      { transform: translate(-30px, 40px) scale(0.95); }
}

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

.container-narrow { max-width: var(--max-w-narrow); }

section { padding: 96px 0; position: relative; }

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .container { padding: 0 20px; }
}

/* ---------- Reveal on scroll (CSS-only) ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  animation: rise 1s var(--ease-soft) forwards;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}

@supports not (animation-timeline: view()) {
  .reveal { opacity: 1; animation: none; }
}

/* Initial-load stagger */

@keyframes pop-in {
  0%   { opacity: 0; transform: translateY(28px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.pop { animation: pop-in 0.8s var(--ease-pop) backwards; }
.pop-1 { animation-delay: 0.05s; }
.pop-2 { animation-delay: 0.18s; }
.pop-3 { animation-delay: 0.32s; }
.pop-4 { animation-delay: 0.48s; }
.pop-5 { animation-delay: 0.62s; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 249, 240, 0.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
}
:root[data-theme="dark"] .site-header {
  background: rgba(20, 20, 15, 0.78);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-header {
    background: rgba(20, 20, 15, 0.78);
  }
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: background 0.2s var(--ease-soft), color 0.2s var(--ease-soft);
}
.nav a:hover {
  background: var(--coral-soft);
  color: var(--coral-deep);
}

@media (max-width: 640px) {
  .nav { gap: 2px; }
  .nav a { padding: 6px 10px; font-size: 13px; }
}

/* ---------- Theme toggle ---------- */

.theme-toggle {
  width: 42px;
  height: 42px;
  border: none;
  background: var(--surface);
  color: var(--ink);
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.18s var(--ease-pop),
    box-shadow 0.18s var(--ease-soft),
    background 0.18s var(--ease-soft);
}
.theme-toggle:hover {
  transform: translateY(-2px) rotate(-12deg);
  box-shadow: var(--shadow-amber);
  background: var(--amber);
}
.theme-toggle:active {
  transform: translateY(0) rotate(0);
}
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  padding: 96px 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--surface);
  color: var(--ink-soft);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  box-shadow: var(--shadow-soft);
}
.hero-eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px var(--coral-soft);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.25); opacity: 0.7; }
}

.hero h1 {
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  font-weight: 800;
  color: var(--ink);
}

.hero h1 .accent {
  color: var(--coral);
  background: linear-gradient(135deg, var(--coral) 0%, #FF8B5C 50%, var(--amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero p.lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--body);
  max-width: 520px;
  margin: 0 0 36px;
  line-height: 1.55;
  font-weight: 500;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.005em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.2s var(--ease-pop),
    box-shadow 0.2s var(--ease-soft),
    background 0.2s var(--ease-soft);
}
.btn:hover {
  transform: translateY(-3px);
  text-decoration: none;
}
.btn:active {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--coral);
  color: #FFFFFF;
  box-shadow: var(--shadow-coral);
}
.btn-primary:hover {
  background: var(--coral-deep);
  color: #FFFFFF;
  box-shadow: 0 36px 70px -20px var(--coral-glow);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.btn-secondary:hover {
  background: var(--amber-soft);
  color: var(--ink);
  box-shadow: var(--shadow-amber);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.2s var(--ease-pop);
}
.btn:hover .arrow {
  transform: translateX(3px);
}

/* ---------- Hero visual (real screenshot with floating cards) ---------- */

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 620px;
}

.hero-screenshot {
  width: 290px;
  height: auto;
  max-width: 100%;
  border-radius: 44px;
  box-shadow: var(--shadow-lift);
  background: var(--surface);
  animation: phone-float 7s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

@keyframes phone-float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-12px) rotate(-3deg); }
}

/* Floating mini cards around the screenshot */

.float-card {
  position: absolute;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lift);
  z-index: 3;
  animation: card-wobble 6s ease-in-out infinite;
}

.float-card .emoji {
  font-size: 22px;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
}
.float-card .text {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
.float-card .text .sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--body);
  margin-top: 2px;
}

.float-card.fc-1 {
  top: 6%;
  left: -4%;
  --r: -6deg;
  animation-delay: -1s;
}
.float-card.fc-1 .emoji { background: var(--coral-soft); }

.float-card.fc-2 {
  bottom: 10%;
  right: -6%;
  --r: 4deg;
  animation-delay: -3s;
}
.float-card.fc-2 .emoji { background: var(--teal-soft); }

@keyframes card-wobble {
  0%, 100% { transform: rotate(var(--r, -4deg)) translateY(0); }
  50%      { transform: rotate(var(--r, -4deg)) translateY(-10px); }
}

@media (max-width: 880px) {
  .hero-visual { min-height: 540px; }
  .hero-screenshot { width: 250px; }
  .float-card.fc-1 { top: 2%; left: 0; }
  .float-card.fc-2 { bottom: 4%; right: 0; }
}

@media (max-width: 480px) {
  .hero-visual { min-height: 500px; }
  .hero-screenshot { width: 220px; }
  .float-card { padding: 10px 14px; }
  .float-card .emoji { width: 30px; height: 30px; font-size: 18px; }
  .float-card .text { font-size: 12px; }
  .float-card .text .sub { font-size: 10px; }
}

/* ---------- Section heading ---------- */

.section-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: var(--coral-soft);
  color: var(--coral-deep);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-head {
  margin-bottom: 56px;
  max-width: 720px;
}

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

.section-head h2 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.section-head p {
  color: var(--body);
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
}

/* ---------- Features grid ---------- */

.features { position: relative; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 880px) {
  .grid { grid-template-columns: 1fr; }
}

/* Soft-pop cards — no borders, big radius, color shadows */

.card {
  padding: 36px 32px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.3s var(--ease-soft),
    box-shadow 0.3s var(--ease-soft);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  opacity: 0;
  transition: opacity 0.3s var(--ease-soft);
  pointer-events: none;
  background: linear-gradient(135deg, transparent 60%, currentColor 100%);
}
.card:hover {
  transform: translateY(-8px);
}
.card.shadow-coral:hover { box-shadow: var(--shadow-coral); }
.card.shadow-teal:hover  { box-shadow: var(--shadow-teal); }
.card.shadow-amber:hover { box-shadow: var(--shadow-amber); }

.card .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 30px;
  margin-bottom: 22px;
  transition: transform 0.3s var(--ease-pop);
}
.card:hover .icon-wrap {
  transform: scale(1.08) rotate(-6deg);
}
.card .icon-wrap.coral { background: var(--coral-soft); color: var(--coral-deep); }
.card .icon-wrap.teal  { background: var(--teal-soft);  color: var(--teal-deep); }
.card .icon-wrap.amber { background: var(--amber-soft); color: var(--amber-text); }

.card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.2;
}

.card p {
  margin: 0;
  color: var(--body);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
}

/* ---------- Gallery (real screenshots) ---------- */

.gallery { position: relative; }

.screens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  align-items: start;
}

@media (max-width: 880px) {
  .screens { grid-template-columns: 1fr; gap: 48px; max-width: 360px; margin: 0 auto; }
}

.screen {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.screen-frame {
  width: 260px;
  max-width: 100%;
  border-radius: 40px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition:
    transform 0.35s var(--ease-soft),
    box-shadow 0.35s var(--ease-soft);
}

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

.screen:hover .screen-frame {
  transform: translateY(-8px);
}
.screen-coral:hover .screen-frame { box-shadow: var(--shadow-coral); }
.screen-teal:hover  .screen-frame { box-shadow: var(--shadow-teal); }
.screen-amber:hover .screen-frame { box-shadow: var(--shadow-amber); }

.screen figcaption {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 280px;
}
.screen figcaption strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.screen figcaption span {
  font-size: 14px;
  color: var(--body);
  font-weight: 500;
  line-height: 1.5;
}

/* ---------- How it works ---------- */

.how { position: relative; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; }
}

.step {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.3s var(--ease-soft),
    box-shadow 0.3s var(--ease-soft);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }

.step .num {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--coral) 0%, var(--amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.step:nth-child(2) .num { background: linear-gradient(135deg, var(--teal) 0%, var(--coral) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.step:nth-child(3) .num { background: linear-gradient(135deg, var(--amber) 0%, var(--teal) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.step h3 {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
}

.step p {
  margin: 0;
  color: var(--body);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: linear-gradient(135deg, var(--coral) 0%, #FF8B5C 50%, var(--amber) 100%);
  color: #FFFFFF;
  text-align: center;
  padding: 96px 0;
  margin: 32px 28px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-coral);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.12), transparent 50%);
}

.cta-banner > .container { position: relative; z-index: 1; }

.cta-banner h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.cta-banner p {
  margin: 0 0 32px;
  font-size: 18px;
  opacity: 0.95;
  font-weight: 500;
}

.cta-banner .btn {
  background: #FFFFFF;
  color: var(--coral-deep);
  box-shadow: 0 18px 36px -8px rgba(0,0,0,0.25);
}
.cta-banner .btn:hover {
  background: #FFFFFF;
  color: var(--coral-deep);
  box-shadow: 0 28px 50px -8px rgba(0,0,0,0.3);
}

@media (max-width: 640px) {
  .cta-banner { margin: 20px; padding: 64px 0; }
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 56px 0 40px;
  color: var(--body);
  font-size: 14px;
  background: transparent;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer .copy { font-weight: 500; }

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--body);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s var(--ease-soft);
}
.footer-links a:hover {
  color: var(--coral-deep);
}

/* ---------- Legal pages ---------- */

.legal { padding: 64px 0 96px; }

.legal h1 {
  font-size: clamp(34px, 5vw, 48px);
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.05;
}

.legal .updated {
  color: var(--body-mid);
  font-size: 14px;
  font-weight: 500;
  margin: 8px 0 40px;
}

.legal h2 {
  font-size: 24px;
  margin: 44px 0 12px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.legal h3 {
  font-size: 18px;
  margin: 28px 0 10px;
  font-weight: 700;
  color: var(--ink-soft);
}

.legal p,
.legal li {
  color: var(--body);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 500;
}

.legal ul { padding-left: 22px; }

.legal li { margin-bottom: 6px; }

.legal strong {
  color: var(--ink);
  font-weight: 700;
}

.legal .callout {
  background: var(--amber-soft);
  padding: 20px 22px;
  border-radius: var(--radius-md);
  margin: 28px 0;
  color: var(--ink-soft);
  font-weight: 500;
  box-shadow: var(--shadow-soft);
}

.legal a {
  color: var(--coral-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.legal a:hover {
  color: var(--coral);
}
