/* fiami.at/reserve — sketch. The world «Свежий» from DESIGN.md: a white page under a mint header
   band, white fields with a soft edge, one FiAMi green for actions, one friendly sans (Figtree).
   Tokens mirror apps/guest (--fr-*); phone first; contrast per WCAG AA. */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/figtree-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/figtree-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/figtree-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/figtree-latin-700-normal.woff2") format("woff2");
}

:root {
  color-scheme: light;
  /* FiAMi green, deepened so white words sit on it at 4.6:1. */
  --fr-accent: #37843d;
  /* Words in the accent (links, icons): 4.5:1 or more on the ground and on white. */
  --fr-accent-deep: #2a6b36;
  --fr-accent-contrast: #ffffff;
  --fr-radius: 12px;
  --fr-font: "Figtree", "Segoe UI", system-ui, sans-serif;
  --fr-background: #ffffff;
  --fr-surface: #ffffff;
  --fr-text: #17201a;
  --fr-muted: #57625a;
  --fr-border: #d7dfd6;
  /* Quieter separators: lists, FAQ rows, footer. */
  --fr-line: #e6ece5;
  --fr-danger: #b3362b;
  --fr-warm: #8a6a2b;
  --fr-notice: #fdf4dd;
  /* Everything below is derived from the accent, like the app's guest page. */
  --fr-accent-soft: color-mix(in srgb, var(--fr-accent) 8%, var(--fr-surface));
  --fr-header: color-mix(in srgb, var(--fr-accent) 11%, #fff);
  /* The one lift in the page: fields rest a hair above the ground. */
  --fr-lift: 0 1px 2px rgb(23 32 26 / 0.06);
  /* The cabinet ground, for sections that need a tonal break. */
  --fr-ground: #f6f8f5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  caret-color: var(--fr-accent);
  scrollbar-color: var(--fr-border) var(--fr-background);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--fr-background);
  color: var(--fr-text);
  font-family: var(--fr-font);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: color-mix(in srgb, var(--fr-accent) 22%, transparent);
}

h1,
h2,
h3,
p {
  margin: 0;
}

/* Every text here is a few lines at most: balanced lines leave no short tail and no pair torn
   apart at a line's end (review 30.09.2026). */
h1,
h2,
h3,
p,
li,
summary {
  text-wrap: balance;
}

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

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

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  display: inline-block;
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.2em;
}

.icon-24 {
  width: 1.5rem;
  height: 1.5rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.5rem 1rem;
  background: var(--fr-surface);
  border: 1px solid var(--fr-border);
  border-radius: var(--fr-radius);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 150ms ease-out;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: 100%;
  max-width: 68rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 1.5rem);
}

/* --- Buttons ------------------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 1.25rem;
  border: 0;
  border-radius: var(--fr-radius);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  /* A control, not content: a long press should not select its label. */
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition:
    background-color 150ms ease-out,
    border-color 150ms ease-out,
    box-shadow 150ms ease-out,
    transform 120ms ease-out;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--fr-accent);
  color: var(--fr-accent-contrast);
}

.btn-secondary {
  background: var(--fr-surface);
  color: var(--fr-text);
  border: 1px solid var(--fr-border);
  box-shadow: var(--fr-lift);
}

@media (hover: hover) {
  .btn-primary:hover {
    background: color-mix(in srgb, var(--fr-accent) 88%, #000);
  }

  .btn-secondary:hover {
    border-color: color-mix(in srgb, var(--fr-text) 45%, var(--fr-border));
  }
}

.btn-small {
  min-height: 2.75rem;
  padding: 0 1rem;
  font-size: 0.9375rem;
}

/* --- Header: the mint band ---------------------------------------------------------------- */

.site-header {
  background: var(--fr-header);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 1rem 1.5rem;
  padding-block: 0.875rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--fr-text);
  text-decoration: none;
}

.wordmark span {
  color: var(--fr-accent-deep);
}

.nav {
  display: none;
  gap: 1.5rem;
  margin-left: auto;
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--fr-text);
  text-decoration: none;
}

@media (hover: hover) {
  .nav a:hover {
    color: var(--fr-accent-deep);
  }
}

.header-row > .btn {
  margin-left: auto;
}

@media (min-width: 48rem) {
  .nav {
    display: flex;
  }

  .header-row > .btn {
    margin-left: 0;
  }
}

/* --- Hero: the booking card is the stage -------------------------------------------------- */

.hero {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 60rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 25rem;
    gap: 4rem;
  }
}

.hero-copy {
  min-width: 0;
}

