/* Natural Reflection Skin Care Clinic — Apple-inspired, raspberry & peach. Mobile-first. */
:root {
  color-scheme: only light;
  --bg: #E30B5C;          /* page background */
  --bg-deep: #c9084f;
  --second: #F2D2BD;      /* secondary surfaces */
  --second-2: #f7e3d6;
  --white: #ffffff;
  --ink: #2b0a17;
  --ink-2: #5a2a3a;
  --muted: #6b3a48;
  --accent: #a8083f;      /* links on light surfaces */
  --error: #8f1111;
  --line: rgba(43, 10, 23, 0.14);
  --line-light: rgba(255, 255, 255, 0.3);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow: 0 14px 40px rgba(80, 0, 30, 0.22);
  --max: 1080px;
  --gutter: 16px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
@media (min-width: 700px) { :root { --gutter: 22px; --radius-lg: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.47; letter-spacing: -0.02em;
  color: var(--white); background: var(--bg); -webkit-font-smoothing: antialiased;
}
@media (min-width: 700px) { body { font-size: 17px; } }
img, svg { max-width: 100%; }
a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button, a, input, select, textarea, label { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; border-radius: 6px; }
.light :focus-visible { outline-color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.light { background: var(--second); color: var(--ink); }
.light a { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  font: inherit; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  padding: 10px 18px; border-radius: 980px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--white); transition: background .2s, transform .15s;
}
.btn:hover { background: var(--bg-deep); }
.btn:active { transform: scale(.96); }
.btn.lg { font-size: 15px; padding: 12px 16px; min-height: 48px; }
@media (min-width: 700px) { .btn.lg { font-size: 17px; padding: 14px 28px; } }
.btn.on-pink { background: var(--white); color: var(--bg); }
.btn.on-pink:hover { background: var(--second); }
.btn.ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px var(--white); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.14); }
.light .btn { color: var(--white); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(227, 11, 92, 0.9);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-light);
}
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { color: var(--white); font-weight: 600; font-size: 15px; letter-spacing: -0.015em; text-decoration: none; line-height: 1.2; }
.nav-links { list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--white); text-decoration: none; }
.nav-links .btn { background: var(--white); color: var(--bg); }
.menu-btn { background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--white); flex: 0 0 auto; }
.menu-btn svg { width: 24px; height: 24px; display: block; }
/* mobile menu */
.nav-links {
  position: absolute; top: 52px; left: 0; right: 0; display: none; flex-direction: column;
  background: var(--bg); border-bottom: 1px solid var(--line-light); padding: 4px var(--gutter) 18px;
}
.nav-links.open { display: flex; }
.nav-links li a { display: block; padding: 13px 0; font-size: 19px; font-weight: 600; border-bottom: 1px solid var(--line-light); }
.nav-links li:last-child a { border: 0; margin-top: 14px; text-align: center; font-size: 16px; }
@media (min-width: 820px) {
  .nav-inner { height: 56px; }
  .brand { font-size: 16px; }
  .menu-btn { display: none; }
  .nav-links { position: static; display: flex; flex-direction: row; align-items: center; gap: 28px; background: none; border: 0; padding: 0; }
  .nav-links a { font-size: 14px; }
  .nav-links a:hover { text-decoration: underline; }
  .nav-links li a, .nav-links li:last-child a { padding: 0; border: 0; margin: 0; font-size: 14px; font-weight: 400; }
  .nav-links li:last-child a { padding: 7px 16px; min-height: 0; font-weight: 600; }
}

