:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #00091d;
  color: #f7f9fc;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: #00091d;
  color: #f7f9fc;
  line-height: 1.5;
}

a {
  color: inherit;
}

.logo-band {
  display: flex;
  min-height: 180px;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  background: #ffffff;
}

.logo-band img {
  display: block;
  width: min(100%, 430px);
  height: auto;
  /* The logo file's background is near-white, not white, and showed as a faint grey box on the white
     band. Multiplying against white makes near-white vanish and leaves the artwork unchanged. */
  mix-blend-mode: multiply;
}

.logo-band-small {
  min-height: 112px;
  padding-block: 10px;
}

.logo-band-small a {
  display: block;
}

.logo-band-small img {
  width: min(72vw, 270px);
}

.home-page {
  display: flex;
  flex-direction: column;
}

.home-main {
  display: grid;
  flex: 1;
  place-items: center;
  padding: 48px 24px;
  background: radial-gradient(circle at top, #0b2148 0, #00091d 52%);
}

.home-content {
  width: min(100%, 620px);
  text-align: center;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 9vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 1.25rem;
}

h2 > span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
  background: #0a5ef5;
  font-size: 0.9rem;
}

.eyebrow {
  margin-bottom: 12px;
  color: #7eb0ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-copy,
.page-heading > p:last-child,
.section-intro,
.field-hint,
.character-count {
  color: #9ca8ba;
}

.home-copy {
  max-width: 520px;
  margin: 0 auto 30px;
  font-size: 1.05rem;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 20px;
  background: #0a5ef5;
  color: #ffffff;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.button-large {
  width: 100%;
  min-height: 54px;
  font-size: 1.05rem;
}

.button-secondary {
  border-color: #45668f;
  background: #11233d;
}

.button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.phone-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 18px;
  color: #c5d0df;
  font-weight: 650;
}

.page-shell {
  width: min(100% - 32px, 720px);
  margin: 0 auto;
  padding: 38px 0 72px;
}

.page-heading {
  margin-bottom: 26px;
}

/* The service-area headline is long; the default size wrapped it to six lines on a phone. */
.home-content h1 {
  font-size: clamp(1.75rem, 7vw, 3rem);
}

.page-heading h1,
.confirmation h1 {
  font-size: clamp(2rem, 8vw, 3rem);
}

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

.card {
  border: 1px solid #223b61;
  border-radius: 16px;
  padding: 22px 18px;
  background: #071225;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
}

.section-intro {
  margin-bottom: 14px;
}

.option-list,
.window-grid {
  display: grid;
  gap: 10px;
}

.choice-card,
.radio-card {
  display: flex;
  min-height: 54px;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #223b61;
  border-radius: 12px;
  padding: 13px;
  background: #0b1930;
  cursor: pointer;
}

.choice-card:has(input:checked),
.radio-card:has(input:checked) {
  border-color: #0a5ef5;
  background: #0c2450;
}

.choice-card input,
.radio-card input {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin: 2px 0 0;
  accent-color: #0a5ef5;
}

.choice-copy,
.choice-copy > span {
  display: block;
}

.choice-copy > span {
  margin-top: 3px;
  color: #9ca8ba;
  font-size: 0.92rem;
}

.choice-copy .price {
  color: #7eb0ff;
  font-weight: 700;
}

.field-grid {
  display: grid;
  gap: 14px;
}

.field + .field,
.field-group {
  margin-top: 16px;
}

.field label,
legend {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
}

.optional {
  color: #9ca8ba;
  font-size: 0.82rem;
  font-weight: 500;
}

input[type='text'],
input[type='tel'],
input[type='email'],
input[type='date'],
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #45668f;
  border-radius: 10px;
  padding: 11px 12px;
  background: #020c20;
  color: #f7f9fc;
  font: inherit;
}

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

input[type='date'] {
  color-scheme: dark;
}

input[aria-invalid='true'],
textarea[aria-invalid='true'] {
  border-color: #ff5a68;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #f7f9fc;
  outline-offset: 3px;
}

.field-group {
  min-width: 0;
  border: 0;
  padding: 0;
}

.field-hint,
.character-count,
.field-error {
  margin: 6px 0 0;
  font-size: 0.86rem;
}

.character-count {
  text-align: right;
}

.field-error,
.result-error {
  color: #ff5a68;
}

.field-error:empty,
.result:empty {
  display: none;
}

.result {
  margin-bottom: 16px;
  border-radius: 12px;
  font-weight: 650;
}

.result:not(:empty) {
  border: 1px solid #7a2938;
  padding: 14px;
  background: #2a101b;
}

.submit-area {
  padding-top: 8px;
  text-align: center;
}

.notice {
  margin: 12px 0 0;
  color: #c5d0df;
  font-weight: 650;
}

.confirmation {
  border-color: #28c76f;
}

.confirmation h1 {
  color: #28c76f;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

@media (min-width: 580px) {
  .field-grid,
  .window-grid {
    grid-template-columns: 1fr 1fr;
  }

  .card {
    padding: 26px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .choice-card,
  .radio-card {
    transition:
      border-color 140ms ease,
      background-color 140ms ease,
      transform 140ms ease;
  }

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