/* Content pages, Violet hour look. Built by tools/build_pages.py: edit there. Tokens copied from site/d1/style.css. */
:root {
  color-scheme: dark;
  --ground: #0b0a10;
  --ground-0: rgba(11, 10, 16, 0);
  --head-bg: #0c0b11;
  --text: #f3f1f8;
  --text-2: #aca8bb;
  --text-3: #908ca1;
  --line: rgba(222, 212, 255, .12);
  --line-2: rgba(222, 212, 255, .2);
  --panel: rgba(17, 15, 25, .82);
  --panel-solid: #13121a;
  --faq-bg: rgba(11, 10, 16, .6);
  --accent: #bba8ff;
  --accent-line: #a48cff;
  --mark: #c4b2ff;
  --tick: #a99dd6;
  --btn: #f3f1f8;
  --btn-text: #13111a;
  --btn-hover: #ffffff;
  --ghost-line: rgba(222, 212, 255, .3);
  --ghost-hover: rgba(187, 168, 255, .1);
  --bar-track: rgba(255, 255, 255, .06);
  --bar-them: #6e6a7a;
  --bar-us: #bba8ff;
  --key-line: rgba(187, 168, 255, .5);
  --input-bg: #0b0a10;
  --placeholder: #7c778f;
  --focus-ring: rgba(187, 168, 255, .24);
  --menu-bg: #0c0b11;
  --device: #1b1a21;
  --device-2: #16151b;
  --device-line: rgba(255, 255, 255, .14);
  --device-line-2: rgba(255, 255, 255, .18);
  --deck: linear-gradient(180deg, #4b4a55 0%, #2b2a31 40%, #17161b 100%);
  --deck-notch: #17161b;
  --tile-0: #2b2933;
  --tile-1: #bcb8c8;
  --tile-2: #6f6b7c;
  --tile-3: #a78bfa;
  --shadow-a: rgba(0, 0, 0, .9);
  --shadow-b: rgba(0, 0, 0, .95);
  --ico: #d9ccff;
  --ico-bg: linear-gradient(145deg, rgba(139, 92, 246, .3), rgba(139, 92, 246, .08));
  --ico-line: rgba(196, 181, 253, .24);
  --ico-glow: rgba(139, 92, 246, .5);
  --backdrop: radial-gradient(40% 44% at 73% 44%, rgba(134, 100, 255, .2), rgba(134, 100, 255, 0) 70%), radial-gradient(70% 40% at 55% 112%, rgba(86, 58, 196, .09), rgba(86, 58, 196, 0) 70%), linear-gradient(180deg, #09080e 0%, #0c0b12 50%, #121019 100%);
}
:root[data-look="light"] {
  color-scheme: light;
  --ground: #f4f2f9;
  --ground-0: rgba(244, 242, 249, 0);
  --head-bg: #f7f5fb;
  --text: #15121f;
  --text-2: #4d4860;
  --text-3: #6b667e;
  --line: rgba(40, 28, 90, .12);
  --line-2: rgba(40, 28, 90, .2);
  --panel: rgba(255, 255, 255, .82);
  --panel-solid: #ffffff;
  --faq-bg: rgba(255, 255, 255, .55);
  --accent: #6d3fe0;
  --accent-line: #8b5cf6;
  --mark: #8b5cf6;
  --tick: #6d3fe0;
  --btn: #15121f;
  --btn-text: #ffffff;
  --btn-hover: #2c2640;
  --ghost-line: rgba(21, 18, 31, .26);
  --ghost-hover: rgba(109, 63, 224, .07);
  --bar-track: rgba(21, 18, 31, .07);
  --bar-them: #b7b2c6;
  --bar-us: #6d3fe0;
  --key-line: rgba(109, 63, 224, .45);
  --input-bg: #ffffff;
  --placeholder: #8f8aa0;
  --focus-ring: rgba(109, 63, 224, .2);
  --menu-bg: #f7f5fb;
  --device: #24212c;
  --device-2: #1f1c26;
  --device-line: rgba(0, 0, 0, .16);
  --device-line-2: rgba(0, 0, 0, .2);
  --deck: linear-gradient(180deg, #d4d0dd 0%, #aea9bc 40%, #928da2 100%);
  --deck-notch: #827d93;
  --tile-0: #e3e0ec;
  --tile-1: #3b3552;
  --tile-2: #8b85a0;
  --tile-3: #8b5cf6;
  --shadow-a: rgba(40, 28, 90, .32);
  --shadow-b: rgba(40, 28, 90, .36);
  --ico: #6d3fe0;
  --ico-bg: linear-gradient(145deg, rgba(139, 92, 246, .16), rgba(139, 92, 246, .05));
  --ico-line: rgba(109, 63, 224, .18);
  --ico-glow: rgba(139, 92, 246, .22);
  --backdrop: radial-gradient(50% 50% at 73% 44%, rgba(139, 92, 246, .13), rgba(139, 92, 246, 0) 70%), radial-gradient(60% 45% at 15% 90%, rgba(139, 92, 246, .06), rgba(139, 92, 246, 0) 70%), linear-gradient(180deg, #f7f5fb 0%, #f1eef8 55%, #e9e5f3 100%);
  --tld: #6b6480;
}
/* ---------- base (fonts and sizes match site/d1) ---------- */
:root { --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif; --f-text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace; --head-h: 64px; --radius: 14px; --max: 1200px;
  --il-bg: #15131d; --il-line: #5a5470; --il-ink: #2a2638; --il-dim: #1c1a26; --il-accent: #8b5cf6; --il-accent-2: #c4b5fd; --il-glow: #8b5cf6; --il-go: .55;
  --todo: rgba(255, 214, 102, .22); }
:root[data-look="light"] { --il-bg: #ffffff; --il-line: #ab9fd2; --il-ink: #e0d7f5; --il-dim: #f1edfb; --il-accent: #7444e8; --il-accent-2: #a687f7; --il-glow: #a78bfa; --il-go: .5;
  --todo: #fff1b8; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--text); font: 400 18px/1.6 var(--f-text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
.inner { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.backdrop { position: fixed; inset: 0; z-index: -1; background: var(--backdrop); pointer-events: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--btn); color: var(--btn-text); padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
[id] { scroll-margin-top: calc(var(--head-h) + 16px); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--btn); color: var(--btn-text); text-decoration: none; font: 600 16px/1 var(--f-text); border: 1px solid var(--btn); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--ghost-line); }
.btn-ghost:hover { background: var(--ghost-hover); border-color: var(--ghost-line); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; white-space: nowrap; }
.eyebrow { font: 500 13px/1.45 var(--f-mono); letter-spacing: .04em; color: var(--accent); text-transform: uppercase; }
.display { font-family: var(--f-display); font-weight: 680; font-stretch: 118%; letter-spacing: -.032em; line-height: .98; color: var(--text); }
.h2 { font-family: var(--f-display); font-weight: 650; font-stretch: 112%; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.04; letter-spacing: -.026em; text-wrap: balance; }
.intro { margin-top: 18px; font-size: 19px; color: var(--text-2); max-width: 38em; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- icon tiles (same as D1 feature icons) ---------- */
.ico { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ico-bg);
  border: 1px solid var(--ico-line); box-shadow: 0 8px 26px -14px var(--ico-glow); color: var(--ico); }
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico-sm { width: 30px; height: 30px; border-radius: 9px; } .ico-sm svg { width: 17px; height: 17px; }
.ico-lg { width: 56px; height: 56px; border-radius: 15px; } .ico-lg svg { width: 28px; height: 28px; }
.ico-inline { display: inline-block; vertical-align: -3px; } .ico-inline svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.motion .ico path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s cubic-bezier(.3,.7,.2,1); }
.motion .ico.drawn path, .motion .site-head .ico path, .motion .mob-book .ico path { stroke-dashoffset: 0; }

/* ---------- illustrations: colours from tokens; attributes fill/stroke="none" win ---------- */
.art svg { width: 100%; height: 100%; }
.art .il-bg { fill: var(--il-bg); stroke: var(--il-bg); } .art .il-line { fill: var(--il-line); stroke: var(--il-line); }
.art .il-ink { fill: var(--il-ink); stroke: var(--il-ink); } .art .il-dim { fill: var(--il-dim); stroke: var(--il-dim); }
.art .il-accent { fill: var(--il-accent); stroke: var(--il-accent); } .art .il-accent-2 { fill: var(--il-accent-2); stroke: var(--il-accent-2); }
.art .il-glow { fill: var(--il-glow); stroke: none; opacity: var(--il-go); }
.art [fill="none"] { fill: none; } .art [stroke="none"] { stroke: none; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 20; background: var(--head-bg); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 14px; height: var(--head-h); }
.brand { font-family: var(--f-display); font-weight: 700; font-stretch: 118%; font-size: 21px; letter-spacing: -.02em; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.brand [data-brand-tld] { color: var(--text-2); }
.brand-mark { width: 26px; height: 26px; margin-right: 9px; }
.on-light { display: none; } :root[data-look="light"] .on-light { display: block; } :root[data-look="light"] .on-dark { display: none; }
.look-toggle g.on-light, .look-toggle g.on-dark { display: none; }
:root:not([data-look="light"]) .look-toggle g.on-dark, :root[data-look="light"] .look-toggle g.on-light { display: inline; }
.menu { margin-left: auto; }
.menu > summary { list-style: none; display: none; cursor: pointer; width: 44px; height: 44px; place-items: center; border-radius: 10px; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.menu nav { display: flex; gap: 2px; }
.menu nav a { text-decoration: none; font: 500 14.5px/1 var(--f-text); color: var(--text-2); padding: 12px 10px; border-radius: 8px; transition: color .2s; }
.menu nav a:hover, .menu nav a[aria-current] { color: var(--text); }
.menu nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.menu .menu-book { display: none; }
.look-toggle { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: none; border: 1px solid var(--line); color: var(--text-2); cursor: pointer; }
.look-toggle:hover { color: var(--text); border-color: var(--line-2); }
.look-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1080px) {
  .menu > summary { display: grid; }
  .menu nav { display: none; }
  .menu[open] nav { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: var(--head-h); background: var(--menu-bg); border-bottom: 1px solid var(--line);
    padding: 8px max(20px, env(safe-area-inset-left, 0px)) 18px; gap: 0; box-shadow: 0 24px 40px -24px rgba(0,0,0,.5); }
  .menu[open] nav a { padding: 15px 4px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
  .menu[open] .menu-book { display: flex; justify-content: center; margin-top: 14px; border: 0; background: var(--btn); color: var(--btn-text); border-radius: 999px; font-weight: 600; }
  .menu { order: 3; margin-left: 0; } .look-toggle { margin-left: auto; }
}
@media (max-width: 520px) { .head-book { display: none; } }

/* ---------- page hero ---------- */
.page-hero { padding-top: 22px; padding-bottom: 36px; }
.crumbs { font: 500 13px/1.4 var(--f-mono); color: var(--text-3); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--text-2); text-decoration: none; } .crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 34ch; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); gap: 48px; align-items: center; margin-top: 28px; }
.page-h1 { font-size: clamp(38px, 4.6vw, 68px); margin-top: 14px; text-wrap: balance; }
.page-h1.len-m { font-size: clamp(36px, 3.9vw, 56px); line-height: 1; }
.page-h1.len-l { font-size: clamp(32px, 3.2vw, 46px); line-height: 1.04; letter-spacing: -.026em; }
.eyebrow time { white-space: nowrap; }
.lede { margin-top: 22px; font-size: 19.5px; color: var(--text-2); max-width: 34em; }
.lede a { color: var(--accent); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { margin: 0; aspect-ratio: 560 / 400; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 80px -50px var(--ico-glow); }
.motion .hero-art { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.98); } }
/* the glow behind each picture breathes slowly, like the home page */
.motion .hero-art .il-glow { animation: breathe 6s ease-in-out 1s infinite alternate; }
@keyframes breathe { from { opacity: var(--il-go); } to { opacity: calc(var(--il-go) * .55); } }
/* reading progress: a thin violet line under the header on long pages */
.read-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.read-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-line), var(--accent)); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; margin-top: 18px; }
  .hero-art { order: -1; }
  .page-h1, .page-h1.len-m { font-size: clamp(34px, 9vw, 48px); }
  .page-h1.len-l { font-size: clamp(30px, 7.8vw, 40px); }
  .lede { font-size: 18px; }
}

