/* Agenclose marketing site. Tokens from the brand guidelines (October 2026, pages 8-12), Light theme for
   the page and Night for the footer. No JavaScript anywhere on the site. */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/space-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/space-mono-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/space-mono-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/space-mono-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/space-mono-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Agenclose design system tokens (docs/design/brand/agenclose/design-system/tokens.json). Light theme is the
     page; the footer re-scopes the Night values below. */
  --surface: #f5f0f7;
  --surface-raised: #ffffff;
  --surface-sunken: #eadcf0;
  --line: #e6ddea;
  --line-strong: #8e7896;
  --ink: #1d0e23;
  --ink-muted: #5e4a66;
  --brand-text: #4b2357;
  --plum: #4b2357;
  --chartreuse: #d7f23a;
  --on-chartreuse: #4b2357;
  --orange: #ff5b1f;
  --orange-text: #b83a0b;
  --orange-tint: #ffe4d9;
  --deep-lime: #9fbf00;
  --off-white: #f3e9f5;
  --night: #1d0e23;
  --action: #4b2357;
  --action-hover: #3a1a44;
  --on-action: #f3e9f5;
  --danger: #c8203a;
  --focus-ring: #4b2357;

  --sans: "Space Grotesk", "Helvetica Neue", Arial, ui-sans-serif, system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, Menlo, monospace;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;
  --space-7: 104px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-full: 999px;
  --shadow-raised: 0 1px 2px rgba(29, 14, 35, 0.06), 0 12px 32px rgba(29, 14, 35, 0.1);
  --max: 1200px;
  --section: var(--space-6);
}
@media (min-width: 768px) {
  :root {
    --section: var(--space-7);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 400 16px/24px var(--sans);
  font-feature-settings: "ss01" 0;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--brand-text);
  text-underline-offset: 3px;
}
:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--surface-raised);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  z-index: 10;
}
.skip:focus {
  left: 16px;
}
.wrap {
  max-width: calc(var(--max) + 2 * var(--space-4));
  margin: 0 auto;
  padding: 0 var(--space-3);
}
@media (min-width: 768px) {
  .wrap {
    padding: 0 var(--space-4);
  }
}

