/* Hospitality HERO marketing site
   Colours and type mirror brand_system_v2/tokens (colors.css, typography.css).
   If the bundle and this file disagree, the bundle wins. */

:root {
  --midnight: #0B0F1A;
  --navy: #111A2E;
  --navy-raised: #162035;
  --teal: #1AB8CC;
  --teal-400: #4DD0E1;
  --teal-deep: #0D7A8A;
  --teal-800: #08434D;
  --teal-900: #05272E;
  --cyan: #7EEAF5;
  --off-white: #F0F2FA;
  --steel-light: #93A3C8;   /* supporting text: 5.71:1 Midnight, 5.18:1 Navy */
  --steel: #6878A0;         /* decorative and non-text UI only: 3.95:1 on Navy */
  --hair: #1F2A44;
  --hair-strong: #2A3858;
  --grid: #172340;

  --success: #10B981; --success-bg: #0A2E24;
  --warning: #F59E0B; --warning-bg: #2E2310;
  --error: #EF4444;   --error-bg: #2E1210;
  --info-bg: #10212E;

  --font-display: "Arial Black", "Helvetica Neue", Impact, sans-serif;
  --font-body: Calibri, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: Consolas, "SF Mono", Menlo, Monaco, "Courier New", monospace;

  /* 8-point scale, brand book p.20 */
  --s-1: 4px; --s-2: 8px; --s-3: 16px; --s-4: 24px;
  --s-5: 32px; --s-6: 48px; --s-7: 64px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  --radius: 8px;
  --radius-lg: 12px;
  --nav-h: 68px;
  --lift: 0 1px 0 rgba(240, 242, 250, 0.04) inset, 0 24px 60px -24px rgba(2, 4, 10, 0.75);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + var(--s-3)); -webkit-text-size-adjust: 100%; scrollbar-color: var(--hair-strong) var(--midnight); }
body {
  margin: 0;
  background: #040812;
  color: var(--off-white);
  font: 400 1.125rem/1.6 var(--font-body);
  caret-color: var(--teal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
::selection { background: var(--teal); color: var(--midnight); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--teal); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--cyan); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--s-3); top: -100px; z-index: 100; padding: var(--s-2) var(--s-3); background: var(--teal); color: var(--midnight); font-weight: 700; border-radius: var(--radius); }
.skip:focus { top: var(--s-3); }
.sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--s-5); }
@media (max-width: 640px) { .wrap { padding-inline: var(--s-3); } }

/* Mono label: brand book p.16, tags, chips and timestamps */
.console__tag, .console__head, .pill, .viz__note, .channels span, .year__cap em, .console__note {
  font: 700 0.75rem/1.2 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 var(--s-4);
  border: 1px solid transparent; border-radius: 999px;
  font: 700 1rem/1 var(--font-body); text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn--primary { background: var(--teal); color: var(--midnight); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 24px -10px rgba(26, 184, 204, 0.55); }
.btn--primary:hover { color: var(--midnight); }
.btn--ghost { border-color: var(--steel); color: var(--off-white); background: rgba(17, 26, 46, 0.6); }
.btn--ghost:hover { color: var(--off-white); }
.btn--sm { min-height: 40px; padding: 0 var(--s-3); font-size: 0.95rem; }
.btn--lg { min-height: 56px; padding: 0 var(--s-5); font-size: 1.0625rem; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--teal-400); }
  .btn--ghost:hover { border-color: var(--teal); }
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 15, 26, 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.nav[data-scrolled="true"] { border-bottom-color: var(--hair); }
.nav__inner { display: flex; align-items: center; gap: var(--s-5); height: var(--nav-h); }

/* Clear space between mark and wordmark is at least the height of the H in HERO */
.brand { display: inline-flex; flex: none; align-items: center; gap: var(--s-3); color: var(--off-white); text-decoration: none; }
.brand:hover { color: var(--off-white); }
.brand__logo { display: block; height: 44px; width: auto; }
@media (max-width: 480px) { .brand__logo { height: 42px; } }
.nav__back { margin-left: auto; }

