/* ========================================================
   FamilyCare — tokens
   ======================================================== */
:root {
  --paper: #FBF7EF;
  --paper-deep: #F1E8D6;
  --paper-line: #DED0AC;
  --ink: #26241F;
  --ink-soft: #6E6656;
  --ink-faint: #9C9480;
  --sage: #6E8259;
  --sage-deep: #37452E;
  --sage-mist: #E4E9DB;
  --apricot: #C97C43;
  --apricot-deep: #A5602F;

  --font-kr: 'Noto Serif KR', serif;
  --font-display: 'Fraunces', 'Noto Serif KR', serif;
  --font-sans: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --container: 1180px;
  --edge: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --ease: cubic-bezier(.22, .61, .27, 1);
}

/* ========================================================
   Reset
   ======================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
body, h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-kr); font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.28; }
h3 { font-size: 20px; line-height: 1.4; }

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

.section-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--edge); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 20px; height: 1px; background: currentColor; }
.eyebrow--light { color: #E7DFC8; }

/* ========================================================
   Buttons
   ======================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s ease, color .25s ease;
}
.btn--primary { background: var(--apricot); color: #FFF9EF; box-shadow: 0 10px 24px -10px rgba(169, 96, 47, .55); }
.btn--primary:hover { background: var(--apricot-deep); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(169, 96, 47, .6); }
.btn--ghost { border: 1.5px solid rgba(38,36,31,.25); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(38,36,31,.04); }
.btn--sm { padding: 10px 20px; font-size: 13.5px; }
.btn--block { width: 100%; padding: 16px; }

.link-arrow { font-weight: 600; color: var(--sage-deep); border-bottom: 1.5px solid var(--sage); padding-bottom: 2px; transition: opacity .25s ease; }
.link-arrow:hover { opacity: .7; }

/* ========================================================
   Spine (signature scroll index)
   ======================================================== */
.spine {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: 46px;
  z-index: 60;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.spine::before {
  content: "";
  position: absolute;
  left: 22px; top: 0; bottom: 0;
  width: 1px;
  background: repeating-linear-gradient(to bottom, var(--paper-line) 0 3px, transparent 3px 8px);
}
.spine__track { position: relative; width: 100%; height: 70vh; pointer-events: auto; }
.spine__tick {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: calc(100% / 9);
  padding-left: 12px;
}
.spine__tick::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--paper-deep);
  border: 1.5px solid var(--paper-line);
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
  flex-shrink: 0;
}
.spine__tick span {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--ink-faint);
  margin-left: 8px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .3s ease, transform .3s ease, color .3s ease;
  white-space: nowrap;
}
.spine__tick:hover span,
.spine__tick.is-active span { opacity: 1; transform: translateX(0); }
.spine__tick.is-active::before { background: var(--apricot); border-color: var(--apricot); transform: scale(1.35); }
.spine__tick.is-active span { color: var(--apricot-deep); font-weight: 600; }

@media (max-width: 960px) { .spine { display: none; } }

