/* ═══════════════════════════════════════════════════════════════
   Faji landing — playful, Apple-clean.

   Brand system: cream canvas, ink type, Caprasimo display, Figtree
   body. Game tiles carry each game's real accent colour from the
   app (game_look.dart), so the page and the app read as one product.
   Motion is soft and few: reveal-on-scroll, one float, one marquee.
   Everything respects prefers-reduced-motion.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* canvas + ink */
  --canvas: #F6EEDC;
  --canvas-deep: #EFE4CC;
  --paper: #FFFDF7;
  --ink: #201E1D;
  --ink-soft: #55504A;
  --ink-faint: #8A837B;
  --dark: #1B1714;
  --dark-2: #262019;
  --line: rgba(32, 30, 29, 0.10);

  /* brand */
  --accent: #C67139;
  --accent-deep: #A33224;

  --radius-lg: 28px;
  --radius-xl: 36px;

  --font-display: "Caprasimo", serif;
  --font-body: "Figtree", -apple-system, "Segoe UI", sans-serif;

  --container: 1128px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, li { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

::selection { background: rgba(198, 113, 57, 0.25); }

/* ── Type primitives ───────────────────────────────────────── */
.kicker {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 18px;
}

.kicker--onfill { color: inherit; opacity: 0.75; }

.section__title,
.cta__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.4vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.section__sub {
  max-width: 560px;
  margin: 22px auto 0;
  color: var(--ink-soft);
  font-size: 1.13rem;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  will-change: transform;
}

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(32, 30, 29, 0.22); }

.btn--sm { padding: 11px 20px; font-size: 0.92rem; }

.btn__arrow { transition: transform 0.3s var(--ease); display: inline-block; }
.play-link:hover .btn__arrow { transform: translateX(4px); }

.play-link {
  font-weight: 700;
  color: var(--accent-deep);
  border-bottom: 2px solid rgba(163, 50, 36, 0.25);
  padding-bottom: 2px;
  transition: border-color 0.3s;
}
.play-link:hover { border-color: var(--accent-deep); }

/* ── Nav ───────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 14px 20px;
  transition: padding 0.4s;
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.4s, box-shadow 0.4s;
}

.nav.is-scrolled { padding: 8px 16px; }

.nav.is-scrolled .nav__inner {
  background: rgba(246, 238, 220, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 12px 32px rgba(32, 30, 29, 0.08);
}

.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__icon { border-radius: 9px; }
.nav__word { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }

.nav__links { display: flex; gap: 28px; }

.nav__links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: color 0.25s;
}
.nav__links a:hover { color: var(--ink); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 158px 24px 96px;
  overflow: clip;
}

.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 6.2vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

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

.hero__sub {
  margin-top: 24px;
  max-width: 470px;
  font-size: 1.17rem;
  color: var(--ink-soft);
}

.store-badges { display: flex; align-items: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.badge { display: inline-flex; border-radius: 12px; transition: transform 0.3s var(--ease); }
.badge:hover { transform: translateY(-3px); }
.badge--ios { background: #101010; border-radius: 11px; padding: 3px 4px; }
/* Both badges the same height. The global `img { height: auto }` would
   otherwise draw the Play badge at its full source size. badge-play.png is
   cropped to the badge's own edge, so 52px is the badge; the App Store
   badge's 3px frame makes up the difference: 46 + 6 = 52. */
.badge img { height: 52px; width: auto; max-width: none; }
.badge--ios img { height: 46px; }

.hero__alt { margin-top: 20px; }

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero__chips li {
  padding: 8px 16px;
  border: 1.5px solid rgba(32, 30, 29, 0.16);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: rgba(255, 253, 247, 0.6);
}

/* Phones */
.hero__phones {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
}

.phone {
  border-radius: 34px;
  box-shadow:
    0 0 0 8px var(--ink),
    0 30px 70px rgba(32, 30, 29, 0.28);
}

.phone--center {
  width: clamp(220px, 19vw, 258px);
  z-index: 2;
}

