/*
 * Public site (ADR 0022). Brand tokens from docs/design-system/tokens; the app shell's
 * caderly.css and Bootstrap are deliberately not loaded here.
 */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Serif"; font-style: italic; font-weight: 300; font-display: swap; src: url("/fonts/ibm-plex-serif-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --brand: #0F5568;
  --brand-hover: #0A3F4D;
  --on-brand: #FFFFFF;
  --brand-fill: #E3EFF2;
  --brand-tint: #F1F7F8;
  --brand-line: #AFCFD7;
  --brand-line-soft: #CFE2E7;
  --ink: #15171C;
  --ink-2: #4A5160;
  --ink-3: #5F6675;
  --mute: #6F7686;
  --paper: #F7F7F9;
  --card: #FFFFFF;
  --rule: #E3E4E9;
  --field: #D5D7DE;
  --verify: #1F6B45;
  --verify-fill: #E6F1EA;
  --notice: #9A5F00;
  --notice-fill: #FBF1E1;
  --footer: #0F1116;
  --footer-ink: #AEB5C2;
  --footer-head: #E7E9EE;
  --footer-rule: #262B35;
  --footer-brand: #6FBDD1;
  --sans: "IBM Plex Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif: "IBM Plex Serif", Georgia, serif;
  /* Site type scale. Display is BRAND §6.2's Statement (56); headings below it are larger than the
     product's because a landing page reads at a distance. */
  --fs-display: clamp(40px, 5vw, 56px);
  --fs-h2: clamp(32px, 3.6vw, 42px);
  --fs-h3: 24px;
  --fs-h4: 19px;
  --fs-lead: 19px;
  --fs-brand-line: clamp(22px, 2.2vw, 26px);
  --fs-lead-sm: 18px;
  --fs-lg: 17px;
  --fs-body: 16px;
  --fs-md: 15px;
  --fs-sm: 14px;
  --fs-xs: 13px;
  --fs-2xs: 12px;
  --fs-label: 11px;
  --shadow-float: 0 10px 30px -12px rgba(21, 23, 28, .28);
  --shadow-card: 0 10px 28px -14px rgba(21, 23, 28, .35);
  --ring: 0 0 0 3px rgba(15, 85, 104, .28);
  --shadow-tag: 0 6px 18px -10px rgba(21, 23, 28, .3);
  --radius-card: 16px;
  --radius-panel: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--card);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--brand); }
a:hover { color: var(--brand-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 6px;
}
.mono { font-family: var(--mono); }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -10000px; top: 8px; }
.skip-link:focus { left: 16px; z-index: 20; background: var(--card); padding: 8px 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: var(--fs-md); text-decoration: none; cursor: pointer;
  border-radius: 8px; padding: 11px 22px; border: 1.5px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-hover); color: var(--on-brand); }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand-fill); }
.btn-lg { font-size: var(--fs-lg); padding: 15px 32px; }
.btn-block { width: 100%; }
.btn[disabled] { background: #EDEEF1; color: var(--mute); cursor: not-allowed; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-name { font-weight: 600; font-size: 21px; letter-spacing: -.02em; }
.nav-links { display: flex; flex-wrap: wrap; gap: 4px 28px; flex: 1 1 auto; margin: 0; padding: 0; list-style: none; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: var(--fs-md); padding: 10px 0; display: inline-block; }
.nav-links a:hover { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-actions .login { color: var(--ink); text-decoration: none; font-weight: 500; font-size: var(--fs-md); padding: 10px 4px; }
.nav-menu { display: none; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 72px;
}
.hero-copy { display: flex; flex-direction: column; gap: 24px; max-width: 540px; }
.hero h1 { margin: 0; font-size: var(--fs-display); line-height: 1.04; letter-spacing: -.034em; font-weight: 600; }
.lead { margin: 0; font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); }
/* BRAND §6: Serif Italic has one job, the brand's own sentences on the site (the hero line and the
   footer tagline). Never in the product. */
.brand-line { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: var(--fs-brand-line); line-height: 1.3; color: var(--ink); text-wrap: balance; }
.hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 6px; }
.hero-note { font-size: var(--fs-sm); color: var(--ink-3); padding-left: 4px; }