.nav__links { display: flex; gap: var(--s-5); margin-left: auto; }
.nav__links a { color: var(--steel-light); text-decoration: none; font-size: 1rem; padding: var(--s-2) 0; transition: color 200ms ease; }
.nav__links a:hover { color: var(--off-white); }
.nav__toggle { display: none; }

.nav__mobile { display: grid; gap: var(--s-1); padding: var(--s-2) var(--s-3) var(--s-4); border-top: 1px solid var(--hair); background: var(--midnight); }
.nav__mobile[hidden] { display: none; }
.nav__mobile a:not(.btn) { color: var(--off-white); text-decoration: none; padding: 12px 0; font-size: 1.0625rem; border-bottom: 1px solid var(--hair); }
.nav__mobile .btn { margin-top: var(--s-3); }

/* Without script the links stay visible and wrap; with script they fold into the menu. */
@media (max-width: 1023px) {
  .nav__inner { flex-wrap: wrap; height: auto; min-height: var(--nav-h); padding-block: var(--s-2); }
  .nav__links { flex-wrap: wrap; gap: var(--s-1) var(--s-4); }
  .js .nav__inner { flex-wrap: nowrap; height: var(--nav-h); padding-block: 0; }
  .js .nav__links, .js .nav__cta { display: none; }
  .js .nav__toggle {
    display: inline-grid; place-items: center; margin-left: auto;
    width: 44px; height: 44px; padding: 0;
    background: none; border: 1px solid var(--steel); border-radius: var(--radius);
    color: var(--off-white); cursor: pointer;
  }
  .nav__toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; transition: transform 200ms var(--ease-out); }
  .nav__toggle[aria-expanded="true"] svg { transform: rotate(90deg); }
}
@media (min-width: 1024px) { .nav__mobile { display: none !important; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); isolation: isolate; }
.hero__grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(ellipse 50% 60% at 78% 45%, rgba(13, 122, 138, 0.22), transparent 70%),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 100% 100%, 56px 56px, 56px 56px;
  background-position: center, -1px -1px, -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 60% 40%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 85% 80% at 60% 40%, #000 30%, transparent 80%);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__title {
  font: 400 clamp(2.5rem, 4.2vw, 3.6rem)/1.04 var(--font-display);
  letter-spacing: -0.01em;
}
.hero__title span { display: block; color: var(--teal); }
@media (min-width: 1024px) { .hero__title span { white-space: nowrap; } }
.hero__sub { margin-top: var(--s-4); max-width: 52ch; font-size: clamp(1.125rem, 1.5vw, 1.25rem); color: var(--off-white); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.hero__price { margin-top: var(--s-4); color: var(--steel-light); font-size: 1rem; }
.hero__price b { color: var(--off-white); }

@media (max-width: 1023px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { max-width: 720px; }
}

/* ---------- Console: the mismatch register, on example data ---------- */
.console {
  position: relative;
  background: var(--navy-raised);
  border: 1px solid var(--hair-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--lift);
  overflow: hidden;
  font-size: 0.9375rem;
}
.console__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--hair); }
.console__title { font-weight: 700; font-size: 1rem; }
.console__tag { color: var(--steel-light); border: 1px solid var(--steel); border-radius: 999px; padding: 6px 10px; }
.console__meta { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-2) var(--s-4); color: var(--steel-light); font-size: 0.875rem; }
.console__progress { flex: 0 0 120px; height: 4px; border-radius: 4px; background: var(--hair); overflow: hidden; }
.console__progress i { display: block; height: 100%; width: 100%; background: var(--teal); border-radius: inherit; transform-origin: left; transition: transform 500ms var(--ease-out); }

