/* HRAdocs marketing site — "Refined" design.
   Tokens first, then base, layout, components, then page-specific pieces. */

:root {
  --navy: #0F2541;
  --navy-2: #1C3557;
  --navy-line: #23406A;
  --blue: #1F4E8C;
  --accent: #C2410C;          /* text + buttons on light (5.2:1 with white) */
  --accent-soft: #FDBA8C;     /* accents on navy */
  --sky: #F2F6FB;
  --line: #DCE5F0;
  --line-soft: #EEF2F7;
  --ink: #0F2541;
  --ink-2: #33475F;
  --body: #3D506A;
  --muted: #4A5B73;
  --on-navy: #D5DFEC;
  --on-navy-muted: #B9C8DC;
  --white: #FFFFFF;

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 16px;
  --radius-lg: 20px;
  --shadow: 0 20px 40px -24px rgba(15, 37, 65, .35);
  --container: 1200px;
  --gutter: 24px;
  --section: 104px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.sr-only { position: absolute; 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: 16px; top: -48px; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { top: 12px; color: var(--white); }

/* ── Layout ── */
.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--sky { background: var(--sky); }
.section--navy { background: var(--navy); color: var(--white); }
.section--rule { border-top: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; gap: var(--stack, 20px); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: center; }
.split--top { align-items: start; }
.grid { display: grid; gap: var(--gap, 20px); grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 260px)), 1fr)); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head > div { max-width: 720px; display: flex; flex-direction: column; gap: 16px; }
.center { text-align: center; align-items: center; }

