/* ==========================================================================
   Get Cowork design system
   Cream/off-white surface, near-black ink, one orange accent, pill buttons,
   soft rounded cards. Brand mark: two interlocking rings (see icon.svg).
   ========================================================================== */

:root {
  --color-bg: #F7F5EF;
  --color-surface: #FFFFFF;
  --color-surface-muted: #EFEBE1;
  --color-ink: #16150F;
  --color-ink-soft: #57564C;
  --color-border: #E4E0D4;
  --color-accent: #FF4B1F;        /* brand orange: logo, large type, decoration */
  --color-accent-strong: #D4380C; /* same hue, AA contrast: buttons + small orange text */
  --color-accent-tint: #FFF0EA;
  --color-accent-ink: #FFFFFF;
  --color-dark: #16150F;
  --color-success: #1FAA59;
  --color-danger: #E0432B;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-card: 0 1px 2px rgba(22, 21, 15, 0.04), 0 12px 28px -16px rgba(22, 21, 15, 0.18);
  --shadow-pop: 0 20px 40px -20px rgba(22, 21, 15, 0.35);

  --container: 1160px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  /* This is a light-brand marketing site by design; keep it legible if a user
     forces dark mode at the OS level rather than inverting the whole palette. */
  :root { color-scheme: light; }
}