/* Type (guidelines page 10) */
h1,
h2,
h3 {
  color: var(--brand-text);
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}
.display-xl {
  font-size: clamp(44px, 7.5vw, 88px);
  line-height: 1;
  letter-spacing: -0.045em;
}
.display-l {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.0715;
  letter-spacing: -0.04em;
}
.display-m {
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.1667;
  letter-spacing: -0.03em;
}
.heading {
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -0.02em;
}
.body-l {
  font-size: 18px;
  line-height: 28px;
}
.muted {
  color: var(--ink-muted);
}
.eyebrow {
  font: 400 12px/16px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 var(--space-3);
}
.data {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
p {
  margin: 0;
}

/* Buttons (page 15: primary, secondary, text) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 12px var(--space-4);
  border-radius: var(--radius-md);
  font: 500 16px/20px var(--sans);
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color 150ms ease-out, border-color 150ms ease-out;
}
.btn-primary {
  background: var(--action);
  color: var(--on-action);
}
.btn-primary:hover {
  background: var(--action-hover);
}
.btn-secondary {
  background: var(--surface-raised);
  color: var(--brand-text);
  border-color: var(--line-strong);
}
.btn-secondary:hover {
  border-color: var(--plum);
}
.btn-arrow {
  width: 16px;
  height: 16px;
}

/* Header */
.site-header {
  padding: var(--space-3) 0;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.logo-link {
  display: inline-flex;
  border-radius: var(--radius-sm);
}
.logo-link img {
  height: 56px;
  width: auto;
  margin: -8px 0 -8px -12px; /* the lockup file carries its clear space */
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.nav a:not(.btn):hover {
  text-decoration: underline;
}
.nav .lang {
  font: 400 13px/18px var(--mono);
  letter-spacing: 0.08em;
}
@media (max-width: 899px) {
  .nav a.nav-section {
    display: none;
  }
}
@media (max-width: 479px) {
  .nav {
    gap: var(--space-3);
  }
  .nav .btn {
    padding: 10px var(--space-3);
    min-height: 44px;
  }
  .logo-link img {
    height: 44px;
  }
}

/* Hero */
.hero {
  padding: var(--space-5) 0 var(--section);
}
.hero-grid {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
@media (min-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: var(--space-6);
  }
}
.hero h1 {
  margin-bottom: var(--space-4);
}
.hero .lede {
  max-width: 560px;
  margin-bottom: var(--space-5);
}
.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.hero-note {
  margin-top: var(--space-4);
  font-size: 13px;
  line-height: 18px;
  color: var(--ink-muted);
}
/* The one chartreuse block of the hero (guidelines page 12), behind the product shot. */
.hero-block {
  margin: 0;
  background: var(--chartreuse);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-3);
}
@media (min-width: 600px) {
  .hero-block {
    padding: var(--space-5);
  }
}

/* Product mock-ups (HTML, not images) */
.card {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.hero-stack {
  display: grid;
  gap: var(--space-3);
  max-width: 520px;
  margin: 0 auto;
}
.widget {
  padding: var(--space-4);
  box-shadow: var(--shadow-raised);
}
.widget .seller {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--surface-sunken);
  color: var(--brand-text);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.widget .seller strong {
  display: block;
  color: var(--ink);
}
.widget .seller span {
  font-size: 13px;
  line-height: 18px;
  color: var(--ink-muted);
}
.progress {
  height: var(--space-1);
  border-radius: var(--radius-full);
  background: var(--surface-sunken);
  margin-bottom: var(--space-3);
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  background: var(--plum);
  border-radius: var(--radius-full);
}
.progress .p33 {
  width: 33%;
}
.progress .p66 {
  width: 66%;
}
.widget .eyebrow {
  margin-bottom: var(--space-1);
}
.widget h3 {
  margin-bottom: var(--space-3);
}
.choices {
  display: grid;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
  margin: 0;
}
.choices li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  padding: var(--space-2) var(--space-3);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-md);
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
}
.choices li.on {
  background: var(--surface-sunken);
  border-color: var(--brand-text);
  color: var(--brand-text);
}
.days,
.times {
  display: grid;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-3);
}
.days {
  grid-template-columns: repeat(5, 1fr);
}
.times {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 0;
}
.days li,
.times li {
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  text-align: center;
  color: var(--ink);
}
.days li {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-2) 0;
  font-size: 12px;
  line-height: 16px;
  color: var(--ink-muted);
}
.days li b {
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  color: var(--ink);
}
.times li {
  display: grid;
  place-items: center;
  min-height: 44px;
  font: 400 14px/20px var(--mono);
}
.days li.on {
  background: var(--plum);
  border-color: var(--brand-text);
  color: var(--off-white);
}
.days li.on b {
  color: var(--off-white);
}
.times li.sel {
  background: var(--chartreuse);
  border-color: var(--chartreuse);
  color: var(--on-chartreuse);
  font-weight: 700;
}
.days li.off {
  opacity: 0.4;
  border-style: dashed;
}
.times li.off {
  border-style: dashed;
  color: var(--ink-muted);
  text-decoration: line-through;
}
.widget .zone {
  margin-top: var(--space-3);
  font-size: 13px;
  line-height: 18px;
  color: var(--ink-muted);
}
/* The previous step, shown beside the picker on wide screens only */
.widget-q {
  display: none;
}
@media (min-width: 1000px) {
  .widget-q {
    display: block;
  }
}

/* Sections */
section {
  padding: var(--section) 0;
}
.section-head {
  max-width: 760px;
  margin-bottom: var(--space-5);
}
.section-head p {
  margin-top: var(--space-3);
}