/* ========================================================
   Nav
   ======================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 239, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(38,36,31,.08);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--edge);
  display: flex; align-items: center; gap: 28px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.nav__logo { width: 34px; height: 34px; object-fit: contain; }
.nav__wordmark { display: flex; flex-direction: column; font-family: var(--font-kr); font-weight: 700; font-size: 16.5px; line-height: 1.1; }
.nav__wordmark em { font-family: var(--font-mono); font-style: normal; font-weight: 400; font-size: 10px; letter-spacing: .12em; color: var(--ink-faint); text-transform: uppercase; }

.nav__links { display: flex; gap: 26px; font-size: 14.5px; font-weight: 500; }
.nav__links a { position: relative; padding: 4px 0; color: var(--ink-soft); transition: color .2s ease; }
.nav__links a:hover { color: var(--ink); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px;
  background: var(--apricot); transition: right .3s var(--ease);
}
.nav__links a:hover::after { right: 0; }

.nav__cta { display: flex; align-items: center; gap: 18px; }
.nav__phone { font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--sage-deep); }

.nav__burger { display: none; flex-direction: column; gap: 5px; width: 26px; }
.nav__burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 8px var(--edge) 28px;
  border-top: 1px solid rgba(38,36,31,.08);
}
.nav__mobile a { padding: 13px 0; font-size: 16px; border-bottom: 1px solid rgba(38,36,31,.07); }
.nav__mobile-cta { color: var(--apricot-deep); font-weight: 700; }
.nav__mobile-phone { font-family: var(--font-mono); color: var(--sage-deep); border-bottom: none !important; }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile.is-open { display: flex; }
}

/* ========================================================
   Hero
   ======================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 140px var(--edge) 120px;
  color: #FBF6E9;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(30,32,22,.55) 0%, rgba(30,32,22,.28) 38%, rgba(24,26,18,.72) 100%);
}
.hero__content { position: relative; z-index: 1; max-width: 640px; }
.hero__title {
  font-family: var(--font-kr);
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 1.28;
  font-weight: 700;
  color: #FFFCF3;
}
.hero__title span { color: #F4E0C4; }
.hero__lede { margin-top: 22px; font-size: 17px; line-height: 1.7; color: #E9E2CE; max-width: 480px; }
.hero__actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn--ghost { border-color: rgba(255,252,243,.5); color: #FFFCF3; }
.hero .btn--ghost:hover { border-color: #FFFCF3; background: rgba(255,255,255,.08); }

.hero__log { position: absolute; right: var(--edge); bottom: 60px; z-index: 1; width: 300px; display: none; }
@media (min-width: 860px) { .hero__log { display: block; } }

.log-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 14px;
  padding: 22px 22px 18px;
  box-shadow: 0 30px 60px -20px rgba(20, 20, 10, .45);
  transform: rotate(1.6deg);
  border: 1px solid rgba(38,36,31,.06);
}
.log-card__head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px dashed var(--paper-line); padding-bottom: 10px; margin-bottom: 12px; }
.log-card__stamp { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--sage-deep); text-transform: uppercase; }
.log-card__no { font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); }
.log-card__rows { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.log-card__rows div { display: flex; justify-content: space-between; font-size: 13.5px; }
.log-card__rows dt { color: var(--ink-faint); }
.log-card__rows dd { font-weight: 600; }
.log-card__note { font-family: var(--font-kr); font-size: 14px; line-height: 1.55; color: var(--ink-soft); font-style: italic; }
.log-card__entry { border-top: 1px dashed var(--paper-line); margin-top: 12px; padding-top: 10px; }
.log-card__entry span { font-family: var(--font-mono); font-size: 11.5px; color: var(--sage-deep); }
.log-card__entry p { font-size: 14px; margin-top: 4px; font-weight: 500; }
.log-card__foot { display: block; margin-top: 12px; font-size: 10.5px; color: var(--ink-faint); }

/* ========================================================
   Values
   ======================================================== */
.values { padding: 120px 0 100px; }
.values__grid {
  display: grid;
  grid-template-columns: .95fr 1.3fr .85fr;
  gap: 40px;
  align-items: start;
}
.values__head h2 { margin-top: 4px; }
.values__sub { margin-top: 18px; color: var(--ink-soft); font-size: 15px; line-height: 1.75; }

.values__list { display: flex; flex-direction: column; gap: 30px; }
.values__list li { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; row-gap: 6px; }
.values__list h3 { grid-column: 2; }
.values__list p { grid-column: 2; color: var(--ink-soft); font-size: 14.5px; line-height: 1.7; }
.value-icon { grid-row: span 2; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.value-icon svg { width: 100%; height: 100%; fill: var(--sage-mist); stroke: var(--sage-deep); stroke-width: 1.4; }

.values__photo { align-self: stretch; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 48px -24px rgba(38,36,31,.35); }
.values__photo img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }

@media (max-width: 1020px) {
  .values__grid { grid-template-columns: 1fr; }
  .values__photo { max-width: 420px; }
}

/* ========================================================
   Services
   ======================================================== */
.services { padding: 40px 0 110px; }
.services__head { max-width: 560px; margin-bottom: 46px; }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
  background: var(--paper-deep);
  border-radius: var(--radius);
  padding: 18px 18px 26px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 26px 40px -22px rgba(38,36,31,.3); }