h1 {
  font-size: clamp(1.875rem, 1.2rem + 2.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.lede {
  margin-top: 1rem;
  max-width: 36rem;
  font-size: 1.0625rem;
  color: var(--fr-muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.cta-row.center {
  justify-content: center;
}

.hero-note {
  margin-top: 1.25rem;
  max-width: 34rem;
  font-size: 0.875rem;
  color: var(--fr-muted);
}

/* Below the two-column stage the specimen keeps a phone form's width instead of stretching. */
.hero-demo {
  width: 100%;
  min-width: 0;
  max-width: 28rem;
  justify-self: center;
}

.demo-link {
  display: block;
  border-radius: var(--fr-radius);
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
  transition: transform 120ms ease-out;
}

.demo-link:active {
  transform: scale(0.99);
}

@media (hover: hover) {
  .demo-link:hover .demo-card {
    border-color: color-mix(in srgb, var(--fr-border) 55%, var(--fr-accent));
  }
}

/* The specimen: the guest page's booking card, quoting its own field language. */
.demo-card {
  margin: 0;
  padding: 1rem;
  background: var(--fr-surface);
  border: 1px solid var(--fr-border);
  border-radius: var(--fr-radius);
  box-shadow: var(--fr-lift);
}

.demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--fr-line);
}

.demo-title {
  font-size: 0.9375rem;
  font-weight: 600;
}

.demo-badge {
  padding: 0.125rem 0.5rem;
  border: 1px solid var(--fr-border);
  border-radius: 999px;
  color: var(--fr-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.demo-group {
  margin-top: 0.875rem;
}

.demo-label {
  display: block;
  margin-bottom: 0.375rem;
  color: var(--fr-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.demo-choices {
  display: grid;
  gap: 0.375rem;
}

.demo-choice {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  background: var(--fr-surface);
  border: 1px solid var(--fr-border);
  border-radius: var(--fr-radius);
  box-shadow: var(--fr-lift);
  font-size: 0.875rem;
}

.demo-choice.is-selected {
  background: var(--fr-accent-soft);
  border-color: var(--fr-accent);
  box-shadow:
    inset 0 0 0 1px var(--fr-accent),
    var(--fr-lift);
}

.demo-radio {
  position: relative;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--fr-border);
  border-radius: 50%;
}

.is-selected .demo-radio {
  border-color: var(--fr-accent);
}

.is-selected .demo-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--fr-accent);
}

.demo-choice-name {
  font-weight: 500;
}

.demo-choice-meta {
  margin-left: auto;
  color: var(--fr-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}

/* «Bei wem?» — the guest page's staff select, resting on «Egal». */
.demo-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3rem;
  padding: 0 0.875rem;
  background: var(--fr-surface);
  border: 1px solid var(--fr-border);
  border-radius: var(--fr-radius);
  box-shadow: var(--fr-lift);
  font-size: 0.875rem;
  font-weight: 500;
}

.demo-select .icon {
  color: var(--fr-muted);
}

.demo-days {
  display: grid;
  grid-template-columns: repeat(4, minmax(3.5rem, 1fr));
  gap: 0.375rem;
}

.demo-day {
  display: grid;
  min-height: 3.75rem;
  align-content: center;
  justify-items: center;
  padding: 0.375rem 0 0.5rem;
  background: var(--fr-surface);
  border: 1px solid var(--fr-border);
  border-radius: var(--fr-radius);
  box-shadow: var(--fr-lift);
  color: var(--fr-muted);
  font-size: 0.75rem;
}

.demo-day b {
  color: var(--fr-text);
  font-size: 0.9375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums lining-nums;
}

/* The weekday on the fill stays at full contrast: at 12px the app's 85 % falls to 3.8:1. */
.demo-day.is-picked {
  background: var(--fr-accent);
  border-color: var(--fr-accent);
  color: var(--fr-accent-contrast);
}

.demo-day.is-picked b {
  color: var(--fr-accent-contrast);
}

.demo-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.375rem;
}

.demo-slot {
  display: grid;
  place-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 0;
  background: var(--fr-surface);
  border: 1px solid var(--fr-border);
  border-radius: var(--fr-radius);
  box-shadow: var(--fr-lift);
  font-size: 0.8125rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums lining-nums;
  transition:
    background-color 150ms ease-out,
    border-color 150ms ease-out;
}

.demo-slot.is-picked {
  background: var(--fr-accent-soft);
  border-color: var(--fr-accent);
  box-shadow:
    inset 0 0 0 1px var(--fr-accent),
    var(--fr-lift);
}

.demo-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 0.875rem;
  min-height: 3rem;
  background: var(--fr-accent);
  border-radius: var(--fr-radius);
  color: var(--fr-accent-contrast);
  font-size: 0.9375rem;
  font-weight: 600;
}

.demo-cta .icon {
  width: 1rem;
  height: 1rem;
}

/* --- Sections ----------------------------------------------------------------------------- */

.section {
  padding-block: clamp(2.75rem, 7vw, 5rem);
}

.section-ground {
  background: var(--fr-ground);
}

.section-band {
  background: var(--fr-header);
}

section[id] {
  scroll-margin-top: 1rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: clamp(1.375rem, 1rem + 1.1vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.section-head p {
  margin-top: 0.75rem;
  color: var(--fr-muted);
}

.section-head.centered {
  margin-inline: auto;
  text-align: center;
}

/* --- The cabinet day: where the hero's booking lands -------------------------------------- */

.day-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 60rem) {
  .day-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 4rem;
  }

  /* Mirrors the hero: there the word leads and the form follows, here the plan leads. */
  .day-copy {
    order: 2;
  }
}

.day-copy h2 {
  font-size: clamp(1.375rem, 1rem + 1.1vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.day-lede {
  margin-top: 0.75rem;
  color: var(--fr-muted);
}

.check-list {
  display: grid;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.9375rem;
}

.check-list .icon {
  margin-top: 0.2rem;
  color: var(--fr-accent-deep);
}

/* The cabinet's own vocabulary, quoted: 10px corners, mint entries with a green edge, hour lines
   every four rows, a dashed block for a break. */
.cab-card {
  --cab-radius: 10px;
  --cab-row: 1.375rem;
  --fr-entry: color-mix(in srgb, var(--fr-accent) 9%, var(--fr-surface));
  --fr-entry-edge: color-mix(in srgb, var(--fr-accent) 38%, var(--fr-surface));
  min-width: 0;
  margin: 0;
  padding: 1rem;
  background: var(--fr-surface);
  border: 1px solid var(--fr-border);
  border-radius: 16px;
  box-shadow: var(--fr-lift);
}

.cab-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--fr-line);
}

.cab-date {
  font-size: 0.9375rem;
  font-weight: 600;
}

.cab-plan {
  display: grid;
  grid-template-columns: 2.5rem repeat(2, minmax(0, 1fr));
  grid-template-rows: auto repeat(12, var(--cab-row));
  column-gap: 0.25rem;
  margin-top: 0.75rem;
}

.cab-staff {
  grid-column: var(--col);
  grid-row: 1;
  padding-bottom: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
}

.cab-hour {
  grid-column: 1;
  grid-row: var(--row);
  margin-top: -0.4em;
  color: var(--fr-muted);
  font-size: 0.75rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums lining-nums;
}

.cab-lines {
  grid-column: 2 / -1;
  grid-row: 2 / -1;
  border-bottom: 1px solid var(--fr-line);
  background: repeating-linear-gradient(
    to bottom,
    var(--fr-line) 0 1px,
    transparent 1px calc(var(--cab-row) * 4)
  );
}

.cab-entry {
  z-index: 1;
  grid-column: var(--col);
  grid-row: var(--row) / span var(--span);
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 1px 0;
  padding: 0.1875rem 0.375rem;
  overflow: hidden;
  background: var(--fr-entry);
  border: 1px solid var(--fr-entry-edge);
  border-radius: var(--cab-radius);
  font-size: 0.75rem;
  line-height: 1.3;
}

.cab-entry b {
  overflow: hidden;
  font-weight: 600;
  font-variant-numeric: tabular-nums lining-nums;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cab-entry span {
  overflow: hidden;
  color: var(--fr-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cab-entry.is-block {
  background: repeating-linear-gradient(135deg, transparent 0 6px, rgb(23 32 26 / 0.05) 6px 12px);
  border: 1px dashed var(--fr-muted);
}

.cab-entry.is-block b {
  color: var(--fr-muted);
  font-weight: 500;
}

/* The booking from the hero: the selected edge, and one arrival. */
.cab-entry.is-new {
  border-color: var(--fr-accent);
  box-shadow: inset 0 0 0 1px var(--fr-accent);
  transition:
    opacity 220ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 220ms cubic-bezier(0.23, 1, 0.32, 1);
}

.cab-entry.is-new span {
  color: var(--fr-accent-deep);
  white-space: normal;
}

/* A phone shows two columns whole rather than three cut to «14:00 Haars…». */
.cab-plan [style*="--col: 4"] {
  display: none;
}

.cab-entry.is-waiting {
  opacity: 0;
  transform: scale(0.96);
}

@media (min-width: 40rem) {
  .cab-card {
    --cab-row: 1.5rem;
    padding: 1.25rem;
  }

  .cab-plan {
    grid-template-columns: 3rem repeat(3, minmax(0, 1fr));
    column-gap: 0.375rem;
  }

  .cab-plan .cab-staff[style*="--col: 4"] {
    display: block;
  }

  .cab-plan .cab-entry[style*="--col: 4"] {
    display: flex;
  }

  .cab-entry {
    padding: 0.25rem 0.5rem;
    font-size: 0.8125rem;
  }
}

/* --- Features: confirmation material, then three facts ------------------------------------ */

.sheet {
  padding: 1.25rem;
  background: var(--fr-surface);
  border: 1px solid var(--fr-border);
  border-radius: 16px;
  box-shadow: var(--fr-lift);
}

.features {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 60rem) {
  .features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem 2rem;
  }
}

.feature {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.875rem;
}

.feature .icon {
  margin-top: 0.125rem;
  color: var(--fr-accent-deep);
}

.feature h3 {
  font-size: 1rem;
  font-weight: 600;
}

.feature p {
  margin-top: 0.25rem;
  color: var(--fr-muted);
  font-size: 0.875rem;
}

/* The confirmation pair: the guest world's own material, not another icon row. Tinted like the
   booking reference, not a second bordered card inside the sheet. */
.feature-material {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--fr-line);
}

.message {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: var(--fr-accent-soft);
  border-radius: var(--fr-radius);
}

.message .icon {
  margin-top: 0.1875rem;
  color: var(--fr-accent-deep);
}

.message-title {
  font-size: 0.9375rem;
  font-weight: 600;
}

.message-meta {
  margin-top: 0.125rem;
  color: var(--fr-muted);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums lining-nums;
}

.feature-material-note {
  max-width: 40rem;
  color: var(--fr-muted);
  font-size: 0.875rem;
  text-wrap: balance;
}

@media (min-width: 48rem) {
  .feature-material {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
  }

  /* One line from tablet width up (Evgeny, 30.09.2026); a phone is too narrow for it. */
  .feature-material-note {
    grid-column: 1 / -1;
    max-width: none;
    white-space: nowrap;
  }
}

/* --- Modules: one live, two dotted -------------------------------------------------------- */

.modules {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 60rem) {
  .modules {
    grid-template-columns: repeat(3, 1fr);
  }
}

.module {
  padding: 1.25rem 1rem;
  background: var(--fr-surface);
  border: 1px solid var(--fr-border);
  border-radius: var(--fr-radius);
  box-shadow: var(--fr-lift);
}

.module h3 {
  font-size: 1.0625rem;
  font-weight: 700;
}

.module p {
  margin-top: 0.5rem;
  color: var(--fr-muted);
  font-size: 0.875rem;
}

.module.is-soon {
  background: transparent;
  border-style: dashed;
  box-shadow: none;
}

.module.is-soon h3,
.module.is-soon p {
  color: var(--fr-muted);
}

.badge {
  display: inline-block;
  margin-top: 0.875rem;
  padding: 0.125rem 0.5rem;
  background: var(--fr-notice);
  border-radius: 999px;
  color: var(--fr-warm);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 2.75rem;
  margin-top: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--fr-accent-deep);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-underline-offset: 0.2em;
}

.link .icon {
  width: 1rem;
  height: 1rem;
}

@media (hover: hover) {
  .link:hover {
    text-decoration-color: currentColor;
  }
}

/* --- Steps: the done-for-you start -------------------------------------------------------- */

.steps {
  display: grid;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 48rem) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.875rem;
}

