/* ═══════════════════════════════════════════════════════════════════════════
   Monochrome iOS-26 "Liquid Glass" design system
   Pure black / white / grays. No color, no web fonts, no emoji.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* ── Monochrome ramp (light) ── */
  --bg: #ffffff;
  --bg-subtle: #f5f5f7;
  --surface: #ffffff;
  --surface-raised: #fafafa;
  --hairline: rgba(0, 0, 0, 0.10);
  --hairline-strong: rgba(0, 0, 0, 0.16);
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #86868b;
  --inverse-text: #f5f5f7;
  --accent: #1d1d1f;        /* monochrome "accent" = near-black */
  --accent-hover: #000000;

  /* ── Liquid Glass ── */
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-bg-strong: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-inset: inset 0 1px 1px rgba(255, 255, 255, 0.55);

  /* ── Shadows (neutral only) ── */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --shadow-glass: 0 8px 24px rgba(0, 0, 0, 0.10);

  /* ── Radius scale ── */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 980px;

  /* ── Spacing (4px base, 8px rhythm) ── */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 20px;
  --s-6: 24px; --s-7: 32px; --s-8: 40px; --s-9: 48px; --s-10: 64px;
  --s-11: 80px; --s-12: 96px; --s-13: 128px; --s-14: 160px;

  /* ── Layout ── */
  --measure: 1120px;
  --measure-narrow: 720px;

  /* ── Motion ── */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-standard: cubic-bezier(0.25, 0.1, 0.25, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 400ms;

  --font: -apple-system, system-ui, BlinkMacSystemFont, "SF Pro Text",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000;
    --bg-subtle: #0a0a0a;
    --surface: #1c1c1e;
    --surface-raised: #2c2c2e;
    --hairline: rgba(255, 255, 255, 0.12);
    --hairline-strong: rgba(255, 255, 255, 0.20);
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --text-tertiary: #86868b;
    --inverse-text: #1d1d1f;
    --accent: #f5f5f7;
    --accent-hover: #ffffff;
    --glass-bg: rgba(28, 28, 30, 0.60);
    --glass-bg-strong: rgba(28, 28, 30, 0.80);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.10);
    --shadow-glass: 0 8px 24px rgba(0, 0, 0, 0.5);
  }
}
/* Manual override via the theme toggle */
:root[data-theme="dark"] {
  --bg: #000000; --bg-subtle: #0a0a0a; --surface: #1c1c1e;
  --surface-raised: #2c2c2e; --hairline: rgba(255,255,255,0.12);
  --hairline-strong: rgba(255,255,255,0.20); --text-primary: #f5f5f7;
  --text-secondary: #a1a1a6; --text-tertiary: #86868b; --inverse-text: #1d1d1f;
  --accent: #f5f5f7; --accent-hover: #ffffff;
  --glass-bg: rgba(28,28,30,0.60); --glass-bg-strong: rgba(28,28,30,0.80);
  --glass-border: rgba(255,255,255,0.12);
  --glass-inset: inset 0 1px 0 rgba(255,255,255,0.10);
  --shadow-glass: 0 8px 24px rgba(0,0,0,0.5);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* the `hidden` attribute must win over component display rules (e.g. flex) */
[hidden] { display: none !important; }
.skip-link { position: absolute; top: -64px; left: var(--s-4); z-index: 2000;
  background: var(--surface); color: var(--text-primary); border: 1px solid var(--hairline);
  border-radius: var(--r-sm); padding: 10px 16px; font-size: 15px; font-weight: 600;
  box-shadow: var(--shadow-md); transition: top var(--dur-base) var(--ease-out); }
.skip-link:focus { top: var(--s-4); }
html {
  color-scheme: light dark;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.5;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(0, 0, 0, 0.12); }
:where(a, button, input, textarea, summary):focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

/* ── Typography ── */
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--text-tertiary);
  display: inline-flex; align-items: center; gap: var(--s-2);
}
.display { font-size: clamp(40px, 6.5vw, 76px); line-height: 1.04; letter-spacing: -0.02em; }
.h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.015em; }
.h3 { font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -0.005em; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--text-secondary); line-height: 1.5; }
.muted { color: var(--text-secondary); }
.tertiary { color: var(--text-tertiary); }