/* ── Type ── */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); }
.section--navy .eyebrow { color: var(--accent-soft); }
.display, .h2, .h3 { font-family: var(--serif); font-weight: 500; }
.display { font-size: clamp(42px, 6vw, 72px); line-height: 1.02; letter-spacing: -1.5px; }
.h2 { font-size: clamp(34px, 4.5vw, 52px); line-height: 1.08; }
.h2--sm { font-size: clamp(30px, 4vw, 44px); }
.h3 { font-size: 28px; font-weight: 600; line-height: 1.15; }
.display em, .h2 em { color: var(--accent); }
.section--navy .display em, .section--navy .h2 em { color: var(--accent-soft); }
.h2 em.plain { color: inherit; }
.lede { font-size: 19px; color: var(--body); max-width: 560px; }
.section--navy .lede { color: var(--on-navy); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.link-arrow { font-weight: 600; border-bottom: 2px solid var(--accent); padding-bottom: 2px; align-self: flex-start; }
.section--navy .link-arrow { color: var(--white); border-color: var(--accent-soft); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 16px/1.2 var(--sans); cursor: pointer; text-align: center;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn--sm { min-height: 44px; padding: 11px 20px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: #9A3412; color: var(--white); }
.btn--secondary { background: var(--white); color: var(--ink); border-color: #C9D6E5; }
.btn--secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--navy-2); color: var(--white); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Header ── */
.site-header { background: var(--white); border-bottom: 1px solid #E3EAF3; }
.site-header__top { display: flex; align-items: center; gap: 16px; padding-top: 14px; }
.brand { display: flex; align-items: baseline; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__word { font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: -.5px; color: var(--ink); }
.brand__word--light { color: var(--white); }
.brand__dot { color: var(--accent); }
.brand__dot--light { color: var(--accent-soft); }
.brand__tag { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.site-header__signin { font-size: 15px; font-weight: 600; padding: 12px 10px; }
.site-nav { display: flex; gap: 28px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; font-size: 15px; font-weight: 500; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a { padding: 14px 0 12px; color: var(--body); border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--ink); border-bottom-color: #C9D6E5; }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.btn--sm { white-space: nowrap; }
.site-nav .site-nav__union {
  margin-left: auto; align-self: center; padding: 7px 14px; border: 1px solid #C9D6E5; border-radius: 999px;
  font-size: 14px; color: var(--ink); background: var(--sky);
}
.site-nav .site-nav__union strong { color: var(--accent); }
.site-nav .site-nav__union:hover { border-color: var(--ink); color: var(--ink); }
/* On phones it's just the last item in the menu, styled like the others. */
@media (max-width: 760px) {
  .site-nav .site-nav__union { margin-left: 0; align-self: auto; padding: 14px 0 12px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; font-size: 15px; color: var(--body); }
  .site-nav .site-nav__union strong { color: inherit; font-weight: 500; }
}
.site-nav__signin { display: none; }
@media (max-width: 520px) {
  .site-header__signin { display: none; }
  .site-nav__signin { display: inline; margin-left: auto; font-weight: 600; color: var(--ink) !important; }
}
.brand--light:hover { color: var(--white); }
.brand--light .brand__tag { color: var(--accent-soft); }
@media (max-width: 520px) {
  /* Stack the product name under the wordmark so it always shows. */
  .site-header .brand { flex-direction: column; align-items: flex-start; gap: 0; }
  .site-header .brand__word { font-size: 24px; line-height: 1.1; }
  .site-header .brand__tag { font-size: 10px; letter-spacing: 1.2px; }
}

/* ── Footer ── */
.site-footer { background: var(--navy); color: var(--on-navy); font-size: 14px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; padding-block: 64px 40px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 10px; }
.site-footer h2 { font-size: 14px; color: var(--white); margin-bottom: 10px; }
.site-footer ul { display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: var(--on-navy); }
.site-footer a:hover { color: var(--white); }
.site-footer__email { color: var(--white) !important; border-bottom: 1px solid #3A5578; align-self: flex-start; }
.site-footer__bottom { border-top: 1px solid var(--navy-line); padding-block: 20px 36px; color: var(--on-navy-muted); font-size: 13px; }

/* ── Mobile demo bar ── */
.demo-bar { display: none; }
@media (max-width: 760px) {
  .demo-bar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: var(--navy); color: var(--white); border-radius: 999px; padding: 6px 6px 6px 20px;
    box-shadow: 0 12px 30px -10px rgba(15, 37, 65, .6);
    transform: translateY(0); transition: transform .2s, opacity .2s;
  }
  .demo-bar[hidden] { display: flex; transform: translateY(140%); opacity: 0; pointer-events: none; }
  .demo-bar__text { font-size: 13px; color: var(--on-navy); }
  body { padding-bottom: 76px; }
}
@media (max-width: 420px) { .demo-bar__extra { display: none; } }
@media (max-width: 320px) { .demo-bar__text { display: none; } .demo-bar { justify-content: center; padding-left: 6px; } }

/* ── Pills, tags, cards ── */
.pill { display: inline-flex; align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--white); border: 1px solid #D6E0EC; padding: 8px 14px; border-radius: 999px; }
.pill--outline-dark { background: transparent; border-color: #3A5578; color: var(--white); font-weight: 500; font-size: 14px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--white); letter-spacing: .3px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card--shadow { box-shadow: var(--shadow); }
.card--sky { background: var(--sky); border: none; }
.card--flush { padding: 0; overflow: hidden; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.status { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.status--hot { background: #FDE8DF; color: #8A2E0B; }
.status--warm { background: #FEF3C7; color: #78350F; }
.status--info { background: #E0EAF7; color: var(--blue); }
.status--ok { background: #E6F4EC; color: #14532D; }
.label { font-size: 12px; font-weight: 600; letter-spacing: .5px; color: var(--muted); text-transform: uppercase; }
.check-list { display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.check-list li { display: flex; gap: 12px; }
.check-list svg { flex-shrink: 0; margin-top: 1px; }

/* ── Hero ── */
.hero { background: var(--sky); }
.hero .split { padding-block: 88px 96px; }
.hero__copy { display: flex; flex-direction: column; gap: 28px; }
.hero__proof { font-size: 14px; color: var(--muted); }
.hero__proof strong { color: var(--ink); }
.hero__visual { display: flex; flex-direction: column; gap: 16px; }
.stage-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
.stage-track span { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.stage-track span::before { content: ""; height: 6px; border-radius: 3px; background: var(--line); }
.stage-track .done::before { background: var(--blue); }
.stage-track .now::before { background: var(--accent); }
.meta-row { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.meta-row span { background: var(--sky); padding: 6px 10px; border-radius: 8px; }
.stat-big { font-family: var(--serif); font-size: 40px; font-weight: 600; line-height: 1.1; }
.bar { height: 8px; background: #E8EEF6; border-radius: 4px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--blue); border-radius: 4px; }
.member-card { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.member-card .label { color: var(--on-navy-muted); }

/* ── Logos ── */
.logos { border-bottom: 1px solid #E3EAF3; }
.logos .container { display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: center; justify-content: center; padding-block: 36px; }
.logos__name { font-family: var(--serif); font-size: 22px; color: var(--ink-2); }

/* ── Pillars ── */
.pillar { display: flex; flex-direction: column; gap: 18px; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; padding: 28px; background: var(--white); transition: border-color .15s, box-shadow .15s; }
.pillar:hover { color: var(--ink); border-color: #B4C4D8; box-shadow: var(--shadow); }
.pillar__num { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--accent); }
.pillar__list { border-top: 1px solid #E3EAF3; }
.pillar__list li { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.pillar__list strong { display: block; font-size: 15px; }
.pillar__list span { font-size: 13px; color: var(--muted); }

/* ── Tables ── */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .5px; color: var(--muted); padding: 12px 20px; }
.table td { padding: 14px 20px; border-top: 1px solid var(--line-soft); vertical-align: middle; }
.table td small { display: block; font-size: 12px; color: var(--muted); }
.card__bar { padding: 16px 20px; border-bottom: 1px solid #E3EAF3; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ── Feature tiles (beyond the office) ── */
.tile { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.tile__visual { background: var(--sky); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.tile__body { padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.tile__body p { font-size: 15px; color: var(--muted); }
.mini { background: var(--white); border-radius: 12px; padding: 14px; }
.mini--navy { background: var(--navy); color: var(--white); text-align: center; }
.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; font-size: 12px; font-weight: 600; text-align: center; }
.mini-grid > div { background: var(--white); border-radius: 10px; padding: 10px 4px; }
.mini-grid > .is-dark { background: var(--navy); color: var(--white); }
.mini-grid span { display: block; font-weight: 500; color: var(--muted); }
.mini-grid > .is-dark span { color: var(--on-navy-muted); }
.survey-row { margin-top: 8px; font-size: 12px; }
.survey-row div:first-child { display: flex; justify-content: space-between; }
.survey-row .bar { height: 6px; }

/* ── Phone mock ── */
.phone { width: 300px; max-width: 100%; height: 600px; border-radius: 44px; background: var(--sky); border: 10px solid var(--navy-2); padding: 24px 18px; display: flex; flex-direction: column; gap: 14px; color: var(--ink); margin-inline: auto; }
.phone__head { display: flex; justify-content: space-between; align-items: center; }
.phone__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.phone__hero { background: var(--accent); color: var(--white); border-radius: 16px; padding: 16px; }
.phone__card { background: var(--white); border-radius: 16px; padding: 14px; }
.phone__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.phone__grid span { background: var(--white); border-radius: 14px; padding: 12px; font-size: 14px; font-weight: 600; }

/* ── Org chart ── */
.org { display: flex; flex-direction: column; align-items: center; width: 100%; }
.org__root { background: var(--navy); color: var(--white); border-radius: 14px; padding: 16px 28px; text-align: center; }
.org__root small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--accent-soft); }
.org__root strong { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.org__stem { width: 2px; height: 28px; background: #C9D6E5; }
.org__rail { width: 70%; height: 2px; background: #C9D6E5; }
.org__kids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; }
.org__kid { display: flex; flex-direction: column; align-items: center; }
.org__kid .org__stem { height: 24px; }
.org__box { border: 1px solid var(--line); background: var(--sky); border-radius: 14px; padding: 14px 8px; width: 100%; text-align: center; }
.org__box small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--muted); }
.org__box strong { display: block; font-size: 15px; }
.org__box span { font-size: 13px; color: var(--muted); }

/* ── Setup checklist ── */
.checklist { background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.checklist li { display: flex; align-items: center; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line-soft); }
.checklist li:last-child { border-bottom: none; }
.checklist__dot { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: #E3EAF3; color: var(--ink-2); }
.checklist__dot.is-done { background: var(--blue); color: var(--white); }
.checklist__dot.is-now { background: var(--accent); color: var(--white); }
.checklist__text { flex: 1; font-weight: 600; }
.checklist a { font-size: 14px; font-weight: 600; color: var(--blue); }

/* ── Trust list ── */
.rule-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); column-gap: 32px; border-top: 1px solid var(--line); }
.rule-list > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.rule-list strong { display: block; font-size: 16px; }
.rule-list span { font-size: 14px; color: var(--muted); }
.section--navy .rule-list, .section--navy .rule-list > div { border-color: var(--navy-line); }
.section--navy .rule-list span { color: var(--on-navy); }

/* ── Pricing ── */
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.plan--popular { border: 2px solid var(--accent); }
.plan__head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.plan__badge { font-size: 12px; font-weight: 700; letter-spacing: .5px; color: var(--accent); text-transform: uppercase; white-space: nowrap; }
.plan__price { font-family: var(--serif); font-size: 48px; font-weight: 600; line-height: 1; }
.plan__price small { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--muted); }
.plan__lead { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }
.plan__features { display: flex; flex-direction: column; gap: 10px; font-size: 15px; border-top: 1px solid var(--line-soft); padding-top: 18px; }
.plan__features li { display: flex; gap: 10px; }
.plan__features svg { flex-shrink: 0; margin-top: 3px; }
.plan .btn { margin-top: auto; }
.compare { border: 1px solid var(--line); border-radius: var(--radius); }
.compare table { min-width: 720px; font-size: 15px; }
.compare thead th { background: var(--sky); padding: 18px 20px; font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--ink); letter-spacing: 0; }
.compare thead th:first-child { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--muted); width: 40%; }
.compare tbody th { text-align: left; font-weight: 500; font-size: 15px; color: var(--ink); padding: 14px 20px; border-top: 1px solid var(--line-soft); letter-spacing: 0; }
.compare tr.group th { background: #F7F9FC; font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--muted); }
.compare tr.group td { background: #F7F9FC; }

/* ── FAQ ── */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-size: 18px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 26px; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--body); font-size: 16px; max-width: 640px; }

/* ── Platform modules ── */
.chip-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-nav a { background: var(--white); border: 1px solid #C9D6E5; border-radius: 999px; padding: 10px 18px; font-size: 15px; font-weight: 600; }
.chip-nav a.is-dark { background: var(--navy); border-color: var(--navy); color: var(--white); }
.module-section { scroll-margin-top: 16px; border-top: 1px solid #E3EAF3; }
.module-section__inner { display: flex; flex-wrap: wrap; gap: 48px; }
.module-section__intro { flex: 1 1 280px; display: flex; flex-direction: column; gap: 14px; }
.module-section__intro .h2 { font-size: clamp(40px, 5vw, 60px); line-height: 1; }
.module-section__grid { flex: 999 1 640px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.module { display: flex; flex-direction: column; gap: 10px; }
.module__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.module__new { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--accent); }
.module p { font-size: 15px; color: var(--body); }
.module ul { border-top: 1px solid var(--line-soft); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.module li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); }
.module li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); margin-top: 8px; flex-shrink: 0; }

/* ── HQ ── */
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid #E3EAF3; }
.kpis > div { padding: 16px 20px; }
.kpis > div + div { border-left: 1px solid #E3EAF3; }
.kpis strong { display: block; font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1.1; }
.kpis span { font-size: 12px; color: var(--muted); }
.progress { display: flex; align-items: center; gap: 8px; }
.progress .bar { flex: 1; height: 6px; min-width: 60px; }
.progress .bar.is-partial > span { background: var(--accent); }
.progress b { font-size: 12px; width: 36px; }
.ruled-cols > div { border-top: 2px solid var(--navy); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.ruled-cols p { font-size: 15px; color: var(--body); }
.steps { counter-reset: step; }
.steps li { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { counter-increment: step; content: counter(step); font-family: var(--serif); font-size: 44px; font-weight: 600; color: var(--accent); line-height: 1; }
.steps strong { font-size: 17px; }
.steps span { font-size: 15px; color: var(--body); }

/* ── Tutorials ── */
.search { display: flex; flex-direction: column; gap: 6px; max-width: 560px; }
.search label { font-size: 14px; font-weight: 600; }
.input, .search input { font: inherit; font-size: 16px; padding: 14px 16px; border: 1px solid #C9D6E5; border-radius: 12px; background: var(--white); color: var(--ink); width: 100%; }
.track { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.track-item { display: flex; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: var(--white); height: 100%; }
.track-item__num { font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--accent); width: 28px; flex-shrink: 0; }
.track-item strong { display: block; font-size: 16px; }
.track-item span span { font-size: 13px; color: var(--muted); }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chips button { font: 600 14px/1 var(--sans); min-height: 44px; padding: 10px 16px; border-radius: 999px; cursor: pointer; border: 1px solid #C9D6E5; background: var(--white); color: var(--ink); }
.filter-chips button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.guide-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: var(--white); color: var(--ink); }
.guide-card:hover { color: var(--ink); border-color: #B4C4D8; }
.guide-card[hidden] { display: none; }
.guide-card__band { height: 110px; display: flex; align-items: flex-end; padding: 16px; }
.guide-card__band--setup { background: #E0EAF7; }
.guide-card__band--docs { background: #FDE8DF; }
.guide-card__band--engage { background: #E6F4EC; }
.guide-card__band--ops { background: #EEE7FA; }
.guide-card__body { padding: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.guide-card__title { font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.15; }
.guide-card__summary { font-size: 15px; color: var(--body); flex: 1; }
.guide-card .link-arrow { margin-top: 8px; font-size: 14px; color: var(--blue); border: none; padding: 0; }
.empty-state { padding: 40px; text-align: center; border: 1px dashed #C9D6E5; border-radius: var(--radius); color: var(--muted); }
.prose-list { display: flex; flex-direction: column; gap: 10px; font-size: 17px; }
.prose-list li { display: flex; gap: 12px; }
.prose-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 9px; flex-shrink: 0; }

/* ── Demo ── */
.demo-layout { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-block: 80px 104px; }
.demo-layout__copy { flex: 1 1 340px; display: flex; flex-direction: column; gap: 24px; }
.demo-layout__scheduler { flex: 1 1 520px; min-width: 0; }
.agenda li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.agenda b { font-size: 13px; color: var(--accent); width: 56px; flex-shrink: 0; padding-top: 2px; }
.scheduler { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.scheduler__frame { min-width: 280px; height: 720px; }
.scheduler__frame:empty { display: grid; place-items: center; }
.scheduler__frame:empty::after { content: "Loading available times…"; color: var(--muted); font-size: 15px; }
.scheduler.is-failed .scheduler__frame { display: none; }
.scheduler__fallback { padding: 28px; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line-soft); }
.scheduler.is-loaded .scheduler__fallback { padding-block: 18px; }

/* ── Business site: name chips, use-case tabs, example flows ── */
.name-chip { font-family: var(--serif); font-size: 20px; color: var(--ink-2); background: var(--sky); border-radius: 999px; padding: 6px 16px; }
.tabs__list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 32px; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list [role="tab"] { flex-shrink: 0; font: 600 15px/1 var(--sans); min-height: 44px; padding: 12px 18px; border-radius: 999px; cursor: pointer; border: 1px solid #C9D6E5; background: var(--white); color: var(--ink); }
.tabs__list [role="tab"]:hover { border-color: var(--ink); }
.tabs__list [role="tab"][aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.tabs__panel { scroll-margin-top: 24px; }
.tabs__panel + .tabs__panel { margin-top: 56px; }        /* no-JS: panels stack */
.tabs.is-ready .tabs__panel + .tabs__panel { margin-top: 0; }
.usecase { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: start; }
.flow { background: var(--sky); border-radius: var(--radius-lg); padding: 28px; }
.flow__title { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.flow ol { position: relative; display: flex; flex-direction: column; gap: 14px; }
.flow ol::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: #C9D6E5; }
.flow li { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding-left: 28px; background: none; }
.flow li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--blue); }
.flow li:last-child::before { background: var(--accent); border-color: var(--accent); }
.flow b { font-size: 14px; color: var(--ink); }
.flow span { font-size: 15px; color: var(--body); background: var(--white); border-radius: 12px; padding: 10px 14px; }
@media (max-width: 480px) { .flow li { grid-template-columns: 1fr; gap: 6px; } }

/* ── CTA band ── */
.cta-band .container { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.cta-band .h2 { max-width: 680px; }

@media (max-width: 640px) {
  :root { --section: 72px; }
  .hero .split { padding-block: 56px 64px; }
  .phone { height: 560px; }
  .org__box strong { font-size: 14px; }
  .kpis strong { font-size: 26px; }
}