.hero-visual { position: relative; width: 100%; max-width: 580px; aspect-ratio: 1 / 1; justify-self: center; }
.hero-orbit { position: absolute; inset: 1%; border-radius: 50%; border: 1.5px dashed var(--brand-line); }
.hero-disc { position: absolute; inset: 11%; border-radius: 50%; background: var(--brand-fill); }
.hero-portrait {
  position: absolute; left: 50%; bottom: 11%; height: 88%; transform: translateX(-46%) scaleX(.94);
  /* Union of a top-half band (head may rise above the disc) and the disc circle, so the body is
     cut cleanly along the disc's curve. */
  -webkit-mask-image: linear-gradient(#000 0 0), radial-gradient(circle closest-side, #000 99%, transparent 100%);
  mask-image: linear-gradient(#000 0 0), radial-gradient(circle closest-side, #000 99%, transparent 100%);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: 100% 50%, 108% 85%; mask-size: 100% 50%, 108% 85%;
  -webkit-mask-position: 50% 0, 50% 100%; mask-position: 50% 0, 50% 100%;
}
.chip {
  position: absolute; background: var(--card); border: 1px solid var(--rule); box-shadow: var(--shadow-float);
  animation: cd-in .6s cubic-bezier(.2, .7, .2, 1) both, cd-float 7s ease-in-out infinite;
}
.chip-booking { left: -9%; top: 5%; width: 220px; max-width: 44%; border-radius: var(--radius-panel); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; animation-delay: .25s, 1s; }
.chip-booking .meta { font-size: var(--fs-2xs); color: var(--ink-3); }
.chip-booking .big { font-size: var(--fs-lg); font-weight: 600; letter-spacing: -.01em; }
.chip-booking .rule { font-size: var(--fs-2xs); line-height: 1.4; color: var(--ink-2); background: var(--brand-fill); border-radius: 6px; padding: 6px 8px; }
.chip-approval { right: -7%; top: 47%; max-width: 52%; border-radius: 999px; padding: 6px 16px 6px 6px; display: flex; align-items: center; gap: 10px; animation-delay: .45s, 3.2s; }
.chip-approval img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.chip-approval .status { font-size: var(--fs-xs); font-weight: 600; color: var(--verify); display: flex; align-items: center; gap: 4px; }
.chip-approval .by { font-size: var(--fs-2xs); color: var(--ink-2); white-space: nowrap; }
.chip-balance { left: -4%; bottom: 12%; max-width: 50%; border-radius: var(--radius-panel); padding: 12px 16px 12px 12px; display: flex; align-items: center; gap: 12px; animation-delay: .65s, 2.1s; }
.chip-balance .title { font-size: var(--fs-sm); font-weight: 600; display: block; }
.chip-balance .sub { font-size: var(--fs-2xs); color: var(--ink-3); display: block; }
.chip-bubble { right: 4%; bottom: 8%; width: 56px; height: 56px; border-radius: 50%; background: var(--brand); border: 0; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -10px rgba(15, 85, 104, .6); animation-delay: .85s, 4.4s; }
.stack { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }

@keyframes cd-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cd-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* Figures inside sentences stay in Sans but line up; standalone dates and timestamps use Mono. */
.chip, .tag, .panel, .calc, .price-card { font-variant-numeric: tabular-nums; }

/* ---------- sections ---------- */
.section { padding-top: 96px; padding-bottom: 96px; }
.section-tint { background: var(--brand-tint); border-top: 1px solid var(--brand-line-soft); border-bottom: 1px solid var(--brand-line-soft); }
.section-paper { background: var(--paper); border-top: 1px solid var(--rule); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; display: flex; flex-direction: column; gap: 14px; }
.eyebrow { margin: 0; font-family: var(--mono); font-size: var(--fs-2xs); font-weight: 500; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.eyebrow + h2.title { margin-top: -6px; }
h2.title { margin: 0; font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -.03em; font-weight: 600; }
.section-head p:not(.eyebrow), .muted-lg { margin: 0; font-size: var(--fs-lead-sm); color: var(--ink-2); }

/* feature grid: wide/narrow alternating rows */
.features { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.feature { grid-column: span 2; border-radius: var(--radius-card); padding: 32px 32px 0; display: flex; flex-direction: column; gap: 12px; overflow: hidden; background: var(--card); border: 1px solid var(--rule); }
.feature.wide { grid-column: span 3; }
.feature.tinted { background: var(--brand-tint); border-color: var(--brand-line-soft); }
.feature h3 { margin: 0; font-size: var(--fs-h3); letter-spacing: -.02em; font-weight: 600; }
.feature p { margin: 0; color: var(--ink-2); max-width: 560px; }
.vignette { position: relative; height: 200px; margin-top: 8px; }
.vignette .portrait { position: absolute; left: 50%; bottom: -28px; transform: translateX(-50%); width: 190px; height: 190px; border-radius: 50%; background: var(--card); border: 1px solid var(--brand-line-soft); overflow: hidden; }
.vignette .portrait img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; background: var(--card); border: 1px solid var(--rule); border-radius: 10px; padding: 9px 14px; font-size: var(--fs-xs); box-shadow: var(--shadow-tag); display: flex; align-items: center; gap: 8px; line-height: 1.3; }
.tag.col { flex-direction: column; align-items: flex-start; gap: 0; }
.tag .strong { font-weight: 600; }
.tag .small { font-size: var(--fs-2xs); color: var(--ink-3); }
.tag .warn { font-size: var(--fs-2xs); color: var(--notice); }
.tag-left { left: calc(50% - 260px); top: 36px; }
.tag-right { left: calc(50% + 105px); top: 92px; }
/* A real product screenshot (SiteScreenshotsE2ETest), top-anchored like .panel and cropped by
   the card's overflow:hidden. Width/height attributes keep its aspect ratio, so no layout shift. */
.vignette .shot { position: absolute; left: 0; right: 0; top: 22px; margin: 0 auto; display: block; width: min(100%, 420px); height: auto; border: 1px solid var(--rule); border-radius: var(--radius-panel); box-shadow: var(--shadow-card); background: var(--card); }
.feature.wide .vignette .shot { width: min(100%, 520px); }
.panel { position: absolute; left: 0; right: 0; top: 22px; margin: 0 auto; max-width: 100%; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius-panel); box-shadow: var(--shadow-card); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.panel .row { display: flex; align-items: center; gap: 10px; }
.panel .panel-meta { font-size: var(--fs-2xs); color: var(--ink-3); }
.panel .panel-entry { font-size: var(--fs-2xs); line-height: 1.4; }
.medium { font-weight: 500; }
.panel .avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; }


/* arithmetic */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: center; }
.split-copy { display: flex; flex-direction: column; gap: 18px; max-width: 500px; }
.calc { background: var(--card); border: 1px solid var(--brand-line-soft); border-radius: var(--radius-card); padding: 28px; box-shadow: 0 20px 48px -28px rgba(15, 85, 104, .45); display: flex; flex-direction: column; gap: 22px; }
.calc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.calc-head .who { font-weight: 600; font-size: var(--fs-lg); }
.calc-head .when { font-family: var(--mono); font-size: var(--fs-xs); color: var(--ink-3); }
.days { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.day { position: relative; border: 1px solid var(--brand-line-soft); border-radius: 8px; padding: 10px 0; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.day .dow { font-size: var(--fs-label); color: var(--ink-3); }
.day .num { position: relative; font-family: var(--mono); font-size: var(--fs-lg); font-weight: 500; }
/* Skipped days are greyed by colour, not opacity, so their text keeps AA contrast (5.4:1). */
.day.skip { border-color: var(--rule); background: var(--paper); }
.day.skip .num { color: var(--ink-3); }
/* Inside .num, so the line crosses the digit at any font size. */
.day .strike { position: absolute; left: 14%; right: 14%; top: calc(50% - 1px); height: 2px; background: var(--ink-2); transform-origin: left; }
.result { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.count { position: relative; width: 84px; height: 84px; flex: none; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-family: var(--mono); font-size: 40px; font-weight: 500; }
.count span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.count .n8, .count .n6 { opacity: 0; }
.sum { display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-md); flex: 1 1 220px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; }
.sum .minus { color: var(--ink-2); }
.sum .total { border-top: 1px solid var(--rule); padding-top: 6px; font-weight: 600; }

/* loop: static styles above are the final state, so no-motion users see the answer */
.anim .day.wk .num { animation: cd-wk 12s ease-in-out infinite; }
.anim .day.hol .num { animation: cd-hol 12s ease-in-out infinite; }
.anim .day.wk .strike { animation: cd-sw 12s ease-in-out infinite; }
.anim .day.hol .strike { animation: cd-sh 12s ease-in-out infinite; }
.anim .n8 { animation: cd-n8 12s ease-in-out infinite; }
.anim .n6 { animation: cd-n6 12s ease-in-out infinite; }
.anim .n5 { animation: cd-n5 12s ease-in-out infinite; }
.anim .l2 { animation: cd-l2 12s ease-in-out infinite; }
.anim .l3 { animation: cd-l3 12s ease-in-out infinite; }
.anim .total { animation: cd-l4 12s ease-in-out infinite; }
@keyframes cd-wk { 0%, 16% { color: var(--ink); } 22%, 92% { color: var(--ink-3); } 98%, 100% { color: var(--ink); } }
@keyframes cd-hol { 0%, 38% { color: var(--ink); } 44%, 92% { color: var(--ink-3); } 98%, 100% { color: var(--ink); } }
@keyframes cd-sw { 0%, 16% { transform: scaleX(0); } 22%, 92% { transform: scaleX(1); } 98%, 100% { transform: scaleX(0); } }
@keyframes cd-sh { 0%, 38% { transform: scaleX(0); } 44%, 92% { transform: scaleX(1); } 98%, 100% { transform: scaleX(0); } }
@keyframes cd-n8 { 0%, 16% { opacity: 1; } 20%, 94% { opacity: 0; } 98%, 100% { opacity: 1; } }
@keyframes cd-n6 { 0%, 16% { opacity: 0; } 20%, 38% { opacity: 1; } 42%, 100% { opacity: 0; } }
@keyframes cd-n5 { 0%, 38% { opacity: 0; } 42%, 92% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes cd-l2 { 0%, 16% { opacity: .3; } 22%, 92% { opacity: 1; } 98%, 100% { opacity: .3; } }
@keyframes cd-l3 { 0%, 38% { opacity: .3; } 44%, 92% { opacity: 1; } 98%, 100% { opacity: .3; } }
@keyframes cd-l4 { 0%, 58% { opacity: .3; } 64%, 92% { opacity: 1; } 98%, 100% { opacity: .3; } }

/* setup steps */
.section-setup { padding-bottom: 40px; }
.section-setup .section-head { margin-bottom: 0; }
.section-security { padding-top: 72px; }
.cta-gap { margin-top: 6px; }
.split-copy .cta-gap { align-self: flex-start; }
.steps { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.steps li { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius-card); border: 1px solid var(--rule); }
.steps .n { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: flex; align-items: center; justify-content: center; font-weight: 600; font-family: var(--mono); }
.steps .h { font-weight: 600; font-size: var(--fs-h4); letter-spacing: -.014em; }
.steps .t { color: var(--ink-2); }

/* security */
.trust { border: 1px solid var(--rule); border-radius: var(--radius-card); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; }
.trust-visual { position: relative; height: 340px; }
.trust-visual .disc { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 260px; height: 260px; border-radius: 50%; background: var(--brand-fill); }
.trust-visual .face { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 200px; height: 200px; border-radius: 50%; overflow: hidden; border: 6px solid var(--card); box-shadow: 0 16px 36px -18px rgba(21, 23, 28, .4); }
.trust-visual .face img { width: 100%; height: 100%; object-fit: cover; }
.trust-visual .t1 { left: 0; top: 22px; }
.trust-visual .t2 { right: 0; bottom: 30px; max-width: 220px; }
.checks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; }
.checks svg { flex: none; margin-top: 3px; }

/* pricing + faq */
.price-card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius-card); padding: 32px; display: flex; flex-direction: column; gap: 20px; box-shadow: 0 1px 2px rgba(21, 23, 28, .06), 0 4px 12px -6px rgba(21, 23, 28, .16); }
.price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price .amount { font-family: var(--mono); font-size: 56px; font-weight: 500; line-height: 1; letter-spacing: -.03em; }
.price .per { color: var(--ink-2); }
.includes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.includes li { display: flex; gap: 10px; }
.includes svg { flex: none; margin-top: 4px; }
.small-muted { font-size: var(--fs-sm); color: var(--ink-3); }
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; font-size: var(--fs-lg); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { flex: none; margin-top: 2px; color: var(--brand); transition: transform .12s ease-out; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq p { margin: 0 0 18px; color: var(--ink-2); }

/* closing */
.closing { border: 1.5px solid var(--brand-line); background: var(--brand-tint); border-radius: var(--radius-card); padding: clamp(36px, 5vw, 64px) 24px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.closing h2 { max-width: 640px; }
.closing p { max-width: 520px; }

/* footer */
.site-footer { background: var(--footer); color: var(--footer-ink); }
.footer-main { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; max-width: 320px; }
.footer-brand .brand { color: var(--footer-head); }
.footer-brand .brand:hover { color: var(--footer-head); }
.footer-brand .brand-line { font-size: var(--fs-h4); color: var(--footer-head); }
.footer-brand .btn { align-self: flex-start; background: var(--footer-brand); color: #08181D; font-size: var(--fs-sm); padding: 10px 18px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 56px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: var(--fs-sm); }
.footer-col .head { font-weight: 600; color: var(--footer-head); }
.footer-col a { color: var(--footer-ink); text-decoration: none; }
.footer-col a:hover { color: var(--footer-head); }
.footer-base { border-top: 1px solid var(--footer-rule); font-size: var(--fs-xs); color: #8B93A2; padding-top: 20px; padding-bottom: 32px; }

/* ---------- forms: sign-up, login ---------- */
.auth-page { position: relative; min-height: calc(100vh - 64px); background: #EEF0F3; overflow: hidden; }
.auth-backdrop { position: absolute; inset: 0; filter: blur(5px); opacity: .7; pointer-events: none; display: flex; }
.auth-backdrop .side { width: 220px; background: var(--brand); flex: none; }
.auth-backdrop .board { flex: 1; padding: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-content: start; background: var(--paper); }
.auth-backdrop .tile { height: 300px; background: var(--card); border: 1px solid var(--rule); border-radius: 10px; }
.auth-backdrop .tile.low { height: 220px; }
.auth-backdrop .tile.span2 { grid-column: span 2; }
.auth-veil { position: absolute; inset: 0; background: rgba(238, 240, 243, .45); }
.auth-main { position: relative; display: flex; justify-content: center; padding: 56px 16px 80px; }
.auth-card { width: 100%; max-width: 480px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius-card); padding: 36px 36px 30px; box-shadow: 0 30px 60px -30px rgba(21, 23, 28, .45); display: flex; flex-direction: column; gap: 20px; animation: cd-in .45s cubic-bezier(.2, .7, .2, 1) both; }
.auth-card .brand { align-self: center; }
.auth-card h1 { margin: 0; font-size: 26px; line-height: 1.2; letter-spacing: -.024em; font-weight: 600; text-align: center; }
.auth-card .sub { margin: -10px 0 0; color: var(--ink-2); text-align: center; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-weight: 500; font-size: 14px; padding: 0; }
.field input[type=text], .field input[type=email], .field select {
  height: 46px; border: 1px solid var(--field); border-radius: 8px; padding: 0 12px;
  font: inherit; color: var(--ink); background: var(--card); width: 100%;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
.field .hint { font-size: 13px; color: var(--ink-3); }
.field .error { font-size: 13px; color: #A62A22; }
.field.invalid input, .field.invalid select { border-color: #A62A22; }
.addr { display: flex; align-items: stretch; border: 1px solid var(--field); border-radius: 8px; overflow: hidden; background: var(--card); }
.addr:focus-within { border-color: var(--brand); box-shadow: var(--ring); }
.addr input { flex: 1 1 auto; min-width: 0; height: 44px; border: 0 !important; box-shadow: none !important; padding: 0 12px; font-family: var(--mono); font-size: 15px; color: var(--ink); background: transparent; }
.addr input:focus { outline: none; }
.addr .suffix { display: flex; align-items: center; padding: 0 12px; background: var(--paper); border-left: 1px solid var(--rule); font-family: var(--mono); font-size: 14px; color: var(--ink-2); }
.addr-status { font-size: 13px; min-height: 20px; color: var(--ink-3); }
.addr-status.ok { color: var(--verify); }
.addr-status.no { color: var(--notice); }
.row-2 { display: flex; flex-wrap: wrap; gap: 14px; }
.row-2 > .field { flex: 1 1 180px; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { position: relative; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices span { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--field); font-size: 14px; font-weight: 500; cursor: pointer; }
.choices input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.choices input:focus-visible + span { box-shadow: var(--ring); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.divider { height: 1px; background: var(--rule); }
.centered { text-align: center; }
.alert { border-radius: 8px; padding: 12px 14px; font-size: 14px; }
.alert-warn { background: var(--notice-fill); color: #6B4200; border: 1px solid #EBCB97; }
.alert-info { background: var(--brand-fill); color: var(--ink); border: 1px solid var(--brand-line); }
.facts { background: var(--card); border: 1px solid var(--rule); border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.facts .line { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.facts .k { color: var(--ink-2); }
.facts .v { font-family: var(--mono); font-size: 14px; font-weight: 500; }
.icon-badge { width: 56px; height: 56px; border-radius: 12px; background: var(--brand-fill); display: flex; align-items: center; justify-content: center; align-self: center; }
.js-step2 { display: flex; flex-direction: column; gap: 20px; }
.js .js-step2[hidden] { display: none; }
.back-link { align-self: flex-start; border: 0; background: none; padding: 4px 0; font: inherit; font-size: 14px; color: var(--brand); font-weight: 500; cursor: pointer; }

/* legal */
.legal { max-width: 780px; margin: 0 auto; padding: 56px 24px 96px; }
.legal h1 { font-size: 40px; letter-spacing: -.03em; margin: 0 0 8px; }
.legal h2 { font-size: 22px; letter-spacing: -.02em; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
.legal th, .legal td { text-align: left; border-bottom: 1px solid var(--rule); padding: 10px 8px; vertical-align: top; }
.legal th { color: var(--ink); font-weight: 600; }
.draft-banner { background: var(--notice-fill); border-bottom: 1px solid #EBCB97; color: #6B4200; font-size: 14px; text-align: center; padding: 10px 16px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .features { grid-template-columns: minmax(0, 1fr); }
  .feature, .feature.wide { grid-column: auto; }
  .tag-left { left: 0; }
  .tag-right { left: auto; right: 0; }
  .auth-backdrop .side { display: none; }
  /* Phones and tablets: the inline links wrap below about 835px, so they and Log in move into the
     Menu disclosure, leaving the brand, Start free and Menu on one row down to 320px. */
  .site-nav { flex-wrap: nowrap; gap: 8px; }
  .site-nav .brand { margin-right: auto; }
  .nav-links, .nav-actions .login { display: none; }
  .nav-actions .btn { padding: 9px 14px; font-size: 14px; }
  .nav-menu { display: block; }
  .nav-menu summary {
    display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; cursor: pointer;
    list-style: none; border: 1.5px solid var(--field); border-radius: 8px;
    font-weight: 600; font-size: 14px; color: var(--ink);
  }
  .nav-menu summary::-webkit-details-marker { display: none; }
  .nav-menu[open] summary { border-color: var(--brand); color: var(--brand); }
  /* Anchored to the sticky header (a positioned box), so it spans the full width below the bar. */
  .nav-menu-panel {
    position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 8px 16px 12px; list-style: none;
    background: var(--card); border-bottom: 1px solid var(--rule); box-shadow: var(--shadow-float);
  }
  .nav-menu-panel a {
    display: flex; align-items: center; min-height: 48px; padding: 0 8px;
    color: var(--ink); text-decoration: none; font-weight: 500; font-size: 17px;
  }
  .nav-menu-panel a:hover { color: var(--brand); }
  .nav-menu-panel .sep { border-top: 1px solid var(--rule); margin-top: 4px; padding-top: 4px; }
  .site-nav .brand-name, .nav-actions .btn { white-space: nowrap; }
}
@media (max-width: 560px) {
  /* Phones: tighter vertical rhythm, and every mock vignette rearranged so nothing overlaps. */
  .section { padding-top: 56px; padding-bottom: 56px; }
  .section-setup { padding-bottom: 24px; }
  .section-security { padding-top: 40px; }
  .section-head { margin-bottom: 32px; }
  .hero { gap: 28px; padding-top: 32px; padding-bottom: 40px; }
  /* Two chips instead of four: at this width the balance chip and bubble collided with the others. */
  .chip-balance, .chip-bubble { display: none; }
  .chip-booking { width: 200px; left: 0; }
  .chip-approval { right: 0; top: auto; bottom: 14%; }
  .feature { padding: 24px 24px 0; }
  .vignette { height: 168px; }
  /* Portrait moves right and the tags stack on the left, so no tag sits over a face. */
  .vignette .portrait { left: auto; right: 0; transform: none; width: 140px; height: 140px; bottom: -20px; }
  .tag-left { left: 0; top: 12px; }
  .tag-right { left: 0; right: auto; top: 64px; }
  .steps { margin-top: 32px; }
  .calc { padding: 20px; gap: 18px; }
  /* The count sits beside the sum instead of stacking above it with an empty band. */
  .result { flex-wrap: nowrap; gap: 16px; }
  .count { width: 56px; height: 56px; font-size: 28px; }
  .sum { flex: 1 1 auto; min-width: 0; font-size: var(--fs-sm); }
  .sum .mono { white-space: nowrap; }
  .footer-main { gap: 32px; padding-top: 48px; }
  .footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .auth-card { padding: 28px 22px 24px; }
  .days { gap: 4px; }
  .day .num { font-size: var(--fs-md); }
}
@media (max-width: 400px) {
  /* Too narrow for two tags beside a portrait: keep the one that names the person or the expiry. */
  .vignette .tag-left { display: none; }
  .tag-right { top: 12px; }
}
@media (max-width: 380px) {
  /* Narrow phones: Menu becomes icon-only (its label stays for screen readers) so the bar fits. */
  .site-nav { padding-left: 16px; padding-right: 16px; }
  .site-nav .brand-name { font-size: 19px; }
  .nav-actions .btn { padding: 9px 12px; }
  .nav-menu summary { width: 40px; padding: 0; justify-content: center; }
  .nav-menu summary span {
    position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chip, .auth-card, .anim * { animation: none !important; }
  .faq .plus { transition: none; }
}