/* ── Layout helpers ── */
.container { width: 100%; max-width: var(--measure); margin: 0 auto; padding: 0 var(--s-6); }
.section { padding: clamp(64px, 11vw, 128px) 0; }
.section-head { max-width: var(--measure-narrow); margin-bottom: var(--s-9); }
.section-head .lead { margin-top: var(--s-4); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ═══ Buttons ═══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  font-family: var(--font); font-size: 17px; font-weight: 500; line-height: 1;
  padding: 13px 24px; border-radius: var(--r-pill); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out),
    background var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
}
.btn:active { transform: scale(0.98); opacity: 0.9; }
.btn-primary { background: var(--accent); color: var(--inverse-text); }
.btn-primary:hover { background: var(--accent-hover); transform: scale(1.02); }
.btn-secondary {
  background: var(--glass-bg); color: var(--text-primary);
  border-color: var(--hairline-strong);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
}
.btn-secondary:hover { background: var(--glass-bg-strong); }
.btn-block { width: 100%; }
.btn-lg { font-size: 18px; padding: 16px 30px; }
.link-arrow {
  font-weight: 500; display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-primary);
}
.link-arrow .ico { transition: transform var(--dur-base) var(--ease-out); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow:hover .ico { transform: translateX(3px); }

/* ═══ Icons ═══ */
.ico { width: 1em; height: 1em; stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-lg { width: 28px; height: 28px; stroke-width: 1.5; }

/* ═══ Top navigation (Liquid Glass) ═══ */
.nav {
  position: sticky; top: 0; z-index: 1000;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.wordmark { display: inline-flex; align-items: center; gap: var(--s-3); font-weight: 600;
  font-size: 19px; letter-spacing: -0.01em; }
.wordmark .mark {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--accent); color: var(--inverse-text);
  font-size: 16px; font-weight: 600; box-shadow: var(--glass-inset);
}
.nav-links { display: flex; align-items: center; gap: var(--s-7); }
.nav-links a { font-size: 15px; color: var(--text-secondary);
  transition: color var(--dur-base) var(--ease-out); }
.nav-links a:hover { color: var(--text-primary); }
.nav-actions { display: flex; align-items: center; gap: var(--s-3); }
.icon-btn {
  width: 38px; height: 38px; border-radius: var(--r-pill); display: grid; place-items: center;
  background: transparent; border: 1px solid var(--hairline); color: var(--text-primary);
  cursor: pointer; transition: background var(--dur-base) var(--ease-out); }
.icon-btn:hover { background: var(--bg-subtle); }
.icon-btn .ico { width: 18px; height: 18px; }
.nav-toggle { display: none; }
.theme-icon-dark { display: none; }
:root[data-theme="dark"] .theme-icon-light,
:root:not([data-theme="light"]) .theme-icon-light { display: none; }
:root[data-theme="dark"] .theme-icon-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-icon-dark { display: block; }
}

/* ═══ Hero ═══ */
.hero { padding: clamp(56px, 9vw, 112px) 0 clamp(48px, 7vw, 88px); position: relative; }
.hero-inner { max-width: 880px; }
.hero .display { margin: var(--s-5) 0 var(--s-6); }
.hero .lead { max-width: 640px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-8); }
.trust-row {
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); margin-top: var(--s-9);
  padding-top: var(--s-7); border-top: 1px solid var(--hairline);
}
.trust-item { display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: 15px; color: var(--text-secondary); }
.trust-item .ico { width: 18px; height: 18px; color: var(--text-primary); }

/* ═══ Generic card ═══ */
.card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-md); padding: var(--s-7);
  transition: transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}

/* ═══ Services grid ═══ */
.grid { display: grid; gap: var(--s-5); }
.grid-services { grid-template-columns: repeat(4, 1fr); }
.service .ico-wrap {
  width: 48px; height: 48px; border-radius: var(--r-sm); display: grid; place-items: center;
  background: var(--bg-subtle); border: 1px solid var(--hairline); margin-bottom: var(--s-5);
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow-md);
  border-color: var(--hairline-strong); }