/* The lead's path */
.path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
  counter-reset: step;
}
@media (min-width: 700px) {
  .path {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .path {
    grid-template-columns: repeat(4, 1fr);
  }
}
.path li {
  padding: var(--space-4);
}
.path .num {
  font: 400 12px/16px var(--mono);
  color: var(--ink-muted);
  letter-spacing: 0.08em;
}
.path h3 {
  margin: var(--space-2) 0;
}
.path p {
  color: var(--ink-muted);
}
.path li.last {
  background: var(--plum);
  border-color: var(--plum);
}
.path li.last h3,
.path li.last p,
.path li.last .num {
  color: var(--off-white);
}

/* Funnel strip (page 16) */
.funnel {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  margin: 0;
  padding: var(--space-3);
}
@media (min-width: 720px) {
  .funnel {
    grid-template-columns: repeat(6, 1fr);
  }
}
.funnel li {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  min-height: 132px;
  display: flex;
  flex-direction: column;
  background: var(--surface-raised);
}
.funnel .n {
  font: 400 12px/16px var(--mono);
  color: var(--ink-muted);
}
.funnel .label {
  color: var(--brand-text);
  font-weight: 500;
  margin-bottom: auto;
}
.funnel .v {
  font: 700 20px/28px var(--mono);
  color: var(--brand-text);
  letter-spacing: -0.03em;
  margin-top: var(--space-2);
}
.funnel .pct {
  font: 400 12px/16px var(--mono);
  color: var(--ink-muted);
}
.funnel li.won {
  background: var(--chartreuse);
  border-color: var(--chartreuse);
}
.funnel li.won .n,
.funnel li.won .pct,
.funnel li.won .label,
.funnel li.won .v {
  color: var(--on-chartreuse);
}
.funnel li.rev {
  background: var(--plum);
  border-color: var(--plum);
  position: relative;
}
.funnel li.rev .n,
.funnel li.rev .label,
.funnel li.rev .v,
.funnel li.rev .pct {
  color: var(--off-white);
}
.funnel li.rev .finish {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 16px;
  height: 16px;
}

.showcase {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-5);
}
@media (min-width: 900px) {
  .showcase {
    grid-template-columns: 1fr 1fr;
  }
}
.panel {
  padding: var(--space-4);
}
.panel .eyebrow {
  margin-bottom: var(--space-2);
}

/* Status badges (page 16): every badge has a word */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  border: 1px solid var(--line);
  background: var(--surface-raised);
  color: var(--ink);
}
.badge svg {
  width: 14px;
  height: 14px;
}
.badge.booked {
  background: var(--surface-sunken);
  border-color: var(--surface-sunken);
  color: var(--brand-text);
}
.badge.noshow {
  background: var(--orange-tint);
  border-color: var(--orange-tint);
  color: var(--orange-text);
}
.badge.won {
  background: var(--chartreuse);
  border-color: var(--chartreuse);
  color: var(--on-chartreuse);
}
.badge.lost {
  color: var(--ink-muted);
}

/* A won deal */
.deal {
  display: grid;
  gap: var(--space-1);
}
.deal-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--line);
}
.deal-row:last-child {
  border-bottom: 0;
}
.deal-row span:first-child {
  color: var(--ink-muted);
}
.deal .amount {
  font: 700 36px/42px var(--mono);
  letter-spacing: -0.03em;
  color: var(--brand-text);
}

/* Five reasons */
.reasons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
  counter-reset: reason;
}
@media (min-width: 800px) {
  .reasons {
    grid-template-columns: repeat(2, 1fr);
  }
  .reasons li:first-child {
    grid-column: 1 / -1;
  }
}
.reasons li {
  padding: var(--space-4);
}
.reasons h3 {
  margin: var(--space-2) 0;
}
.reasons p {
  color: var(--ink-muted);
}

/* Built on HubOpus */
.family {
  background: var(--surface-sunken);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 900px) {
  .family {
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
    padding: var(--space-6);
  }
}
.family ul {
  margin: 0;
  padding-left: var(--space-4);
  color: var(--ink);
}
.family li + li {
  margin-top: var(--space-2);
}

/* Pricing */
.pricing {
  padding: var(--space-5) var(--space-3);
  text-align: center;
}
.price-final {
  display: none;
}
html[data-show-price="true"] .price-final {
  display: block;
}
html[data-show-price="true"] .price-soon {
  display: none;
}

/* Closing CTA: orange is the finish line, as a graphic only */
.closing {
  text-align: center;
}
.closing .finish {
  width: 40px;
  height: 40px;
  margin: 0 auto var(--space-4);
}
.closing .ctas {
  justify-content: center;
  margin-top: var(--space-5);
}