.console__head, .row {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.85fr 0.85fr 1.2fr;
  gap: var(--s-2); align-items: center;
  padding: 0 var(--s-4);
}
.console__head { padding-block: var(--s-2); color: var(--steel-light); border-block: 1px solid var(--hair); background: var(--navy); }
.console__head span:nth-child(3), .console__head span:nth-child(4) { text-align: right; }
.console__head span:last-child { text-align: right; }
.row { padding-block: var(--s-3); border-bottom: 1px solid var(--hair); transition: background-color 300ms ease, color 300ms ease; }
.row:last-child { border-bottom: 0; }
.row__ref { font: 700 0.875rem/1.2 var(--font-mono); color: var(--off-white); }
.row__ref small { display: block; margin-top: var(--s-1); font: 400 0.8125rem/1 var(--font-body); color: var(--steel-light); }
.row__check { color: var(--off-white); }
.row__num { font: 400 0.875rem/1 var(--font-mono); text-align: right; font-variant-numeric: tabular-nums; color: var(--off-white); }

/* A mismatch is shown as one only once the row has been checked. */
.row--flag:not([data-state="queued"]):not([data-state="checking"]) { background: rgba(26, 184, 204, 0.05); }
.row--flag:not([data-state="queued"]):not([data-state="checking"]) .row__num--bad { color: var(--warning); }

.pill { justify-self: end; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; white-space: nowrap; transition: background-color 250ms ease, color 250ms ease; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--ok { color: var(--success); background: var(--success-bg); }
.pill--claim { color: var(--cyan); background: var(--teal-800); }
.pill--flag { color: var(--warning); background: var(--warning-bg); }
.pill--wait { color: var(--off-white); background: transparent; box-shadow: inset 0 0 0 1px var(--hair-strong); }

.console__foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s-1) var(--s-3); padding: var(--s-3) var(--s-4); border-top: 1px solid var(--hair); background: var(--navy); font-size: 0.875rem; }
.console__foot > span:first-child { font-weight: 700; }
.console__note { color: var(--steel-light); }

/* States set by the script while the example runs */
.row[data-state="queued"] .row__check,
.row[data-state="queued"] .row__num,
.row[data-state="queued"] .row__ref { color: var(--steel-light); }
.row[data-state="checking"] { background: rgba(26, 184, 204, 0.09); }
.row[data-state="flagged"] { background: rgba(245, 158, 11, 0.07); }

@media (max-width: 640px) {
  .console__head { display: none; }
  .row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "ref pill" "check nums";
    row-gap: var(--s-2); padding-inline: var(--s-3);
  }
  .row__ref { grid-area: ref; }
  .pill { grid-area: pill; }
  .row__check { grid-area: check; font-size: 0.875rem; }
  .row__num { display: none; }
  .row__num--billed { display: block; grid-area: nums; }
  .row--flag .row__num--billed::before { content: attr(data-agreed); }
  .console__bar, .console__meta, .console__foot { padding-inline: var(--s-3); }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.section--rule { border-top: 1px solid var(--hair); }
.section--panel { background: var(--navy); border-block: 1px solid var(--hair); }
.section--cta { background: radial-gradient(ellipse 70% 60% at 20% 0%, rgba(13, 122, 138, 0.18), transparent 70%), var(--midnight); border-top: 1px solid var(--hair); }

.head { max-width: 780px; margin-bottom: clamp(32px, 5vw, 64px); }
.head h2, .review h2, .about__title {
  font: 400 clamp(2rem, 3.8vw, 3rem)/1.08 var(--font-display);
  letter-spacing: -0.01em;
}
.head p { margin-top: var(--s-3); color: var(--steel-light); font-size: 1.1875rem; max-width: 62ch; }
h3 { font: 700 1.25rem/1.25 var(--font-body); }

/* ---------- Size objection ---------- */
.why { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.statement { font: 400 clamp(1.875rem, 3.6vw, 2.875rem)/1.1 var(--font-display); letter-spacing: -0.01em; }
.statement span { color: var(--teal); }
.contrast { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); margin-top: clamp(32px, 5vw, 48px); }
.contrast__col { padding-top: var(--s-3); border-top: 1px solid var(--hair-strong); }
.contrast__col h3 { font-size: 1.125rem; }
.contrast__col p { margin-top: var(--s-2); color: var(--steel-light); font-size: 1.0625rem; }
.contrast__col--you { border-top: 2px solid var(--teal); }
.contrast__col--you p { color: var(--off-white); }