.phone--left,
.phone--right {
  width: clamp(172px, 14.5vw, 205px);
  z-index: 1;
}

.phone--left { margin-right: -30px; transform: rotate(-7deg) translateY(14px); }
.phone--right { margin-left: -30px; transform: rotate(7deg) translateY(14px); }

.phone--center.reveal.in { animation: float 7s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ── Marquee ───────────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  padding: 20px 0 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.mq {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--c);
  white-space: nowrap;
}

.dot { color: rgba(32, 30, 29, 0.22); font-size: 0.6rem; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ── Sections ──────────────────────────────────────────────── */
.section {
  padding: 108px 24px;
  scroll-margin-top: 84px;
}

.section--flush { padding-top: 12px; }

.section--tint { background: var(--canvas-deep); }

.section--dark {
  background: var(--dark);
  color: var(--paper);
  scroll-margin-top: 84px;
}

.section__head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section--dark .section__sub { color: rgba(255, 253, 247, 0.72); }
.section--dark .kicker { color: var(--accent); }

/* ── Games grid ────────────────────────────────────────────── */
.games {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  gap: 18px;
}

.game {
  position: relative;
  background: var(--c);
  color: #FFFDF7;
  border-radius: var(--radius-lg);
  padding: 26px 22px 58px;
  min-height: 178px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
}

.game:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 0 24px 44px rgba(32, 30, 29, 0.28);
}

.game__emoji {
  font-size: 2.1rem;
  line-height: 1;
  margin-bottom: 16px;
}

.game__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.34rem;
  line-height: 1.1;
}

.game__tag {
  margin-top: 7px;
  font-size: 0.9rem;
  line-height: 1.45;
  opacity: 0.85;
}

.game__chip {
  position: absolute;
  left: 22px;
  bottom: 18px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.2);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* Coming-soon tiles echo the app: present, honest, dimmed */
.game--soon {
  background: var(--canvas-deep);
  border: 1.5px dashed rgba(32, 30, 29, 0.24);
  color: var(--ink-soft);
}

.game--soon .game__emoji { filter: saturate(0.15) opacity(0.7); }
.game--soon .game__name { color: var(--ink-soft); }
.game--soon .game__tag { opacity: 0.65; }
.game--soon .game__chip { background: rgba(32, 30, 29, 0.08); color: var(--ink-soft); }
.game--soon:hover { box-shadow: 0 18px 36px rgba(32, 30, 29, 0.12); }

.games__note {
  text-align: center;
  margin-top: 34px;
  color: var(--ink-faint);
  font-size: 0.95rem;
}

/* ── Duo: room vs solo ─────────────────────────────────────── */
.duo {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.duo__panel {
  border-radius: var(--radius-xl);
  padding: 46px 42px;
  transition: transform 0.4s var(--ease);
}

.duo__panel:hover { transform: translateY(-4px); }

.duo__panel--room {
  background: var(--paper);
  border: 1.5px solid var(--line);
}

.duo__panel--solo {
  background: linear-gradient(135deg, #2F6B43, #56633F);
  color: #FFFDF7;
}

.duo__emoji { font-size: 2.4rem; display: block; margin-bottom: 20px; }

.duo__panel h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.duo__panel p { font-size: 1.02rem; opacity: 0.85; max-width: 420px; }

.duo__meta {
  display: inline-block;
  margin-top: 22px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: rgba(32, 30, 29, 0.06);
}
.duo__panel--solo .duo__meta { background: rgba(255, 253, 247, 0.16); }

/* ── How it works ──────────────────────────────────────────── */
.steps {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step { text-align: center; padding: 0 8px; }

.step__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 22px;
  background: var(--ink);
  color: var(--canvas);
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin-bottom: 22px;
  transform: rotate(-3deg);
}

.step:nth-child(2) .step__no { transform: rotate(2deg); background: var(--accent); color: var(--ink); }
.step:nth-child(3) .step__no { transform: rotate(-2deg); background: var(--accent-deep); }

.step__name { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; margin-bottom: 10px; }
.step__body { color: var(--ink-soft); max-width: 300px; margin: 0 auto; }

/* ── Content model + featured pack ─────────────────────────── */
.content-model {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.content-model__item {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  border: 1.5px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.content-model__item:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(32, 30, 29, 0.09); }

.content-model__icon { font-size: 2rem; display: block; margin-bottom: 16px; }

.content-model__item .kicker { margin-bottom: 8px; }

.content-model__item h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; margin-bottom: 8px; }
.content-model__item p:not(.kicker) { color: var(--ink-soft); font-size: 0.97rem; }

.featured-pack {
  max-width: var(--container);
  margin: 20px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, var(--accent-deep), var(--accent));
  color: #FFFDF7;
  border-radius: var(--radius-xl);
  padding: 46px 46px;
}

.featured-pack__title { font-family: var(--font-display); font-weight: 400; font-size: 2.3rem; margin: 10px 0 12px; }
.featured-pack__body { max-width: 480px; opacity: 0.92; font-size: 1.05rem; }

.product-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.product-tags span {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.18);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.featured-pack .btn--ink { background: var(--ink); }

.deck-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}