*, *::before, *::after { box-sizing: border-box; }
fieldset { border: none; margin: 0; padding: 0; min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--color-ink-soft); text-wrap: pretty; }
.lede { font-size: 1.15rem; line-height: 1.55; color: var(--color-ink-soft); }
@media (max-width: 600px) { .lede { font-size: 1.05rem; } }
main a:not(.btn) { text-decoration-color: rgba(22, 21, 15, 0.35); text-underline-offset: 3px; }
main a:not(.btn):hover { text-decoration-color: currentColor; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--color-dark); color: #fff; padding: 10px 16px;
  border-radius: var(--radius-sm); z-index: 1000; transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600; font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease, opacity 0.12s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.btn-primary { background: var(--color-dark); color: #fff; }
.btn-primary:hover:not(:disabled) { box-shadow: var(--shadow-pop); }

.btn-accent { background: var(--color-accent-strong); color: #fff; }
.btn-accent:hover:not(:disabled) { background: #BC310A; box-shadow: var(--shadow-pop); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.32); }
.btn-outline-light:hover { border-color: #fff; }

.btn-outline { background: transparent; color: var(--color-ink); border-color: var(--color-border); }
.btn-outline:hover:not(:disabled) { border-color: var(--color-ink); }

.btn-ghost { background: transparent; color: var(--color-ink); padding: 13px 8px; }
.btn-ghost:hover:not(:disabled) { color: var(--color-accent); }

.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
/* Long labels (e.g. "Enquire for Galaxy Blue Sapphire Plaza") may wrap rather than push a card off-screen */
.btn-sm { white-space: normal; text-align: center; line-height: 1.3; }
.grid > * { min-width: 0; }

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--color-surface-muted);
  color: var(--color-ink-soft);
  font-size: 0.8rem; font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
}
.pill-accent { background: var(--color-accent-strong); color: #fff; }
.pill-dark { background: var(--color-dark); color: #fff; }
.pill-outline { background: transparent; border: 1px solid var(--color-border); }

.tbc {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  color: #92600C; background: #FBEBCB;
  padding: 2px 8px; border-radius: var(--radius-pill);
  margin-left: 6px; white-space: nowrap;
}

/* ---------- Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 16px;
}
.brand {
  font-weight: 800; font-size: 1.25rem; text-decoration: none;
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 8px;
}
.brand .brand-mark {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
}
.brand .brand-mark svg { width: 100%; height: 100%; display: block; }
.brand .brand-accent { color: var(--color-accent); }

.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  text-decoration: none; font-weight: 500; font-size: 0.95rem;
  color: var(--color-ink-soft);
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--color-ink); border-bottom-color: var(--color-accent);
}
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-actions .btn-primary span.short { display: none; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); width: 42px; height: 42px;
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 68px 12px auto 12px;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 10px; box-shadow: var(--shadow-card);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 10px; border-bottom: none; border-radius: var(--radius-sm); }
  .nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--color-surface-muted); }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn-primary span.long { display: none; }
  .nav-actions .btn-primary span.short { display: inline; }
}

/* ---------- Sections ---------- */
.section { padding-block: 72px; }
.section-tight { padding-block: 40px; }
.section-alt { background: var(--color-surface); }
.section-dark { background: var(--color-dark); color: #fff; }
.section-dark p, .section-dark .lede { color: rgba(255,255,255,0.72); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
@media (max-width: 600px) {
  .section { padding-block: 52px; }
  .section-head { margin-bottom: 28px; }
}

/* ---------- Hero ---------- */
.hero {
  padding-block: 56px 72px;
  display: grid; gap: 40px;
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
}
@media (max-width: 600px) { .hero { padding-block: 4px 16px; gap: 28px; } }
.hero-copy .pill { margin-bottom: 18px; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-price {
  display: inline-flex; align-items: baseline; gap: 8px;
  margin-top: 22px; font-weight: 700;
}
.hero-price .amount { font-size: 1.6rem; color: var(--color-accent); }
.hero-visual {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px;
}
.hero-visual .stat-row { display: flex; gap: 20px; margin-bottom: 20px; }
.hero-visual .stat b { display: block; font-size: 1.6rem; }
.hero-visual .stat span { font-size: 0.8rem; color: var(--color-ink-soft); }
.hero-visual .sticker {
  display: inline-block; background: var(--color-accent-strong); color: #fff;
  font-weight: 800; padding: 14px 22px; border-radius: var(--radius-md);
  transform: rotate(-3deg); box-shadow: var(--shadow-pop);
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 560px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
.card-span-2 { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-card);
}
.card h2, .card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }

.icon-swatch {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  background: var(--color-accent-tint); color: var(--color-accent-strong);
}
.icon-swatch svg { display: block; }
.icon-swatch-on-dark { background: rgba(255, 75, 31, 0.14); color: var(--color-accent); }
.card-title { font-size: 1.3rem; }
.card-dark { background: var(--color-dark); border-color: var(--color-dark); color: #fff; }
.card-dark h2, .card-dark h3 { color: #fff; }
.card-dark p { color: rgba(255,255,255,0.72); }

.compare-table {
  width: 100%; border-collapse: collapse;
  background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  overflow: hidden;
}
.compare-table th, .compare-table td {
  text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}
.compare-table thead th { background: var(--color-surface-muted); font-weight: 700; }
.compare-table tbody th { font-weight: 700; white-space: nowrap; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-md); }
.table-scroll .compare-table { min-width: 560px; }

.workspace-card { display: flex; flex-direction: column; }
.workspace-card .workspace-price { font-weight: 700; color: var(--color-accent-strong); margin-bottom: 8px; }
.workspace-card .btn { margin-top: auto; align-self: flex-start; }
.workspace-card p:not(.workspace-price) { margin-bottom: 18px; }
.compare-table tr:last-child td { border-bottom: none; }


/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--color-dark); color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 32px; text-align: center;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.75); }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 4px 22px;
  margin-bottom: 12px;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 0;
  font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.4rem; color: var(--color-accent); flex: none;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding-bottom: 18px; margin: 0; }

/* ---------- Forms ---------- */
.field { margin-bottom: 20px; }
.field label, .field legend {
  display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 7px;
}
.field .hint { font-size: 0.82rem; color: var(--color-ink-soft); margin: 5px 0 0; }
.hint-inline { font-weight: 400; color: var(--color-ink-soft); font-size: 0.85rem; }
.field-error { color: #B3321C; font-size: 0.85rem; font-weight: 600; margin: 6px 0 0; }
.input[aria-invalid="true"] { border-color: #D2462E; box-shadow: 0 0 0 3px rgba(224, 67, 43, 0.12); }
/* Keep the sticky header from covering whatever we scroll into view */
.wizard, .wizard-panel, .form-alert, .field, fieldset.field { scroll-margin-top: 96px; }
.field-row { display: grid; gap: 0 18px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field-narrow { max-width: 260px; }
fieldset.field > legend { padding: 0; }
.required-mark { color: var(--color-accent-strong); }

.input, textarea.input, select.input {
  width: 100%; font: inherit; color: var(--color-ink);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.input:hover { border-color: #CFCABC; }
.input:focus {
  border-color: var(--color-ink);
  box-shadow: 0 0 0 3px rgba(255, 75, 31, 0.18);
  outline: none;
}
textarea.input { resize: vertical; min-height: 96px; }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2357564C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
select.input:invalid, select.input option[value=""] { color: var(--color-ink-soft); }
input[type="date"].input { appearance: none; -webkit-appearance: none; display: flex; align-items: center; }
input[type="date"].input::-webkit-date-and-time-value { text-align: left; }
input[type="date"].input::-webkit-calendar-picker-indicator { opacity: 0.55; cursor: pointer; }
.input::placeholder { color: #9A988C; }
.input { min-height: 48px; } /* comfortable tap target on mobile */
@media (max-width: 600px) { .input { font-size: 16px; } } /* stops iOS zoom-on-focus */

.radio-group, .checkbox-row { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.radio-option, .checkbox-option {
  display: flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 500;
}
.checkbox-option { align-items: flex-start; line-height: 1.45; }
.checkbox-option input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--color-accent); }
.honeypot-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-alert {
  border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 20px; font-size: 0.92rem;
}
.form-alert-error { background: #FDECEA; color: #8A2A1B; border: 1px solid #F3C4BC; }
.form-alert-success { background: #E9F8EF; color: #17693F; border: 1px solid #BFE9CE; }

/* ---------- Multi-step wizard ---------- */
.wizard { max-width: 720px; margin-inline: auto; }
.wizard-progress { position: relative; margin-bottom: 32px; }
.wizard-steps { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 6px; position: relative; }
.wizard-steps li { flex: 1; display: flex; }
.wizard-progress-bar {
  position: absolute; left: 12.5%; right: 12.5%; top: 16px; height: 3px;
  background: var(--color-surface-muted); border-radius: 3px; overflow: hidden;
}
.wizard-progress-bar span { display: block; height: 100%; width: 0; background: var(--color-accent); transition: width 0.3s ease; }
.wizard-step-indicator {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: none; border: none; font: inherit; cursor: not-allowed; color: var(--color-ink-soft);
  padding: 0;
}
.wizard-step-indicator .dot {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--color-surface-muted); color: var(--color-ink-soft);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem;
  border: 2px solid transparent;
}
.wizard-step-indicator .dot { position: relative; z-index: 1; box-shadow: 0 0 0 4px var(--color-bg); }
.wizard-step-indicator .label { font-size: 0.78rem; font-weight: 600; text-align: center; }
.wizard-step-indicator[data-state="current"] .dot { background: var(--color-dark); color: #fff; }
.wizard-step-indicator[data-state="current"] .label { color: var(--color-ink); }
.wizard-step-indicator[data-state="done"] { cursor: pointer; }
.wizard-step-indicator[data-state="done"] .dot { background: var(--color-accent); color: #fff; }
.wizard-step-indicator[data-state="done"] .label { color: var(--color-ink); }

.wizard-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 32px;
}
@media (max-width: 560px) { .wizard-panel { padding: 22px 18px; } }

.wizard-panel { overflow: hidden; }
.wizard-step { display: none; }
.wizard-step.is-active { display: block; }
.wizard-step.slide-next { animation: slideFromRight 0.28s cubic-bezier(.2,.7,.2,1); }
.wizard-step.slide-prev { animation: slideFromLeft 0.28s cubic-bezier(.2,.7,.2,1); }
@keyframes slideFromRight { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
@keyframes slideFromLeft { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }
.wizard-step-title { font-size: 1.5rem; margin-bottom: 22px; }
.wizard-step-title:focus { outline: none; }
.wizard-footnote { text-align: center; font-size: 0.88rem; margin-top: 18px; }

/* Selectable tiles (location, workspace type) and chips (profession).
   The real radio input stays in the DOM (visually hidden) so keyboard,
   screen readers and form submission all behave natively. */
.choice-grid { display: grid; gap: 12px; }
@media (min-width: 520px) { .choice-grid-2 { grid-template-columns: 1fr 1fr; } }
.choice-tile, .chip, .stepper-btn, .chatbot-option { -webkit-tap-highlight-color: transparent; }
.choice-tile { position: relative; display: block; margin: 0 !important; font-weight: 400 !important; }
.choice-tile input, .chip input {
  position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none;
}
.choice-body {
  display: flex; flex-direction: column; gap: 2px; height: 100%;
  border: 1.5px solid var(--color-border); border-radius: var(--radius-sm);
  padding: 14px 16px 14px 46px; background: var(--color-surface); cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
  position: relative; min-height: 64px; justify-content: center;
}
.choice-body::before {
  content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  border: 2px solid var(--color-border); border-radius: 50%; background: #fff;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.choice-body strong { font-size: 0.98rem; color: var(--color-ink); }
.choice-body span { font-size: 0.84rem; color: var(--color-ink-soft); }
.choice-tile:hover .choice-body { border-color: var(--color-ink-soft); }
.choice-tile input:checked + .choice-body { border-color: var(--color-accent); background: #FFF5F1; }
.choice-tile input:checked + .choice-body::before { border-color: var(--color-accent); box-shadow: inset 0 0 0 4px #fff; background: var(--color-accent); }
.choice-tile input:focus-visible + .choice-body, .chip input:focus-visible + span { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.choice-group.has-error .choice-body, .choice-group.has-error .chip span { border-color: #D2462E; }

.chip-group { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; margin: 0 !important; font-weight: 500 !important; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px;
  border: 1.5px solid var(--color-border); border-radius: var(--radius-pill);
  background: var(--color-surface); cursor: pointer; font-size: 0.92rem;
  transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
}
.chip:hover span { border-color: var(--color-ink-soft); }
.chip input:checked + span { background: var(--color-dark); border-color: var(--color-dark); color: #fff; }

.stepper { display: flex; gap: 8px; align-items: stretch; }
.stepper .input { text-align: center; -moz-appearance: textfield; }
.stepper .input::-webkit-inner-spin-button, .stepper .input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper-btn {
  flex: none; width: 48px; border-radius: var(--radius-sm); border: 1px solid var(--color-border);
  background: var(--color-surface-muted); font: inherit; font-size: 1.3rem; font-weight: 700; color: var(--color-ink); cursor: pointer;
}
.stepper-btn:hover { border-color: var(--color-ink-soft); }

.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.wizard-nav .spacer { flex: 1; }

.review-list { margin: 0 0 8px; padding: 0; }
.review-list > div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--color-border); font-size: 0.92rem;
}
.review-list dt { color: var(--color-ink-soft); flex: none; max-width: 45%; }
.review-list dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; white-space: pre-line; }
.review-section-title {
  margin: 22px 0 2px; display: flex; justify-content: space-between; align-items: center;
}
.review-section-title h3 { font-size: 1rem; margin: 0; }
.review-section-title button { font-size: 0.85rem; color: var(--color-accent-strong); padding: 8px 4px; }

.spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff;
  animation: spin 0.7s linear infinite; display: none;
}
.is-loading .spinner { display: inline-block; }
.is-loading .btn-label { opacity: 0.85; }
@keyframes spin { to { transform: rotate(360deg); } }

.wizard-success {
  text-align: center; padding: 24px 4px;
}
.wizard-success h2 { font-size: 1.6rem; }
.wizard-success h2:focus { outline: none; }
.wizard-success-ref { font-weight: 700; color: var(--color-ink); }
.wizard-success .icon {
  width: 62px; height: 62px; border-radius: 50%; background: #E9F8EF; color: var(--color-success);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 1.8rem;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--color-dark); color: rgba(255,255,255,0.75); padding-block: 52px 28px; }
.site-footer p { color: rgba(255,255,255,0.66); }
.site-footer a { text-decoration: none; color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.3fr repeat(4, 0.85fr); } }
.footer-heading { color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 14px; }
.footer-tagline { color: #fff; font-weight: 700; margin: 14px 0 8px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* ---------- Legal pages ---------- */
/* Readable line length, but left-aligned with the page heading above it
   (narrowing the .container itself would centre it and break the edge). */
.prose > * { max-width: 760px; }
.prose h2 { margin-top: 2em; }
.prose > h2:first-child, .prose > .pill:first-child + h1 { margin-top: 0; }
.prose > .pill:first-child { margin-bottom: 14px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; color: var(--color-ink-soft); }

/* ---------- Chatbot widget ---------- */
.chatbot-launcher {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--color-dark); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-pop);
  transition: transform 0.15s ease;
}
.chatbot-launcher:hover { transform: scale(1.06); }
.chatbot-launcher:active { transform: scale(0.96); }
.chatbot-launcher.is-yielding {
  opacity: 0.3; pointer-events: none; transition: opacity 0.15s ease;
}
.chatbot-launcher svg { width: 26px; height: 26px; transition: opacity 0.12s ease; }
.chatbot-launcher .icon-close { position: absolute; inset: 0; margin: auto; opacity: 0; }
.chatbot-launcher[aria-expanded="true"] .icon-chat { opacity: 0; }
.chatbot-launcher[aria-expanded="true"] .icon-close { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .chatbot-launcher::after {
    content: ""; position: absolute; inset: -6px; border-radius: 50%;
    border: 2px solid var(--color-accent); opacity: 0;
    animation: launcher-attention 2.2s ease-out 1s 2;
  }
}
@keyframes launcher-attention {
  0% { opacity: 0.65; transform: scale(0.9); }
  100% { opacity: 0; transform: scale(1.35); }
}

.chatbot-panel {
  position: fixed; right: 20px; bottom: 90px; z-index: 200;
  width: min(368px, calc(100vw - 40px));
  max-height: min(560px, calc(100vh - 130px));
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  opacity: 0; transform: translateY(12px) scale(0.97);
  transition: opacity 0.16s ease, transform 0.16s ease;
  pointer-events: none;
}
.chatbot-panel.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
/* display:flex above would otherwise override [hidden], leaving the closed
   panel's buttons in the tab order and accessibility tree. */
.chatbot-panel[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .chatbot-panel { transition: none; }
}

.chatbot-head {
  background: var(--color-dark); color: #fff;
  padding: 16px 18px; display: flex; align-items: center; gap: 12px;
  border-bottom: 3px solid var(--color-accent);
}
.chatbot-head .chatbot-avatar {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: rgba(255, 75, 31, 0.15);
  display: flex; align-items: center; justify-content: center;
}
.chatbot-head .chatbot-avatar svg { width: 26px; height: 26px; }
.chatbot-head .chatbot-head-text { flex: 1; min-width: 0; }
.chatbot-head strong { display: block; font-size: 0.95rem; }
.chatbot-head span { font-size: 0.78rem; color: rgba(255,255,255,0.65); }
.chatbot-close {
  background: rgba(255,255,255,0.12); border: none; color: #fff;
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer; flex: none;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.12s ease;
}
.chatbot-close:hover { background: rgba(255,255,255,0.22); }

.chatbot-body { padding: 16px; overflow-y: auto; flex: 1; }
.chatbot-msg { margin-bottom: 14px; display: flex; }
.chatbot-msg.bot { justify-content: flex-start; }
.chatbot-msg.user { justify-content: flex-end; }
.chatbot-bubble {
  max-width: 84%; padding: 10px 14px; border-radius: 14px; font-size: 0.9rem; line-height: 1.45;
}
.chatbot-msg.bot .chatbot-bubble { background: var(--color-surface-muted); border-bottom-left-radius: 4px; }
.chatbot-msg.user .chatbot-bubble { background: var(--color-dark); color: #fff; border-bottom-right-radius: 4px; }

.chatbot-options { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.chatbot-option {
  text-align: left; background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); padding: 10px 12px; font-size: 0.86rem; font-weight: 600;
  cursor: pointer; transition: border-color 0.12s ease, background 0.12s ease, transform 0.1s ease;
}
.chatbot-option:hover:not(:disabled) { border-color: var(--color-accent); background: var(--color-surface-muted); }
.chatbot-option:disabled { opacity: 0.6; cursor: default; }
.chatbot-option-link { text-decoration: none; color: var(--color-accent-strong); border-color: var(--color-accent-strong); display: block; }
.chatbot-option:active { transform: scale(0.98); }

.chatbot-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--color-border); }

@media (prefers-reduced-motion: no-preference) {
  .chatbot-msg, .chatbot-options { animation: chatbot-msg-in 0.18s ease both; }
}
@keyframes chatbot-msg-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* On small screens, primary form buttons (Submit, Next) often come to rest
   flush against the bottom edge after a "scroll just enough to reveal" swipe
   -- exactly where a bottom-right launcher normally sits. Lift it clear of
   that zone so it never sits on top of a submit button. */
@media (max-width: 640px) {
  .chatbot-launcher { right: 14px; bottom: 88px; width: 50px; height: 50px; }
  .chatbot-launcher svg { width: 22px; height: 22px; }
  /* Form pages are already the conversion point; on phones the floating chat
     button would sit on top of fields, so it's hidden there. */
  body.has-form .chatbot-launcher, body.has-form .chatbot-panel { display: none; }
  .chatbot-panel { right: 16px; bottom: 156px; max-height: min(500px, calc(100vh - 196px)); }
}

/* ---------- Retro cursor (desktop, fine-pointer only) ----------
   One custom pixel-arrow cursor, applied everywhere -- this stays the real
   OS cursor the whole time (never a JS-tracked DOM element), so clicking,
   text selection, scrolling and keyboard nav are all untouched. No separate
   square hover cursor: buttons/links/cards etc. have their own explicit
   `cursor: pointer` elsewhere in this file, which would otherwise win over
   the inherited retro cursor on hover, so it's reapplied (same asset, not a
   different shape) on exactly those elements. Text inputs/selects/textareas
   are deliberately left out, so typing still gets the native text cursor.
   The retro feel comes from the trail/pulse effects below, not a cursor
   swap. */
@media (hover: hover) and (pointer: fine) and (forced-colors: none) {
  body.retro-cursor,
  body.retro-cursor a,
  body.retro-cursor button:not(:disabled),
  body.retro-cursor .btn:not(:disabled),
  body.retro-cursor [role="button"],
  body.retro-cursor summary,
  body.retro-cursor label,
  body.retro-cursor input[type="checkbox"],
  body.retro-cursor input[type="radio"],
  body.retro-cursor .card,
  body.retro-cursor .chatbot-option:not(:disabled),
  body.retro-cursor .choice-body,
  body.retro-cursor .chip span,
  body.retro-cursor .wizard-step-indicator:not(:disabled) {
    cursor: url("/assets/icons/cursor-default.svg") 2 2, auto;
  }
}

/* Trailing sparkle: a short, two-tone pixel trail -- subtle, not a light show. */
.cursor-sparkle {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 4px; height: 4px; margin: 6px 0 0 6px;
  opacity: 0.8; border-radius: 0;
  animation: sparkle-fade 0.48s ease-out forwards;
}
@keyframes sparkle-fade {
  0% { opacity: 0.8; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(10px) scale(0.4); }
}

/* Click pulse: a single retro square ring. */
.cursor-pulse {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border: 2px solid var(--color-accent);
  border-radius: 0;
  animation: pulse-ring 0.45s ease-out forwards;
}
@keyframes pulse-ring {
  from { opacity: 0.9; transform: scale(0.4); }
  to { opacity: 0; transform: scale(2.4); }
}
@media (prefers-reduced-motion: reduce) {
  .cursor-sparkle, .cursor-pulse { display: none; }
}

.contact-email-link {
  font-size: 1.35rem; font-weight: 800; color: var(--color-accent); text-decoration: none;
  letter-spacing: -0.01em; overflow-wrap: anywhere;
}

/* ---------- Contact page ---------- */
.contact-layout {
  display: grid; gap: 24px; align-items: start;
  max-width: 1000px; margin-inline: auto;
}
@media (min-width: 860px) { .contact-layout { grid-template-columns: 1.35fr 1fr; gap: 28px; } }
.contact-form-card { padding: 30px; }
@media (max-width: 560px) { .contact-form-card { padding: 22px 18px; } }
.contact-info .contact-email { margin: 6px 0 26px; }
.contact-subhead { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.55) !important; margin-bottom: 12px; }
.contact-locations { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.contact-locations li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.contact-locations svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--color-accent); }
.contact-locations li a { color: inherit; text-decoration-color: rgba(255,255,255,0.35); text-underline-offset: 3px; }

/* Payment terms list (Workspaces page) */
.terms-list { margin: 0; padding-left: 1.2em; color: var(--color-ink-soft); }
.terms-list li { margin-bottom: 8px; break-inside: avoid; }
@media (min-width: 760px) { .terms-list { columns: 2; column-gap: 40px; } }

/* ---------- SEO helpers: breadcrumbs, external links, FAQ lists ---------- */
.breadcrumbs { padding-top: 22px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 0.84rem; color: var(--color-ink-soft); }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before { content: "/"; margin: 0 8px; color: #B5B2A6; }
.breadcrumbs a { color: var(--color-ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--color-ink); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--color-ink); font-weight: 600; }
.breadcrumbs + script + section, .breadcrumbs + section,
.breadcrumbs + script + script + section, .breadcrumbs + script + script + script + section { padding-top: 32px; }
.section-tight-top { padding-top: 32px; }
.ext-link { font-weight: 600; }
.card-link { text-decoration: none; color: inherit; }
.card-link:hover { color: var(--color-accent-strong); text-decoration: underline; }
.faq-list { margin-top: 8px; }
.hero-price .amount-unit { font-size: 1rem; color: var(--color-ink-soft); }

/* ---------- Privacy notice at collection ---------- */
.privacy-notice {
  background: var(--color-surface-muted); border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); padding: 16px 18px; margin: 4px 0 16px; font-size: 0.86rem;
}
.privacy-notice-title { font-size: 0.95rem; margin: 0 0 8px; }
.privacy-notice ul { margin: 0 0 8px; padding-left: 1.1em; color: var(--color-ink-soft); }
.privacy-notice li { margin-bottom: 4px; }
.privacy-notice p { margin: 0; font-size: 0.84rem; }

/* Closed mobile menu: hidden from keyboard and screen readers too, not just transparent */
@media (max-width: 860px) {
  .nav-links { visibility: hidden; transition: transform 0.15s ease, opacity 0.15s ease, visibility 0s linear 0.15s; }
  .nav-links.is-open { visibility: visible; transition: transform 0.15s ease, opacity 0.15s ease, visibility 0s; }
}