/* A year: twelve rows of thirty, one square per booking. Space is reserved before the
   script fills it, so nothing below moves. */
.year { padding: var(--s-5); background: var(--navy); border: 1px solid var(--hair); border-radius: var(--radius-lg); box-shadow: var(--lift); }
.year__grid { display: grid; grid-template-columns: 18px repeat(30, minmax(0, 1fr)); gap: 4px; aspect-ratio: 31 / 12.4; }
.year__grid b { font: 700 0.625rem/1 var(--font-mono); color: var(--steel-light); align-self: center; }
.year__grid i { aspect-ratio: 1; border-radius: 2px; background: var(--hair-strong); transition: background-color 400ms var(--ease-out); }
.year[data-on="true"] .year__grid i.is-flag { background: var(--teal); transition-delay: var(--d, 0ms); }
.year__cap { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin-top: var(--s-4); font-size: 0.9375rem; color: var(--steel-light); }
.year__cap span { display: inline-flex; align-items: center; gap: var(--s-2); }
.year__cap em { flex-basis: 100%; font-style: normal; }
.year__key { width: 10px; height: 10px; border-radius: 2px; background: var(--hair-strong); outline: 1px solid var(--steel); }
.year__key--flag { background: var(--teal); outline: 0; }

@media (max-width: 1023px) { .why { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .contrast { grid-template-columns: 1fr; gap: var(--s-4); }
  .year { padding: var(--s-4) var(--s-3); }
  .year__grid { gap: 2px; grid-template-columns: 12px repeat(30, minmax(0, 1fr)); aspect-ratio: 31 / 13.2; }
}

/* ---------- Checks ---------- */
.checks { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: var(--s-3); }
.check {
  display: flex; flex-direction: column; gap: var(--s-2);
  padding: var(--s-5); background: var(--midnight);
  border: 1px solid var(--hair); border-radius: var(--radius-lg);
  box-shadow: var(--lift);
}
.check p { color: var(--steel-light); font-size: 1.0625rem; }
.check--lead h3 { font: 400 clamp(1.375rem, 2vw, 1.75rem)/1.15 var(--font-display); letter-spacing: -0.01em; }
.check--lead > p { color: var(--off-white); }
.check--wide { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: var(--s-5); }
.check--wide > div { max-width: 56ch; display: grid; gap: var(--s-2); }

.viz { margin-top: auto; padding-top: var(--s-4); }
.viz .viz__note, .viz--bars .viz__note { margin-top: var(--s-2); color: var(--steel-light); font-size: 0.75rem; }
.viz--bars { display: grid; gap: var(--s-2); }
.viz__line { display: grid; grid-template-columns: 64px 1fr 56px; align-items: center; gap: var(--s-2); font-size: 0.9375rem; color: var(--steel-light); }
.viz__line b { height: 10px; border-radius: 3px; background: var(--teal); width: var(--w); }
.viz__line em { font: 400 0.9375rem/1 var(--font-mono); font-style: normal; color: var(--off-white); text-align: right; }
.viz__line--bad b { background: var(--warning); }
.viz__line--bad em { color: var(--warning); }

.viz--card { display: grid; border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden; }
.viz--card div { display: flex; justify-content: space-between; padding: var(--s-2) var(--s-3); font-size: 0.9375rem; }
.viz--card div + div { border-top: 1px solid var(--hair); }
.viz--card dt { color: var(--steel-light); }
.viz--card dd { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.viz--card .viz__short { background: var(--warning-bg); }
.viz--card .viz__short dt, .viz--card .viz__short dd { color: var(--warning); font-weight: 700; }

.viz--path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.viz--path li { position: relative; padding-top: var(--s-3); font-size: 0.8125rem; color: var(--steel-light); }
.viz--path li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 3px; background: var(--hair-strong); }
.viz--path li.is-done::before { background: var(--teal-deep); }
.viz--path li.is-now { color: var(--cyan); font-weight: 700; }
.viz--path li.is-now::before { background: var(--teal); }

.channels { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); color: var(--steel-light); white-space: nowrap; }
.channels span { margin-right: var(--s-1); }
.channels b { color: var(--off-white); font-size: 1rem; padding: 6px 12px; border: 1px solid var(--steel); border-radius: 999px; }

