:root {
  --bg: #f6ede3;
  --surface: #fffaf4;
  --surface-soft: #f1e3d3;
  --text: #171311;
  --muted: #66584d;
  --line: #171311;
  --line-soft: #d8c8b6;
  --blue: #d9792b;
  --blue-soft: #ffe3c8;
  --success: #1f7a3f;
  --warning: #9a6700;
  --error: #b42318;
  --shadow: 0 18px 42px rgba(17, 17, 17, 0.06);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.booking-page {
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: 104px;
}

a,
.button {
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

select {
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.site-header,
.hero-copy,
.hero-card,
.mini-card,
.booking-stage,
.slot-card,
.info-card,
.liability-note,
.request-card,
.video-frame {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  margin-bottom: 28px;
}

.brand {
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr);
  gap: 18px;
}

.hero-copy,
.hero-card,
.mini-card,
.booking-stage,
.slot-card,
.info-card,
.request-card,
.liability-note {
  padding: 28px;
}

.eyebrow,
.card-label,
.step-number,
.slot-label,
.stage-kicker,
.fee-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 800;
}

.eyebrow,
.card-label,
.slot-label,
.stage-kicker,
.fee-label {
  color: var(--muted);
}

h1,
h2,
h3,
p,
ul {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 16px;
  font-size: clamp(2.9rem, 6vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.55rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.lead,
.hero-note,
.mini-card p,
.slot-card p,
.info-card p,
.liability-note p,
.request-card p,
.stage-copy,
.calendar-note p {
  color: var(--muted);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: 2px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 150ms ease,
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.button-launch {
  min-width: 240px;
  box-shadow: 0 18px 36px rgba(47, 109, 246, 0.24);
}

.button-secondary,
.button-ghost {
  color: var(--text);
  background: var(--surface);
}

.hero-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.launch-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  outline: 4px solid rgba(47, 109, 246, 0.1);
}

.rule-stack {
  display: grid;
  gap: 12px;
}

.rule-chip {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
}

.rule-chip.is-active {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.rule-dot {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.rule-chip.is-active .rule-dot {
  border-color: var(--blue);
  background: var(--blue);
}

.rule-chip strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.rule-chip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.45;
}

.section-grid,
.media-section,
.request-section {
  margin-top: 68px;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-card h3 {
  font-size: 1.25rem;
}

.step-number {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--text);
}

.booking-experience {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
  gap: 18px;
  align-items: start;
}

.booking-stage-calendar {
  position: sticky;
  top: 18px;
}

.stage-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.compact-heading {
  margin-bottom: 14px;
}

.stage-heading h3 {
  margin-bottom: 2px;
  font-size: 1.2rem;
}

.stage-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 1.2rem;
  font-weight: 800;
}

.stage-number.is-blue {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.calendar-field {
  margin-top: 22px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.field input,
.field select {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
}

.field textarea {
  width: 100%;
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 109, 246, 0.14);
}

.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 109, 246, 0.14);
}

.field-hint {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.field-panel {
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff8ef;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.checkbox-field input {
  width: 18px;
  min-height: auto;
  margin-top: 2px;
  padding: 0;
}

.is-date-field input {
  min-height: 62px;
  padding-right: 18px;
  font-size: 1.02rem;
  font-weight: 700;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.calendar-note,
.fee-bar {
  margin-top: 18px;
  padding: 16px 18px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}

.calendar-note strong,
.fee-bar strong {
  display: block;
  margin-bottom: 6px;
}

.calendar-note p,
.fee-bar p {
  margin: 0;
}

.booking-form {
  display: grid;
  gap: 18px;
}

.slot-options {
  display: grid;
  gap: 12px;
}

.slot-copy {
  display: grid;
  gap: 4px;
}

.slot-copy small {
  color: var(--muted);
  font-size: 0.82rem;
}

.slot-placeholder {
  margin: 0;
  padding: 18px;
  border: 2px dashed var(--line-soft);
  border-radius: var(--radius-sm);
  color: var(--muted);
  background: var(--surface-soft);
}

.slot-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background-color 150ms ease,
    color 150ms ease,
    opacity 150ms ease;
}

.slot-option strong {
  font-size: 0.9rem;
}

.slot-option small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.slot-option:hover:not(:disabled) {
  transform: translateY(-1px);
}

.slot-option.is-shareable {
  border-color: #d9792b;
  background: #fff4e8;
}

.slot-option.is-selected {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.slot-option.is-selected strong,
.slot-option.is-selected span {
  color: var(--blue);
}

.slot-option:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.guest-fields {
  display: grid;
  gap: 14px;
}

.fee-bar {
  display: grid;
  gap: 10px;
}

.booking-status {
  min-height: 24px;
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.booking-status[data-tone="success"] {
  color: var(--success);
}

.booking-status[data-tone="warning"] {
  color: var(--warning);
}

.booking-status[data-tone="error"] {
  color: var(--error);
}

.slot-card {
  background: var(--surface-soft);
}

.detail-list {
  margin-bottom: 0;
  padding-left: 18px;
  line-height: 1.6;
}

.stack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.video-frame {
  overflow: hidden;
  background: #000;
}

.video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.request-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.booking-topbar,
.booking-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 28px;
  border-bottom: 2px solid var(--line);
  background: #fff;
}

.booking-bottom-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  border-top: 2px solid var(--line);
  border-bottom: 0;
  box-shadow: 0 -18px 36px rgba(17, 17, 17, 0.08);
}

.calendar-nav-button {
  min-height: 46px;
  padding: 0 16px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

.booking-path {
  display: flex;
  align-items: center;
  gap: 10px;
}

.booking-path span {
  padding: 9px 13px;
  border: 2px solid var(--line-soft);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.booking-path span.is-current {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-soft);
}

.booking-path span.is-complete {
  border-color: var(--line);
  color: var(--text);
}

.booking-app {
  min-height: calc(100vh - 82px);
  display: block;
  overflow: visible;
}

.booking-screen {
  width: min(1180px, calc(100% - 48px));
  min-height: 100%;
  margin: 0 auto;
  padding: 34px 0 132px;
  display: grid;
  align-content: start;
  gap: 26px;
}

.booking-screen-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.booking-screen-header h1 {
  max-width: none;
  margin-bottom: 0;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1;
}

.calendar-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.calendar-board {
  display: grid;
  gap: 12px;
  padding: 26px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.calendar-board-full {
  min-height: 0;
}

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

.calendar-weekdays span {
  padding: 8px 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.calendar-day {
  min-height: 72px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease,
    transform 150ms ease,
    opacity 150ms ease;
}

.calendar-day:hover:not(:disabled) {
  transform: translateY(-1px);
}

.calendar-day.is-selected {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 32px rgba(47, 109, 246, 0.24);
}

.calendar-day.is-outside {
  opacity: 0.35;
}

.calendar-day.is-disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.fullscreen-slots {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fullscreen-slot-option {
  min-height: 260px;
  align-items: flex-start;
  padding: 24px;
  border-radius: 8px;
  font-size: 1.2rem;
}

.selection-summary {
  display: grid;
  gap: 12px;
}

.selection-pill span,
.footer-note-title {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.selection-summary {
  grid-template-columns: 1fr;
}

.two-up-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.selection-pill {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.selection-pill strong {
  font-size: 1rem;
}

.footer-note-group {
  display: grid;
  gap: 6px;
}

.footer-note-title {
  margin: 0;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.booking-status {
  margin: 0;
}

.booking-form-page {
  max-width: 820px;
}

.guest-fields-page {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guest-fields-page .field:first-child {
  grid-column: 1 / -1;
}

.fee-bar-page {
  max-width: 820px;
}

@media (max-width: 1024px) {
  .hero,
  .four-up,
  .three-up,
  .two-up,
  .booking-experience,
  .request-card {
    grid-template-columns: 1fr;
  }

  .booking-stage-calendar {
    position: static;
  }

  .fullscreen-slots {
    grid-template-columns: 1fr;
  }

  .two-up-summary {
    grid-template-columns: 1fr;
  }

  .request-card {
    display: grid;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 12px;
  }

  .site-header,
  .hero-copy,
  .hero-card,
  .mini-card,
  .booking-stage,
  .slot-card,
  .info-card,
  .liability-note,
  .request-card {
    padding: 22px;
    border-radius: 22px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    gap: 10px 16px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.4rem, 14vw, 4rem);
  }

  h2 {
    line-height: 1.08;
  }

  .button {
    width: 100%;
  }

  .stage-heading {
    align-items: flex-start;
  }

  .launch-card,
  .booking-screen-header,
  .booking-topbar,
  .booking-bottom-bar {
    display: grid;
  }

  .calendar-weekdays,
  .calendar-grid {
    gap: 6px;
  }

  .calendar-day {
    border-radius: 16px;
    font-size: 0.95rem;
    min-height: 46px;
  }

  .calendar-board {
    padding: 14px;
  }

  .booking-screen {
    width: min(100% - 20px, 1180px);
    padding: 22px 0 190px;
  }

  .guest-fields-page {
    grid-template-columns: 1fr;
  }

  .booking-path {
    flex-wrap: wrap;
  }

  .footer-actions {
    display: grid;
    width: 100%;
  }

  .booking-bottom-bar {
    padding: 14px 18px max(14px, env(safe-area-inset-bottom));
  }
}

.waiver-page,
.dashboard-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(47, 109, 246, 0.12), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #f6f7f9 100%);
}

.waiver-shell,
.dashboard-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: calc(20px + env(safe-area-inset-top, 0px)) 0 70px;
}

.waiver-hero,
.dashboard-login,
.dashboard-top,
.waiver-card,
.dashboard-metrics article,
.waiver-group,
.empty-dashboard {
  border: 2px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.waiver-hero,
.dashboard-login {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
  padding: clamp(24px, 5vw, 46px);
}

.waiver-hero h1,
.dashboard-login h1,
.dashboard-top h1 {
  max-width: 11ch;
  margin-bottom: 0;
}

.waiver-form {
  display: grid;
  gap: 18px;
}

.waiver-card {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 4vw, 34px);
}

.waiver-card-heading {
  display: grid;
  gap: 8px;
}

.waiver-card-heading h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.waiver-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.booking-summary {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.booking-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.booking-summary-row span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking-summary-row strong {
  font-size: clamp(1rem, 2vw, 1.2rem);
  text-align: right;
}

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

.waiver-slot {
  position: relative;
  display: grid;
  min-height: 120px;
  padding: 18px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 150ms ease,
    background-color 150ms ease,
    color 150ms ease,
    transform 150ms ease;
}

.waiver-slot:hover {
  transform: translateY(-1px);
}

.waiver-slot input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.waiver-slot span {
  align-self: end;
  font-size: 1.15rem;
  font-weight: 800;
}

.waiver-slot:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue);
  box-shadow: 0 14px 32px rgba(47, 109, 246, 0.18);
}

.waiver-acknowledgement {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.waiver-acknowledgement p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.legal-copy h3 {
  margin-bottom: 4px;
  text-align: center;
}

.legal-copy p {
  color: var(--text);
}

.signature-box {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(transparent calc(100% - 72px), rgba(47, 109, 246, 0.1) calc(100% - 70px), transparent calc(100% - 68px)),
    #fff;
}

.signature-box canvas {
  display: block;
  width: 100%;
  height: 260px;
  touch-action: none;
  cursor: crosshair;
}

.signature-clear {
  position: absolute;
  right: 14px;
  bottom: 14px;
  min-height: 42px;
  padding: 0 14px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}

.check-row input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.waiver-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  background: linear-gradient(180deg, rgba(246, 247, 249, 0), #f6f7f9 32%);
}

.booking-email-form {
  display: grid;
  gap: 18px;
}

.booking-email-actions {
  position: static;
  padding-top: 0;
  background: transparent;
}

.dashboard-login {
  max-width: 720px;
  margin: 40px auto;
}

.dashboard-login-form {
  display: grid;
  gap: 14px;
}

.dashboard-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: clamp(22px, 4vw, 34px);
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.dashboard-switcher {
  display: inline-flex;
  gap: 10px;
  margin: 0 0 18px;
  padding: 8px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.dashboard-tab {
  min-height: 48px;
  padding: 0 18px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
}

.dashboard-tab.is-active {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue);
}

.dashboard-panel {
  display: grid;
  gap: 18px;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.dashboard-metrics article {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.dashboard-metrics span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-metrics strong {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.waiver-groups {
  display: grid;
  gap: 18px;
}

.waiver-group,
.empty-dashboard {
  padding: clamp(20px, 3vw, 28px);
}

.waiver-group-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--line);
}

.waiver-group-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.waiver-records {
  display: grid;
  gap: 12px;
}

.waiver-record {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  padding: 18px;
  border: 2px solid var(--line-soft);
  border-radius: 8px;
  background: #fff;
}

.waiver-record h3 {
  margin-bottom: 8px;
}

.waiver-record p {
  margin-bottom: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.waiver-record img {
  width: 100%;
  min-height: 120px;
  object-fit: contain;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.waiver-record-actions {
  display: grid;
  gap: 12px;
  align-content: start;
}

@media (max-width: 820px) {
  .waiver-shell,
  .dashboard-shell {
    width: min(100% - 16px, 1120px);
    padding-top: calc(12px + env(safe-area-inset-top, 0px));
  }

  .waiver-hero,
  .waiver-card,
  .dashboard-login,
  .dashboard-top,
  .waiver-group,
  .empty-dashboard,
  .dashboard-metrics article {
    border-radius: 24px;
  }

  .waiver-hero {
    padding: 22px;
  }

  .waiver-card {
    padding: 20px;
  }

  .waiver-card-heading h2 {
    font-size: clamp(2rem, 11vw, 3.2rem);
    line-height: 0.95;
  }

  .is-date-field input {
    min-height: 68px;
    font-size: 1.1rem;
    border-radius: 20px;
  }

  .field-hint {
    font-size: 0.92rem;
  }

  .waiver-grid,
  .waiver-slots,
  .dashboard-metrics {
    grid-template-columns: 1fr;
  }

  .booking-summary-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .booking-summary-row strong {
    text-align: left;
  }

  .dashboard-top,
  .waiver-group-heading,
  .waiver-actions {
    display: grid;
  }

  .dashboard-switcher {
    display: grid;
    width: 100%;
    border-radius: 24px;
  }

  .dashboard-actions {
    justify-content: stretch;
  }

  .waiver-record {
    grid-template-columns: 1fr;
  }
}

.home-page {
  background:
    radial-gradient(circle at top right, rgba(217, 121, 43, 0.14), transparent 22rem),
    linear-gradient(180deg, #f8efe5 0%, #f1e6d9 100%);
}

.cozy-shell {
  padding-bottom: 80px;
}

.cozy-header {
  background: rgba(255, 250, 244, 0.96);
}

.cozy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 18px;
}

.cozy-hero-copy,
.cozy-hero-card,
.cozy-card,
.weekend-gate-card,
.fake-payment-card,
.request-record,
.calendar-side-note {
  background: rgba(255, 250, 244, 0.96);
  border: 2px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.cozy-hero-copy,
.cozy-hero-card,
.weekend-gate-card,
.fake-payment-card,
.calendar-side-note {
  padding: 28px;
}

.cozy-note-list {
  display: grid;
  gap: 12px;
}

.cozy-note-item {
  padding: 14px;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.cozy-note-item p,
.about-placeholder p {
  margin-bottom: 0;
  color: var(--muted);
}

.weekend-inline-link,
.section-inline-note {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.weekend-inline-link a,
.section-inline-note a {
  color: var(--text);
  font-weight: 800;
}

.simple-section {
  margin-top: 56px;
}

.cozy-card {
  display: grid;
  gap: 16px;
}

.cozy-topbar {
  background: rgba(255, 250, 244, 0.98);
}

.booking-screen-compact {
  width: min(860px, calc(100% - 28px));
}

.calendar-board-cozy {
  gap: 10px;
  padding: 18px;
}

.calendar-board-cozy .calendar-grid,
.calendar-board-cozy .calendar-weekdays {
  gap: 8px;
}

.calendar-side-note {
  display: grid;
  gap: 6px;
  max-width: 560px;
}

.calendar-side-note p,
.calendar-side-note a {
  margin: 0;
  color: var(--muted);
}

.calendar-day.is-weekend {
  background: #f8eee4;
}

.cozy-slots {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cozy-policy-card {
  display: grid;
  gap: 10px;
  max-width: 820px;
  padding: 18px 20px;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: #fff6eb;
}

.cozy-policy-card p {
  margin: 0;
  color: var(--muted);
}

.fake-payment-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(23, 19, 17, 0.45);
}

.fake-payment-card {
  width: min(520px, 100%);
}

.fake-payment-summary {
  margin: 20px 0;
  padding: 18px;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.fake-payment-summary p,
.request-record p {
  margin-bottom: 8px;
}

.fake-payment-actions {
  display: flex;
  gap: 12px;
}

.weekend-gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(circle at top right, rgba(217, 121, 43, 0.18), transparent 24rem),
    linear-gradient(180deg, #f7ecdf 0%, #efe0cf 100%);
}

.weekend-gate-card {
  width: min(560px, 100%);
}

.dashboard-actions-inline {
  margin-bottom: 18px;
}

.request-groups {
  display: grid;
  gap: 14px;
}

.request-record {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
}

.request-record-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.request-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.request-badge,
.request-cancelled-note {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.request-badge.is-confirmed {
  border-color: var(--success);
  color: var(--success);
}

.request-badge.is-weekend-request {
  border-color: var(--warning);
  color: var(--warning);
}

.request-badge.is-review-needed {
  border-color: #8b5cf6;
  color: #8b5cf6;
}

.request-badge.is-shareable {
  border-color: #d9792b;
  color: #d9792b;
}

.request-badge.is-cancelled,
.request-cancelled-note {
  border-color: var(--error);
  color: var(--error);
}

.request-record-actions {
  display: grid;
  align-content: start;
}

@media (max-width: 1024px) {
  .cozy-hero,
  .cozy-slots {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .booking-screen-compact {
    width: min(100% - 16px, 860px);
  }

  .fake-payment-actions,
  .request-record,
  .request-record-heading {
    display: grid;
  }

  .cozy-hero-copy,
  .cozy-hero-card,
  .weekend-gate-card,
  .fake-payment-card,
  .calendar-side-note,
  .request-record {
    padding: 22px;
  }
}