.service-card__media { border-radius: 12px; overflow: hidden; aspect-ratio: 4/5; margin-bottom: 18px; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card h3 { font-size: 18.5px; margin-bottom: 8px; }
.service-card p { font-size: 13.8px; color: var(--ink-soft); line-height: 1.7; }

@media (max-width: 1020px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services__grid { grid-template-columns: 1fr; } }

/* ========================================================
   Process
   ======================================================== */
.process { background: var(--sage-deep); color: #F3EFDF; padding: 110px 0; position: relative; overflow: hidden; }
.process::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(to bottom, rgba(255,255,255,.05) 0 1px, transparent 1px 64px);
  pointer-events: none;
}
.process h2 { color: #FFFCF3; max-width: 520px; margin-bottom: 60px; position: relative; }
.process__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.process__list li { border-top: 1px solid rgba(243,239,223,.25); padding-top: 22px; }
.process__num { font-family: var(--font-display); font-size: 34px; font-weight: 400; color: #D79A63; display: block; margin-bottom: 14px; }
.process__list h3 { color: #FFFCF3; margin-bottom: 10px; }
.process__list p { font-size: 14px; color: #D9D3BC; line-height: 1.7; }

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

/* ========================================================
   Journal spotlight
   ======================================================== */
.journal { padding: 120px 0; }
.journal__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.journal__copy p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.8; margin: 18px 0 26px; max-width: 460px; }
.journal__points { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.journal__points li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink); font-weight: 500; }
.journal__points li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--sage); font-weight: 700; }

.journal__visual { position: relative; }
.journal__photo { border-radius: var(--radius); width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: 0 30px 50px -24px rgba(38,36,31,.4); }
.journal .log-card--float {
  position: absolute;
  left: -60px; bottom: -40px;
  width: 280px;
  transform: rotate(-2.2deg);
}
@media (max-width: 1020px) {
  .journal__grid { grid-template-columns: 1fr; }
  .journal__visual { max-width: 420px; margin: 0 auto; padding-bottom: 60px; }
  .journal .log-card--float { left: 50%; transform: translateX(-50%) rotate(-1.5deg); bottom: -30px; }
}

/* ========================================================
   Caregivers
   ======================================================== */
.caregivers { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.caregivers__media { position: relative; overflow: hidden; }
.caregivers__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.caregivers__copy { background: var(--paper-deep); display: flex; flex-direction: column; justify-content: center; padding: 80px var(--edge); }
.caregivers__copy h2 { margin-bottom: 34px; }
.caregivers__list { display: flex; flex-direction: column; gap: 22px; }
.caregivers__list li { padding-left: 20px; border-left: 2px solid var(--sage); }
.caregivers__list strong { display: block; font-size: 16px; margin-bottom: 4px; }
.caregivers__list span { font-size: 14px; color: var(--ink-soft); }

@media (max-width: 900px) {
  .caregivers { grid-template-columns: 1fr; }
  .caregivers__media { height: 320px; }
  .caregivers__copy { padding: 56px var(--edge); }
}

/* ========================================================
   Reviews
   ======================================================== */
.reviews { padding: 120px 0; }
.reviews h2 { margin-bottom: 50px; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: 4px 14px 14px 14px;
  padding: 30px 26px;
  position: relative;
  box-shadow: 0 18px 30px -22px rgba(38,36,31,.25);
}
.review-card::before {
  content: "";
  position: absolute; top: -8px; left: 22px;
  width: 34px; height: 16px;
  background: var(--apricot);
  opacity: .85;
  clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
}
.review-card p { font-family: var(--font-kr); font-size: 15px; line-height: 1.75; color: var(--ink); }
.review-card footer { margin-top: 18px; font-size: 12.5px; color: var(--ink-faint); font-family: var(--font-mono); }
.reviews__note { margin-top: 26px; font-size: 12.5px; color: var(--ink-faint); }

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

/* ========================================================
   App download
   ======================================================== */
.app { background: var(--sage-deep); color: #F3EFDF; padding: 120px 0; overflow: hidden; }
.app__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.app h2 { color: #FFFCF3; margin-bottom: 18px; }
.app__copy > p { font-size: 15.5px; color: #D9D3BC; max-width: 420px; line-height: 1.75; margin-bottom: 32px; }

.app__badges { display: flex; gap: 14px; flex-wrap: wrap; }
.store-badge {
  display: flex; align-items: center; gap: 10px;
  background: rgba(251,247,239,.06);
  border: 1px solid rgba(251,247,239,.3);
  border-radius: 12px;
  padding: 10px 18px 10px 14px;
  transition: background .25s ease, transform .3s var(--ease);
}
.store-badge:hover { background: rgba(251,247,239,.14); transform: translateY(-2px); }
.store-badge svg { width: 24px; height: 24px; fill: #FFFCF3; }
.store-badge span { display: flex; flex-direction: column; font-weight: 600; font-size: 15px; color: #FFFCF3; }
.store-badge small { font-size: 10.5px; font-weight: 400; color: #C9C2A8; }
.app__hint { margin-top: 16px; font-size: 12px; color: #B7AF92; }

.app__phones { position: relative; width: 100%; max-width: 480px; height: 460px; justify-self: center; }
.app__phone {
  position: absolute;
  width: 210px;
  max-width: none;
  border-radius: 26px;
  border: 6px solid #171912;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
}
.app__phone--back { top: 0; right: 10px; transform: rotate(8deg); opacity: .82; }
.app__phone--front { bottom: 0; left: 10px; transform: rotate(-6deg); }

@media (max-width: 900px) {
  .app__grid { grid-template-columns: 1fr; }
  .app__phones { margin-top: 50px; height: 380px; width: 100%; }
}

/* ========================================================
   Contact
   ======================================================== */
.contact { padding: 120px 0; }
.contact__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 60px; }
.contact__desc { margin-top: 18px; color: var(--ink-soft); font-size: 15px; line-height: 1.75; max-width: 380px; }

.contact__center {
  margin-top: 40px;
  background: var(--paper-deep);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: flex; flex-direction: column; gap: 6px;
  max-width: 340px;
}
.contact__center-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--ink-faint); text-transform: uppercase; }
.contact__center-phone { font-family: var(--font-display); font-size: 30px; color: var(--sage-deep); font-weight: 500; }
.contact__center-hours { font-size: 13px; color: var(--ink-soft); }

.contact__form { background: var(--paper-deep); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.field input, .field textarea {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: 10px;
  padding: 13px 15px;
  font-size: 14.5px;
  resize: vertical;
  transition: border-color .2s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--sage); outline: none; }
.contact__status { min-height: 18px; font-size: 13.5px; color: var(--sage-deep); font-weight: 600; }

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__form { padding: 26px; }
}

/* ========================================================
   Footer
   ======================================================== */
.footer { background: #201F19; color: #B9B2A0; padding: 60px 0 34px; }
.footer__grid { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-kr); font-weight: 700; font-size: 16px; color: #F3EFDF; }
.footer__logo { width: 26px; height: 26px; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; justify-self: end; }
.footer__links a { transition: color .2s ease; }
.footer__links a:hover { color: #F3EFDF; }
.footer__contact { grid-column: 1 / -1; display: flex; gap: 20px; font-size: 13px; border-top: 1px solid rgba(185,178,160,.15); padding-top: 22px; flex-wrap: wrap; }
.footer__legal { grid-column: 1 / -1; font-size: 12px; line-height: 1.7; color: #8B8471; max-width: 820px; }
.footer__copyright { grid-column: 1 / -1; font-size: 11.5px; color: #6E6858; font-family: var(--font-mono); }

@media (max-width: 700px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__links { justify-self: start; }
}

/* ========================================================
   Reveal-on-scroll
   ======================================================== */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ========================================================
   Legal pages (terms / privacy / business info)
   ======================================================== */
.legal-header { position: sticky; top: 0; z-index: 50; background: var(--paper-deep); padding: 22px 0; border-bottom: 1px solid var(--paper-line); }
.legal-header .section-inner { display: flex; align-items: center; gap: 10px; }
.legal-header__brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-kr); font-weight: 700; font-size: 16px; color: var(--ink); }
.legal-header__logo { width: 26px; height: 26px; }
.legal-header__back { margin-left: auto; font-family: var(--font-mono); font-size: 13px; color: var(--sage-deep); transition: color .2s ease; }
.legal-header__back:hover { color: var(--apricot-deep); }
.legal { max-width: 760px; margin: 0 auto; padding: 64px var(--edge) 100px; }
.legal h1 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 36px; }
.legal h2 { font-size: 21px; margin: 44px 0 14px; }
.legal h3 { font-size: 17px; margin: 28px 0 10px; }
.legal p { color: var(--ink-soft); font-size: 15px; line-height: 1.75; margin: 0 0 10px; }
.legal ul { margin: 4px 0 14px; padding-left: 20px; }
.legal li { list-style: disc; color: var(--ink-soft); font-size: 15px; line-height: 1.75; margin-bottom: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0 24px; font-size: 14px; }
.legal table th, .legal table td { border: 1px solid var(--paper-line); padding: 10px 12px; text-align: left; vertical-align: top; color: var(--ink-soft); }
.legal table th { background: var(--paper-deep); color: var(--ink); font-weight: 600; white-space: nowrap; }
.legal table td:first-child { color: var(--ink); font-weight: 500; white-space: nowrap; }