/* ---------- Hero ---------- */
.hero { padding: 28px 0 36px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: center; }
.eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 10px; }
.hero h1 { font-size: clamp(34px, 9vw, 72px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 700; margin: 0; }
.intro { font-size: 17px; line-height: 1.5; margin: 14px 0 0; max-width: 42ch; letter-spacing: -0.015em; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
/* Stats with count-up */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid var(--line-light); max-width: 520px; }
.stats li { padding: 14px 6px 0; text-align: left; }
.stats li + li { border-left: 1px solid var(--line-light); padding-left: 12px; }
.stat-num { display: block; font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat-label { display: block; font-size: 12px; font-weight: 500; line-height: 1.3; margin-top: 4px; }
@media (min-width: 860px) {
  .hero { padding: 72px 0 80px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 40px; }
  .eyebrow { font-size: 14px; margin-bottom: 14px; }
  .intro { font-size: 20px; margin-top: 22px; }
  .cta-row { gap: 14px; margin-top: 30px; }
  .stats { margin-top: 34px; }
  .stats li { padding-top: 18px; }
  .stats li + li { padding-left: 20px; }
  .stat-num { font-size: 44px; }
  .stat-label { font-size: 14px; }
}

/* ---------- Glowbot ---------- */
/* Mobile: robot on the left, speech bubble on the right. Desktop: bubble above robot. */
.bot-wrap { display: flex; flex-direction: row; align-items: center; gap: 10px; }
.bot { order: -1; flex: 0 0 auto; width: 132px; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 28px; user-select: none; -webkit-user-select: none; }
.bot svg { width: 100%; height: auto; overflow: visible; display: block; }
.bot-talk { flex: 1 1 auto; min-width: 0; }
.bubble {
  position: relative; background: var(--white); color: var(--ink); font-size: 14px; line-height: 1.4; font-weight: 500;
  padding: 12px 14px; border-radius: 18px; margin: 0; box-shadow: var(--shadow); transition: transform .2s ease; min-height: 62px;
}
.bubble::after { content: ""; position: absolute; left: -7px; top: 50%; width: 16px; height: 16px; background: var(--white); transform: translateY(-50%) rotate(45deg); border-radius: 3px; }
.bubble.pop { transform: scale(1.04); }
.bubble p { margin: 0; }
.bubble strong { color: var(--accent); }
.bubble .b-cat { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 2px; }
.bubble .b-name { display: block; font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.015em; line-height: 1.25; }
.bubble .b-tag { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 600; color: var(--accent); background: var(--second-2); padding: 2px 8px; border-radius: 980px; }
.bubble .b-book { display: inline-flex; margin-top: 8px; min-height: 36px; padding: 6px 14px; font-size: 13px; }
.bubble .b-count { display: block; font-size: 11px; color: var(--muted); margin-top: 6px; }
.bot-hint { font-size: 11px; margin: 8px 2px 0; opacity: 1; }
@media (min-width: 860px) {
  .bot-wrap { flex-direction: column; gap: 0; }
  .bot { order: 0; width: min(290px, 100%); }
  .bot-talk { display: contents; }
  .bubble { order: 0; font-size: 15px; padding: 14px 18px; border-radius: 20px; max-width: 300px; text-align: center; margin-bottom: 14px; }
  .bubble::after { left: 50%; top: auto; bottom: -8px; transform: translateX(-50%) rotate(45deg); }
  .bot { order: 1; }
  .bot-hint { order: 2; font-size: 12px; margin-top: 8px; text-align: center; }
}
.bot .float { animation: float 5s ease-in-out infinite; }
.bot .eye { transform-box: fill-box; transform-origin: center; }
.bot.blink .eye { animation: blink .22s ease; }
.bot .pupil { transition: transform .12s ease-out; }
.bot .arm-wave { transform-box: fill-box; transform-origin: 50% 100%; }
.bot.wave .arm-wave { animation: wave .9s ease; }
.bot .cheek { transition: opacity .3s; opacity: .55; }
.bot.happy .cheek { opacity: 1; }
.bot .sparkle { opacity: 0; transform-box: fill-box; transform-origin: center; }
.bot.happy .sparkle { animation: sparkle 1s ease; }
.bot .antenna-tip { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-in-out infinite; }
.bot:active svg { transform: scale(.97); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes blink { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.1); } }
@keyframes wave { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-22deg); } 50% { transform: rotate(10deg); } 75% { transform: rotate(-16deg); } }
@keyframes sparkle { 0% { opacity: 0; transform: scale(.3); } 40% { opacity: 1; transform: scale(1.1); } 100% { opacity: 0; transform: scale(.6) translateY(-10px); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }

/* ---------- Sections ---------- */
section { scroll-margin-top: 56px; }
.section { padding: 44px 0; }
.section.light { background: var(--second); }
.hero + .section { padding-top: 8px; }
.section-head { text-align: center; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(28px, 7.5vw, 52px); line-height: 1.08; letter-spacing: -0.03em; margin: 0; font-weight: 700; }
.section-head p { font-size: 15px; max-width: 46ch; margin: 8px auto 0; }
@media (min-width: 700px) {
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head p { font-size: 19px; margin-top: 14px; }
}

/* ---------- Services (tabs) ---------- */
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin: 0 auto 14px; max-width: 760px; background: rgba(255, 255, 255, 0.16); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line-light); }
.tabs button {
  font: inherit; font-size: 14px; font-weight: 600; color: var(--white); background: transparent; border: 0; cursor: pointer;
  padding: 10px 8px; min-height: 44px; border-radius: 13px; transition: background .2s, color .2s; line-height: 1.2;
}
.tabs button .count { display: inline-block; font-size: 11px; font-weight: 700; margin-left: 4px; padding: 1px 7px; border-radius: 980px; background: rgba(255, 255, 255, 0.22); }
.tabs button[aria-selected="true"] { background: var(--white); color: var(--bg); box-shadow: 0 2px 10px rgba(80, 0, 30, 0.2); }
.tabs button[aria-selected="true"] .count { background: var(--second); color: var(--accent); }
.no-js .tabs { display: none; }
@media (min-width: 700px) { .tabs { grid-template-columns: repeat(4, 1fr); border-radius: 980px; margin-bottom: 22px; } .tabs button { border-radius: 980px; font-size: 15px; } }