/* The cabinet wizard's step mark — the one place the world draws a circle. */
.step-mark {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 50%;
  background: var(--fr-accent);
  color: var(--fr-accent-contrast);
  font-size: 0.8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums lining-nums;
}

.step h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.625rem;
}

.step p {
  margin-top: 0.25rem;
  color: var(--fr-muted);
  font-size: 0.875rem;
  text-wrap: balance;
}

/* --- Price -------------------------------------------------------------------------------- */

/* Three plans side by side: Reserve with set-up, the pilot in the middle as the offer while pilot
   places last, and Reserve without set-up (order: Evgeny, 05.11.2026). The fiami.at package, the
   way in without a website, is a thin band under them. */
.plans {
  display: grid;
  gap: 1rem;
  max-width: 30rem;
  margin-inline: auto;
}

@media (min-width: 60rem) {
  .plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
  }
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.25rem;
  background: var(--fr-surface);
  border: 1px solid var(--fr-border);
  border-radius: 16px;
  box-shadow: var(--fr-lift);
}

/* The offer carries the selected edge, as a chosen field does. */
.plan-pilot {
  border-color: var(--fr-accent);
  box-shadow:
    inset 0 0 0 1px var(--fr-accent),
    var(--fr-lift);
}

.plan-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.plan h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.plan-badge {
  padding: 0.125rem 0.625rem;
  background: var(--fr-accent-soft);
  border: 1px solid color-mix(in srgb, var(--fr-accent) 35%, transparent);
  border-radius: 999px;
  color: var(--fr-accent-deep);
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums lining-nums;
}