.deck-chips li {
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.75);
  border: 1.5px solid var(--line);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
}

/* ── Pricing (dark band) ───────────────────────────────────── */
.pricing-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.price-card {
  position: relative;
  background: var(--dark-2);
  border: 1.5px solid rgba(255, 253, 247, 0.09);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}

.price-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 253, 247, 0.2);
}

.price-card__eyebrow {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 253, 247, 0.55);
  margin-bottom: 12px;
}

.price-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; }

.price-card__price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--accent);
  margin: 10px 0 14px;
  min-height: 1.6em;
}

.price-card p:not(.price-card__eyebrow):not(.price-card__price) {
  font-size: 0.94rem;
  color: rgba(255, 253, 247, 0.68);
}

.price-card__flag {
  position: absolute;
  top: -13px;
  right: 22px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.price-card:nth-child(1) {
  background: linear-gradient(160deg, var(--accent-deep), var(--accent));
  border-color: transparent;
}

.price-card:nth-child(1) .price-card__eyebrow { color: rgba(255, 253, 247, 0.75); }
.price-card:nth-child(1) .price-card__price { color: #FFFDF7; }
.price-card:nth-child(1) p:not(.price-card__eyebrow):not(.price-card__price) { color: rgba(255, 253, 247, 0.85); }

.pricing-note {
  text-align: center;
  margin: 36px auto 0;
  max-width: 560px;
  font-size: 0.9rem;
  color: rgba(255, 253, 247, 0.45);
}

/* ── Screenshots rail ──────────────────────────────────────── */
.shots {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 8px 24px 28px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

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

.shots__img {
  flex: 0 0 auto;
  width: 232px;
  border-radius: 30px;
  scroll-snap-align: center;
  box-shadow: 0 0 0 6px var(--ink), 0 24px 48px rgba(32, 30, 29, 0.22);
  transition: transform 0.4s var(--ease);
}

.shots__img:hover { transform: translateY(-8px) scale(1.02); }

.shots__hint {
  text-align: center;
  color: var(--ink-faint);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

/* ── Final CTA ─────────────────────────────────────────────── */
.cta {
  position: relative;
  padding: 130px 24px 150px;
  text-align: center;
  overflow: clip;
}

.cta__copy { max-width: 620px; margin: 0 auto; }

.cta__title { font-size: clamp(2.8rem, 6.4vw, 4.6rem); }

.cta .store-badges { justify-content: center; margin-top: 40px; }
.cta .hero__alt { margin-top: 24px; }
.cta__note { margin-top: 18px; color: var(--ink-faint); font-size: 0.92rem; }

/* Soft blob glow behind the CTA */
.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
}

.cta::before {
  width: 420px; height: 420px;
  background: #E8B07E;
  top: -80px; left: -120px;
}

.cta::after {
  width: 480px; height: 480px;
  background: #D8C39A;
  bottom: -140px; right: -140px;
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 46px 24px 54px;
  text-align: center;
}

.footer__brand { display: flex; align-items: center; justify-content: center; gap: 10px; }
.footer__icon { border-radius: 8px; }
.footer__word { font-family: var(--font-display); font-size: 1.4rem; }

.footer__tag { margin-top: 10px; color: var(--ink-faint); font-size: 0.95rem; }

.footer__legal { margin-top: 18px; color: var(--ink-faint); font-size: 0.86rem; }
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; }
.footer__legal a:hover { color: var(--ink); }

/* ── Reveal motion (script adds .in) ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in { opacity: 1; transform: none; }

/* Hero phones keep their resting tilt once revealed */
.phone--left.reveal { transform: rotate(-7deg) translateY(14px); }
.phone--right.reveal { transform: rotate(7deg) translateY(14px); }
.phone--left.reveal.in,
.phone--right.reveal.in { opacity: 1; }
.phone--center.reveal.in { animation: float 7s ease-in-out infinite; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__sub { max-width: 560px; }
  .hero__phones { margin-top: 34px; }
  .steps { gap: 28px; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav__links { display: none; }

  .hero { padding: 126px 20px 72px; }
  .phone--left, .phone--right { display: none; }
  .phone--center { width: min(64vw, 270px); }

  .store-badges { justify-content: center; }
  .badge img { height: 48px; width: auto; }
  .badge--ios img { height: 42px; }

  .section { padding: 78px 20px; }
  .section__head { margin-bottom: 40px; }

  .games { grid-template-columns: 1fr 1fr; gap: 12px; }
  .game { padding: 20px 18px 50px; min-height: 158px; }

  .duo { grid-template-columns: 1fr; }
  .duo__panel { padding: 34px 26px; }

  .steps { grid-template-columns: 1fr; gap: 34px; }

  .content-model { grid-template-columns: 1fr; }

  .pricing-grid { grid-template-columns: 1fr; }

  .shots { gap: 16px; }
  .shots__img { width: 204px; }

  .featured-pack { padding: 34px 26px; }
  .cta { padding: 96px 20px 110px; }
}

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

  .marquee__track { animation: none; }
  .phone--center, .phone--center.reveal.in { animation: none; }
  .phone--left { transform: rotate(-7deg) translateY(14px); }
  .phone--right { transform: rotate(7deg) translateY(14px); }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn, .badge, .game, .duo__panel, .price-card,
  .content-model__item, .shots__img {
    transition: none;
  }
}

/* ── Legal pages (terms, privacy) ──────────────────────────── */
/* The marketing nav floats over the hero; legal pages have no
   hero, so give the canvas a tinted blur behind it while reading. */
body:has(.legal) .nav {
  background: color-mix(in srgb, var(--canvas) 86%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 152px 24px 96px;
}

.legal__meta {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}

.legal h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3rem);
  line-height: 1.1;
  margin-bottom: 28px;
}

.legal h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.2;
  margin: 40px 0 12px;
}

.legal p {
  margin: 0 0 14px;
  color: var(--ink-soft);
}

.legal p strong, .legal li strong { color: var(--ink); }

.legal ul {
  list-style: disc;
  padding-left: 1.3rem;
  margin: 0 0 14px;
  display: block;
}

.legal li {
  margin-bottom: 9px;
  color: var(--ink-soft);
}

.legal li::marker { color: var(--accent); }

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

.legal__summary {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px 30px 12px;
  margin-bottom: 40px;
}

.legal__summary h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.legal__contact {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 22px 30px;
  margin-top: 34px;
}

.legal__contact p { margin: 0 0 6px; }

@media (max-width: 640px) {
  .legal { padding: 138px 20px 72px; }
  .legal__summary, .legal__contact { padding: 22px 20px 8px; border-radius: var(--radius-lg); }
}