.service h3 { font-size: 18px; margin-bottom: var(--s-2); }
.service { display: flex; flex-direction: column; }
.service > p { font-size: 15px; color: var(--text-secondary); flex: 1; }
.service-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--hairline); }
.service-foot .price { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.service-foot .btn { padding: 9px 18px; font-size: 15px; }

/* Price legend under the section head */
.price-legend { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.price-chip { font-size: 14px; color: var(--text-secondary); background: var(--bg-subtle);
  border: 1px solid var(--hairline); border-radius: var(--r-pill); padding: 6px 14px; }

/* Segmented control (booking intent) */
.field-label { display: block; font-size: 14px; font-weight: 500; margin-bottom: var(--s-2); }
.segmented { display: inline-flex; width: 100%; gap: 3px; padding: 3px;
  background: var(--bg-subtle); border: 1px solid var(--hairline); border-radius: var(--r-sm); }
.seg-opt { flex: 1; position: relative; }
.seg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg-opt span { display: block; text-align: center; font-size: 15px; padding: 9px 12px;
  border-radius: 7px; cursor: pointer; color: var(--text-secondary);
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); }
.seg-opt input:checked + span { background: var(--surface); color: var(--text-primary);
  box-shadow: var(--shadow-sm); font-weight: 500; }
.seg-opt input:focus-visible + span { outline: 2px solid var(--text-primary); outline-offset: 2px; }

/* ═══ Pricing tiers ═══ */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4);
  align-items: stretch; }
.tier {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: var(--s-8) var(--s-7);
  display: flex; flex-direction: column;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.tier:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tier-featured {
  border-color: var(--accent); box-shadow: var(--shadow-lg);
  position: relative;
}
.tier-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--inverse-text);
  font-size: 12px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 6px 14px; border-radius: var(--r-pill); white-space: nowrap;
  box-shadow: var(--glass-inset);
}
.tier h3 { font-size: 21px; }
.tier .tier-for { font-size: 15px; color: var(--text-secondary); margin-top: 6px;
  min-height: 44px; }
.tier-price { margin: var(--s-6) 0 var(--s-2); display: flex; flex-direction: column;
  align-items: flex-start; gap: 6px; }
.tier-price .from { font-size: 14px; color: var(--text-tertiary); }
.tier-price .amount { font-size: 34px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.tier-old { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tier-was { font-size: 16px; color: var(--text-tertiary); text-decoration: line-through; }
.tier-save { font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: var(--text-secondary);
  border: 1px solid var(--hairline); border-radius: var(--r-pill); padding: 2px 9px; white-space: nowrap; }
.tier-note { font-size: 13px; color: var(--text-tertiary); line-height: 1.4; }
.tier-list { list-style: none; margin: var(--s-7) 0; display: grid; gap: var(--s-3); flex: 1; }
.tier-list li { display: flex; gap: var(--s-3); font-size: 15px; align-items: flex-start; }
.tier-list .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--text-primary); }
.pricing-note { margin-top: var(--s-7); font-size: 14px; }

/* ═══ Process ═══ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5);
  counter-reset: step; }
.step { position: relative; padding-top: var(--s-6); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-size: 14px; font-weight: 600; color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
}
.step .bar { height: 2px; background: var(--hairline); margin: var(--s-3) 0 var(--s-5);
  border-radius: 2px; position: relative; overflow: hidden; }
.step .bar::after { content: ""; position: absolute; inset: 0; width: 36px;
  background: var(--accent); border-radius: 2px; }
.step h3 { font-size: 18px; margin-bottom: var(--s-2); }
.step p { font-size: 15px; color: var(--text-secondary); }

/* ═══ Split / about ═══ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-10); align-items: center; }
.panel {
  background: var(--bg-subtle); border: 1px solid var(--hairline);
  border-radius: var(--r-xl); padding: var(--s-9);
}
.feature-list { list-style: none; display: grid; gap: var(--s-5); margin-top: var(--s-6); }
.feature-list li { display: flex; gap: var(--s-4); }
.feature-list .ico-wrap { width: 40px; height: 40px; flex: none; border-radius: var(--r-sm);
  display: grid; place-items: center; background: var(--surface); border: 1px solid var(--hairline); }
.feature-list h4 { font-size: 16px; margin-bottom: 3px; }
.feature-list p { font-size: 15px; color: var(--text-secondary); }

/* ═══ FAQ (native details) ═══ */
.faq { max-width: var(--measure-narrow); margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-6) 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 20px; height: 20px; color: var(--text-tertiary);
  transition: transform var(--dur-base) var(--ease-out); flex: none; }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq .answer { padding: 0 0 var(--s-6); color: var(--text-secondary); max-width: 60ch; }

