:root {
  --night: #171210;
  --night-2: #241a17;
  --ivory: #f5efe6;
  --paper: #fffdf8;
  --ink: #241f1b;
  --muted: #756c63;
  --line: #e2d9cc;
  --accent: #702c42;
  --accent-deep: #51202f;
  --accent-soft: #f3e7eb;
  --accent-rgb: 112, 44, 66;
  --sage: #66796c;
  --gold: #c5a773;
  --radius: 6px;
  --shadow: 0 24px 80px rgba(31, 23, 19, .18);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

html[data-accent="sage"] {
  --accent: #526b5a;
  --accent-deep: #3e5445;
  --accent-soft: #e8efe9;
  --accent-rgb: 82, 107, 90;
}

html[data-accent="graphite"] {
  --accent: #343638;
  --accent-deep: #202225;
  --accent-soft: #e9eaeb;
  --accent-rgb: 52, 54, 56;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--night);
  color: var(--ivory);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.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;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 13% 18%, rgba(112, 44, 66, .25), transparent 34%),
    radial-gradient(circle at 84% 4%, rgba(197, 167, 115, .12), transparent 28%),
    linear-gradient(135deg, #171210 0%, #1d1613 48%, #14100f 100%);
}

.ambient::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}

.ambient::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -260px;
  top: 28%;
  border: 1px solid rgba(197, 167, 115, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(197, 167, 115, .025), 0 0 0 180px rgba(197, 167, 115, .018);
}