/* ---------- article ---------- */
.doc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: start; padding-top: 10px; }
.doc { min-width: 0; max-width: 46rem; }
.doc > p, .doc .sec p, .doc li { color: var(--text-2); }
.doc p + p, .doc p + ul, .doc ul + p, .doc p + ol, .doc ol + p, .doc .table-wrap + p, .doc p + .table-wrap { margin-top: 16px; }
.doc strong { color: var(--text); font-weight: 600; }
.doc a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.doc a:hover { text-decoration-thickness: 2px; }
.doc ul, .doc ol { padding-left: 1.3em; margin: 14px 0 0; } .doc li + li { margin-top: 8px; } .doc li::marker { color: var(--accent); }
.doc h3 { font: 600 20px/1.3 var(--f-text); letter-spacing: -.01em; color: var(--text); margin: 30px 0 10px; }
.sec { padding-top: 48px; }
.sec-h { display: flex; align-items: flex-start; gap: 16px; font-family: var(--f-display); font-weight: 650; font-stretch: 110%; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -.022em; margin-bottom: 18px; text-wrap: balance; }
.sec-h .ico { margin-top: -2px; }
.book-link { font-weight: 600; background: linear-gradient(transparent 62%, var(--ghost-hover) 62%); }
mark.todo { background: var(--todo); color: var(--text); padding: 1px 5px; border-radius: 4px; font-size: .92em; }
.table-wrap { overflow-x: auto; margin-top: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.doc table { border-collapse: collapse; width: 100%; font-size: 15.5px; min-width: 520px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.doc th { font: 600 13px/1.4 var(--f-mono); letter-spacing: .03em; color: var(--text); background: var(--ghost-hover); }
.doc tr:last-child td { border-bottom: 0; }

/* booking panels */
.book-panel { display: flex; gap: 20px; margin: 48px 0 0; padding: 26px; border-radius: 20px; position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 100% 0%, rgba(139,92,246,.22), transparent 55%), var(--panel); border: 1px solid var(--key-line); }
.bp-h { font-family: var(--f-display); font-weight: 650; font-stretch: 110%; font-size: 24px; line-height: 1.15; letter-spacing: -.02em; margin-top: 6px; text-wrap: balance; }
.book-panel p:not(.eyebrow) { margin-top: 10px; color: var(--text-2); font-size: 16.5px; }
.bp-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.book-panel .btn { text-decoration: none; color: var(--btn-text); } .book-panel .btn-ghost { color: var(--text); }
@media (max-width: 560px) { .book-panel { flex-direction: column; padding: 22px 18px; } .bp-btns .btn { flex: 1 1 100%; } }

/* faq + sources */
.qa { border-top: 1px solid var(--line); } .qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 2px; font: 600 18px/1.35 var(--f-text); color: var(--text); }
.qa summary::-webkit-details-marker { display: none; }
.qa-plus { flex: none; width: 22px; height: 22px; position: relative; margin-top: 2px; }
.qa-plus::before, .qa-plus::after { content: ""; position: absolute; left: 4px; right: 4px; top: 10px; height: 2px; background: var(--accent); border-radius: 2px; transition: transform .25s; }
.qa-plus::after { transform: rotate(90deg); } .qa[open] .qa-plus::after { transform: rotate(0); }
.qa > div { padding: 0 2px 20px; color: var(--text-2); }
.sources { margin-top: 40px; font-size: 15px; color: var(--text-3); border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; }
.sources summary { cursor: pointer; padding: 12px 0; font: 500 13px/1.4 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); }
.sources ul { margin-bottom: 14px; } .sources li { color: var(--text-3); }