/* ═══ Inquiry form ═══ */
.inquiry { background: var(--bg-subtle); }
.inquiry-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--s-10);
  align-items: start; }
.form-card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: var(--s-8); box-shadow: var(--shadow-md);
}
.selection-chip {
  display: flex; align-items: center; gap: var(--s-3); font-size: 14px;
  background: var(--bg-subtle); border: 1px solid var(--hairline);
  border-radius: var(--r-sm); padding: 10px 14px; margin-bottom: var(--s-6);
}
.selection-chip .label { color: var(--text-tertiary); }
.selection-chip .value { font-weight: 600; color: var(--text-primary); }
.field { margin-bottom: var(--s-5); }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: var(--s-2); }
.field label .opt { color: var(--text-tertiary); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font); font-size: 16px; color: var(--text-primary);
  background: var(--bg); border: 1px solid var(--hairline-strong);
  border-radius: var(--r-sm); padding: 12px 14px;
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
/* Honeypot — visually and from AT hidden, present in DOM */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-reassure { font-size: 13px; color: var(--text-tertiary); margin-top: var(--s-4);
  line-height: 1.5; }
.form-status { margin-top: var(--s-4); font-size: 15px; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: var(--text-primary); }
.form-status.err { color: var(--text-primary); }
.form-success {
  display: none; text-align: center; padding: var(--s-8) var(--s-4);
}
.form-success.show { display: block; }
.form-success .check {
  width: 56px; height: 56px; border-radius: var(--r-pill); margin: 0 auto var(--s-5);
  display: grid; place-items: center; background: var(--accent); color: var(--inverse-text);
}
.form-success .check .ico { width: 28px; height: 28px; stroke-width: 2; }

.inquiry-aside h2 { margin-bottom: var(--s-5); }
.aside-list { list-style: none; display: grid; gap: var(--s-5); }
.aside-list li { display: flex; gap: var(--s-4); }
.aside-list .ico-wrap { width: 40px; height: 40px; flex: none; border-radius: var(--r-sm);
  display: grid; place-items: center; background: var(--surface); border: 1px solid var(--hairline); }
.aside-list h4 { font-size: 16px; margin-bottom: 3px; }
.aside-list p { font-size: 15px; color: var(--text-secondary); }

/* ═══ Footer ═══ */
.footer { border-top: 1px solid var(--hairline); padding: var(--s-10) 0 var(--s-9); }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-8);
  margin-bottom: var(--s-9); }
.footer .wordmark { margin-bottom: var(--s-4); }
.footer-tag { font-size: 15px; color: var(--text-secondary); max-width: 280px; }
.footer-cols { display: flex; gap: var(--s-10); flex-wrap: wrap; }
.footer-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--text-tertiary); margin-bottom: var(--s-4); font-weight: 600; }
.footer-col a { display: block; font-size: 15px; color: var(--text-secondary);
  padding: 5px 0; transition: color var(--dur-base) var(--ease-out); }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-4);
  padding-top: var(--s-7); border-top: 1px solid var(--hairline);
  font-size: 13px; color: var(--text-tertiary); }
.notice {
  font-size: 13px; color: var(--text-tertiary); background: var(--bg-subtle);
  border: 1px solid var(--hairline); border-radius: var(--r-sm); padding: 10px 14px;
  display: inline-flex; gap: var(--s-2); align-items: center;
}

/* ═══ Account / auth page ═══ */
.account-wrap { max-width: 560px; margin: 0 auto; }
.auth-tabs { display: flex; gap: 3px; padding: 3px; background: var(--bg-subtle);
  border: 1px solid var(--hairline); border-radius: var(--r-sm); margin-bottom: var(--s-6); }