.shell {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid rgba(245, 239, 230, .12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(197, 167, 115, .55);
  border-radius: var(--radius);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1;
}

.brand-name {
  display: grid;
  gap: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.1;
}

.brand-name span {
  color: rgba(245, 239, 230, .48);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .3em;
}

.mode-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mode-nav button {
  position: relative;
  border: 0;
  border-radius: var(--radius);
  padding: 12px 15px;
  background: transparent;
  color: rgba(245, 239, 230, .56);
  font-size: 13px;
  transition: color .2s ease, background .2s ease;
}

.mode-nav button:hover { color: var(--ivory); background: rgba(245, 239, 230, .05); }
.mode-nav button[aria-current="page"] { color: var(--ivory); background: rgba(245, 239, 230, .08); }
.mode-nav button[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 6px;
  height: 1px;
  background: var(--gold);
}

.text-button {
  justify-self: end;
  border: 0;
  padding: 9px 0;
  background: transparent;
  color: rgba(245, 239, 230, .48);
  font-size: 12px;
  text-decoration: underline;
  text-decoration-color: rgba(245, 239, 230, .2);
  text-underline-offset: 4px;
}

.text-button:hover { color: var(--ivory); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  min-height: calc(100vh - 92px);
  padding: 68px 0 78px;
}

.intro { animation: rise .7s ease both; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(197, 167, 115, .1);
}

.intro h1 {
  max-width: 660px;
  margin: 22px 0 24px;
  font-family: var(--serif);
  font-size: clamp(52px, 5.6vw, 76px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .99;
}

.intro h1 em {
  color: #d9c2a2;
  font-weight: 400;
}

.intro-copy {
  max-width: 560px;
  margin: 0;
  color: rgba(245, 239, 230, .66);
  font-size: 16px;
  line-height: 1.75;
}

.feature-list {
  max-width: 580px;
  margin: 34px 0 30px;
  border-top: 1px solid rgba(245, 239, 230, .12);
}

.feature {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(245, 239, 230, .1);
}

.feature > span {
  padding-top: 2px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 12px;
}

.feature p {
  display: grid;
  gap: 4px;
  margin: 0;
  color: rgba(245, 239, 230, .5);
  font-size: 13px;
  line-height: 1.55;
}

.feature strong {
  color: var(--ivory);
  font-size: 14px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 19px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.button:active { transform: translateY(1px); }
.button-light { background: var(--ivory); color: var(--night); }
.button-light:hover { background: #fffaf2; }
.button-ghost { border-color: rgba(245, 239, 230, .22); background: transparent; color: var(--ivory); }
.button-ghost:hover { border-color: rgba(245, 239, 230, .42); background: rgba(245, 239, 230, .04); }

.copy-status {
  min-height: 20px;
  padding-top: 8px;
  color: var(--gold);
  font-size: 12px;
}

.accent-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.accent-picker > span {
  margin-right: 6px;
  color: rgba(245, 239, 230, .38);
  font-size: 11px;
}

.accent-picker button {
  width: 22px;
  height: 22px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 0;
  background: var(--swatch);
  box-shadow: 0 0 0 1px rgba(245, 239, 230, .18);
}

.accent-picker button[aria-pressed="true"] { border-color: var(--ivory); }
.accent-picker button[data-accent="burgundy"] { --swatch: #702c42; }
.accent-picker button[data-accent="sage"] { --swatch: #526b5a; }
.accent-picker button[data-accent="graphite"] { --swatch: #343638; }

.preview {
  align-self: center;
  border: 1px solid rgba(245, 239, 230, .15);
  border-radius: 10px;
  padding: 0 14px 14px;
  background: rgba(255, 253, 248, .045);
  box-shadow: 0 36px 110px rgba(0, 0, 0, .28);
  backdrop-filter: blur(12px);
  animation: rise .8s .12s ease both;
}

.preview-top,
.preview-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 3px;
  color: rgba(245, 239, 230, .46);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.preview-top span:last-child { color: rgba(245, 239, 230, .74); }

.preview-bottom {
  align-items: flex-start;
  justify-content: flex-start;
  padding: 12px 4px 0;
  letter-spacing: 0;
  text-transform: none;
}

.preview-bottom > span {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.preview-bottom p { margin: 0; font-size: 10px; line-height: 1.5; }

.widget-host { min-width: 0; }

.booking-widget {
  overflow: hidden;
  border: 1px solid rgba(36, 31, 27, .08);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.widget-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 22px 17px;
  border-bottom: 1px solid var(--line);
}

.business-avatar {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--serif);
  font-size: 18px;
}

.business-info { min-width: 0; flex: 1; }
.business-info h2 {
  overflow: hidden;
  margin: 0 0 3px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.business-info p { margin: 0; color: var(--muted); font-size: 11px; }

.demo-badge {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 5px 7px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.step-rail {
  display: grid;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  gap: 7px;
  padding: 15px 22px 0;
}

.step-item {
  min-width: 0;
  padding-top: 9px;
  border-top: 2px solid var(--line);
  color: #a89e93;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .03em;
  transition: border-color .2s ease, color .2s ease;
}

.step-item.is-active { border-color: var(--accent); color: var(--accent); }
.step-item.is-done { border-color: rgba(var(--accent-rgb), .35); color: var(--muted); }

.widget-body { padding: 22px; }

.widget-title {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.widget-subtitle {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.choice-list {
  display: grid;
  gap: 9px;
}

.choice-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.choice-card:hover { border-color: rgba(var(--accent-rgb), .48); transform: translateY(-1px); }
.choice-card[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.choice-card:disabled { cursor: not-allowed; opacity: .45; transform: none; }

.choice-mark {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--accent);
  font-family: var(--serif);
  font-size: 15px;
}

.choice-card[aria-pressed="true"] .choice-mark { border-color: rgba(var(--accent-rgb), .24); background: #fff; }

.choice-content { flex: 1; min-width: 0; }
.choice-content strong { display: block; margin-bottom: 3px; font-size: 13px; font-weight: 600; }
.choice-content small { display: block; color: var(--muted); font-size: 11px; line-height: 1.45; }

.choice-meta {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  text-align: right;
}

.choice-meta span { display: block; color: var(--muted); font-size: 10px; font-weight: 400; }

.widget-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
}

.widget-button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 17px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.widget-button:hover:not(:disabled) { border-color: #bfb4a8; background: #faf7f1; }
.widget-button:active:not(:disabled) { transform: translateY(1px); }
.widget-button:disabled { cursor: not-allowed; opacity: .38; }
.widget-button-primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.widget-button-primary:hover:not(:disabled) { border-color: var(--accent-deep); background: var(--accent-deep); }

.selection-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 13px;
  background: #faf7f1;
  font-size: 11px;
}

.selection-summary strong { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 600; }
.selection-summary span { color: var(--muted); }
.summary-price { flex: 0 0 auto; color: var(--accent); font-weight: 700; }

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.calendar-head strong { font-family: var(--serif); font-size: 16px; font-weight: 400; text-transform: capitalize; }
.calendar-nav { display: flex; gap: 5px; }
.calendar-nav button {
  min-width: 32px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 9px;
  background: #fff;
  color: var(--ink);
  font-size: 10px;
}
.calendar-nav button:disabled { cursor: not-allowed; opacity: .3; }

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.calendar-weekdays { margin-bottom: 5px; }
.calendar-weekdays span { color: #a0968b; font-size: 9px; text-align: center; }

.calendar-day {
  min-width: 0;
  height: 36px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
}

.calendar-day:hover:not(:disabled) { border-color: var(--line); background: #faf7f1; }
.calendar-day:disabled { cursor: not-allowed; color: #c9c0b5; }
.calendar-day.is-today { border-color: var(--line); }
.calendar-day[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: #fff; }
.calendar-empty { height: 36px; }

.field-label {
  display: block;
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
}

.duration-row,
.quantity-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.duration-button,
.quantity-button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
}

.duration-button[aria-pressed="true"],
.quantity-button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }

.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.slot {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 6px;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
}

.slot:hover:not(:disabled) { border-color: var(--accent); }
.slot:disabled { cursor: not-allowed; color: #c9c0b5; background: #faf8f4; text-decoration: line-through; }
.slot[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: #fff; }

.empty-state {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 24px 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.form-field { min-width: 0; }
.form-field.full { grid-column: 1 / -1; }

.form-field label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.form-field input { height: 42px; }
.form-field textarea { min-height: 78px; resize: vertical; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #b1a89e; }
.form-field input:focus,
.form-field textarea:focus { border-color: var(--accent); outline: 0; box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .1); }
.form-field.has-error input { border-color: #a35c4b; }

.field-error {
  min-height: 15px;
  padding-top: 4px;
  color: #8e4c3e;
  font-size: 10px;
  line-height: 1.4;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.consent input { flex: 0 0 auto; width: 15px; height: 15px; margin: 1px 0 0; accent-color: var(--accent); }
.consent.has-error { color: #8e4c3e; }

.contact-summary {
  margin-bottom: 18px;
  border-left: 2px solid var(--accent);
  padding: 2px 0 2px 12px;
}
.contact-summary strong { display: block; margin-bottom: 4px; font-family: var(--serif); font-size: 15px; font-weight: 400; }
.contact-summary span { color: var(--muted); font-size: 11px; line-height: 1.55; }

.success-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(var(--accent-rgb), .24);
  border-radius: 50%;
  background: var(--accent-soft);
}

.success-mark::after {
  content: "";
  width: 19px;
  height: 10px;
  margin-top: -4px;
  border-bottom: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.success-title { margin-bottom: 8px; font-family: var(--serif); font-size: 28px; font-weight: 400; letter-spacing: -.02em; }
.success-copy { margin: 0 0 20px; color: var(--muted); font-size: 12px; line-height: 1.65; }

.success-details {
  display: grid;
  gap: 0;
  margin: 0 0 20px;
  border-top: 1px solid var(--line);
}

.success-details div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.success-details dt { color: var(--muted); }
.success-details dd { margin: 0; font-weight: 600; text-align: right; }

.demo-note {
  margin: 16px 0 0;
  border-radius: var(--radius);
  padding: 11px 12px;
  background: #f7f3ec;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.widget-footer {
  border-top: 1px solid var(--line);
  padding: 12px 22px;
  color: #9c9287;
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

.capabilities {
  padding: 78px 0 84px;
  border-top: 1px solid rgba(245, 239, 230, .12);
}

.section-heading {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 42px;
}

.section-heading h2 {
  max-width: 620px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(245, 239, 230, .12);
  border-left: 1px solid rgba(245, 239, 230, .12);
}

.capability-grid article {
  min-height: 230px;
  border-right: 1px solid rgba(245, 239, 230, .12);
  border-bottom: 1px solid rgba(245, 239, 230, .12);
  padding: 26px;
}

.capability-grid article > span { color: var(--gold); font-family: var(--serif); font-size: 12px; }
.capability-grid h3 { margin: 36px 0 12px; font-family: var(--serif); font-size: 21px; font-weight: 400; line-height: 1.15; }
.capability-grid p { margin: 0; color: rgba(245, 239, 230, .5); font-size: 12px; line-height: 1.7; }
.capability-grid code { color: #d9c2a2; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 0 36px;
  border-top: 1px solid rgba(245, 239, 230, .12);
  color: rgba(245, 239, 230, .38);
  font-size: 11px;
}

.site-footer > span { color: rgba(245, 239, 230, .62); font-weight: 600; letter-spacing: .12em; }
.site-footer p { max-width: 600px; margin: 0; text-align: right; line-height: 1.6; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 20;
  max-width: calc(100% - 32px);
  border: 1px solid rgba(245, 239, 230, .16);
  border-radius: var(--radius);
  padding: 12px 17px;
  background: #241a17;
  color: var(--ivory);
  box-shadow: 0 14px 50px rgba(0, 0, 0, .3);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .2s ease, transform .2s ease;
}

.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

body.embed {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 16px;
  background: #eee8df;
  color: var(--ink);
}

body.embed .shell,
body.embed .ambient { display: none; }
body.embed .widget-host { width: min(100%, 520px); }
body.embed .booking-widget { box-shadow: 0 16px 50px rgba(36, 31, 27, .12); }
body.embed.in-frame { min-height: 0; padding: 0; }
body.embed.in-frame .widget-host { width: 100%; }
body.embed.in-frame .booking-widget { min-height: 0; border: 0; border-radius: 0; box-shadow: none; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(380px, 480px); gap: 42px; }
  .intro h1 { font-size: clamp(48px, 6vw, 66px); }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-grid article { min-height: 200px; }
}

@media (max-width: 860px) {
  .shell { width: min(100% - 40px, 680px); }
  .site-header { grid-template-columns: 1fr auto; min-height: 78px; }
  .mode-nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; padding-bottom: 12px; }
  .text-button { grid-column: 2; grid-row: 1; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 48px 0 64px; gap: 44px; }
  .intro { max-width: 620px; }
  .preview { width: min(100%, 540px); justify-self: center; }
  .section-heading { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 28px); }
  .site-header { gap: 10px; }
  .brand-name { font-size: 12px; }
  .text-button { font-size: 10px; }
  .mode-nav { gap: 2px; }
  .mode-nav button { padding: 11px 10px; font-size: 11px; }
  .mode-nav button[aria-current="page"]::after { left: 10px; right: 10px; }
  .hero { padding-top: 36px; gap: 34px; }
  .intro h1 { margin-top: 18px; font-size: clamp(42px, 12vw, 58px); }
  .intro-copy { font-size: 14px; line-height: 1.65; }
  .feature-list { margin-top: 26px; }
  .feature { grid-template-columns: 26px 1fr; gap: 11px; padding: 14px 0; }
  .feature p { font-size: 12px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .preview { padding: 0 8px 10px; border-radius: 8px; }
  .preview-top, .preview-bottom { padding-left: 2px; padding-right: 2px; }
  .preview-top { font-size: 8px; }
  .preview-bottom { display: grid; gap: 5px; }
  .widget-header { padding: 16px 16px 14px; gap: 10px; }
  .business-avatar { flex-basis: 34px; width: 34px; height: 34px; font-size: 16px; }
  .business-info h2 { font-size: 16px; }
  .business-info p { font-size: 10px; }
  .demo-badge { padding: 4px 5px; font-size: 8px; }
  .step-rail { padding: 13px 16px 0; gap: 5px; }
  .step-item { font-size: 8px; }
  .widget-body { padding: 18px 16px; }
  .widget-title { font-size: 23px; }
  .widget-subtitle { font-size: 11px; margin-bottom: 16px; }
  .choice-card { padding: 12px; gap: 10px; }
  .choice-mark { flex-basis: 34px; width: 34px; height: 34px; }
  .choice-content strong { font-size: 12px; }
  .choice-content small { font-size: 10px; }
  .choice-meta { font-size: 10px; }
  .widget-actions { margin-top: 18px; }
  .widget-button { padding: 0 14px; font-size: 11px; }
  .calendar-day { height: 34px; }
  .calendar-empty { height: 34px; }
  .slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: 1fr; gap: 10px; }
  .form-field.full { grid-column: auto; }
  .success-title { font-size: 26px; }
  .widget-footer { padding: 11px 16px; }
  .capabilities { padding: 54px 0 60px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2 { font-size: 34px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid article { min-height: 0; padding: 22px; }
  .capability-grid h3 { margin-top: 24px; }
  .site-footer { display: grid; gap: 10px; }
  .site-footer p { text-align: left; }
  body.embed { padding: 0; }
  body.embed .booking-widget { min-height: 100vh; border: 0; border-radius: 0; box-shadow: none; }
}

@media (max-width: 360px) {
  .step-item { font-size: 7px; }
  .choice-meta { display: none; }
  .selection-summary { align-items: flex-start; }
  .calendar-day { height: 31px; font-size: 10px; }
  .calendar-empty { height: 31px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