/* Footer: Night */
.site-footer {
  --footer-line: #3a2442;
  --footer-muted: #b8a6be;
  --focus-ring: #d7f23a;
  background: var(--night);
  color: var(--off-white);
  padding: var(--space-6) 0 var(--space-5);
}
.site-footer a {
  color: var(--off-white);
}
.site-footer :focus-visible {
  outline-color: var(--chartreuse);
}
.footer-grid {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}
.site-footer .logo-link img {
  height: 56px;
}
.footer-line {
  margin-top: var(--space-3);
  font: 400 13px/18px var(--mono);
  letter-spacing: 0.08em;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
}
.footer-note {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--footer-line);
  font-size: 13px;
  line-height: 18px;
  color: var(--footer-muted);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Spacing utilities (no inline styles: the CSP allows none) */
.mt-3 {
  margin-top: var(--space-3);
}
.mt-5 {
  margin-top: var(--space-5);
}
.mb-3 {
  margin-bottom: var(--space-3);
}
.pb-0 {
  padding-bottom: 0;
}

/* Hero demo (widget.js). Without JavaScript the first question shows as a static screen. */
[hidden] {
  display: none !important;
}
.hero-block {
  display: grid;
  gap: var(--space-3);
}
.widget.demo {
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  min-height: 664px;
}
@media (max-width: 479px) {
  .widget.demo {
    min-height: 700px;
    padding: var(--space-3);
  }
}
.demo .progress[data-p] i {
  transition: width 200ms ease-out;
}
.progress[data-p="1"] i {
  width: 25%;
}
.progress[data-p="2"] i {
  width: 50%;
}
.progress[data-p="3"] i {
  width: 75%;
}
.progress[data-p="4"] i {
  width: 100%;
}
.demo-step {
  padding: 0;
  animation: demo-in 180ms ease-out both;
}
@keyframes demo-in {
  from {
    opacity: 0;
    transform: translateY(var(--space-2));
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.demo h3:focus {
  outline: none;
}
.demo .choices {
  gap: var(--space-3);
}
.choice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  min-height: 56px;
  padding: var(--space-2) var(--space-3);
  background: transparent;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-md);
  color: var(--ink);
  font: 500 16px/24px var(--sans);
  text-align: left;
  cursor: pointer;
  transition: background-color 150ms ease-out, border-color 150ms ease-out;
}
.choice svg {
  width: 16px;
  height: 16px;
  flex: none;
  visibility: hidden;
}
.choice:hover {
  background: var(--surface-sunken);
}
.choice[aria-pressed="true"] {
  background: var(--surface-sunken);
  border-color: var(--brand-text);
  color: var(--brand-text);
}
.choice[aria-pressed="true"] svg {
  visibility: visible;
}
.demo-out-text {
  margin-bottom: var(--space-3);
  color: var(--ink-muted);
}
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.btn-text {
  background: transparent;
  color: var(--brand-text);
}
.btn-text:hover {
  background: var(--surface-sunken);
}
.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.demo .btn {
  padding: 12px var(--space-3);
  cursor: pointer;
}
.demo .foot > .btn-primary:only-child {
  margin-left: auto;
}
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2);
}
.pager-label {
  text-transform: capitalize;
  color: var(--ink-muted);
}
.pager-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--brand-text);
  cursor: pointer;
}
.pager-btn svg {
  width: 16px;
  height: 16px;
}
.pager-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.demo .days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}
.demo .times {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}
.day,
.slot {
  background: transparent;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--sans);
}
.day {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-2) 0;
  min-height: 44px;
  font-size: 12px;
  line-height: 16px;
  color: var(--ink-muted);
}
.day b {
  font-size: 18px;
  line-height: 24px;
  color: var(--ink);
}
.day[aria-pressed="true"] {
  background: var(--plum);
  border-color: var(--brand-text);
  color: var(--off-white);
}
.day[aria-pressed="true"] b {
  color: var(--off-white);
}
.day:disabled {
  opacity: 0.4;
  border-style: dashed;
  cursor: not-allowed;
}
.slot {
  min-height: 44px;
  font: 400 14px/20px var(--mono);
}
.slot[aria-pressed="true"] {
  background: var(--chartreuse);
  border-color: var(--chartreuse);
  color: var(--on-chartreuse);
  font-weight: 700;
}
.slot:disabled {
  color: var(--ink-muted);
  text-decoration: line-through;
  border-style: dashed;
  cursor: not-allowed;
}
.demo .zone {
  margin-top: var(--space-3);
}
.summary {
  overflow-wrap: anywhere;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  padding: var(--space-2) var(--space-3);
  background: var(--surface-sunken);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 20px;
}
.summary strong {
  display: block;
  color: var(--brand-text);
}
.link-btn {
  flex: none;
  white-space: nowrap;
  min-height: 44px;
  padding: 0 var(--space-2);
  background: transparent;
  border: 0;
  color: var(--brand-text);
  font: 500 14px/20px var(--sans);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.field {
  margin-bottom: var(--space-2);
}
.field label {
  display: block;
  margin-bottom: var(--space-1);
  font: 500 14px/20px var(--sans);
}
.field input {
  width: 100%;
  min-height: 44px;
  padding: var(--space-2) var(--space-3);
  background: var(--surface-raised);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font: 400 16px/24px var(--sans);
}
.field input[aria-invalid="true"] {
  border-color: var(--danger);
}
.err {
  margin-top: var(--space-1);
  color: var(--danger);
  font-size: 13px;
  line-height: 18px;
}
.done {
  text-align: center;
}
.done-mark {
  width: 64px;
  height: 64px;
  margin: var(--space-3) auto var(--space-4);
}
.done .check {
  stroke-dasharray: 48;
  animation: demo-check 300ms ease-out both;
}
.done .arrow {
  animation: demo-arrow 200ms ease-out 300ms both;
}
@keyframes demo-check {
  from {
    stroke-dashoffset: 48;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes demo-arrow {
  from {
    opacity: 0;
    transform: translate(-8px, 8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.done-when,
.done .muted {
  overflow-wrap: anywhere;
}
.done-when {
  margin: var(--space-2) 0;
  font: 500 18px/28px var(--sans);
  color: var(--ink);
}
.done .foot {
  justify-content: center;
}
.demo-note {
  text-align: center;
  font: 400 12px/16px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-chartreuse);
}

/* Welcome text the business writes per event, above the details fields */
.welcome {
  margin-bottom: var(--space-3);
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
}
.welcome ul {
  margin: var(--space-1) 0 0;
  padding-left: var(--space-4);
}
.welcome li + li {
  margin-top: var(--space-1);
}
.demo-intro {
  margin-bottom: var(--space-2);
  font-size: 14px;
  line-height: 20px;
}

/* The demo's privacy line under the details form (as on real booking pages; not a link in the demo). */
.demo-privacy { margin: 0; font-size: 13px; line-height: 18px; color: var(--ink-muted, #5e4a66); }
.demo-privacy .demo-link { text-decoration: underline; text-underline-offset: 2px; }

/* Phone country selector */
.phone {
  position: relative;
  display: flex;
  gap: var(--space-2);
}
.phone > #demo-ph {
  flex: 1;
  min-width: 0;
}
.cc-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  flex: none;
  min-height: 44px;
  padding: 0 var(--space-2);
  background: var(--surface-raised);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}
.cc-btn svg {
  width: 16px;
  height: 16px;
}
.cc-flag {
  font-size: 18px;
  line-height: 24px;
}
.cc-pop {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + var(--space-1));
  z-index: 5;
  padding: var(--space-2);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-raised);
}
.field .cc-search {
  margin-bottom: var(--space-2);
}
.cc-list {
  max-height: 220px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}
.cc-opt {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0 var(--space-2);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}
.cc-opt.is-active {
  background: var(--surface-sunken);
}
.cc-opt[aria-selected="true"] .cc-name {
  font-weight: 700;
}
.cc-name {
  flex: 1;
  min-width: 0;
}
.cc-dial {
  color: var(--ink-muted);
}
.cc-empty {
  padding: var(--space-2);
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 20px;
}