.auth-tab { flex: 1; padding: 10px; border: none; background: none; border-radius: 7px;
  font: 500 15px var(--font); cursor: pointer; color: var(--text-secondary);
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); }
.auth-tab.is-active { background: var(--surface); color: var(--text-primary); box-shadow: var(--shadow-sm); }
.auth-or { display: flex; align-items: center; gap: var(--s-4); margin: var(--s-5) 0;
  color: var(--text-tertiary); font-size: 13px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--hairline); }
.g-logo { flex: none; } /* official Google G keeps its own colours */
.account-head { display: flex; align-items: flex-start; justify-content: space-between;
  gap: var(--s-4); flex-wrap: wrap; }
.acc-section { margin-top: var(--s-9); padding-top: var(--s-7); border-top: 1px solid var(--hairline); }
.order-card { border: 1px solid var(--hairline); border-radius: var(--r-sm); padding: var(--s-5); margin-bottom: var(--s-4); }
.order-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-3); }
.order-status { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill);
  border: 1px solid var(--hairline-strong); }
.order-line { font-size: 14px; color: var(--text-secondary); margin-top: 3px; }
.order-total { font-weight: 600; margin-top: var(--s-3); }

/* ═══ Legal pages ═══ */
.legal { max-width: var(--measure-narrow); }
.legal h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: var(--s-4); }
.legal h2 { font-size: 22px; margin: var(--s-8) 0 var(--s-3); }
.legal p, .legal li { color: var(--text-secondary); margin-bottom: var(--s-3); }
.legal ul { padding-left: var(--s-5); }
.legal .ph { color: var(--text-primary); background: var(--bg-subtle);
  border: 1px dashed var(--hairline-strong); border-radius: 5px; padding: 1px 7px;
  font-size: 0.92em; }
.legal-back { margin-top: var(--s-9); }

/* Inline placeholder token (name/region to fill before launch) */
.ph { background: var(--bg-subtle); border: 1px dashed var(--hairline-strong);
  border-radius: 5px; padding: 0 6px; font-size: 0.95em; white-space: nowrap; }

/* Payment confirmation banner (after Stripe return) */
.pay-banner { position: fixed; left: 50%; top: 16px; transform: translateX(-50%); z-index: 2000;
  background: var(--accent); color: var(--inverse-text); padding: 12px 22px;
  border-radius: var(--r-pill); font-size: 15px; font-weight: 500; box-shadow: var(--shadow-lg);
  max-width: calc(100vw - 32px); text-align: center; }

/* ═══ Cart button badge ═══ */
.cart-btn { position: relative; }
.cart-badge { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px;
  padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--inverse-text);
  font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }

/* ═══ Custom builder ═══ */
.builder { margin-top: var(--s-9); background: var(--bg-subtle); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: var(--s-8); }
.builder-head { margin-bottom: var(--s-6); }
.builder-head .muted { margin-top: var(--s-2); font-size: 15px; }
.builder-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.output-toggle { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  text-align: left; padding: 13px 16px; border-radius: var(--r-sm); cursor: pointer; font: inherit;
  background: var(--surface); border: 1px solid var(--hairline); color: var(--text-primary);
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.output-toggle:hover { border-color: var(--hairline-strong); }
.output-toggle .ot-name { font-size: 15px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.output-toggle .ot-name .ico { width: 18px; height: 18px; color: var(--text-tertiary); flex: none; }
.output-toggle .ot-price { font-size: 14px; color: var(--text-secondary); white-space: nowrap; }
.output-toggle[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.output-toggle[aria-pressed="true"] .ot-name .ico { color: var(--text-primary); }
.builder-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--hairline); flex-wrap: wrap; }
.builder-summary { display: flex; align-items: baseline; gap: var(--s-3); }
.builder-summary .price { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }

/* ═══ Cart drawer ═══ */
.cart-layer { position: fixed; inset: 0; z-index: 1300; }
.cart-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.cart-panel { position: absolute; top: 0; right: 0; height: 100%; width: 420px; max-width: 100%;
  display: flex; flex-direction: column; overflow-y: auto; background: var(--surface);
  border-left: 1px solid var(--hairline); box-shadow: var(--shadow-lg);
  animation: cart-in var(--dur-base) var(--ease-out); }
@keyframes cart-in { from { transform: translateX(100%); } to { transform: none; } }
.cart-head { display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-6); border-bottom: 1px solid var(--hairline); }
.cart-body { flex: 1 1 0; min-height: 0; overflow-y: auto; padding: var(--s-6); }
.cart-empty { text-align: center; padding: var(--s-9) 0; }
.cart-items { list-style: none; display: grid; gap: var(--s-3); }
.cart-item { display: flex; gap: var(--s-3); align-items: flex-start; justify-content: space-between;
  padding: var(--s-4); border: 1px solid var(--hairline); border-radius: var(--r-sm); }