@media (max-width: 1023px) {
  .checks { grid-template-columns: 1fr 1fr; }
  .check--lead { grid-column: span 2; }
  .check--wide { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .checks { grid-template-columns: 1fr; }
  .check--lead { grid-column: auto; }
  .check { padding: var(--s-4); }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); counter-reset: step; }
.step { position: relative; padding-top: var(--s-7); counter-increment: step; }
.step::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--teal-deep); border-radius: 50%;
  background: var(--midnight);
  font: 700 1rem/1 var(--font-mono); color: var(--cyan);
}
.step::after { content: ""; position: absolute; top: 20px; left: 52px; right: -12px; height: 1px; background: var(--hair-strong); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.3125rem; }
.step p { margin-top: var(--s-2); color: var(--steel-light); }
@media (max-width: 1023px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: var(--s-6); }
  .step:nth-child(2n)::after { display: none; }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; row-gap: var(--s-5); }
  .step::after { display: none; }
}

.leave { display: grid; grid-template-columns: 240px 1fr; gap: var(--s-4); align-items: start; margin-top: clamp(48px, 7vw, 80px); padding-top: var(--s-5); border-top: 1px solid var(--hair); }
.leave .list { grid-template-columns: repeat(3, auto); gap: var(--s-2) var(--s-5); justify-content: start; }
@media (max-width: 1023px) { .leave { grid-template-columns: 1fr; } .leave .list { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr) 1.35fr; gap: var(--s-3); }
.plan {
  display: flex; flex-direction: column;
  padding: var(--s-5) var(--s-4); background: var(--midnight);
  border: 1px solid var(--hair); border-radius: var(--radius-lg); box-shadow: var(--lift);
}
.plan__rooms { font-weight: 700; color: var(--steel-light); font-size: 1rem; }
.plan__price { margin-top: var(--s-4); font: 400 clamp(2.5rem, 4vw, 3.25rem)/1 var(--font-display); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.plan__price span { font-size: 0.45em; vertical-align: 0.95em; margin-right: 2px; color: var(--steel-light); letter-spacing: 0; }
.plan__per { margin-top: var(--s-2); color: var(--steel-light); font-size: 0.9375rem; }
.plan--success { background: var(--teal-900); border-color: var(--teal-deep); }
.plan--success .plan__rooms { color: var(--cyan); }
.plan__third { margin-top: var(--s-4); font: 400 clamp(1.5rem, 2.4vw, 1.875rem)/1.12 var(--font-display); letter-spacing: -0.01em; color: var(--off-white); }
.plan--success .plan__per { color: var(--off-white); margin-top: auto; padding-top: var(--s-3); }
@media (max-width: 1023px) { .plans { grid-template-columns: repeat(3, 1fr); } .plan--success { grid-column: 1 / -1; } }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }

.pricing-detail { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: clamp(32px, 6vw, 80px); margin-top: clamp(40px, 5vw, 56px); align-items: start; }
.pricing-detail__text { margin-top: var(--s-3); max-width: 58ch; }
.pricing-detail .terms + .pricing-detail__text { margin-top: var(--s-4); }
.pricing-detail__text--muted { color: var(--steel-light); }
.pricing-detail__cta { margin-top: var(--s-5); }
@media (max-width: 860px) { .pricing-detail { grid-template-columns: 1fr; } }