.plan-lede {
  margin-top: 0.5rem;
  color: var(--fr-muted);
  font-size: 0.875rem;
}

/* Figure above its note in every plan, so the three cards read row by row. */
.price-line {
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}

.price-line + .price-line {
  margin-top: 0.25rem;
}

.price-figure {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}

.price-note {
  color: var(--fr-muted);
  font-size: 0.875rem;
}

.plan-after {
  margin-top: 0.25rem;
  color: var(--fr-accent-deep);
  font-size: 0.875rem;
  font-weight: 600;
}

.price-list {
  display: grid;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--fr-line);
  list-style: none;
}

.price-list li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.9375rem;
}

.price-list .icon {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--fr-accent-deep);
}

.plan-btn {
  width: 100%;
  margin-top: auto;
}

.price-list:has(+ .plan-btn) {
  margin-bottom: 1.5rem;
}

/* The package as a thin band under the three plans: title and lede on the left, the button on the
   right, the six points across below. On a phone it is an ordinary card again. */
.plan-wide {
  max-width: 30rem;
  margin: 1rem auto 0;
}

.plan-wide .plan-btn {
  margin-top: 1rem;
}

@media (min-width: 60rem) {
  .plan-wide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem 2rem;
    max-width: none;
    padding: 1.25rem 1.5rem;
  }

  .plan-wide .plan-head {
    grid-column: 1;
  }

  .plan-wide .plan-lede {
    grid-column: 1;
    margin-top: 0;
  }

  .plan-wide .plan-btn {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: auto;
    margin-top: 0;
  }

  .plan-wide .price-list {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem 1.5rem;
    margin-top: 0.75rem;
    padding-top: 1rem;
  }
}