/* side column */
.doc-side { position: relative; height: 100%; }
.side-sticky { position: sticky; top: calc(var(--head-h) + 28px); padding-top: 48px; }
.side-h { font: 500 12px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.toc { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 1px solid var(--line); font-size: 14.5px; line-height: 1.4; }
.toc li + li { margin-top: 10px; }
.toc a { color: var(--text-2); text-decoration: none; display: block; transition: color .2s; }
.toc a:hover, .toc a.on { color: var(--text); } .toc a.on { box-shadow: -15px 0 0 -13px var(--accent); }
.side-book { margin-top: 28px; padding: 20px; border-radius: 16px; background: radial-gradient(120% 120% at 100% 0%, rgba(139,92,246,.24), transparent 60%), var(--panel); border: 1px solid var(--key-line); }
.sb-h { font-family: var(--f-display); font-weight: 650; font-stretch: 110%; font-size: 20px; margin-top: 14px; }
.side-book p:not(.sb-h) { margin-top: 6px; font-size: 14.5px; color: var(--text-2); line-height: 1.45; }
.side-book .btn { margin-top: 14px; width: 100%; }
.sb-wa { display: block; text-align: center; margin-top: 10px; font-size: 14px; color: var(--text-2); }
@media (max-width: 1000px) { .doc-grid { grid-template-columns: 1fr; } .doc-side { display: none; } .doc { max-width: none; } }

/* end banner */
.book-end { position: relative; overflow: hidden; margin-top: 80px; padding: clamp(28px, 5vw, 60px); border-radius: 26px; border: 1px solid var(--key-line);
  background: linear-gradient(160deg, rgba(139,92,246,.2), transparent 60%), var(--panel); }
.be-glow { position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(closest-side, var(--ico-glow), transparent); pointer-events: none; }
.book-end .h2 { margin-top: 12px; max-width: 18em; position: relative; }
.be-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 12px 26px; color: var(--text-2); font-size: 16px; }
.be-list li { display: flex; align-items: center; gap: 10px; }
.book-end .bp-btns { margin-top: 28px; }
@media (max-width: 560px) { .book-end .bp-btns .btn { flex: 1 1 100%; } }

