:root {
  --ink: #1b1f24;
  --muted: #5b6470;
  --line: #e2e6ea;
  --soft: #f5f7fa;
  --accent: #1f4ed8;
  --accent-dark: #173ba6;
  --error: #b42318;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
  /* No double-tap zoom: fast repeated taps on + and - must not zoom the page */
  touch-action: manipulation;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
}

.container {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--accent);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  gap: 16px;
}

.brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
}

nav {
  display: flex;
  gap: 18px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}

nav a:hover {
  color: var(--ink);
}

/* Hero */

.hero {
  padding: 64px 0 56px;
}

h1 {
  margin: 0 0 16px;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 20px;
  font-size: 19px;
  color: var(--muted);
}

.perks {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.perks li {
  position: relative;
  margin-bottom: 6px;
  padding-left: 22px;
  font-weight: 600;
}

.perks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero .hint {
  margin-top: 12px;
}

/* Buttons */

.button {
  display: inline-block;
  padding: 13px 24px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--accent-dark);
}

/* Sections */

.section {
  padding: 48px 0;
}

.section-soft {
  background: var(--soft);
}

h2 {
  margin: 0 0 20px;
  font-size: 26px;
  letter-spacing: -0.01em;
}

/* Prices */

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.price-table th {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.price-table th:last-child,
.price-table td:last-child {
  text-align: right;
  white-space: nowrap;
}

.facts {
  margin: 28px 0 0;
}

.facts > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.facts > div[hidden] {
  display: none;
}

.facts dt {
  padding-top: 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.facts dd {
  margin: 0;
}

.slot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  font-size: 15px;
  white-space: nowrap;
}

.fine-print {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* Steps */

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 0 0 24px 52px;
  counter-increment: step;
}

.steps li:last-child {
  padding-bottom: 0;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  line-height: 36px;
  text-align: center;
}

.steps strong {
  display: block;
}

.steps span {
  color: var(--muted);
}

/* Form */

fieldset {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 8px;
  padding: 0;
  font-weight: 600;
}

.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.order-name {
  display: block;
}

.order-price {
  display: block;
  font-size: 14px;
  color: var(--muted);
}

.stepper {
  display: flex;
  align-items: center;
  gap: 4px;
}

.stepper button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.stepper button:hover {
  background: var(--soft);
}

.stepper button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.stepper button {
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

.stepper .qty {
  width: 52px;
  height: 44px;
  padding: 0;
  text-align: center;
  font-weight: 600;
}

.total {
  margin: 16px 0 0;
  font-size: 19px;
  text-align: right;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  padding: 14px;
  border: 1px solid #c6ccd3;
  border-radius: 8px;
  cursor: pointer;
}

.choice:has(input:checked) {
  border-color: var(--accent);
  background: #f0f4ff;
}

.choice input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--accent);
}

form > .choice {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.5;
}

form > .error {
  margin-top: 8px;
}

.choice strong,
.choice em {
  display: block;
}

.choice em {
  font-style: normal;
  font-size: 15px;
  color: var(--muted);
}

.field {
  margin-bottom: 20px;
}

.field[hidden] {
  display: none;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #c6ccd3;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

/* iOS Safari ignores the width of date fields and lets them overflow */
@supports (-webkit-touch-callout: none) {
  input[type="date"] {
    display: block;
    min-width: 0;
    min-height: 51px;
    -webkit-appearance: none;
    appearance: none;
    text-align: left;
  }

  input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
  }
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
.button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(31, 78, 216, 0.35);
  outline-offset: 2px;
}

.error {
  margin: 0 0 16px;
  color: var(--error);
  font-weight: 600;
}

.hint {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.sent {
  margin: 20px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: #f0f4ff;
}

.sent p {
  margin: 4px 0 0;
}

/* Footer */

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0 0 6px;
}

.small {
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 480px) {
  .facts > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  h1 {
    font-size: 32px;
  }

  .hero {
    padding: 44px 0 40px;
  }

  .button {
    width: 100%;
    text-align: center;
  }
}
