/* ==========================================================================
   System Elements — public site styles (home, sign-in, reset password, book a call)
   From the 16 Oct 2026 design handoff (site.css), plus the additions at the end.
   Plain CSS, no build step. Loaded only by Views/Shared/IndexPage/_LayoutPublic.cshtml:
   never load it in the client area, its base rules restyle every heading, list and link.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Ink & text */
  --ink: #000814;          /* headings, primary buttons, dark panels */
  --text: #4B4B4B;         /* body copy on light */
  --muted: #5E6470;        /* captions, meta, footer */
  --on-dark: #C9D2DE;      /* body copy on dark panels */

  /* Surfaces */
  --bg: #F5F5F5;           /* page background (from the original site) */
  --surface: #FFFFFF;      /* cards */
  --field: #FAFAFB;        /* input background */
  --chip: #F2F3F5;         /* tech-stack chips */
  --line: #E2E4E8;         /* card borders, dividers */
  --line-strong: #C7CBD2;  /* input borders, outline chips */
  --line-section: #D9DCE1;
  --dark-line: #1E2836;    /* divider on dark panels */

  /* Brand blue (taken from the hero illustration) */
  --blue: #1F5FA8;         /* links, mono labels, accents */
  --blue-deep: #00264F;    /* link hover, text on blue tint */
  --blue-tint: #E3EDF8;    /* section tags, available calendar days */
  --blue-soft: #8FB8E6;    /* mono accents on dark */
  --blue-border: #8FB0D3;  /* time-slot borders, pipeline arrows */

  /* Accents */
  --yellow: #F2C230;       /* lamp yellow — tiny highlights only */
  --green-bg: #EAF5EC;
  --green: #1E6B34;
  --green-dot: #2E9A4E;
  --neutral-bg: #EEF1F5;
  --code-comment: #6E7A8C;
  --code-dot: #3A4352;
  --disabled: #A9AFB8;

  /* Type */
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'Fira Code', ui-monospace, monospace;

  /* Radii */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Layout */
  --container: 1180px;
  --gutter: 24px;
  --section-gap: 104px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--blue-deep); }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: var(--section-gap); }
.mono { font-family: var(--font-mono); }

/* ---------- Type scale ---------- */
.h1 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
.h2 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; line-height: 1.15; letter-spacing: -0.015em; }
.h2--lg { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; letter-spacing: -0.02em; max-width: 820px; }
.h3 { font-size: 22px; font-weight: 800; line-height: 1.2; }
.h3--lg { font-size: 28px; line-height: 1.15; letter-spacing: -0.01em; }
.lead { font-size: 16px; line-height: 1.7; color: var(--text); max-width: 720px; }
.body { font-size: 15px; line-height: 1.65; color: var(--text); }
.meta { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }

/* Section tag: the "//services" pill from the original site */
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--blue-tint);
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
}
.tag--on-dark { padding: 0; background: none; color: var(--blue-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #1A2333; color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); font-weight: 700; }
.btn--light:hover { background: var(--blue-tint); color: var(--ink); }
.btn--block { width: 100%; min-height: 52px; font-weight: 700; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn--ghost { background: transparent; border: 0; color: var(--text); padding: 0 12px; }
.btn:disabled { background: var(--line); color: var(--muted); cursor: default; }

/* Underlined product link */
.link-strong {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 700; font-size: 16px; color: var(--ink);
  text-decoration: none; border-bottom: 2px solid var(--ink);
}
.link-strong:hover { color: var(--blue); border-color: var(--blue); }

/* ---------- Header / nav ---------- */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.site-header__logo img { height: 40px; width: auto; }
.site-nav { display: flex; gap: 28px; }
.site-nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; }
.site-nav a:hover { color: var(--ink); }
.login-pill {
  display: inline-flex; align-items: center; padding: 8px 18px;
  border: 1px solid var(--text); border-radius: var(--r-pill);
  color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px;
}
.login-pill:hover { border-color: var(--ink); color: var(--ink); }
@media (max-width: 760px) { .site-nav { display: none; } }

/* ---------- Hero ---------- */
.hero__img { width: 100%; height: auto; aspect-ratio: 1410 / 440; object-fit: cover; border-radius: 16px; }
.hero__text { text-align: center; padding-top: 40px; }
.hero__tagline { margin-top: 18px; font-family: var(--font-mono); font-size: clamp(15px, 1.6vw, 20px); color: var(--text); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding-top: 32px; }

/* ---------- AI-first pipeline ---------- */
.pipeline { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.pipeline__step {
  flex: 1 1 200px; min-width: 0; padding: 22px;
  border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
}
.pipeline__num { font-family: var(--font-mono); font-size: 12px; color: var(--blue); }
.pipeline__title { font-size: 18px; font-weight: 800; }
.pipeline__text { font-size: 14px; line-height: 1.55; color: var(--text); }
.pipeline__step--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.pipeline__step--dark .pipeline__num { color: var(--blue-soft); }
.pipeline__step--dark .pipeline__text { color: var(--on-dark); }
.pipeline__arrow { flex: 0 0 auto; align-self: center; font-family: var(--font-mono); font-size: 18px; color: var(--blue-border); }

.proof { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 48px; }
.proof__item { flex: 1 1 240px; min-width: 0; border-top: 2px solid var(--ink); padding-top: 18px; }
.proof__title { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.proof__sub { margin-top: 4px; font-family: var(--font-mono); font-size: 13px; color: var(--blue); }
.proof__text { margin-top: 10px; }

/* ---------- Section head (title left, intro right) ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head .h2 { margin-top: 14px; max-width: 640px; }
.section-head__intro { max-width: 420px; }

/* ---------- Cards ---------- */
.cards { display: flex; flex-wrap: wrap; gap: 24px; }
.card {
  flex: 1 1 440px; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px; display: flex; flex-direction: column; gap: 16px;
}
.card--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.card--dark .body { color: var(--on-dark); }
.card__top { display: flex; align-items: center; justify-content: space-between; }
.card__num { font-family: var(--font-mono); font-size: 14px; color: var(--blue); }
.card--dark .card__num { color: var(--blue-soft); }
.card__list { display: flex; flex-direction: column; gap: 8px; font-family: var(--font-mono); font-size: 13px; }
.card__foot { margin-top: auto; padding-top: 6px; }

/* Featured product card (AlgoDesk) */
.feature { flex-direction: row; flex-wrap: wrap; gap: 40px; padding: 40px; align-items: stretch; }
.feature__text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.feature .code { flex: 1 1 400px; min-width: 0; }
.work-row { margin-top: 24px; }

/* Status chips */
.status-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.status {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px;
  border-radius: var(--r-pill); font-family: var(--font-mono); font-size: 12px;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.status--live { background: var(--green-bg); color: var(--green); }
.status--live::before { background: var(--green-dot); }
.status--done { background: var(--neutral-bg); color: var(--code-dot); }
.status--done::before { background: var(--blue); }

/* Stack chips */
.stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.stack span { padding: 6px 12px; border-radius: 8px; background: var(--chip); font-family: var(--font-mono); font-size: 12px; }

/* Code / module-tree panel */
.code {
  background: var(--ink); color: var(--on-dark); border-radius: 12px;
  padding: 20px 22px; font-family: var(--font-mono); font-size: 13px; line-height: 1.85;
}
.code--window { border-radius: var(--r-md); padding: 28px; line-height: 1.95; }
.code__dots { display: flex; gap: 7px; margin-bottom: 18px; }
.code__dots span { width: 11px; height: 11px; border-radius: 50%; background: var(--code-dot); }
.code .root { color: #fff; }
.code .c { color: var(--code-comment); }     /* comment */
.code .soon { color: var(--yellow); }        /* "coming" */
.code .yours { color: var(--blue-soft); }

/* Earlier work list */
.archive { margin-top: 56px; border-top: 1px solid var(--line-section); }
.archive__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; padding: 22px 0 8px; font-size: 14px; color: var(--muted); }
.archive__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); column-gap: 32px; }
.archive__item { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.archive__name { font-weight: 700; color: var(--ink); text-decoration: none; }
a.archive__name:hover { color: var(--blue); }
.archive__desc { font-size: 14px; color: var(--muted); text-align: right; }

/* ---------- About ---------- */
.about { flex-direction: row; flex-wrap: wrap; gap: 40px; padding: 40px; align-items: center; }
.about__img { flex: 0 0 220px; width: 220px; height: 260px; border-radius: 16px; object-fit: cover; object-position: 86% 60%; }
.about__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; width: 100%; margin-top: 8px; font-family: var(--font-mono); font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 4px 0 0; }

/* ---------- How it works ---------- */
.steps { display: flex; flex-wrap: wrap; margin-top: 28px; border-top: 2px solid var(--ink); }
.steps__item { flex: 1 1 300px; min-width: 0; padding: 28px 32px 0 0; }
.steps__title { font-family: var(--font-mono); font-size: 17px; font-weight: 500; color: var(--blue); }
.steps__item .body { margin-top: 14px; }

/* ---------- Contact ---------- */
.contact {
  background: var(--ink); color: #fff; border-radius: var(--r-xl);
  padding: 48px; display: flex; flex-wrap: wrap; gap: 56px;
}
.contact__info { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact__info .body { color: var(--on-dark); }
.contact__links { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; align-items: flex-start; }
.contact__email { color: #fff; font-family: var(--font-mono); font-size: 14px; text-decoration: none; padding: 10px 0; }
.contact__email:hover { color: var(--blue-soft); }
.watermark { filter: invert(1); opacity: 0.1; width: auto; pointer-events: none; }
.contact__mark { margin: auto; padding-top: 32px; height: 300px; align-self: center; }

/* ---------- Forms ---------- */
.form-card {
  flex: 1 1 460px; min-width: 0; background: #fff; color: var(--ink);
  border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field__opt { font-weight: 400; color: var(--muted); }
.input {
  width: 100%; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--field); color: var(--ink); font-size: 16px; font-weight: 400;
}
textarea.input { padding: 12px 14px; resize: vertical; }
.input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.field-row { display: flex; flex-wrap: wrap; gap: 16px; }
.field-row .field { flex: 1 1 180px; min-width: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; }

/* Toggle chips (topic pickers). Selected state = aria-pressed="true" */
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  min-height: 44px; padding: 0 16px; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink);
  font-size: 14px; font-weight: 600; cursor: pointer;
}
.choice:hover { border-color: var(--ink); }
.choice[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.success { padding: 48px 8px; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.success__title { font-size: 20px; font-weight: 800; }
.success__text { font-size: 16px; color: var(--text); }
[hidden] { display: none !important; }

/* ---------- Footer ---------- */
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 72px; padding-bottom: 48px; font-size: 14px; color: var(--muted); }
.site-footer__brand { display: flex; align-items: center; gap: 12px; }
.site-footer__brand img { height: 28px; }
.site-footer__brand strong { color: var(--ink); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer nav a { color: var(--text); text-decoration: none; }
.site-footer nav a:hover { color: var(--ink); }

/* ---------- Standalone pages (login, booking) ---------- */
.app-page { min-height: 100vh; padding: 24px; display: flex; flex-direction: column; align-items: center; }
.app-page--center { justify-content: center; }
.brand-link { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-link img { height: 32px; width: auto; }
.brand-link span { font-weight: 800; font-size: 15px; letter-spacing: 0.02em; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; color: var(--text); text-decoration: none; }
.back-link:hover { color: var(--ink); }

/* Login */
.login { width: 100%; max-width: var(--container); display: flex; gap: 24px; align-items: stretch; min-height: 640px; }
.login__panel {
  flex: 1 1 440px; min-width: 0; max-width: 520px; padding: 40px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  display: flex; flex-direction: column;
}
.login__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.login__form { margin: auto 0; padding: 48px 0; display: flex; flex-direction: column; gap: 18px; }
.login__form .h2 { font-size: 30px; margin-top: 14px; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.label-row label { font-size: 14px; font-weight: 600; }
.label-row a { font-size: 14px; font-weight: 500; text-decoration: none; }
.password { position: relative; }
.password .input { padding-right: 64px; }
.password__toggle {
  position: absolute; right: 4px; top: 4px; height: 40px; padding: 0 12px;
  border: 0; border-radius: 8px; background: transparent; color: var(--text);
  font-family: var(--font-mono); font-size: 12px; cursor: pointer;
}
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; color: var(--text); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.login__foot { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.login__foot a { font-weight: 600; color: var(--ink); text-decoration: none; }
.login__art { flex: 1 1 560px; min-width: 0; border-radius: var(--r-lg); overflow: hidden; position: relative; background: #DCE8F4; }
.login__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.login__badge { position: absolute; left: 24px; bottom: 24px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--ink); color: #fff; font-family: var(--font-mono); font-size: 13px; }
@media (max-width: 860px) { .login__art { display: none; } .login__panel { max-width: none; } }

/* Booking */
.book-header { width: 100%; max-width: 1080px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0 24px; }
.book { width: 100%; max-width: 1080px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-wrap: wrap; }
.book__info { flex: 1 1 300px; min-width: 0; max-width: 360px; background: var(--ink); color: #fff; padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.book__info .h1 { font-size: 26px; line-height: 1.2; }
.book__facts { display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--on-dark); }
.book__facts li { display: flex; align-items: center; gap: 10px; }
.book__cover { border-top: 1px solid var(--dark-line); padding-top: 20px; }
.book__cover .mono { font-size: 12px; color: var(--blue-soft); margin-bottom: 10px; }
.book__cover ul { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.5; color: var(--on-dark); }
.book__mark { margin: auto auto 0; padding-top: 24px; height: 150px; }
.book__main { flex: 999 1 520px; min-width: 0; padding: 36px; display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 700px) { .book__info { max-width: none; } .book__mark { display: none; } }

.stepper { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--font-mono); font-size: 12px; }
.stepper li { padding: 6px 12px; border-radius: var(--r-pill); background: var(--chip); color: var(--muted); }
.stepper li.is-done { background: var(--blue-tint); color: var(--blue); }
.stepper li[aria-current="step"] { background: var(--ink); color: #fff; }

.pick { display: flex; flex-wrap: wrap; gap: 32px; }
.cal { flex: 1 1 300px; min-width: 0; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal__month { font-size: 18px; font-weight: 800; }
.cal__nav { display: flex; gap: 4px; }
.cal__nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 16px; cursor: pointer; }
.cal__nav button:disabled { opacity: .35; cursor: default; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal__dow { text-align: center; font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.cal__cell { display: flex; justify-content: center; }
.cal__day {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--blue-tint); color: var(--blue-deep); font-size: 15px; font-weight: 700;
}
.cal__day:hover { background: #CFE0F2; }
.cal__day:disabled { background: transparent; color: var(--disabled); font-weight: 400; cursor: default; }
.cal__day[aria-pressed="true"] { background: var(--ink); color: #fff; }

.slots { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.slots__day { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.slot {
  min-height: 44px; border-radius: var(--r-sm); border: 1px solid var(--blue-border);
  background: #fff; color: var(--blue); font-family: var(--font-mono); font-size: 14px; cursor: pointer;
}
.slot:hover { border-color: var(--blue); }
.slot[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.slots__empty { flex: 1; min-height: 200px; border: 1.5px dashed var(--line-section); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; font-size: 14px; color: var(--muted); }

.details { display: flex; flex-direction: column; gap: 18px; max-width: 560px; }
.summary-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--blue-tint); }
.summary-bar strong { font-size: 15px; color: var(--blue-deep); }
.summary-bar button { min-height: 44px; padding: 0 12px; border: 0; background: transparent; color: var(--blue); font-weight: 600; font-size: 14px; cursor: pointer; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.done { max-width: 520px; display: flex; flex-direction: column; gap: 20px; padding: 12px 0; }
.done__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--green-bg); display: flex; align-items: center; justify-content: center; }
.done .h2 { font-size: 30px; }
.done .body { margin-top: 10px; }
.receipt { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin: 0; }
.receipt div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.receipt div:last-child { border-bottom: 0; }
.receipt dt { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.receipt dd { margin: 0; font-size: 15px; font-weight: 600; text-align: right; }
.done__foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; border-top: 1px solid var(--line); padding-top: 18px; font-size: 14px; }
.done__foot a { font-weight: 600; color: var(--ink); text-decoration: none; }

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
  :root { --section-gap: 72px; }
  .card, .feature, .about { padding: 24px; }
  .contact { padding: 28px; gap: 32px; }
  .contact__mark { display: none; }
  .form-card { padding: 22px; }
  .about__img { flex-basis: 100%; width: 100%; height: 200px; }
  .pipeline__arrow { display: none; }
  .login__panel, .book__info, .book__main { padding: 24px; }
}

/* ==========================================================================
   Additions for the live site (not in the handoff)
   ========================================================================== */

/* Phones: a taller 4:3 crop of the centre of the same illustration */
@media (max-width: 640px) {
  .hero__img { aspect-ratio: 4 / 3; object-position: 50% 50%; }
}

/* Form errors and notices */
.form-error {
  background: #FDECEC; color: #8A1C1C; border-radius: var(--r-sm);
  padding: 12px 14px; font-size: 14px; font-weight: 500; line-height: 1.5;
}
.form-error a { color: inherit; font-weight: 700; }
.form-error ul { margin: 0; padding: 0; list-style: none; }
.form-notice {
  background: var(--green-bg); color: var(--green); border-radius: var(--r-sm);
  padding: 12px 14px; font-size: 14px; font-weight: 500; line-height: 1.5;
}
.field-error { font-size: 13px; font-weight: 500; color: #8A1C1C; }
.field-error:empty { display: none; }
.input[aria-invalid="true"], .input.input-validation-error { border-color: #B42318; }

/* Sign-in: "Forgot password?" sits under the password field, after it in tab order */
.login__forgot {
  align-self: flex-end; display: inline-flex; align-items: center; min-height: 44px;
  margin-top: -6px; font-size: 14px; font-weight: 500; text-decoration: none;
}

/* Booking: the visitor's time zone in the side panel */
.tz-label { color: var(--on-dark); }