/* cards */
.related { margin-top: 80px; }
.rel-h { margin: 64px 0 24px; } .related .rel-h { margin-top: 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; text-decoration: none; border-radius: 18px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: transform .3s, border-color .3s; }
.card:hover { transform: translateY(-4px); border-color: var(--key-line); }
.card-art { aspect-ratio: 560 / 300; overflow: hidden; border-bottom: 1px solid var(--line); }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font: 600 19px/1.3 var(--f-text); letter-spacing: -.01em; margin-top: 8px; text-wrap: balance; }
.card-body p:not(.eyebrow) { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-more { margin-top: auto; padding-top: 14px; font: 600 14.5px/1 var(--f-text); color: var(--accent); display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* ---------- booking page ---------- */
.book-grid { align-items: start; }
.steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 22px; }
.steps li { display: flex; gap: 16px; } .steps h3 { font: 600 18px/1.3 var(--f-text); }
.steps p { margin-top: 4px; color: var(--text-2); font-size: 16px; }
.book-form { padding: clamp(20px, 3vw, 32px); position: sticky; top: calc(var(--head-h) + 20px); border-color: var(--key-line); box-shadow: 0 40px 90px -60px var(--ico-glow); }
.bf-h { font-family: var(--f-display); font-weight: 650; font-stretch: 110%; font-size: 24px; letter-spacing: -.02em; }
.fld { display: grid; gap: 7px; margin-top: 18px; border: 0; padding: 0; min-width: 0; }
.fld > span, .fld legend { font: 500 14px/1.3 var(--f-text); color: var(--text-2); padding: 0; }
.fld legend { margin-bottom: 8px; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--input-bg); color: var(--text); font: 400 16px/1.4 var(--f-text); }
.fld textarea { resize: vertical; }
.fld input::placeholder, .fld textarea::placeholder { color: var(--placeholder); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--accent-line); box-shadow: 0 0 0 4px var(--focus-ring); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14.5px; color: var(--text-2); cursor: pointer; transition: all .2s; }
.chip input:checked + span { background: var(--ghost-hover); border-color: var(--accent-line); color: var(--text); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.bf-btn { width: 100%; margin-top: 24px; }
.bf-note { margin-top: 14px; font-size: 13.5px; color: var(--text-3); text-align: center; } .bf-note a { color: var(--accent); }
.bf-done { margin-top: 10px; } .bf-done p { margin-top: 8px; color: var(--text-2); }
.hp { position: absolute; left: -9999px; }
@media (max-width: 860px) { .book-form { position: static; } }
.stub { min-height: 50vh; }

/* ---------- footer + phone booking bar ---------- */
.site-foot { margin-top: 96px; border-top: 1px solid var(--line); padding: 48px 0 calc(110px + env(safe-area-inset-bottom, 0px)); font-size: 15px; color: var(--text-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 32px; }
.foot-grid p { margin-top: 10px; } .foot-grid a { color: var(--text-2); }
.foot-grid nav a { display: block; text-decoration: none; padding: 5px 0; } .foot-grid nav a:hover { color: var(--text); }
.foot-book .btn { margin-top: 14px; color: var(--btn-text); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 861px) { .site-foot { padding-bottom: 48px; } }
.mob-book { display: none; }
@media (max-width: 860px) {
  .mob-book { display: flex; gap: 10px; position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; padding: 10px max(14px, env(safe-area-inset-left, 0px)) calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--head-bg); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
  .mob-book.show { transform: none; }
  .mob-book .btn { flex: 1; }
  .mb-wa { display: grid; place-items: center; width: 48px; flex: none; }
  .mb-wa .ico { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