.price-foot {
  max-width: 34rem;
  margin: 1.75rem auto 0;
  color: var(--fr-muted);
  font-size: 0.8125rem;
  text-align: center;
}

/* --- FAQ ---------------------------------------------------------------------------------- */

/* A plain list under the centred head, hairlines between the questions: no stack of boxed cards
   (Evgeny, 10.10.2026). */
.faq {
  max-width: 42rem;
  margin-inline: auto;
  border-top: 1px solid var(--fr-line);
}

.faq details {
  border-bottom: 1px solid var(--fr-line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.75rem;
  padding: 1.125rem 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .icon {
  color: var(--fr-muted);
  transition: transform 150ms ease-out;
}

.faq details[open] summary .icon {
  transform: rotate(180deg);
}

.faq details p {
  max-width: 38rem;
  padding: 0 0 1.25rem;
  color: var(--fr-muted);
  font-size: 0.9375rem;
}

/* --- Contact ------------------------------------------------------------------------------ */

.contact .section-head {
  margin-bottom: 1.75rem;
}

/* The address in words too: a mailto without a mail client is a dead end, and text can be copied. */
.contact-address {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1rem;
  margin-top: 1.75rem;
  color: var(--fr-muted);
  font-size: 0.875rem;
  text-align: center;
}

.contact-address span:first-child {
  color: var(--fr-text);
  font-weight: 600;
}

/* --- Footer ------------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--fr-line);
  padding-block: 1.75rem 2.5rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  color: var(--fr-muted);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--fr-muted);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-underline-offset: 0.2em;
}

@media (hover: hover) {
  .footer-links a:hover {
    color: var(--fr-accent-deep);
    text-decoration-color: currentColor;
  }
}

/* --- Sticky action on the phone ----------------------------------------------------------- */

.sticky-cta {
  display: none;
}

@media (max-width: 40rem) {
  body {
    padding-bottom: 4.75rem;
  }

  .cta-row .btn {
    flex: 1 1 100%;
  }

  .sticky-cta {
    display: block;
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 10;
    padding: 0.625rem 1rem calc(0.625rem + env(safe-area-inset-bottom));
    background: var(--fr-surface);
    border-top: 1px solid var(--fr-line);
    transform: translateY(105%);
    visibility: hidden;
    transition:
      transform 200ms ease-out,
      visibility 200ms;
  }

  .sticky-cta.is-visible {
    transform: none;
    visibility: visible;
  }

  .sticky-cta .btn {
    width: 100%;
  }
}

/* --- Reduced motion ----------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