.terms { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.terms li { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 700; }
.terms li::before { content: ""; width: 12px; height: 7px; border-left: 1.5px solid var(--cyan); border-bottom: 1.5px solid var(--cyan); transform: rotate(-45deg) translateY(-2px); }

.example { padding: var(--s-4); background: var(--midnight); border: 1px solid var(--hair); border-radius: var(--radius-lg); }
.example table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.example caption { text-align: left; color: var(--steel-light); font-size: 0.9375rem; padding-bottom: var(--s-2); }
.example th { text-align: left; font-weight: 400; padding: var(--s-2) 0; border-bottom: 1px solid var(--hair); }
.example td { text-align: right; padding: var(--s-2) 0; border-bottom: 1px solid var(--hair); }
.example__total th, .example__total td { border-bottom: 0; font-weight: 700; color: var(--cyan); padding-top: var(--s-3); font-size: 1.1875rem; }
.example__note { margin-top: var(--s-3); color: var(--steel-light); font-size: 0.875rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.about__body { display: grid; gap: var(--s-3); max-width: 60ch; }
.about__lead { font-size: 1.375rem; font-weight: 700; line-height: 1.4; }
.about__body p:not(.about__lead) { color: var(--steel-light); }
.about__body .about__mail { color: var(--off-white); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* ---------- Lists ---------- */
.list { display: grid; gap: 12px; }
.list li { position: relative; padding-left: 30px; }
.list--yes li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 7px; border-left: 1.5px solid var(--cyan); border-bottom: 1.5px solid var(--cyan); transform: rotate(-45deg); }
.list--no li { color: var(--steel-light); }
.list--no li::before, .list--no li::after { content: ""; position: absolute; left: 3px; top: 0.75em; width: 13px; height: 1.5px; background: var(--steel-light); transform: rotate(45deg); }
.list--no li::after { transform: rotate(-45deg); }

/* ---------- Get started form ---------- */
.review { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.review__copy p { margin-top: var(--s-3); color: var(--steel-light); }
.review__copy .list { margin-top: var(--s-4); }
.review__mail { font-size: 1rem; }
@media (max-width: 1023px) { .review { grid-template-columns: 1fr; } }

.form { padding: clamp(24px, 4vw, 40px); background: var(--navy); border: 1px solid var(--hair-strong); border-radius: var(--radius-lg); box-shadow: var(--lift); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form__grid { grid-template-columns: 1fr; } }
.field label { font-size: 0.9375rem; font-weight: 700; }
.field label span { font-weight: 400; color: var(--steel-light); }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 0 var(--s-3);
  background: var(--midnight); color: var(--off-white);
  border: 1px solid var(--steel); border-radius: var(--radius);
  font: 400 1rem/1.2 var(--font-body);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--steel-light) 50%), linear-gradient(135deg, var(--steel-light) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(26, 184, 204, 0.3); }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }

.form__outside { margin-top: var(--s-3); padding: 12px var(--s-3); border-radius: var(--radius); background: var(--info-bg); border: 1px solid var(--hair-strong); font-size: 1rem; }
.form__foot { margin-top: var(--s-4); }
.form__foot .btn { width: 100%; }
.form__note { margin-top: var(--s-3); color: var(--steel-light); font-size: 0.9375rem; }
.form__msg { margin-top: var(--s-3); padding: 12px var(--s-3); border-radius: var(--radius); background: var(--info-bg); border: 1px solid var(--hair-strong); font-size: 1rem; }
.form__msg:empty { display: none; }
.form__msg--error { background: var(--error-bg); border-color: var(--error); color: var(--off-white); }

/* ---------- Footer ---------- */
.footer { padding: var(--s-7) 0 var(--s-6); border-top: 1px solid var(--hair); background: var(--midnight); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-5); align-items: start; }
.footer__brand p { margin-top: var(--s-3); color: var(--steel-light); }
.footer__links { display: grid; gap: var(--s-2); }
.footer__links a { color: var(--steel-light); text-decoration: none; }
.footer__links a:hover { color: var(--off-white); }
.footer__contact { display: grid; gap: var(--s-3); }
.footer__contact p { color: var(--steel-light); font-size: 0.9375rem; }
@media (max-width: 768px) { .footer__inner { grid-template-columns: 1fr; } }

