/* Fonts: Archivo (headings, buttons, labels) + Hanken Grotesk (body). Self-hosted, SIL OFL. */
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Taken from the Move Online reference page */
  --bg: #050406;
  --surface: #0D0A16;
  --card: #140E22;
  --card-hi: #2A1B45;
  --text: #F6F3FB;
  --muted: #A39BB6;
  --dim: #766E88;
  --lilac: #CDBFF5;
  --violet: #8B5CF6;
  --pink: #D570F0;
  --line: rgba(255,255,255,.10);
  --line-soft: rgba(255,255,255,.07);
  --line-accent: rgba(213,112,240,.32);
  --danger: #FF7A8A;
  --danger-bg: rgba(255,92,112,.10);
  --grad-text: linear-gradient(100deg, #A855F7, #8B5CF6 45%, #D570F0);
  --grad-btn: linear-gradient(#A855F7, #7C3AED);
  --grad-key: linear-gradient(145deg, #8B5CF6, #7C3AED);
  --radius: 14px;
  --head: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 16px; line-height: 1.5;
  min-height: 100vh; display: flex; flex-direction: column; position: relative;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
button, input, select { font: inherit; color: inherit; }
a { color: var(--lilac); }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Background glow, as on the reference page */
.glows { position: absolute; top: 0; left: 0; right: 0; height: 1000px; overflow: hidden; pointer-events: none; z-index: 0; }
.glow { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }
.glow.g1 { width: 620px; height: 620px; left: 50%; top: -300px; transform: translateX(-50%); background: radial-gradient(circle, rgba(139,92,246,.42), transparent 70%); }
.glow.g2 { width: 420px; height: 420px; right: -220px; top: 120px; background: radial-gradient(circle, rgba(213,112,240,.20), transparent 70%); }
.glow.g3 { width: 460px; height: 460px; left: -240px; top: 360px; background: radial-gradient(circle, rgba(124,58,237,.18), transparent 70%); }
.wrap, .foot { position: relative; z-index: 1; }

/* Header */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(5,4,6,.72); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.topbar-inner { position: relative; max-width: 520px; margin: 0 auto; padding: 16px 16px 14px; display: flex; align-items: center; justify-content: center; }
.logo { height: 13px; width: auto; display: block; }
.pct { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-family: var(--head); font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.bar { height: 3px; background: rgba(255,255,255,.09); }
.bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, #8B5CF6, #D570F0); border-radius: 0 100px 100px 0; transition: width .35s ease; box-shadow: 0 0 12px rgba(213,112,240,.55); }

/* Layout */
.wrap { flex: 1; width: 100%; max-width: 520px; margin: 0 auto; padding: 28px 16px 44px; outline: none; }
@media (min-width: 900px) { .wrap.wide, body.is-wide .topbar-inner, body.is-wide .foot { max-width: 880px; } }

/* Opening screen */
.intro { text-align: center; margin-bottom: 10px; }
.badge {
  display: table; margin: 4px auto 20px; font-family: var(--head); font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--pink);
  background: rgba(213,112,240,.06); border: 1px solid var(--line-accent); padding: 7px 14px; border-radius: 100px;
}
.headline {
  font-family: var(--head); color: #fff; font-size: clamp(28px, 7.8vw, 40px); line-height: 1.08; font-weight: 800;
  letter-spacing: -0.02em; margin: 0 auto 16px; max-width: 22ch; text-wrap: balance;
}
.hl { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lede { color: var(--muted); font-size: 17px; line-height: 1.5; margin: 0 auto 32px; max-width: 40ch; text-wrap: balance; text-align: center; }

/* Question */
.qmeta { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px; }
.qnum { font-family: var(--head); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--dim); }
.pill { font-family: var(--head); font-size: 11px; font-weight: 600; color: var(--lilac); background: rgba(139,92,246,.14); border: 1px solid rgba(139,92,246,.30); padding: 3px 10px; border-radius: 100px; }
.qtitle, .h2 { font-family: var(--head); color: #fff; font-weight: 800; letter-spacing: -0.02em; text-align: center; text-wrap: balance; outline: none; margin-left: auto; margin-right: auto; max-width: 22ch; }
.qtitle { font-size: 25px; line-height: 1.14; margin-top: 0; margin-bottom: 22px; }
.h2 { font-size: 28px; line-height: 1.1; margin-top: 0; margin-bottom: 26px; }

.options { display: grid; gap: 10px; }
.opt {
  width: 100%; min-height: 60px; display: flex; align-items: center; gap: 14px; text-align: left;
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 12px 16px 12px 12px;
  cursor: pointer; transition: border-color .15s, background .15s, transform .1s; font-size: 16px; font-weight: 600; color: var(--text);
}
.opt:hover { border-color: rgba(213,112,240,.40); background: #1A1230; }
.opt:active { transform: scale(.99); }
.opt[aria-pressed="true"] { border-color: rgba(213,112,240,.55); background: linear-gradient(160deg, var(--card-hi), var(--card) 70%); box-shadow: 0 0 30px -10px rgba(139,92,246,.6); }
.key {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; background: var(--grad-key); color: #fff;
  font-family: var(--head); font-size: 14px; font-weight: 800; display: grid; place-items: center;
  box-shadow: 0 6px 18px -6px rgba(139,92,246,.7);
}
.opt-text { flex: 1; }
.chev { color: var(--dim); font-size: 22px; line-height: 1; }
.back { display: flex; align-items: center; gap: 6px; margin: 20px auto 0; padding: 10px 4px; background: none; border: 0; color: var(--muted); font-weight: 600; cursor: pointer; }
.back:hover { color: #fff; }

.tick { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.22); display: grid; place-items: center; }
.opt[aria-pressed="true"] .tick { border-color: transparent; background: linear-gradient(145deg, #D570F0, #8B5CF6); }
.opt[aria-pressed="true"] .tick::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.btn.next { margin-top: 16px; }
.multi-err { text-align: center; margin-top: 12px; }

/* Forms */
.field { margin-bottom: 16px; }
.field > label { display: block; font-family: var(--head); font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.input {
  width: 100%; height: 52px; border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; font-size: 16px;
  background: var(--surface); color: #fff;
}
.input::placeholder { color: var(--dim); }
.input:focus { border-color: rgba(213,112,240,.55); outline: none; box-shadow: 0 0 0 3px rgba(139,92,246,.22); }
.field.has-error .input, .field.has-error .phone { border-color: var(--danger); }
.err { color: var(--danger); font-size: 14px; font-weight: 600; margin-top: 6px; }
.err:empty { display: none; }
.suggest { margin-top: 8px; font-size: 14px; }
.suggest button { background: rgba(139,92,246,.14); border: 1px solid rgba(139,92,246,.35); color: var(--lilac); border-radius: 10px; padding: 7px 11px; font-weight: 600; cursor: pointer; text-align: left; }
.suggest strong { color: #fff; }

.phone { display: flex; height: 52px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.phone:focus-within { border-color: rgba(213,112,240,.55); box-shadow: 0 0 0 3px rgba(139,92,246,.22); }
.field label.cc { position: relative; flex: 0 0 auto; display: flex; align-items: center; gap: 6px; margin: 0; padding: 0 10px 0 14px; border-right: 1px solid var(--line); background: var(--card); font-family: var(--body); font-size: 15px; font-weight: 600; line-height: 1; }
.cc select { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; font-size: 16px; }
.cc .flag { font-size: 20px; line-height: 1; }
.cc .caret { color: var(--dim); font-size: 10px; }
.phone .input { border: 0; height: 100%; box-shadow: none; flex: 1; min-width: 0; background: transparent; }

.btn {
  width: 100%; min-height: 58px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
  background: var(--grad-btn); color: #fff; font-family: var(--head); font-size: 18px; font-weight: 700; letter-spacing: -0.01em;
  cursor: pointer; padding: 15px 20px; margin-top: 6px;
  box-shadow: 0 12px 32px -8px rgba(139,92,246,.6), inset 0 1px 0 rgba(255,255,255,.28);
  transition: filter .15s, transform .1s;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .7; cursor: progress; }
.form-err { background: var(--danger-bg); border: 1px solid rgba(255,122,138,.35); color: var(--danger); border-radius: 12px; padding: 12px 14px; font-size: 15px; font-weight: 600; margin-bottom: 16px; text-align: center; }

/* Calendar step */
.cal { display: grid; gap: 14px; }
@media (min-width: 900px) { .cal { grid-template-columns: 300px 1fr; align-items: start; gap: 18px; } }
.panel { border: 1px solid var(--line-soft); border-radius: 18px; padding: 20px; background: var(--card); }
.panel.info { background: linear-gradient(160deg, var(--card-hi), var(--card) 60%); border-color: rgba(213,112,240,.28); }
.brandrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.brandrow img { width: 36px; height: 36px; border-radius: 10px; background: rgba(139,92,246,.16); padding: 5px; }
.brandrow span { font-family: var(--head); font-weight: 600; color: var(--muted); font-size: 14px; }
.calname { font-family: var(--head); color: #fff; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 10px; }
.meta { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 7px; color: var(--muted); font-size: 15px; font-weight: 500; }
.meta li { display: flex; align-items: center; gap: 8px; }
.meta svg { flex: 0 0 auto; color: var(--pink); }
.tzsel { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; background: var(--surface); color: #fff; font-size: 16px; }
.saved { margin-top: 14px; background: rgba(0,0,0,.28); border: 1px solid var(--line-soft); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--lilac); }
.saved strong { display: block; font-family: var(--head); color: var(--dim); margin-bottom: 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; }
.saved p { margin: 0; overflow-wrap: anywhere; }
.linkbtn { background: none; border: 0; padding: 8px 0 0; color: var(--pink); font-weight: 700; cursor: pointer; font-size: 14px; }

.pickhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pickhead h3 { margin: 0; font-family: var(--head); font-size: 17px; font-weight: 700; color: #fff; }
.monthnav { display: flex; align-items: center; gap: 6px; font-family: var(--head); font-weight: 600; font-size: 14px; color: var(--muted); }
.navbtn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: var(--card); color: #fff; cursor: pointer; font-size: 16px; }
.navbtn[disabled] { opacity: .3; cursor: default; }
.grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.dow { font-family: var(--head); font-size: 11px; font-weight: 600; color: var(--dim); padding: 4px 0; text-transform: uppercase; letter-spacing: .06em; }
.day { aspect-ratio: 1; max-height: 48px; border-radius: 10px; border: 0; background: none; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.22); }
.day.on { background: rgba(139,92,246,.16); color: #fff; cursor: pointer; font-weight: 800; border: 1px solid rgba(139,92,246,.30); }
.day.on:hover { background: rgba(139,92,246,.28); }
.day[aria-pressed="true"] { background: var(--grad-key); border-color: transparent; box-shadow: 0 6px 18px -6px rgba(139,92,246,.8); }
.times-head { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 10px; gap: 8px; }
.times-head h4 { margin: 0; font-family: var(--head); font-size: 15px; font-weight: 600; color: #fff; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 100px; overflow: hidden; padding: 2px; background: var(--surface); }
.seg button { border: 0; background: none; padding: 5px 11px; font-family: var(--head); font-size: 12px; font-weight: 600; cursor: pointer; color: var(--muted); border-radius: 100px; }
.seg button[aria-pressed="true"] { background: var(--violet); color: #fff; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.time { min-height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: #fff; font-weight: 700; cursor: pointer; font-size: 15px; }
.time:hover { border-color: rgba(213,112,240,.5); }
.time[aria-pressed="true"] { border-color: transparent; background: var(--grad-key); box-shadow: 0 6px 18px -6px rgba(139,92,246,.8); }
.confirm { margin-top: 14px; }
.notice { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 12px; padding: 12px 14px; font-size: 15px; margin-top: 12px; color: var(--lilac); }
.skeleton { height: 220px; border-radius: 12px; background: linear-gradient(90deg, var(--surface), var(--card-hi), var(--surface)); background-size: 200% 100%; animation: sk 1.2s infinite linear; }
@keyframes sk { to { background-position: -200% 0; } }

/* Footer */
.foot { max-width: 520px; width: 100%; margin: 0 auto; padding: 20px 16px 30px; border-top: 1px solid var(--line-soft); color: var(--dim); font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; text-align: center; }
.foot a { color: var(--dim); }

.fade { animation: fade .22s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fade, .skeleton { animation: none; } .bar-fill { transition: none; } }

/* Confirmation page */
.wa-card { text-align: center; margin-bottom: 16px; }
.wa-lead { color: var(--text); font-size: 17px; line-height: 1.45; margin: 0 auto 14px; max-width: 34ch; text-wrap: balance; }
.wa-btn { display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; margin-top: 0; }
.wa-help { color: var(--lilac); font-size: 15px; line-height: 1.45; margin: 14px auto 0; max-width: 36ch; }
.wa-help a, .booking .meta a, .confirm-note a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.booking-title { font-family: var(--head); color: #fff; font-size: 20px; font-weight: 700; margin: 0 0 14px; }
.meta.big { font-size: 16px; color: var(--text); gap: 10px; margin-bottom: 18px; }
.meta.big li { align-items: flex-start; }
.meta.big svg { margin-top: 2px; }
.cal-btns { display: grid; gap: 10px; }
.ghost-btn {
  display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 16px; width: 100%;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: #fff;
  font-family: var(--body); font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.ghost-btn:hover { border-color: var(--line-accent); background: var(--card-hi); }
.confirm-note { text-align: center; line-height: 1.5; }
