/* Doclobby — shared styles */
:root {
  --paper: #F3F6F9;   /* MedCareCrew Mist */
  --surface: #ffffff;
  --ink: #0B2545;     /* Crew Navy */
  --ink-soft: #4F5F73; /* Slate */
  --line: #E3E9EF;    /* Line */
  --booked: #0E9F8E;  /* Care Teal: fills, marks, large text only */
  --booked-tint: #E1F4F1;
  --aqua: #2DD4BF;    /* Pulse Aqua: accents on navy */
  --pending: #b7801a;
  --pending-tint: #fbf1dc;
  --focus: #2f5bd8;
  --radius-lg: 18px;
  --radius-sm: 8px;
  --measure: 66ch;
  --font: "Plus Jakarta Sans", "Noto Sans Gujarati", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-gu: "Noto Sans Gujarati", "Plus Jakarta Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration-color: var(--booked); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.brand-by { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 500; color: var(--ink-soft); }
.brand { align-items: center; }
.brand-sep { width: 1px; height: 22px; background: var(--line); margin-right: 6px; }
.brand-by img { width: 18px; height: 18px; }
.brand-by b { font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.site-nav a:hover { text-decoration: underline; text-decoration-color: var(--booked); text-underline-offset: 6px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px; border-radius: 999px;
  font: inherit; font-weight: 650; font-size: 0.98rem; text-decoration: none;
  border: 1.5px solid var(--ink); cursor: pointer;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--booked); border-color: var(--booked); color: var(--ink); }
.btn-quiet { background: transparent; color: var(--ink); }
.btn-quiet:hover { background: var(--surface); color: var(--ink); }
.site-nav .btn { min-height: 40px; padding: 8px 16px; color: #fff; }
.site-nav .btn:hover { color: var(--ink); text-decoration: none; }

/* Hero */
.hero { padding-block: 72px 64px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero h1 {
  font-size: clamp(2.3rem, 4.2vw, 3.25rem); line-height: 1.05; letter-spacing: -0.035em;
  font-weight: 800; margin: 0 0 22px; max-width: 15ch;
}
.hero .lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.stage-note { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }
.stage-note strong { color: var(--ink); font-weight: 650; }

/* Hero visual: patient's phone -> Doclobby -> doctor's calendar */
.hero .wrap { grid-template-columns: 0.92fr 1.08fr; }
.scene {
  display: grid; grid-template-columns: 272px 1fr 220px; align-items: center; gap: 0;
}
.scene-caption {
  grid-column: 1 / -1; font-size: 0.8rem; color: var(--ink-soft); margin: 0 0 10px;
}

/* Phone */
.phone {
  background: var(--ink); border-radius: 38px; padding: 10px;
  box-shadow: 0 1px 0 rgba(16, 36, 59, 0.08), 0 18px 40px -18px rgba(16, 36, 59, 0.45);
}
.screen {
  background: #edf2ef; border-radius: 29px; overflow: hidden;
  display: flex; flex-direction: column; min-height: 470px;
}
.phone-bar {
  display: flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; padding: 22px 14px 10px;
}
.avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: #fff; color: var(--ink);
  font-weight: 800; font-size: 0.9rem;
}
.phone-bar strong { display: block; font-size: 0.92rem; line-height: 1.2; }
.phone-bar span { font-size: 0.74rem; opacity: 0.85; }
.chat { flex: 1; display: flex; flex-direction: column; gap: 7px; padding: 12px 10px; }
.day-chip {
  align-self: center; font-size: 0.7rem; color: var(--ink-soft); background: var(--surface);
  padding: 2px 10px; border-radius: 999px; margin-bottom: 2px;
}
.bubble {
  max-width: 86%; padding: 7px 10px 6px; border-radius: 10px; font-size: 0.88rem; line-height: 1.4;
  font-family: var(--font-gu); box-shadow: 0 1px 0 rgba(16, 36, 59, 0.08); margin: 0;
}
.bubble small { display: block; font-family: var(--font); font-size: 0.7rem; color: var(--ink-soft); margin-top: 2px; }
.bubble .meta { display: block; text-align: right; font-family: var(--font); font-size: 0.66rem; color: var(--ink-soft); margin-top: 2px; }
.bubble .ticks { color: var(--booked); font-weight: 700; letter-spacing: -0.15em; margin-left: 3px; }
.from-patient { align-self: flex-end; background: #d4efe7; border-top-right-radius: 3px; }
.from-clinic { align-self: flex-start; background: var(--surface); border-top-left-radius: 3px; }
.reply-buttons { align-self: flex-start; width: 86%; display: grid; gap: 4px; margin-top: -3px; }
.reply-buttons span {
  display: block; text-align: center; background: var(--surface); border-radius: 8px;
  font-family: var(--font); font-size: 0.85rem; font-weight: 600; color: var(--ink);
  padding: 6px; box-shadow: 0 1px 0 rgba(16, 36, 59, 0.08);
}
.reply-buttons .picked { outline: 2px solid var(--booked); outline-offset: -2px; }
.phone-input { display: flex; gap: 6px; padding: 8px 10px 14px; }
.phone-input span:first-child {
  flex: 1; background: var(--surface); border-radius: 999px; padding: 7px 12px;
  font-size: 0.8rem; color: var(--ink-soft);
}
.phone-input span:last-child { width: 32px; height: 32px; border-radius: 50%; background: var(--booked); flex: none; }

/* The link between phone and calendar */
.link { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-inline: 6px; }
.link-line { width: 100%; height: 0; border-top: 2px dashed var(--booked); position: relative; transform-origin: left center; }
.link-line::after {
  content: ""; position: absolute; right: -2px; top: -7px;
  border-left: 10px solid var(--booked); border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.link-label {
  margin-top: 10px; font-size: 0.82rem; font-weight: 650; color: var(--ink); text-align: center; line-height: 1.3;
  background: var(--paper); padding: 0 4px;
}

/* Calendar card */
.cal { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.cal-head { font-size: 0.82rem; font-weight: 650; margin: 0 0 10px; display: flex; justify-content: space-between; gap: 8px; }
.cal-head span { color: var(--ink-soft); font-weight: 500; }
.day { display: flex; flex-direction: column; gap: 6px; }
.slot {
  display: grid; grid-template-columns: 42px 1fr; gap: 6px; align-items: center;
  padding: 7px 9px; border-radius: var(--radius-sm); border: 1px dashed var(--line);
  font-size: 0.8rem; min-height: 40px;
}
.slot time { font-weight: 650; font-variant-numeric: tabular-nums; }
.slot .what { color: var(--ink-soft); line-height: 1.25; }
.slot.booked { border: 1px solid transparent; background: var(--booked-tint); border-left: 4px solid var(--booked); }
.slot.booked .what { color: var(--ink); }
.slot.pending { border: 1px solid transparent; background: var(--pending-tint); border-left: 4px solid var(--pending); }
.slot.pending .what { color: var(--ink); }

/* The one orchestrated moment: the chat plays, the link draws, the slot fills */
@media (prefers-reduced-motion: no-preference) {
  .play { opacity: 0; transform: translateY(6px); animation: appear 0.45s ease-out forwards; }
  .play.s1 { animation-delay: 0.3s; }
  .play.s2 { animation-delay: 1.1s; }
  .play.s3 { animation-delay: 2.0s; }
  .play.s4 { animation-delay: 2.7s; }
  .link-line { animation: draw 0.5s ease-out 3.0s both; }
  .link-label { animation: appear-text 0.4s ease-out 3.2s both; }
  .slot.fills { animation: fill 0.6s ease-out 3.5s both; }
  .slot.fills .what { animation: appear-text 0.4s ease-out 3.8s both; }
}
@keyframes appear { to { opacity: 1; transform: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fill {
  from { background: transparent; border-color: var(--line); border-style: dashed; border-left-width: 1px; }
  to { background: var(--booked-tint); border-color: transparent; border-left: 4px solid var(--booked); }
}
@keyframes appear-text { from { opacity: 0; } to { opacity: 1; } }

/* Narrower screens: phone, then a downward link, then the calendar */
@media (max-width: 1080px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .hero h1 { max-width: 18ch; }
  .scene { max-width: 620px; }
}
@media (max-width: 600px) {
  .scene { grid-template-columns: 1fr; justify-items: center; }
  .scene-caption { display: none; }
  .phone { width: min(290px, 100%); }
  .link { height: 84px; width: 100%; padding: 0; }
  .link-line { width: 0; height: 44px; border-top: 0; border-left: 2px dashed var(--booked); transform-origin: center top; }
  .link-line::after { right: auto; left: -8px; top: auto; bottom: -4px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 10px solid var(--booked); border-bottom: 0; }
  .link-label { position: absolute; left: calc(50% + 16px); top: 50%; transform: translateY(-50%); margin: 0; text-align: left; }
  .cal { width: min(320px, 100%); }
}
@media (max-width: 600px) and (prefers-reduced-motion: no-preference) {
  .link-line { animation-name: draw-down; }
  .link-label { animation-name: appear-text; }
}
@keyframes draw-down { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Sections */
section { padding-block: 64px; }
.section-head { max-width: var(--measure); margin-bottom: 36px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.12; letter-spacing: -0.025em; font-weight: 780; margin: 0 0 12px; }
.section-head p { color: var(--ink-soft); margin: 0; font-size: 1.08rem; }

.does { border-top: 1px solid var(--line); }
.does-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.does-item h3 { font-size: 1.12rem; margin: 0 0 8px; letter-spacing: -0.01em; }
.does-item p { margin: 0; color: var(--ink-soft); }
.state-key { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: 1px; }
.key-booked { background: var(--booked); }
.key-pending { background: var(--pending); }

.flow { background: var(--surface); border-block: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 24px 0 0; counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--ink);
  font-weight: 700; font-size: 0.95rem; margin-bottom: 14px; background: var(--surface); position: relative; z-index: 1;
}
.steps li::after { content: ""; position: absolute; top: 17px; left: 34px; right: 0; height: 1.5px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.05rem; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

.control .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.control ul { margin: 0; padding-left: 1.1em; }
.control li { margin-bottom: 10px; }
.control li::marker { color: var(--booked); }
.note {
  border-left: 4px solid var(--pending); background: var(--pending-tint);
  padding: 14px 16px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 0.95rem; margin-top: 24px;
}

.contact { border-top: 1px solid var(--line); }
.contact .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.contact dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; }
.contact dt { color: var(--ink-soft); }
.contact dd { margin: 0; font-weight: 550; overflow-wrap: anywhere; }

/* Calendar sync: week view that reacts to WhatsApp events */
.key-own { background: #5b7290; }
.key-open { background: transparent; border: 1.5px dashed var(--ink-soft); }
.sync { border-top: 1px solid var(--line); }
.sync-layout {
  display: grid; grid-template-columns: 320px minmax(0, 1fr); grid-template-rows: auto 1fr;
  grid-template-areas: "ctl cal" "story cal"; gap: 20px 40px; align-items: start;
}
.sync-ctl { grid-area: ctl; }
.sync-story { grid-area: story; }
.wk { grid-area: cal; }

.sync-controls { display: flex; flex-direction: column; gap: 8px; }
.sync-controls button {
  display: flex; align-items: center; gap: 2px; min-height: 46px; padding: 10px 14px;
  font: inherit; font-size: 0.95rem; font-weight: 600; text-align: left; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer;
}
.sync-controls button:hover { border-color: var(--ink-soft); }
.sync-controls button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.sync:not(.js) .sync-controls, .sync:not(.js) .tour-toggle { display: none; }
.tour-toggle {
  margin-top: 10px; padding: 4px 0; font: inherit; font-size: 0.85rem; color: var(--ink-soft);
  background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.tour-toggle:hover { color: var(--ink); }

.sync-story { background: #edf2ef; border-radius: 14px; padding: 16px; min-height: 230px; }
.story { display: none; flex-direction: column; gap: 8px; }
.sync[data-scene="book"] .story-book, .sync[data-scene="resched"] .story-resched,
.sync[data-scene="proc"] .story-proc, .sync[data-scene="block"] .story-block,
.sync[data-scene="cancel"] .story-cancel { display: flex; }
.story-src { margin: 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.story .bubble { max-width: 94%; font-size: 0.92rem; }
.story .reply-buttons { width: 94%; margin-top: 0; }
.sync[data-phase="after"] .story-proc .approve { outline: 2px solid var(--booked); outline-offset: -2px; }
.own-chip {
  margin: 0; align-self: flex-start; padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: 0.92rem;
  background: #e6ebf2; border-left: 4px solid #5b7290;
}
.own-chip small { display: block; font-weight: 500; font-size: 0.78rem; color: var(--ink-soft); }
.story-result {
  display: none; margin: 6px 0 0; padding: 10px 12px; font-size: 0.92rem; line-height: 1.45;
  background: var(--surface); border-radius: 10px; border-left: 4px solid var(--booked);
}
.sync[data-phase="after"] .story-result { display: block; }

/* Week view */
.wk {
  --hr: 46px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 14px 12px;
  box-shadow: 0 18px 40px -28px rgba(16, 36, 59, 0.45);
}
.wk-top { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; margin-bottom: 10px; }
.wk-title { margin: 0; font-weight: 700; font-size: 1rem; }
.wk-title span { margin-left: 6px; font-weight: 500; font-size: 0.85rem; color: var(--ink-soft); }
.sync-pill {
  margin: 0; display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; background: var(--booked-tint); color: var(--ink);
}
.sync-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--booked); }
.sync-pill .syncing { display: none; }
.sync[data-phase="before"] .sync-pill { background: var(--pending-tint); }
.sync[data-phase="before"] .sync-pill .dot { background: var(--pending); }
.sync[data-phase="before"] .sync-pill .syncing { display: inline; }
.sync[data-phase="before"] .sync-pill .synced { display: none; }

.wk-head, .wk-body { display: grid; grid-template-columns: 42px repeat(6, minmax(0, 1fr)); }
.dh { padding: 2px 0 6px; text-align: center; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); }
.wk-body { padding-block: 8px 4px; }
.gut { position: relative; height: calc(9 * var(--hr)); }
.gut span {
  position: absolute; right: 7px; top: calc(var(--h) * var(--hr)); transform: translateY(-50%);
  font-size: 0.66rem; color: var(--ink-soft); font-variant-numeric: tabular-nums;
}
.dcol {
  position: relative; height: calc(9 * var(--hr));
  border-left: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background-image: repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px var(--hr));
}
.lunch {
  position: absolute; left: 0; right: 0; top: calc(4 * var(--hr)); height: var(--hr);
  display: grid; place-items: center; font-size: 0.66rem; color: var(--ink-soft);
  background: repeating-linear-gradient(135deg, #eef2f0 0 6px, #f8faf9 6px 12px);
}
.ev {
  position: absolute; left: 3px; right: 3px; z-index: 1;
  top: calc((var(--s) - 9) * var(--hr) + 1px); height: calc(var(--d) * var(--hr) - 2px); min-height: 19px;
  padding: 2px 6px; overflow: hidden; border-radius: 5px;
  font-size: 0.7rem; line-height: 1.25; color: var(--ink);
  background: var(--booked-tint); border-left: 3px solid var(--booked);
  white-space: nowrap; text-overflow: ellipsis;
}
.ev.own, .ev.x-proc { white-space: normal; }
.ev b { font-weight: 700; font-variant-numeric: tabular-nums; }
.ev.own { background: #e6ebf2; border-left-color: #5b7290; }
.ev.pend { background: var(--pending-tint); border-left-color: var(--pending); }
.ev.open { background: transparent; border: 1px dashed var(--ink-soft); color: var(--ink-soft); }
.ev .a { display: none; }

/* Scene states: hidden extras, then what each example shows */
.x-book, .x-rto, .x-proc, .x-block, .x-open { display: none; }
.sync[data-scene="book"][data-phase="after"] .x-book,
.sync[data-scene="resched"][data-phase="after"] .x-rto,
.sync[data-scene="block"][data-phase="after"] .x-block { display: block; box-shadow: 0 0 0 2px var(--booked); }
.sync[data-scene="block"][data-phase="after"] .x-block { box-shadow: 0 0 0 2px #5b7290; }
.sync[data-scene="block"][data-phase="before"] .x-open { display: block; }
.sync[data-scene="proc"] .x-proc { display: block; box-shadow: 0 0 0 2px var(--pending); }
.sync[data-scene="proc"][data-phase="after"] .x-proc {
  background: var(--booked-tint); border-left-color: var(--booked); box-shadow: 0 0 0 2px var(--booked);
}
.sync[data-scene="resched"][data-phase="after"] .x-rfrom,
.sync[data-scene="cancel"][data-phase="after"] .x-cancel {
  background: transparent; border: 1px dashed var(--ink-soft); color: var(--ink-soft);
}
.sync[data-scene="proc"][data-phase="after"] .x-proc .m,
.sync[data-scene="resched"][data-phase="after"] .x-rfrom .m,
.sync[data-scene="cancel"][data-phase="after"] .x-cancel .m { display: none; }
.sync[data-scene="proc"][data-phase="after"] .x-proc .a,
.sync[data-scene="resched"][data-phase="after"] .x-rfrom .a,
.sync[data-scene="cancel"][data-phase="after"] .x-cancel .a { display: inline; }

.wk-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; padding: 0; font-size: 0.8rem; color: var(--ink-soft); }
.wk-note { margin: 6px 0 0; font-size: 0.75rem; color: var(--ink-soft); }

@media (prefers-reduced-motion: no-preference) {
  .sync[data-phase="after"] .story-result { animation: appear 0.4s ease-out both; opacity: 0; transform: translateY(6px); }
  .sync[data-phase="after"] .x-book,
  .sync[data-phase="after"] .x-rto,
  .sync[data-phase="after"] .x-block { animation: pop 0.45s ease-out both; }
  .sync[data-phase="before"] .sync-pill .dot { animation: blink 0.9s ease-in-out infinite; }
  .ev { transition: background-color 0.4s, border-color 0.4s, box-shadow 0.4s; }
}
@keyframes pop { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0.25; } }

@media (max-width: 900px) {
  .sync-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "ctl" "cal" "story"; }
  .sync-controls { flex-direction: row; flex-wrap: wrap; }
  .sync-controls button { flex: 1 1 auto; min-height: 42px; padding: 8px 12px; font-size: 0.88rem; }
  .sync-story { min-height: 0; }
}
@media (max-width: 600px) {
  .wk { --hr: 42px; padding: 12px 10px 10px; }
  .wk-head, .wk-body { grid-template-columns: 36px repeat(4, minmax(0, 1fr)); }
  .d-mon, .d-sat { display: none; }
  .ev { font-size: 0.64rem; padding: 2px 4px; }
}

/* Footer */
.site-footer { background: var(--ink); color: #c9d3dd; padding-block: 36px; font-size: 0.92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.site-footer a { color: #fff; text-decoration-color: var(--aqua); }
.footer-lockup { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; text-decoration: none; }
.mcc-wordmark { font-weight: 700; font-size: 1.35rem; letter-spacing: -0.025em; color: #fff; }
.mcc-wordmark > span { color: var(--aqua); }
.site-footer p { margin: 0 0 6px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* Legal pages */
.legal { padding-block: 56px 72px; }
.legal article { max-width: var(--measure); }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 8px; }
.legal .meta { color: var(--ink-soft); margin: 0 0 36px; }
.legal h2 { font-size: 1.35rem; margin: 40px 0 10px; letter-spacing: -0.015em; }
.legal h3 { font-size: 1.05rem; margin: 22px 0 6px; }
.legal p, .legal li { color: #24364a; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 12px 0 8px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 650; background: var(--surface); }

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap, .control .wrap, .contact .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-block: 44px 48px; }
  .does-list { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-nav a:not(.btn) { display: none; }
  .brand-by { display: none; }
  .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .contact dl { grid-template-columns: 1fr; gap: 2px; }
  .contact dd { margin-bottom: 12px; }
  .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
  .legal thead { display: none; }
  .legal td { border-bottom: none; padding: 4px 0; }
  .legal tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .legal td:first-child { font-weight: 650; }
}