.cart-item h4 { font-size: 15px; margin-bottom: 3px; }
.cart-item p { font-size: 13px; color: var(--text-secondary); }
.cart-item .ci-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; white-space: nowrap; }
.cart-item .ci-price { font-weight: 600; font-size: 15px; }
.cart-item .ci-remove { background: none; border: none; cursor: pointer; color: var(--text-tertiary);
  font-size: 13px; padding: 0; text-decoration: underline; text-underline-offset: 2px; }
.cart-item .ci-remove:hover { color: var(--text-primary); }
.cart-foot { flex-shrink: 0; border-top: 1px solid var(--hairline); padding: var(--s-6); }
.cart-total-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--s-5); }
.cart-total-row .price { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }

@media (max-width: 520px) {
  .builder-grid { grid-template-columns: 1fr; }
  .cart-panel { width: 100%; }
}

/* ═══ Support widget ═══ */
.support-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 1100;
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px;
  border-radius: var(--r-pill); border: 1px solid var(--hairline-strong);
  background: var(--glass-bg); color: var(--text-primary);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  font: 500 15px/1 var(--font); cursor: pointer;
  box-shadow: var(--shadow-md), var(--glass-inset);
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.support-fab:hover { transform: scale(1.03); background: var(--glass-bg-strong); }
.support-fab .ico { width: 20px; height: 20px; }

/* Lightweight popover anchored to the launcher — does NOT cover/dim the page */
.support-layer { position: fixed; right: 20px; bottom: 20px; z-index: 1200; }
.support-card {
  width: 360px; max-width: calc(100vw - 40px);
  max-height: min(560px, calc(100vh - 100px)); overflow-y: auto;
  background: var(--glass-bg-strong); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  backdrop-filter: blur(30px) saturate(180%);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg), var(--glass-inset);
  padding: var(--s-6); animation: support-in var(--dur-base) var(--ease-out);
}
@keyframes support-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.support-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-4); }
.support-intro { font-size: 15px; margin-bottom: var(--s-5); }
.support-card .field { margin-bottom: var(--s-4); }
.support-card textarea { min-height: 90px; }

@media (max-width: 560px) {
  .support-layer { right: 0; left: 0; bottom: 0; }
  .support-card { width: 100%; max-width: 100%; max-height: 85vh;
    border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .support-fab span { display: none; }
  .support-fab { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) { .support-card { animation: none; } }

/* ═══ Scroll reveal ═══ */
.reveal { opacity: 0; transform: translateY(16px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ═══ Responsive ═══ */
@media (max-width: 1000px) {
  .grid-services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
  .tiers { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .tier-featured { order: -1; }
  .split { grid-template-columns: 1fr; gap: var(--s-8); }
  .inquiry-grid { grid-template-columns: 1fr; gap: var(--s-9); }
  .inquiry-aside { order: 2; }
}
@media (max-width: 560px) {
  .grid-services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .container { padding: 0 var(--s-5); }
}

/* Mobile nav sheet */
.mobile-menu {
  display: none; position: fixed; inset: 56px 0 0; z-index: 999;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  backdrop-filter: blur(30px) saturate(180%);
  padding: var(--s-7) var(--s-6); flex-direction: column; gap: var(--s-2);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 20px; font-weight: 500; padding: var(--s-4) 0;
  border-bottom: 1px solid var(--hairline); }
.mobile-menu .btn { margin-top: var(--s-5); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