.svc-panel { max-width: 760px; margin: 0 auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.svc-panel[hidden] { display: none; }
.svc-panel:focus-visible { outline-color: var(--white); }
.no-js .svc-panel + .svc-panel { margin-top: 16px; }
.svc-head { padding: 16px 18px 12px; border-bottom: 1px solid var(--line); }
.svc-head h3 { font-size: 20px; margin: 0; letter-spacing: -0.02em; }
.svc-head p { font-size: 14px; margin: 2px 0 0; color: var(--ink-2); }
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.svc-list li:last-child { border-bottom: 0; }
.svc-list h4 { font-size: 16px; letter-spacing: -0.015em; margin: 0; line-height: 1.3; }
.svc-list p { margin: 2px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.tag { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 600; color: var(--accent); background: var(--second-2); padding: 2px 9px; border-radius: 980px; box-shadow: inset 0 0 0 1px rgba(168, 8, 63, 0.25); }
.svc-list .btn { flex: 0 0 auto; min-height: 40px; padding: 8px 16px; font-size: 14px; }
.svc-note { font-size: 12.5px; text-align: center; max-width: 64ch; margin: 16px auto 0; line-height: 1.5; }
@media (min-width: 700px) {
  .svc-head { padding: 22px 28px 16px; }
  .svc-head h3 { font-size: 24px; }
  .svc-head p { font-size: 15px; }
  .svc-list li { padding: 18px 28px; gap: 18px; }
  .svc-list h4 { font-size: 18px; }
  .svc-list p { font-size: 15px; }
  .tag { font-size: 12px; }
  .svc-list .btn { font-size: 15px; padding: 9px 20px; }
  .svc-note { font-size: 14px; margin-top: 24px; }
}

/* ---------- Booking ---------- */
.booking { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; max-width: 760px; margin: 0 auto; }
.booking-aside { display: none; }
.card { background: var(--second); color: var(--ink); border-radius: var(--radius-lg); padding: 20px 16px; box-shadow: var(--shadow); }
.card a { color: var(--accent); }
.card.glass { background: rgba(255, 255, 255, 0.12); color: var(--white); box-shadow: inset 0 0 0 1px var(--line-light); }
.card.glass a { color: var(--white); }
.card h3 { font-size: 24px; letter-spacing: -0.025em; margin: 0 0 8px; line-height: 1.15; }
.steps { list-style: none; padding: 0; margin: 20px 0 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin-bottom: 18px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 30px; height: 30px; border-radius: 50%; background: var(--white); color: var(--bg); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.steps strong { display: block; }
.small { font-size: 13px; margin: 12px 0 0; }
@media (min-width: 900px) {
  .booking { grid-template-columns: 1fr 1.35fr; max-width: none; gap: 24px; }
  .booking-aside { display: block; position: sticky; top: 80px; }
  .card { padding: 32px; }
}

.form-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field label, .field legend { font-size: 13px; font-weight: 600; color: var(--ink-2); padding: 0; }
.hint { font-size: 12px; color: var(--muted); font-weight: 400; }
input, select, textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--white); /* 16px stops iOS zooming in */
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 13px; width: 100%; min-height: 48px;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; margin: 0;
}
input[type="date"] { display: block; min-width: 0; line-height: 22px; }
input[type="date"]::-webkit-date-and-time-value { text-align: left; min-height: 22px; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a8083f' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
textarea { min-height: 72px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--bg); box-shadow: 0 0 0 4px rgba(227, 11, 92, 0.22); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--error); }
.err { color: var(--error); font-size: 13px; font-weight: 500; }
.err:empty { display: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.times label { font-weight: 500; font-size: 14px; color: var(--ink); cursor: pointer; }
.times input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.times span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 4px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); transition: all .2s; }
.times input:checked + span { background: var(--bg); color: #fff; border-color: var(--bg); }
.times input:focus-visible + span { box-shadow: 0 0 0 3px var(--ink); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.check input { width: 24px; height: 24px; min-height: 0; flex: 0 0 24px; padding: 0; margin-top: 0; border-radius: 7px; background: var(--white); border: 1.5px solid var(--muted); cursor: pointer; }
.check input:checked { background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='M1 5l4 4 8-8' stroke='white' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center; border-color: var(--bg); }
.hp { display: none; }
.consult-note { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink); background: var(--second-2); border-left: 3px solid var(--bg); border-radius: 8px; padding: 10px 12px; }
.consult-note[hidden] { display: none; }
.submit { width: 100%; margin-top: 14px; min-height: 52px; font-size: 17px; }
.submit[disabled] { opacity: .6; cursor: progress; }
.form-foot { font-size: 12px; color: var(--muted); margin: 12px 0 0; line-height: 1.5; }
.form-status { margin: 12px 0 0; font-size: 14px; font-weight: 500; color: var(--error); }
.form-status:empty { display: none; }
.success { text-align: center; padding: 20px 4px; }
.success .tick { width: 60px; height: 60px; border-radius: 50%; background: var(--bg); color: #fff; display: grid; place-items: center; margin: 0 auto 14px; }
.success .tick svg { width: 28px; height: 28px; }
.success p { color: var(--ink-2); margin: 0 auto; max-width: 38ch; }
@media (min-width: 560px) {
  .form-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .field.full { grid-column: 1 / -1; }
}

/* ---------- About ---------- */
.about { text-align: center; max-width: 760px; margin: 0 auto; }
.about blockquote { margin: 0; font-size: 17px; line-height: 1.45; letter-spacing: -0.015em; font-weight: 500; }
.about blockquote p { margin: 0; }
.about blockquote strong { color: var(--accent); font-weight: 600; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 22px auto 0; max-width: 900px; text-align: center; }
.values div { padding: 14px 8px; background: var(--white); border-radius: var(--radius-md); }
.values h3 { font-size: 14px; margin: 0; letter-spacing: -0.015em; line-height: 1.25; }
.values p { display: none; margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }
@media (min-width: 700px) {
  .about blockquote { font-size: clamp(22px, 2.8vw, 30px); line-height: 1.32; }
  .values { gap: 16px; margin-top: 44px; }
  .values div { padding: 24px 18px; }
  .values h3 { font-size: 20px; }
  .values p { display: block; }
}

/* ---------- Footer ---------- */
.footer { background: var(--white); color: var(--ink-2); font-size: 11.5px; line-height: 1.55; padding: 22px 0 calc(26px + env(safe-area-inset-bottom)); letter-spacing: -0.01em; }
.footer a { color: var(--ink); }
.footer :focus-visible { outline-color: var(--ink); }
.footer .foot-top { padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.footer .foot-links { display: flex; flex-wrap: wrap; gap: 4px 14px; list-style: none; padding: 0; margin: 10px 0; }
.footer .foot-links a { display: inline-block; padding: 4px 0; }
.footer p { margin: 0 0 6px; }
.footer .socials { display: flex; gap: 10px; margin-top: 10px; }
.footer .socials a { width: 40px; height: 40px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; color: var(--white); }
.footer .socials svg { width: 18px; height: 18px; }
@media (min-width: 700px) { .footer { font-size: 12px; padding-top: 30px; } }

/* ---------- Legal pages ---------- */
.legal-wrap { padding: 16px 10px 48px; }
.legal { max-width: 820px; margin: 0 auto; padding: 26px 18px 32px; background: var(--second); color: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow); font-size: 15px; }
.legal a { color: var(--accent); overflow-wrap: anywhere; }
.legal :focus-visible { outline-color: var(--ink); }
.legal h1 { font-size: clamp(28px, 7vw, 46px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 6px; }
.legal .updated { color: var(--muted); font-size: 13px; margin: 0 0 24px; }
.legal h2 { font-size: 20px; letter-spacing: -0.02em; margin: 32px 0 8px; }
.legal h3 { font-size: 16px; margin: 20px 0 4px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; }
.legal th, .legal td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--second-2); font-weight: 600; color: var(--ink); }
.legal .box { background: var(--second-2); border-radius: var(--radius-md); padding: 16px; margin: 16px 0; }
.legal .box p { margin: 4px 0; }
.table-scroll { overflow-x: auto; }
@media (min-width: 700px) {
  .legal-wrap { padding: 56px 16px 96px; }
  .legal { padding: 56px 56px 64px; font-size: 17px; }
  .legal h2 { font-size: 24px; margin-top: 42px; }
  .legal h3 { font-size: 18px; }
  .legal table { font-size: 15px; }
  .legal .box { padding: 20px 22px; }
}

/* 404 / thank-you */
.simple { text-align: center; padding: 72px 0; min-height: 60vh; }
.simple h1 { font-size: clamp(34px, 8vw, 64px); letter-spacing: -0.035em; line-height: 1.05; margin: 0; }
.simple p { font-size: 18px; margin: 14px auto 0; max-width: 40ch; }
.simple .cta-row { justify-content: center; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .bot .float, .bot .antenna-tip { animation: none; }
  * { transition-duration: 0s !important; }
}
