/* Roomcast landing — warm editorial: paper, ink, terracotta, sage. */
:root {
  --paper: #f4efe6;
  --paper-2: #ebe4d7;
  --card: #fbf8f2;
  --ink: #1d1b17;
  --ink-2: #4a453d;
  --muted: #7a7366;
  --line: rgba(29, 27, 23, 0.12);
  --accent: #c8552e;
  --accent-2: #e3794f;
  --sage: #8e9b6e;
  --sage-2: #c9d0b4;
  --night: #1f1d19;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 18px;
  --wrap: 1180px;
  --shadow: 0 1px 2px rgba(29, 27, 23, 0.06), 0 12px 40px -12px rgba(29, 27, 23, 0.25);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; margin: 0; }
h1, h2 { font-variation-settings: 'opsz' 144; }
h3 { letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--accent); }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.muted { color: var(--muted); }
.center { display: flex; justify-content: center; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font: 600 12.5px/1.4 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font: 600 15.5px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--card); color: var(--ink); border-color: var(--ink); }

/* ------------------------------------------------------------------ nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 19px/1 var(--serif); letter-spacing: -0.01em; }
.mark { width: 30px; height: 30px; color: var(--ink); }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { text-decoration: none; font-size: 15px; color: var(--ink-2); }
.links a:hover { color: var(--ink); }

/* ------------------------------------------------------------------ hero */
.hero { padding: 56px 0 40px; text-align: center; overflow: hidden; }
.hero h1 { font-size: clamp(44px, 6.6vw, 88px); line-height: 0.98; }
.lede { max-width: 640px; margin: 22px auto 0; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

.stage-wrap { margin-top: 44px; }
.stage { position: relative; }
.pair-tabs {
  position: absolute; z-index: 5; top: 18px; left: 50%; transform: translateX(-50%);
  display: flex; padding: 4px; gap: 2px;
  background: rgba(29, 27, 23, 0.55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
}
.pair-tabs button {
  border: 0; background: transparent; color: rgba(255, 255, 255, 0.78);
  font: 600 13.5px/1 var(--sans); padding: 9px 16px; border-radius: 999px; cursor: pointer;
}
.pair-tabs button[aria-selected='true'] { background: var(--paper); color: var(--ink); }

.ba {
  position: relative; margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--paper-2);
  user-select: none; -webkit-user-select: none;
  touch-action: pan-y;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.35s ease; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba.swapping img { opacity: 0; }
.ba-tag {
  position: absolute; bottom: 18px; z-index: 2;
  font: 600 12px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 999px;
  background: rgba(29, 27, 23, 0.6); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}
.ba-tag-before { left: 18px; }
.ba-tag-after { right: 18px; background: var(--accent); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3;
  width: 2px; margin-left: -1px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}
.ba-handle span {
  position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px;
  border-radius: 50%; background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.ba-handle span::before, .ba-handle span::after {
  content: ''; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px;
  border: 6px solid transparent;
}
.ba-handle span::before { left: 8px; border-right-color: var(--ink); }
.ba-handle span::after { right: 8px; border-left-color: var(--ink); }
.ba-range {
  position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none;
}
.ba-range:focus-visible ~ .ba-handle span, .ba:has(.ba-range:focus-visible) .ba-handle span { outline: 3px solid var(--accent); outline-offset: 2px; }

.mini-sheet {
  position: absolute; z-index: 6; right: -28px; bottom: -36px;
  width: 280px; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 14px 16px 12px;
  font-size: 13.5px;
  transition: opacity 0.3s ease;
}
.mini-sheet.swapping { opacity: 0.2; }
.mini-head { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink-2); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mini-head b { color: var(--ink); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 3px var(--sage-2); }
.mini-sheet ul { list-style: none; margin: 0; padding: 6px 0; }
.mini-sheet li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.mini-sheet li:last-child { border-bottom: 0; }
.mini-sheet li b { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mini-sheet li small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.mini-sheet li { align-items: center; }
.mini-foot { display: flex; justify-content: space-between; padding-top: 8px; color: var(--muted); font-size: 12.5px; }
.mini-foot a { color: var(--accent); font-weight: 600; text-decoration: none; }
.stage-note { margin-top: 22px; font-size: 14px; color: var(--muted); }

/* ------------------------------------------------------------------ wedge */
.wedge { padding: 120px 0 100px; }
.wedge-grid { display: grid; gap: 48px; }
.wedge h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.08; max-width: 980px; }
.wedge h2 span { color: var(--muted); }
.wedge-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.wedge-col { padding: 28px; border-radius: var(--r); border: 1px solid var(--line); color: var(--ink-2); }
.wedge-col .k { font: 600 13px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.wedge-col.on { background: var(--ink); color: rgba(244, 239, 230, 0.86); border-color: var(--ink); }
.wedge-col.on .k { color: var(--accent-2); }
.funnel { display: flex; flex-wrap: wrap; gap: 0; list-style: none; padding: 0; margin: 0; counter-reset: f; }
.funnel li {
  counter-increment: f;
  display: flex; align-items: center; gap: 10px;
  font: 500 clamp(20px, 2.4vw, 28px)/1.2 var(--serif);
}
.funnel li::before { content: counter(f); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); font: 600 12px/1 var(--sans); color: var(--muted); }
.funnel li:not(:last-child)::after { content: ''; width: clamp(24px, 6vw, 90px); height: 1px; background: var(--ink); opacity: 0.25; margin: 0 16px; }
.funnel li:last-child { color: var(--accent); }

/* ------------------------------------------------------------------ section heads */
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.04; }
.sec-head .sub { margin-top: 18px; color: var(--ink-2); font-size: 18px; }

/* ------------------------------------------------------------------ how */
.how { padding: 100px 0; background: var(--card); border-block: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding: 28px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.step-art { height: 150px; border-radius: 12px; background: var(--paper-2); display: grid; place-items: center; margin-bottom: 24px; }
.step-art svg { width: 70%; height: 80%; }
.step-art .s { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.step-art .s.thin { stroke-width: 1.4; opacity: 0.45; }
.step-art .s.a { stroke: var(--accent); }
.step-art .fill { fill: var(--paper); }
.step-art .f { fill: var(--card); stroke: var(--ink); stroke-width: 1.4; }
.step-art .f.on { fill: var(--sage-2); stroke: var(--sage); stroke-width: 2; }
.num { font: 600 13px/1 var(--sans); color: var(--accent); letter-spacing: 0.08em; }
.step h3 { font-size: 26px; margin: 10px 0 10px; }
.step p { color: var(--ink-2); font-size: 16px; }

/* ------------------------------------------------------------------ walkthrough */
.walk { padding: 120px 0; }
.gallery {
  display: grid; gap: 16px;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 300px 300px;
}
.g { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(.2, .7, .2, 1); }
.g:hover img { transform: scale(1.035); }
.g figcaption {
  position: absolute; left: 14px; bottom: 14px;
  font: 600 12.5px/1 var(--sans); padding: 8px 12px; border-radius: 999px;
  background: rgba(251, 248, 242, 0.92); color: var(--ink);
}
.g-lounge { grid-column: 1 / 4; }
.g-cut { grid-column: 4 / 7; }
.g-master { grid-column: 1 / 3; }
.g-shower { grid-column: 3 / 5; }
.g-eve { grid-column: 5 / 7; }
.feats { list-style: none; padding: 0; margin: 48px 0 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feats li { border-top: 1px solid var(--ink); padding-top: 16px; }
.feats b { display: block; font: 500 20px/1.2 var(--serif); margin-bottom: 8px; }
.feats span { color: var(--ink-2); font-size: 15px; }

/* ------------------------------------------------------------------ buildsheet */
.sheet { padding: 120px 0; background: var(--night); color: var(--paper); }
.sheet-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.sheet h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; margin-bottom: 24px; }
.sheet h2 em { color: var(--accent-2); }
.sheet-copy p { color: rgba(244, 239, 230, 0.74); font-size: 17.5px; }
.sheet-copy p + p { margin-top: 14px; }
.sheet .eyebrow { color: var(--accent-2); }
.sheet-copy b { color: var(--paper); font-weight: 600; }
.ticks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 30px; color: rgba(244, 239, 230, 0.78); font-size: 15.5px; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231f1d19' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.doc {
  background: var(--card); color: var(--ink);
  border-radius: 20px; padding: 24px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  transform: rotate(0.6deg);
}
.doc-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.doc-k { font: 600 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.doc-t { font: 500 26px/1.2 var(--serif); margin-top: 6px; }
.cur { display: flex; padding: 3px; border-radius: 999px; background: var(--paper-2); }
.cur button { border: 0; background: transparent; padding: 7px 12px; border-radius: 999px; font: 600 12.5px/1 var(--sans); color: var(--muted); cursor: pointer; }
.cur button[aria-pressed='true'] { background: var(--ink); color: var(--paper); }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 4px; }
.doc th { text-align: left; font: 600 11.5px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 12px 8px 8px; }
.doc td { padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc .ck { width: 28px; padding-right: 0; }
.doc .ck input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.doc .ref { font: 500 11px/1 ui-monospace, 'SF Mono', Menlo, monospace; color: var(--accent); margin-right: 4px; }
.doc .store { display: inline-block; white-space: nowrap; font-size: 12.5px; font-weight: 500; padding: 3px 8px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.doc tr.off td:not(.ck) { opacity: 0.38; }
.doc tr.off [data-price] { text-decoration: line-through; }
.doc tr.grp.diy td { color: var(--sage); }
.doc .tag { margin-left: 8px; padding: 3px 7px; border-radius: 999px; background: var(--sage-2); color: #3f4a2a; font-size: 10px; letter-spacing: 0.08em; vertical-align: 1px; }
.doc td small { display: block; color: var(--muted); font-size: 12.5px; }
.doc td i { font-style: normal; font-size: 11px; color: var(--sage); font-weight: 600; }
.doc .r { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.doc tr.grp td { font: 600 11.5px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); padding-top: 18px; border-bottom: 0; background: none; }
.basket { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.basket > div { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; }
.basket b { font: 500 26px/1 var(--serif); font-variant-numeric: tabular-nums; }
.doc-note { margin-top: 12px; font-size: 12px; color: var(--muted); }

/* ------------------------------------------------------------------ compare */
.compare { padding: 120px 0 100px; }
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.cmp { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmp th, .cmp td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.cmp thead th { font: 600 13px/1.2 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp tbody th { font-weight: 500; color: var(--ink); width: 38%; }
.cmp td.no { color: rgba(29, 27, 23, 0.3); }
.cmp td.part { color: var(--muted); }
.cmp .us { background: rgba(200, 85, 46, 0.07); }
.cmp thead .us { color: var(--accent); }
.cmp td.yes { color: var(--ink); font-weight: 600; }
.cmp td.yes::before { content: '✓'; color: var(--accent); margin-right: 8px; }
.rooms { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.rooms li { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); background: var(--card); }

/* ------------------------------------------------------------------ faq */
.faq { padding: 100px 0; border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.qs details { border-bottom: 1px solid var(--line); }
.qs details:first-child { border-top: 1px solid var(--line); }
.qs summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; font: 500 20px/1.3 var(--serif);
}
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: '+'; font: 400 26px/1 var(--sans); color: var(--accent); transition: transform 0.2s ease; }
.qs details[open] summary::after { transform: rotate(45deg); }
.qs details p { padding: 0 0 22px; color: var(--ink-2); max-width: 640px; }

/* ------------------------------------------------------------------ join */
.join { padding: 40px 0 120px; }
.join-inner {
  text-align: center; padding: 80px 32px; border-radius: 28px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(227, 121, 79, 0.22), transparent 55%),
    radial-gradient(120% 140% at 100% 100%, rgba(142, 155, 110, 0.28), transparent 55%),
    var(--paper-2);
  border: 1px solid var(--line);
}
.join h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1.02; }
.join-inner > p { max-width: 560px; margin: 18px auto 0; color: var(--ink-2); }
.join-form {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  margin: 34px auto 0; max-width: 940px;
  padding: 8px; border-radius: 999px; background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.join-form input, .join-form select {
  border: 0; background: transparent; font: 400 16px/1 var(--sans); color: var(--ink);
  padding: 12px 14px; min-width: 0;
}
.join-form input { flex: 1 1 220px; }
.join-form select { flex: 0 0 auto; border-left: 1px solid var(--line); padding-right: 8px; cursor: pointer; }
.join-form input:focus, .join-form select:focus { outline: none; }
.join-form:focus-within { border-color: var(--ink); }
.form-msg { min-height: 24px; margin-top: 16px; font-size: 15px; color: var(--ink-2); }
.form-msg.err { color: var(--accent); }
.join-form.done { display: none; }

/* ------------------------------------------------------------------ footer */
.foot { padding: 40px 0 56px; border-top: 1px solid var(--line); }
.foot-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.foot-inner .muted { margin-left: auto; }

/* ------------------------------------------------------------------ reveal */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .g img, .ba img { transition: none; }
}

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1240px) {
  .mini-sheet { right: 16px; bottom: -40px; }
}
@media (max-width: 960px) {
  .links { display: none; }
  .nav-inner .btn { margin-left: auto; }
  .steps { grid-template-columns: 1fr; }
  .sheet-grid, .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .feats { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
  .g-lounge, .g-cut { grid-column: span 2; }
  .g-master, .g-shower { grid-column: span 1; }
  .g-eve { grid-column: span 2; }
  .doc { transform: none; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .hero { padding-top: 48px; }
  .stage-wrap { width: 100%; }
  .ba { border-radius: 0; aspect-ratio: 4 / 3.4; }
  .mini-sheet { position: relative; right: auto; bottom: auto; width: auto; margin: -28px 16px 0; }
  .ba-tag { bottom: auto; top: 70px; }
  .wedge { padding: 80px 0 64px; }
  .wedge-cols { grid-template-columns: 1fr; }
  .funnel li:not(:last-child)::after { margin: 0 10px; width: 18px; }
  .how, .walk, .sheet, .compare, .faq { padding: 72px 0; }
  .feats { grid-template-columns: 1fr; gap: 20px; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery .g { grid-column: auto; }
  .doc { padding: 16px; margin-inline: -4px; }
  .doc td small { display: none; }
  .doc th:nth-child(3), .doc td:nth-child(3) { display: none; }
  .doc td { padding: 9px 5px; }
  .cmp { min-width: 0; }
  .cmp th:nth-child(3), .cmp td:nth-child(3) { display: none; }
  .cmp th, .cmp td { padding: 14px 12px; font-size: 14.5px; }
  .cmp tbody th { width: 46%; }
  .join-inner { padding: 56px 20px; }
  .join-form { border-radius: 20px; flex-direction: column; }
  .join-form input, .join-form select { flex: auto; width: 100%; border-left: 0; border-bottom: 1px solid var(--line); }
  .join-form .btn { justify-content: center; }
  .foot-inner .muted { margin-left: 0; }
}

/* ------------------------------------------------------------------ legal: footer links, form note, policy pages */
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; }
.foot-links a { color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { color: var(--accent); text-decoration: underline; }
.form-legal { margin: 12px auto 0; max-width: 560px; font-size: 13px; opacity: 0.75; }
.form-legal a { color: inherit; }
.legal-page .nav { position: sticky; }
.legal-page .links a[aria-current="page"] { color: var(--accent); }
.legal { padding: 56px 0 72px; }
.legal-wrap { max-width: 780px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); margin: 8px 0 6px; }
.legal-meta { color: var(--ink-2); font-size: 14px; margin: 0 0 28px; }
.legal section { margin: 30px 0 0; }
.legal h2 { font-size: 24px; margin: 0 0 10px; }
.legal h3 { font-size: 18px; margin: 18px 0 6px; }
.legal p, .legal li { font-size: 16px; color: var(--ink-2); }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal a { color: var(--accent); }
.legal .btn { color: var(--paper); }
.legal .table-wrap { overflow-x: auto; margin: 12px 0; }
.legal-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal-tbl th, .legal-tbl td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.legal-tbl th { font-weight: 600; color: var(--ink); background: var(--paper-2); }
.legal-tbl code { font-size: 12.5px; }
mark.ph { background: #fde3a7; color: #5a3c00; padding: 0 3px; border-radius: 3px; }