/* ---------- Short page (index.html) ---------- */
.hero__inner--solo { grid-template-columns: minmax(0, 1fr); padding-block: clamp(24px, 5vw, 64px); }
.hero__inner--solo .hero__title { font-size: clamp(2.25rem, 5vw, 4.25rem); max-width: 22ch; }
.hero__inner--solo .hero__title span { white-space: normal; }
.hero__line { margin-top: var(--s-4); font: 700 clamp(1.25rem, 2vw, 1.625rem)/1.3 var(--font-body); color: var(--off-white); }

.intro__text { display: grid; gap: var(--s-4); max-width: 1060px; }
.intro__lead { font: 400 clamp(1.5rem, 2.8vw, 2.375rem)/1.2 var(--font-display); letter-spacing: -0.01em; color: var(--off-white); }
.intro__more, .intro__where { max-width: 64ch; }
.intro__lead strong { font-weight: 400; color: var(--teal); }
.intro__more { font-size: clamp(1.125rem, 1.5vw, 1.25rem); color: var(--off-white); }
.intro__where { color: var(--steel-light); }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); margin-top: clamp(40px, 6vw, 72px); }
.fact { padding: var(--s-5) var(--s-4); background: var(--navy); border: 1px solid var(--hair); border-radius: var(--radius-lg); box-shadow: var(--lift); display: grid; gap: var(--s-3); align-content: start; }
.fact dt { font: 700 0.75rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--steel-light); }
.fact dd { display: grid; gap: var(--s-2); }
.fact dd b { font: 400 clamp(2.75rem, 5vw, 4rem)/1 var(--font-display); letter-spacing: -0.01em; color: var(--teal); font-variant-numeric: tabular-nums; }
.fact dd span { color: var(--off-white); }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } }

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
.service { display: grid; gap: var(--s-2); align-content: start; padding: var(--s-5); background: var(--midnight); border: 1px solid var(--hair); border-radius: var(--radius-lg); box-shadow: var(--lift); }
.service h3 { font: 400 clamp(1.25rem, 1.8vw, 1.5rem)/1.2 var(--font-display); letter-spacing: -0.01em; }
.service p { color: var(--steel-light); max-width: 52ch; }
.service--lead { grid-column: 1 / -1; background: var(--teal-900); border-color: var(--teal-deep); }
.service--lead h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.service--lead p { color: var(--off-white); max-width: 70ch; }
.services__more { margin-top: var(--s-5); }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } .service { padding: var(--s-4); } }

.pricing__small { margin-top: var(--s-5); max-width: 70ch; color: var(--steel-light); }

.gap { color: var(--warning); font-weight: 700; }

/* Line icons: 24px grid, 1.5px stroke, Sky Cyan on dark (brand book p.17) */
.icon { width: 28px; height: 28px; fill: none; stroke: var(--cyan); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: var(--s-2); }

/* ---------- Legal page ---------- */
.legal { max-width: 760px; padding-block: clamp(48px, 8vw, 96px); }
.legal h1 { font: 300 clamp(2rem, 4vw, 3rem)/1.05 "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif; letter-spacing: -0.03em; }
.legal__meta { margin-top: var(--s-3); color: var(--steel-light); font-size: 1rem; }
.legal__draft { margin-top: var(--s-5); padding: var(--s-3) var(--s-4); border: 1px solid var(--warning); border-radius: var(--radius); background: var(--warning-bg); }
.legal h2 { margin-top: var(--s-6); font: 700 1.375rem/1.3 var(--font-body); }
.legal p, .legal ul { margin-top: var(--s-3); }
.legal ul { list-style: disc; padding-left: var(--s-4); }
.legal li + li { margin-top: var(--s-2); }
.legal .gap { color: var(--warning); font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; transition-delay: 0ms !important; }
}

/* Privacy page header on phones: the back button drops under the logo instead of overflowing */
@media (max-width: 480px) {
  .js .nav--plain .nav__inner, .nav--plain .nav__inner { flex-wrap: wrap; height: auto; min-height: var(--nav-h); padding-block: var(--s-2); gap: var(--s-2); }
  .nav--plain .nav__back { margin-left: 0; }
}
