/* =========================================================================
   Liquid Glass layer — iOS-style translucent surfaces, capsule controls and
   spring motion. Loaded after base/app/admin CSS; presentation only.
   ========================================================================= */
:root {
  --glass: rgba(255, 255, 255, .58);
  --glass-strong: rgba(255, 255, 255, .78);
  --glass-edge: rgba(255, 255, 255, .75);
  --glass-line: rgba(0, 0, 0, .06);
  --glass-dark: rgba(18, 18, 20, .78);
  --glass-dark-edge: rgba(255, 255, 255, .14);
  --blur: saturate(185%) blur(26px);
  --shine: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(255, 255, 255, .25);
  --lift: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 30px -10px rgba(20, 24, 31, .22);
  --lift-hi: 0 2px 6px rgba(0, 0, 0, .06), 0 20px 44px -14px rgba(20, 24, 31, .32);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 30px;
}

/* ---------- Ambient backdrop (what the glass refracts) ---------- */
html { background: #e9ecf0; }
body { background: transparent; }
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: linear-gradient(180deg, #f4f5f7 0%, #e6e9ee 100%); }
.ambient i {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .75; will-change: transform;
  transform: translate3d(var(--px, 0), var(--py, 0), 0);
  transition: transform 1.2s cubic-bezier(.2, .8, .2, 1);
}
.ambient i:nth-child(1) { width: 62vmax; height: 62vmax; left: -18vmax; top: -22vmax; background: radial-gradient(circle at 30% 30%, #ffffff, #cfd6df 60%, transparent 70%); animation: drift1 22s ease-in-out infinite alternate; }
.ambient i:nth-child(2) { width: 48vmax; height: 48vmax; right: -16vmax; top: 18vh; background: radial-gradient(circle at 60% 40%, #b8c0cb, #8f98a5 55%, transparent 70%); opacity: .45; animation: drift2 26s ease-in-out infinite alternate; }
.ambient i:nth-child(3) { width: 54vmax; height: 54vmax; left: 10vw; bottom: -30vmax; background: radial-gradient(circle at 50% 50%, #dde3ea, #aab3bf 60%, transparent 72%); opacity: .55; animation: drift3 30s ease-in-out infinite alternate; }
.ambient i:nth-child(4) { width: 24vmax; height: 24vmax; left: 52vw; top: 6vh; background: radial-gradient(circle, rgba(0,0,0,.28), transparent 70%); opacity: .35; animation: drift2 18s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { translate: 6vw 8vh; } }
@keyframes drift2 { to { translate: -8vw 10vh; } }
@keyframes drift3 { to { translate: 10vw -6vh; } }

/* ---------- Glass primitives ---------- */
.glass, .site-head, .flow-top, .flow-foot, .next, .how, .services, .review dl, .notice-box, .toast,
.top, .tabs, .auth, .sheet, .setup, .figs, .daylist, .rows, .rules, .svc, .kv, .notes, .cal-admin, .calendar-wrap,
.set-group, .detail .section, .prose, details.msg pre {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--shine), var(--lift);
}

/* Specular highlight that follows the pointer (position set by fx.js) */
.fx {
  position: relative; isolation: isolate; overflow: hidden;
  transition: transform .45s var(--spring), box-shadow .3s, background-color .2s, color .2s;
}
.fx::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 62%);
  opacity: 0; transition: opacity .3s;
}
.fx.dark-fx::after { background: radial-gradient(160px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 60%); }
@media (hover: hover) { .fx:hover::after { opacity: 1; } }
.fx.is-pressed { transform: scale(.965); }
.fx.is-pressed::after { opacity: 1; }
.ripple {
  position: absolute; z-index: 3; border-radius: 50%; pointer-events: none;
  width: 16px; height: 16px; margin: -8px 0 0 -8px; background: rgba(255, 255, 255, .55);
  animation: ripple .6s cubic-bezier(.2, .8, .2, 1) forwards;
}
.ripple.on-light { background: rgba(0, 0, 0, .12); }
@keyframes ripple { from { transform: scale(0); opacity: 1; } to { transform: scale(18); opacity: 0; } }

/* ---------- Buttons: capsules ---------- */
.btn { border-radius: 999px; min-height: 52px; letter-spacing: -0.015em; }
.btn:active { transform: none; }
@media (hover: hover) { .btn.fx:hover { transform: translateY(-1px); box-shadow: var(--lift-hi); } }
.btn-primary {
  background: linear-gradient(180deg, rgba(44, 44, 48, .92), rgba(0, 0, 0, .9));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 26px -10px rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.btn-primary:hover { background: linear-gradient(180deg, rgba(58, 58, 62, .92), rgba(10, 10, 12, .9)); }
.btn-light { background: var(--glass-strong); border: 1px solid var(--glass-edge); box-shadow: var(--shine), var(--lift); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.btn-outline { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: inset 0 1px 0 rgba(255,255,255,.15); }
.btn-quiet { background: var(--glass-strong); border: 1px solid var(--glass-edge); box-shadow: var(--shine), 0 4px 14px -8px rgba(0,0,0,.2); }
.btn-danger { background: rgba(255, 255, 255, .5); border: 1px solid rgba(179, 38, 30, .35); }
.btn-text { border-radius: 10px; }
.icon-btn { background: var(--glass-strong); border: 1px solid var(--glass-edge); box-shadow: var(--shine), 0 4px 12px -6px rgba(0,0,0,.2); }

/* ---------- Fields ---------- */
.input, .textarea, .select {
  background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .85); border-radius: var(--r-sm);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .06), 0 1px 0 rgba(255, 255, 255, .6);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  transition: box-shadow .25s, background-color .25s, border-color .25s;
}
.input:focus, .textarea:focus, .select:focus { background: rgba(255, 255, 255, .9); border-color: rgba(0, 0, 0, .55); box-shadow: 0 0 0 4px rgba(0, 0, 0, .08), inset 0 1px 2px rgba(0,0,0,.04); }
.field.invalid .input, .field.invalid .textarea { border-color: rgba(179, 38, 30, .7); box-shadow: 0 0 0 4px rgba(179, 38, 30, .1); }
.field > .label { padding-left: 4px; }

/* ---------- Choice rows → glass tiles ---------- */
.choice {
  margin: 8px 0; padding: 12px 16px; min-height: 60px; border: 1px solid var(--glass-edge); border-radius: 20px;
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shine), 0 6px 18px -12px rgba(0,0,0,.25);
}
.choice:has(input:checked) { background: var(--glass-dark); border-color: var(--glass-dark-edge); color: var(--white); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 14px 30px -14px rgba(0,0,0,.5); }
.choice:has(input:checked) .sub, .choice:has(input:checked) .status-tag { color: rgba(255,255,255,.7); }
.choice:has(input:checked) .tick { background: var(--white); border-color: var(--white); }
.choice:has(input:checked) .tick svg { stroke: var(--black); }
.choice .tick { border-color: rgba(0,0,0,.18); background: rgba(255,255,255,.6); transition: transform .4s var(--spring), background-color .2s; }
.choice input:checked + .tick { transform: scale(1.08); }
.choice.disabled { opacity: .5; }

/* ---------- Segmented controls ---------- */
.segmented, .seg { padding: 4px; border-radius: 18px; background: rgba(118, 118, 128, .14); box-shadow: inset 0 1px 2px rgba(0,0,0,.06); gap: 4px; }
.segmented span, .seg span { border: 0; border-radius: 14px; background: transparent; transition: background-color .25s, color .2s, transform .4s var(--spring), box-shadow .25s; }
.segmented input:checked + span, .seg input:checked + span { background: var(--white); color: var(--ink); box-shadow: 0 3px 10px -2px rgba(0,0,0,.18), 0 0 0 .5px rgba(0,0,0,.04); transform: scale(1.02); }
.seg input.block:checked + span { background: var(--danger); color: var(--white); }
.chips span { border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: var(--shine); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); transition: transform .4s var(--spring), background-color .2s; }
.chips input:checked + span { background: var(--glass-dark); border-color: var(--glass-dark-edge); transform: scale(1.04); }

/* ---------- Calendar ---------- */
.calendar-wrap, .cal-admin { border-radius: var(--r-lg); padding: 18px 14px 16px; }
.day { border-radius: 14px; transition: transform .45s var(--spring), background-color .2s, color .2s, box-shadow .25s; }
.day.available { background: rgba(255, 255, 255, .78); box-shadow: var(--shine), 0 4px 12px -6px rgba(0,0,0,.22); }
.day.available:hover { background: rgba(255, 255, 255, .95); transform: scale(1.07); }
.day.selected { background: linear-gradient(180deg, #2c2c30, #000) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 10px 22px -8px rgba(0,0,0,.55); transform: scale(1.06); }
.cal-admin .day.has-open { background: rgba(255,255,255,.72); box-shadow: var(--shine), 0 4px 12px -6px rgba(0,0,0,.18); }
@media (hover: hover) { .cal-admin .day:not(.past):hover { transform: scale(1.06); } }

/* ---------- Toast ---------- */
.toast { background: var(--glass-dark); border-color: var(--glass-dark-edge); border-radius: 999px; padding: 12px 20px; box-shadow: inset 0 1px 0 rgba(255,255,255,.18), var(--lift-hi); transform: translate(-50%, 24px) scale(.94); transition: opacity .25s, transform .5s var(--spring); }
.toast.show { transform: translate(-50%, 0) scale(1); }
.toast.error { background: rgba(179, 38, 30, .88); }

.err-banner { background: rgba(253, 236, 234, .8); border: 1px solid rgba(179,38,30,.2); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.notice-box { border-radius: var(--r-md); }
.skeleton { border-radius: 18px; background: linear-gradient(90deg, rgba(255,255,255,.5), rgba(255,255,255,.85), rgba(255,255,255,.5)); background-size: 200% 100%; }

/* ======================= CUSTOMER SITE ======================= */
.site-head {
  margin: 10px 10px 0; top: 10px; height: 56px; padding: 0 8px 0 18px; border-radius: 999px;
  padding-top: 0; margin-top: calc(10px + env(safe-area-inset-top));
}
body.on-home:not(.scrolled) .site-head { background: var(--glass); color: inherit; border-color: var(--glass-edge); }
body.on-home:not(.scrolled) .brand img { filter: none; }
.head-cta { min-height: 42px; border-radius: 999px; }

.hero { background: transparent; padding: 12px 10px 0; }
.hero-inner {
  position: relative; overflow: hidden; border-radius: 34px; padding: 34px 22px 12px;
  background: linear-gradient(160deg, rgba(34, 34, 38, .94), rgba(0, 0, 0, .92) 60%);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 30px 60px -30px rgba(0,0,0,.6);
}
.hero-inner::before {
  content: ""; position: absolute; inset: -40%; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 20%), rgba(255,255,255,.14), transparent 60%);
  transition: background-position .3s;
}
.hero-copy, .next { position: relative; }
.hero-logo { animation: rise .9s var(--spring) both; }
.hero h1 { animation: rise .9s .08s var(--spring) both; }
.lede { animation: rise .9s .14s var(--spring) both; }
.hero-ctas { animation: rise .9s .2s var(--spring) both; }
.next { animation: rise 1s .28s var(--spring) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }

.next {
  margin: 0 -10px 10px; border-radius: 28px; padding: 22px 18px 18px; background: rgba(255,255,255,.82);
  transform-style: preserve-3d; transition: transform .6s var(--spring);
}
.next-list li { border-bottom: 1px solid var(--glass-line); }
.next-list li:last-child { border-bottom: 0; }
.next-list a { border-radius: 16px; padding: 8px 10px; margin: 0 -10px; transition: background-color .2s, transform .45s var(--spring); }
@media (hover: hover) { .next-list a:hover { background: rgba(255,255,255,.9); transform: translateX(3px); } }
.next-date .dnum { font-variant-numeric: tabular-nums; }

.how, .services { margin: 14px 10px 0; border-radius: var(--r-lg); padding: 30px 20px 26px; max-width: none; }
.steps .n { background: var(--glass-strong); border: 1px solid var(--glass-edge); box-shadow: var(--shine), 0 6px 14px -8px rgba(0,0,0,.3); }
.service-cols h3 { border-bottom-color: rgba(0,0,0,.7); }
.service-cols li { border-bottom-color: var(--glass-line); }
.site-foot { margin: 14px 10px calc(10px + env(safe-area-inset-bottom)); border-radius: var(--r-lg); background: var(--glass-dark); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-dark-edge); padding-bottom: 32px; }
.prose { margin: 14px 10px; border-radius: var(--r-lg); padding: 26px 22px 40px; }
#nf { margin-top: 60px; }

/* Flow */
.flow { padding-top: 8px; }
.flow-top { top: calc(76px + env(safe-area-inset-top)); margin: 6px 0 4px; padding: 10px 14px 12px; border-radius: 24px; }
.flow-back { background: var(--glass-strong); border: 1px solid var(--glass-edge); box-shadow: var(--shine); margin-left: 0; }
.progress { margin-top: 8px; }
.progress i { height: 5px; border-radius: 3px; background: rgba(0,0,0,.08); position: relative; overflow: hidden; }
.progress i.on { background: var(--black); animation: fillbar .6s var(--spring) both; transform-origin: left; }
@keyframes fillbar { from { transform: scaleX(.2); } to { transform: none; } }
.flow h1 { margin-top: 18px; }
.group-title { padding-left: 6px; }
.flow-foot {
  left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 10px 10px 10px; border-radius: 30px;
}
.flow-foot .summary-line { min-height: 18px; margin-bottom: 2px; }
.windows h2 { padding-left: 4px; }
.confirm-note { border-top: 0; padding: 16px 18px; border-radius: var(--r-md); background: var(--glass); border: 1px solid var(--glass-edge); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.consent { padding: 16px; border: 1px solid var(--glass-edge); border-radius: var(--r-md); background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.review dl { border-radius: var(--r-lg); padding: 4px 18px; border-top: 1px solid var(--glass-edge); }
.review .row { border-bottom-color: var(--glass-line); }
.review .row:last-child { border-bottom: 0; }
details.msg summary { padding-left: 4px; }
details.msg pre { border-radius: var(--r-md); }
.sent .big-tick { background: linear-gradient(180deg, #2c2c30, #000); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 16px 30px -12px rgba(0,0,0,.5); animation: pop .7s var(--spring) both; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.sent ol { background: var(--glass); border: 1px solid var(--glass-edge); border-radius: var(--r-lg); padding: 4px 16px; -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shine), var(--lift); }
.sent ol li { border-bottom-color: var(--glass-line); }
.sent ol li:last-child { border-bottom: 0; }
.sent ol li::before { left: 0; }

@media (min-width: 720px) {
  .site-head { margin-left: auto; margin-right: auto; max-width: 1120px; }
  .how, .services, .site-foot { margin-left: auto; margin-right: auto; max-width: 1120px; padding-left: 40px; padding-right: 40px; }
  .hero { max-width: 1140px; margin: 0 auto; }
  .flow-foot { left: 50%; right: auto; width: min(640px, calc(100% - 20px)); transform: translateX(-50%); }
}
@media (min-width: 980px) {
  .hero-inner { padding: 64px 56px; }
  .next { margin: 0; }
}

/* ======================= ADMIN ======================= */
.auth { min-height: auto; margin: 8vh auto; border-radius: 34px; padding: 32px 24px; max-width: 420px; }
.top { position: sticky; top: calc(10px + env(safe-area-inset-top)); margin: calc(10px + env(safe-area-inset-top)) 10px 0; border-radius: 999px; padding: 0 16px; }
.top-inner { height: 52px; }
.page { padding-top: 14px; }
.tabs {
  left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 6px; border-radius: 999px;
  box-shadow: var(--shine), var(--lift-hi);
}
.tabs a { border-radius: 999px; min-height: 52px; padding: 6px 0; transition: background-color .25s, color .2s, transform .45s var(--spring); }
.tabs a[aria-current="page"] { background: rgba(255,255,255,.88); box-shadow: 0 4px 12px -4px rgba(0,0,0,.18), 0 0 0 .5px rgba(0,0,0,.04); }
.tabs .badge { box-shadow: 0 0 0 2px rgba(255,255,255,.9); }
.h-date { margin-top: 4px; }
.setup { border-radius: var(--r-md); padding: 16px 18px; border-top: 1px solid var(--glass-edge); }
.quick button, .quick a { border-radius: 24px; background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: var(--shine), var(--lift); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.quick .primary { background: linear-gradient(160deg, rgba(44,44,48,.94), rgba(0,0,0,.92)); border-color: rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 14px 30px -14px rgba(0,0,0,.55); }
.figs { border-radius: var(--r-md); padding: 0 16px; border-top: 1px solid var(--glass-edge); border-bottom: 1px solid var(--glass-edge); }
.figs > div + div { border-left-color: var(--glass-line); }
.daylist, .rows, .rules, .svc, .notes, .kv { border-radius: var(--r-lg); padding: 2px 16px; }
.daylist li, .rows li, .rules li, .svc li, .notes li, .kv .row { border-bottom-color: var(--glass-line); }
.daylist li:last-child, .rows li:last-child, .rules li:last-child, .svc li:last-child, .notes li:last-child, .kv .row:last-child { border-bottom: 0; }
.daylist .dl-head { border-bottom: 1px solid rgba(0,0,0,.12); }
.daylist button, .rows a { border-radius: 14px; transition: background-color .2s, transform .45s var(--spring); }
@media (hover: hover) { .daylist button:hover, .rows a:hover { background: rgba(255,255,255,.6); } }
.kv { border-top: 1px solid var(--glass-edge); }
.set-group { border-radius: var(--r-lg); padding: 22px 18px 18px; }
.set-group .svc { background: rgba(255,255,255,.4); box-shadow: none; }
.detail .section { border-radius: var(--r-lg); padding: 20px 18px; }
.detail .section .notes, .detail .section .rows { box-shadow: none; background: rgba(255,255,255,.4); }
.filter button { background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: var(--shine); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); transition: transform .4s var(--spring), background-color .2s; }
.filter button[aria-pressed="true"] { background: var(--glass-dark); border-color: var(--glass-dark-edge); }
.search .input { border-radius: 999px; padding-left: 20px; }
.brand-preview .dark { border-radius: 18px; }

.sheet-back { background: rgba(10, 12, 16, .22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet {
  background: rgba(250, 250, 252, .8); border-radius: 34px 34px 0 0; left: 6px; right: 6px; bottom: 6px; border-radius: 34px;
  transform: translateY(110%); transition: transform .55s var(--spring);
  box-shadow: var(--shine), 0 -10px 60px rgba(0,0,0,.25);
}
.sheet.open { transform: none; }
.win-set { border-top-color: var(--glass-line); }
.warn { background: rgba(255, 244, 229, .85); border-radius: var(--r-sm); }

@media (min-width: 820px) {
  .top { max-width: 980px; margin-left: auto; margin-right: auto; }
  .tabs { top: calc(14px + env(safe-area-inset-top)); bottom: auto; left: auto; right: max(16px, calc((100vw - 980px) / 2 + 8px)); padding: 4px; background: transparent; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .tabs a { min-height: 40px; padding: 0 14px; }
  .sheet { left: 50%; right: auto; bottom: 50%; width: 520px; border-radius: 34px; transform: translate(-50%, 60%) scale(.96); opacity: 0; transition: transform .5s var(--spring), opacity .25s; }
  .sheet.open { transform: translate(-50%, 50%) scale(1); opacity: 1; }
}

/* Browsers without backdrop-filter: keep it readable */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root { --glass: rgba(255,255,255,.94); --glass-strong: #fff; --glass-dark: rgba(18,18,20,.97); }
}

@media (prefers-reduced-motion: reduce) {
  .ambient i { animation: none; }
  .fx.is-pressed { transform: none; }
}

/* Readability tuning: bars that float over scrolling content are more opaque */
.site-head, .flow-top, .flow-foot, .top, .tabs { background: rgba(255, 255, 255, .8); }
body.on-home:not(.scrolled) .site-head { background: rgba(255, 255, 255, .8); }
.next { background: rgba(255, 255, 255, .93); }
.hero .btn-light { background: rgba(255, 255, 255, .95); }
@media (min-width: 820px) { .tabs { background: transparent; } }

/* =========================================================================
   v2 (Oct 2026 brief): white background, subtle grey surfaces, calmer motion.
   ========================================================================= */
:root { --glass: rgba(242, 242, 246, .74); --glass-edge: rgba(255, 255, 255, .9); --surface: #f5f5f7; }
html { background: #fff; }
.ambient { display: none; }
.how, .services, .calendar-wrap, .review dl, .daylist, .rows, .rules, .svc, .notes, .kv, .figs, .set-group, .detail .section, .setup, .cal-admin, .prose, .sent ol, .confirm-note, .consent, .notice-box {
  background: var(--surface); border-color: rgba(0, 0, 0, .04); box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.choice { background: var(--surface); border-color: rgba(0,0,0,.04); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.quick button, .quick a { background: var(--surface); border-color: rgba(0,0,0,.04); box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.day.available { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 0 0 1px rgba(0,0,0,.05); }
.cal-admin .day.has-open { background: #fff; }
.btn-quiet { background: var(--surface); border-color: rgba(0,0,0,.05); box-shadow: none; }
.hero-inner::before { display: none; }
.hero-inner { background: #0b0b0c; }
@media (hover: hover) { .hero-inner::before { display: block; } }

/* Jordan's next availability */
.next h2 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; }
.next-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 66px; grid-template-columns: none; }
.next-when b { display: block; font-size: 18px; letter-spacing: -0.015em; }
.next-when small { display: flex; align-items: center; gap: 7px; font-size: 15px; color: var(--steel); margin-top: 2px; }
.next-when .dot { width: 8px; height: 8px; border-radius: 50%; background: #1e8e3e; box-shadow: 0 0 0 3px rgba(30, 142, 62, .14); }
.next-go { flex: none; font-size: 15px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--black); color: var(--white); }
.next-actions { margin-top: 14px; }
.next-actions:empty { display: none; }
.next-empty { padding: 14px 0 4px; color: var(--ink); font-size: 16px; }

/* Expectations — what the customer is (and isn't) committing to */
.expect { display: grid; gap: 10px; margin: 18px 0 0; }
.expect li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 500; }
.expect svg { width: 18px; height: 18px; flex: none; margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--black); stroke: var(--white); box-sizing: content-box; }
.expect-home { margin: 14px 10px 0; padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); }

/* Services on the homepage */
.services-sub { color: var(--steel); margin: -14px 0 20px; }
.svc-home { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.svc-card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px 14px; border-radius: 20px; background: #fff; text-decoration: none; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 0 0 1px rgba(0,0,0,.04); }
.svc-card b { font-size: 16px; letter-spacing: -0.01em; line-height: 1.25; }
.svc-card span { font-size: 13.5px; color: var(--steel); line-height: 1.35; }
.svc-icon { width: 28px; height: 28px; margin-bottom: 4px; }
.how { margin-bottom: 14px; }

/* Service cards in the flow */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.svc-pick {
  position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 124px; padding: 14px 14px 16px; border-radius: 22px; cursor: pointer;
  background: var(--surface); border: 1px solid rgba(0,0,0,.04); transition: background-color .2s, color .2s, transform .45s var(--spring), box-shadow .25s;
}
.svc-pick input { position: absolute; opacity: 0; pointer-events: none; }
.svc-pick .svc-text b { display: block; font-size: 16px; line-height: 1.25; letter-spacing: -0.01em; }
.svc-pick .svc-text span { display: block; font-size: 13.5px; color: var(--steel); line-height: 1.35; margin-top: 3px; }
.svc-check { position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid rgba(0,0,0,.18); display: grid; place-items: center; background: rgba(255,255,255,.7); transition: transform .45s var(--spring), background-color .2s; }
.svc-check svg { width: 14px; height: 14px; stroke: var(--black); opacity: 0; }
.svc-pick.on { background: linear-gradient(180deg, #2a2a2e, #000); color: var(--white); border-color: transparent; box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 12px 26px -12px rgba(0,0,0,.55); }
.svc-pick.on .svc-text span { color: rgba(255,255,255,.7); }
.svc-pick.on .svc-check { background: var(--white); border-color: var(--white); transform: scale(1.08); }
.svc-pick.on .svc-check svg { opacity: 1; }
.svc-pick:has(input:focus-visible) { outline: 3px solid #0a64d6; outline-offset: 2px; }

/* Property type: 5 options wrap neatly on phones */
.segmented.seg-5 { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 560px) { .segmented.seg-5 { grid-template-columns: repeat(5, 1fr); } }

/* WhatsApp send button */
.btn-wa { background: linear-gradient(180deg, #2a2a2e, #000); color: var(--white); border: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 12px 26px -10px rgba(0,0,0,.5); }
.btn-wa svg { width: 22px; height: 22px; }

/* Sticky mobile CTA (homepage only, hidden near the hero buttons and footer) */
.sticky-cta { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 18; padding: 8px; border-radius: 30px; background: rgba(255,255,255,.82); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-edge); box-shadow: var(--shine), var(--lift-hi); transform: translateY(140%); transition: transform .5s var(--spring); }
.sticky-cta.show { transform: none; }
.head-cta { display: none; }
@media (min-width: 720px) { .sticky-cta { display: none; } .head-cta { display: inline-flex; } .svc-home { grid-template-columns: repeat(3, 1fr); } .expect-home { margin-left: auto; margin-right: auto; max-width: 1120px; grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .svc-home { grid-template-columns: repeat(4, 1fr); } }

/* Admin sheet quick presets */
.presets { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 12px; }
.presets button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(0,0,0,.08); background: #fff; font-weight: 600; font-size: 14px; cursor: pointer; transition: transform .4s var(--spring), background-color .2s, color .2s; }
.presets button[aria-pressed="true"] { background: var(--black); color: var(--white); border-color: var(--black); }
.svc .svc-desc { margin-top: 6px; font-size: 15px; min-height: 40px; }
.next { background: #fff; }
.hero .btn-light { background: #fff; }
.site-foot { background: #0b0b0c; color: #c7c7cc; }

/* Legal pages and footer */
.legal-list { list-style: disc; padding-left: 20px; margin: 0 0 12px; }
.legal-list li { margin-bottom: 8px; color: #3a3a3c; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 14px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 8px 10px 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.legal-table th { font-weight: 600; color: var(--steel); }
.legal-table td:first-child { font-weight: 600; overflow-wrap: anywhere; }
.foot-legal { font-size: 13px; color: #a1a1a6; margin-top: 10px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; }
.foot-links a { color: var(--white); font-size: 14px; min-height: 32px; display: inline-flex; align-items: center; }
