/* Career Booster site: shared styles (every page).
   One continuous charcoal background on every page, with the logo's ring large and fixed behind
   the content; it turns only when you scroll (down turns it forward, up turns it back).
   home.css = homepage, pages.css = services pages, form.css = request forms.
   Brand tokens match the bot's PDFs (bot/service_pdf.py) and assets/brand/README.md. */
:root {
  --navy: #1F2328;          /* charcoal: the page background */
  --navy-2: #3A4048;        /* graphite */
  --teal: #14A39E;          /* turquoise: the one brand colour */
  --teal-hover: #1AB3AD;    /* button hover only */
  --teal-tint: #E2F3F1;     /* turquoise wash (on light panels) */
  --ink: #1F2328;
  --body: #474C54;
  --muted: #7A7F87;
  --paper: #F6F6F4;
  --line: #E3E1DC;
  --white: #FFFFFF;
  --low: #A85A45;           /* form errors only */

  /* on the charcoal page */
  --bg: #1F2328;
  --bg-deep: #191C20;       /* footer */
  --surface: #262B31;       /* cards and panels */
  --surface-2: #2C3238;
  --hair: rgba(255,255,255,.10);
  --hair-2: rgba(255,255,255,.06);
  --fg: #FFFFFF;
  --fg-2: #C9CBCF;
  --fg-3: #9A9EA5;
  --glass: rgba(38,43,49,.72);

  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --text: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --head-h: 114px;          /* top bar + main bar */
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--fg-2);
  font: 400 1.0625rem/1.6 var(--text);
  overflow-x: hidden;
}
main { position: relative; z-index: 1; display: block; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fg); text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); color: var(--fg); margin: 0; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(1.875rem, 3.8vw, 2.75rem); font-weight: 600; }
h3 { font-family: var(--text); font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.005em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--teal); color: #16191D; font-weight: 600;
  padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px;
  font: 600 1rem/1 var(--text); text-decoration: none; padding: .95em 1.4em; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s, transform .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--teal); color: #16191D; }
.btn-primary:hover { background: var(--teal-hover); transform: translateY(-1px); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.35); background: transparent; }
.btn-ghost:hover { border-color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #2B3036; transform: translateY(-1px); }
.btn-small { padding: .7em 1.1em; font-size: .9375rem; }

/* Small labels above section titles */
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font: 600 .8125rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--teal); flex: none; }

/* ======================================================================
   The logo ring behind every page. Fixed; it turns only with the scroll.
   ====================================================================== */
.dial {
  position: fixed; z-index: 0; pointer-events: none;
  width: min(1120px, 92vw); aspect-ratio: 1;
  left: 74%; top: 57%;
  transform: translate(-50%, -50%);
}
.dial svg { width: 100%; height: 100%; display: block; overflow: visible; }
.dial .spin { transform-box: view-box; transform-origin: 50px 50px; transform: rotate(calc(var(--turn, 0) * 1deg));
  transition: transform .18s ease-out; will-change: transform; }
.dial .spin-back { transform-box: view-box; transform-origin: 50px 50px; transform: rotate(calc(var(--turn, 0) * -0.35deg));
  transition: transform .18s ease-out; }
.dial .ticks { stroke: rgba(255,255,255,.06); }
.dial .ticks-major { stroke: rgba(20,163,158,.32); }
.dial .ring { stroke: rgba(246,246,244,.075); }
.dial .lift { stroke: var(--teal); opacity: .62; transform-box: view-box;
  transform: translate(calc(var(--lift, 2) * 1px), calc(var(--lift, 2) * -1px)); transition: transform .18s ease-out; }
.dial .needle { fill: var(--teal); opacity: .7; }
@media (max-width: 900px) {
  .dial { width: 150vmax; left: 52%; top: 42%; opacity: .55; }
}
@media (prefers-reduced-motion: reduce) { .dial .spin, .dial .spin-back, .dial .lift { transition: none; } }

/* ======================================================================
   Header: thin top bar + main bar. Transparent over the page at the top,
   solid after the first scroll (the top bar folds away).
   ====================================================================== */
.site-head { position: fixed; inset: 0 0 auto 0; z-index: 30; transition: background-color .35s, box-shadow .35s; }
.site-head.is-scrolled, .site-head.menu-open {
  background: rgba(31,35,40,.92); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.07), 0 18px 40px -28px rgba(0,0,0,.8);
}

.topbar { border-bottom: 1px solid var(--hair-2); font-size: .875rem; color: var(--fg-3); overflow: hidden;
  max-height: 40px; transition: max-height .35s var(--ease), opacity .25s, border-color .35s; }
.site-head.is-scrolled .topbar { max-height: 0; opacity: 0; border-color: transparent; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 39px; }
.topbar-note, .topbar a, .topbar-pill { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar svg { width: 16px; height: 16px; color: var(--teal); flex: none; }
.topbar-links { display: flex; align-items: center; gap: 22px; }
.topbar a { color: var(--fg-2); text-decoration: none; }
.topbar a:hover { color: var(--white); }
.topbar-pill { color: var(--fg-2); }
.topbar-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(20,163,158,.18); }
@media (max-width: 860px) { .topbar-note { display: none; } .topbar .wrap { justify-content: center; } }
@media (max-width: 560px) { .topbar-pill { display: none; } }

.mainbar .wrap { display: flex; align-items: center; gap: 28px; height: 74px; transition: height .35s var(--ease); }
.site-head.is-scrolled .mainbar .wrap { height: 66px; }
.brand { flex: none; margin-right: auto; }
.brand img { width: 220px; height: auto; transition: width .35s var(--ease); }
.site-head.is-scrolled .brand img { width: 198px; }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; }
.nav-link { display: inline-flex; align-items: center; height: 44px; padding: 0 14px; border-radius: 999px;
  color: var(--fg-2); text-decoration: none; font-weight: 500; transition: color .2s, background-color .2s; }
.nav-link:hover, .has-menu:hover .nav-link, .has-menu.open .nav-link { color: var(--white); background: rgba(255,255,255,.06); }
.nav-link.is-active, .nav-link[aria-current="page"] { color: var(--white); }
.nav-link.is-active::after, .nav-link[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--teal); }
.nav-split { display: flex; align-items: center; position: relative; }
.has-menu .nav-link { padding-right: 32px; }
.has-menu .nav-link[aria-current="page"]::after { right: 32px; }
.sub-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; padding: 0; border: 0; background: none;
  color: var(--fg-3); cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.sub-toggle svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.has-menu:hover .sub-toggle svg, .has-menu.open .sub-toggle svg { transform: rotate(180deg); color: var(--teal); }

/* Services mega menu */
.mega { position: absolute; top: 100%; left: 50%; width: 700px; padding-top: 14px; transform: translate(-46%, 8px);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; }
.has-menu:hover .mega, .has-menu.open .mega, .has-menu:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-46%, 0); transition-delay: 0s; }
.has-menu.closed .mega { opacity: 0; visibility: hidden; }
.mega-panel { background: #262B31; border: 1px solid var(--hair); border-radius: 20px; padding: 10px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.85); position: relative; }
.mega-panel::before { content: ""; position: absolute; top: -7px; left: 46%; width: 12px; height: 12px; background: #262B31;
  border-left: 1px solid var(--hair); border-top: 1px solid var(--hair); transform: rotate(45deg); }
.mega-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-item { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 4px 14px; align-items: start; padding: 14px; border-radius: 14px;
  text-decoration: none; color: var(--fg-2); transition: background-color .2s; height: 100%; }
.mega-item:hover, .mega-item:focus-visible { background: rgba(255,255,255,.05); }
.mega-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(20,163,158,.13); color: var(--teal);
  transition: background-color .2s, color .2s; }
.mega-ico svg { width: 22px; height: 22px; }
.mega-item:hover .mega-ico { background: var(--teal); color: #16191D; }
.mega-txt b { display: block; color: var(--white); font-weight: 600; font-size: .9875rem; line-height: 1.3; }
.mega-txt span { display: block; font-size: .8125rem; line-height: 1.45; color: var(--fg-3); margin-top: 3px; }
.mega-price { grid-column: 2; justify-self: start; margin-top: 6px; font-style: normal; font: 600 .8125rem/1 var(--text); color: var(--fg); background: rgba(255,255,255,.07); padding: 6px 8px; border-radius: 999px; white-space: nowrap; }
.mega-price.is-free { background: var(--teal); color: #16191D; }
.mega-all { background: rgba(255,255,255,.03); border: 1px dashed rgba(255,255,255,.12); }
.mega-go { grid-column: 2; width: 18px; height: 18px; color: var(--teal); margin-top: 8px; transition: transform .2s; }
.mega-all:hover .mega-go { transform: translateX(3px); }
.mega-foot { display: flex; align-items: center; gap: 10px; margin: 6px 4px 2px; padding: 12px 10px 6px; border-top: 1px solid var(--hair-2); font-size: .8125rem; color: var(--fg-3); }
.mega-foot svg { width: 18px; height: 18px; color: var(--teal); flex: none; }

.head-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; background: none; cursor: pointer; padding: 0; position: relative; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { position: absolute; left: 13px; width: 18px; height: 2px; border-radius: 2px; background: var(--white);
  transition: transform .3s var(--ease), opacity .2s; content: ""; }
.menu-btn span { top: 21px; }
.menu-btn span::before { left: 0; top: -6px; }
.menu-btn span::after { left: 0; top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.nav-drawer-foot { display: none; }

/* Reading progress line under the header */
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--teal); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

@media (max-width: 1060px) {
  .nav-link { padding: 0 10px; }
  .has-menu .nav-link { padding-right: 28px; }
  .sub-toggle { right: 3px; }
}
@media (max-width: 960px) {
  .menu-btn { display: block; }
  .mainbar .wrap { height: 70px; gap: 12px; }
  .brand img, .site-head.is-scrolled .brand img { width: 180px; }
  /* The menu drops down as a full-width panel; Services opens as a list inside it. */
  .nav { position: absolute; top: 100%; left: 0; right: 0; }
  .nav-list { display: none; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - 110px); overflow-y: auto;
    background: #1F2328; border-top: 1px solid var(--hair-2); border-bottom: 1px solid var(--hair-2);
    padding: 8px var(--gutter) 20px; box-shadow: 0 30px 50px -24px rgba(0,0,0,.9); }
  .nav-list.open { display: flex; }
  .nav-list > li { border-bottom: 1px solid var(--hair-2); }
  .nav-link { height: 56px; padding: 0 2px; font-size: 1.0625rem; border-radius: 0; width: 100%; }
  .nav-link:hover, .has-menu:hover .nav-link, .has-menu.open .nav-link { background: none; }
  .nav-link.is-active::after, .nav-link[aria-current="page"]::after { display: none; }
  .has-menu .nav-link { padding-right: 56px; }
  .sub-toggle { right: 0; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--hair); }
  .has-menu:hover .sub-toggle svg { transform: none; color: var(--fg-3); }
  .has-menu.open .sub-toggle svg { transform: rotate(180deg); color: var(--teal); }
  .mega, .has-menu:hover .mega, .has-menu:focus-within .mega { position: static; width: auto; padding: 0 0 12px; transform: none; opacity: 1; visibility: visible; display: none; transition: none; }
  .has-menu.open .mega { display: block; }
  .mega-panel { background: none; border: 0; box-shadow: none; padding: 0; }
  .mega-panel::before { display: none; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-item { padding: 10px 6px; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; }
  .mega-price, .mega-go { grid-column: auto; margin-top: 0; }
  .mega-ico { width: 38px; height: 38px; }
  .mega-txt span { display: none; }
  .mega-foot { display: none; }
  .nav-drawer-foot { display: grid; gap: 14px; padding-top: 20px; border-bottom: 0 !important; }
  .drawer-mail { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--fg-2); text-decoration: none; font-size: .9375rem; }
  .drawer-mail svg { width: 18px; height: 18px; color: var(--teal); }
}
@media (max-width: 420px) {
  .head-cta { display: none; }
  .brand img, .site-head.is-scrolled .brand img { width: 168px; }
}

/* ======================================================================
   Footer
   ====================================================================== */
.site-foot { position: relative; z-index: 1; background: var(--bg-deep); color: var(--fg-3); font-size: .9375rem; margin-top: 40px; overflow: hidden;
  border-top: 1px solid var(--hair-2); padding-top: 56px; }
/* the logo mark, very large and quiet, in the corner */
.site-foot::before { content: ""; position: absolute; right: -180px; bottom: -260px; width: 720px; height: 720px; pointer-events: none;
  background: url("/assets/logo-mark-faint.svg") center / contain no-repeat; opacity: .9; }
.site-foot .wrap { position: relative; }

.foot-cta { position: relative; margin-bottom: 40px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center;
  background: var(--teal); color: #16191D; border-radius: 24px; padding: clamp(24px, 4vw, 40px) clamp(22px, 4vw, 48px); overflow: hidden; isolation: isolate;
  box-shadow: 0 40px 70px -40px rgba(0,0,0,.9); }
.foot-cta::after { content: ""; position: absolute; z-index: -1; right: -60px; top: 50%; width: 300px; height: 300px; transform: translateY(-50%);
  border-radius: 50%; border: 34px solid rgba(255,255,255,.14); }
.foot-cta h2 { color: #16191D; font-size: clamp(1.6rem, 3.2vw, 2.25rem); max-width: 22ch; }
.foot-cta p { margin-top: 8px; color: #1F2D2C; max-width: 40em; }
.foot-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.foot-cta .btn-ghost { color: #16191D; border-color: rgba(22,25,29,.35); }
.foot-cta .btn-ghost:hover { border-color: #16191D; }
@media (max-width: 820px) { .foot-cta { grid-template-columns: 1fr; } }

.foot-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr)); gap: 40px 48px; padding: 24px 0 8px; }
.foot-about img { width: 210px; height: auto; }
.foot-about p { margin-top: 18px; max-width: 30em; line-height: 1.65; color: var(--fg-3); }
.foot-contact { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.foot-contact li, .foot-contact a { display: flex; align-items: center; gap: 12px; color: var(--fg-2); text-decoration: none; }
.foot-contact a:hover { color: var(--white); }
.foot-contact .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid var(--hair-2); flex: none; }
.foot-contact svg { width: 18px; height: 18px; color: var(--teal); }
.foot-col { min-width: 0; }
.foot-col h2 { font: 600 .8125rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px; }
.foot-col h2::before { content: ""; width: 14px; height: 3px; border-radius: 2px; background: var(--teal); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-col li a { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-2); text-decoration: none; padding: 5px 0; transition: color .2s, transform .2s; }
.foot-col li a svg { width: 14px; height: 14px; color: var(--teal); opacity: .0; margin-left: -22px; transition: opacity .2s, margin .25s var(--ease); }
.foot-col li a:hover { color: var(--white); }
.foot-col li a:hover svg { opacity: 1; margin-left: 0; }
.foot-col .price-tag { font-size: .75rem; color: var(--fg-3); background: rgba(255,255,255,.05); border: 1px solid var(--hair-2); padding: 2px 7px; border-radius: 999px; margin-left: 4px; }
.promise { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.promise li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; color: var(--fg-2); line-height: 1.45; }
.promise svg { width: 20px; height: 20px; color: var(--teal); margin-top: 1px; }
.foot-bottom { margin-top: 48px; padding: 22px 0 26px; border-top: 1px solid var(--hair-2);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; font-size: .875rem; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-bottom a { color: var(--fg-2); text-decoration: none; }
.foot-bottom a:hover { color: var(--white); }
.to-top { display: inline-flex; align-items: center; gap: 8px; }
.to-top svg { width: 16px; height: 16px; transform: rotate(-90deg); color: var(--teal); }
@media (max-width: 960px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-about { grid-column: 1 / -1; } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; } .site-foot::before { width: 460px; height: 460px; right: -160px; bottom: -160px; } }

/* ======================================================================
   Shared page pieces
   ====================================================================== */
.section { padding: 104px 0; position: relative; }
.section-head { max-width: 680px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 16px; font-size: 1.125rem; }

/* Frosted panel: lets the turning ring show through without fighting the text */
.glass { background: var(--glass); border: 1px solid var(--hair); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 20px; }

/* Step timeline (How it works on the homepage and on every service page) */
.timeline { margin-top: 56px; position: relative; }
.tl-track { position: relative; height: 40px; margin: 0 calc(100% / var(--n, 3) / 2) 22px; }
.tl-track::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 2px;
  background-image: linear-gradient(to right, rgba(255,255,255,.24) 50%, rgba(255,255,255,0) 50%); background-size: 14px 2px; }
.tl-fill { position: absolute; left: 0; top: 18px; height: 4px; border-radius: 4px; width: calc(var(--tl, 1) * 100%); background: var(--teal);
  box-shadow: 0 0 16px rgba(20,163,158,.8); }
.tl-dot { position: absolute; top: 2px; left: calc(var(--tl, 1) * 100%); width: 36px; height: 36px; margin-left: -18px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--teal); display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(20,163,158,.12); }
.tl-dot svg { width: 22px; height: 22px; }
.tl-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.tl-steps li { counter-increment: s; padding: 24px 22px 26px; transition: border-color .4s, background-color .4s; }
.tl-steps li.on { border-color: rgba(20,163,158,.55); }
.tl-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.tl-top::before { content: counter(s); width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font: 600 1.25rem/1 var(--display);
  color: #16191D; background: var(--teal); }
.tl-time { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 600; color: var(--fg-3); }
.tl-time svg { width: 15px; height: 15px; color: var(--teal); }
.tl-steps h3 { font-family: var(--display); font-size: 1.375rem; }
.tl-steps p { margin-top: 8px; font-size: .9875rem; line-height: 1.6; }
@media (max-width: 860px) {
  .tl-track { display: none; }
  .tl-steps { grid-template-columns: 1fr; gap: 12px; }
  .tl-steps li { position: relative; }
}

/* Questions and answers */
.faq { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 10px; max-width: 860px; }
.faq details { border-radius: 16px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px;
  color: var(--white); font-weight: 600; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1px solid var(--hair);
  background: linear-gradient(var(--teal), var(--teal)) center / 10px 2px no-repeat, linear-gradient(var(--teal), var(--teal)) center / 2px 10px no-repeat;
  transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { padding: 0 22px 20px; margin-top: -4px; max-width: 60em; }

/* Plain document pages (privacy) */
.doc { padding: calc(var(--head-h) + 56px) 0 64px; }
.doc .wrap { max-width: 780px; }
.doc-card { padding: clamp(24px, 5vw, 48px); }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
.doc h2 { font-size: 1.375rem; margin-top: 36px; }
.doc p, .doc ul { margin-top: 12px; }
.doc li + li { margin-top: 6px; }

/* ---- Motion ----
   A tiny script in <head> adds .motion to <html> only when the visitor hasn't asked for
   reduced motion, so without JavaScript (or with reduced motion) everything is simply shown. */
.motion [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.motion [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .site-head, .topbar, .mainbar .wrap, .brand img, .progress i, .mega { transition: none; }
}

/* Five or six steps: two rows of three, each card with its own progress line */
.timeline.long .tl-track { display: none; }
.timeline.long .tl-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.timeline.long .tl-steps li { position: relative; overflow: hidden; }
.timeline.long .tl-steps li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--teal);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.timeline.long .tl-steps li.on::after { transform: scaleX(1); }
@media (max-width: 860px) { .timeline.long .tl-steps { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .section { padding: 72px 0; } .home section { padding: 80px 0; } }

/* Account link in the header ("Sign in" / "My account") */
.head-acct { display: inline-flex; align-items: center; gap: 7px; color: var(--fg-2); text-decoration: none; font: 500 .9375rem/1 var(--text); padding: 8px 10px; border-radius: 999px; }
.head-acct:hover { color: var(--white); background: rgba(255,255,255,.06); }
.head-acct svg { width: 19px; height: 19px; }
.nav-link { white-space: nowrap; }
@media (max-width: 1360px) { .head-acct span { display: none; } .head-acct { padding: 8px; } }
@media (max-width: 1120px) and (min-width: 961px) { .nav-link { padding: 0 8px; } .has-menu .nav-link { padding-right: 26px; } .brand img { width: 190px; height: auto; } }
@media (max-width: 1060px) and (min-width: 961px) { .head-acct { display: none; } .nav-link { padding: 0 6px; } .has-menu .nav-link { padding-right: 24px; } }
.nav-acct { display: none; }
@media (max-width: 960px) { .nav-acct { display: block; } }
.head-signup { color: var(--white); text-decoration: none; font: 600 .9375rem/1 var(--text); padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); white-space: nowrap; }
.head-signup:hover { border-color: var(--white); }
@media (max-width: 1360px) { .head-signup { display: none; } }

/* ---------- Website chat (site.js; answered by api/chat.php) ---------- */
.chat-fab { position: fixed; z-index: 40; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--teal); color: #10201f; box-shadow: 0 14px 34px -10px rgba(0,0,0,.6); transition: transform .2s, background-color .2s; }
.chat-fab:hover { background: var(--teal-hover); transform: translateY(-2px); }
.chat-fab svg { width: 26px; height: 26px; }
.chat-fab[aria-expanded="true"] { transform: scale(.9); }
body.has-chat .float-cta { right: calc(92px + env(safe-area-inset-right, 0px)); }
@media (max-width: 520px) { body.has-chat .float-cta { right: 86px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); } }
.chat-panel { position: fixed; z-index: 41; margin: 0; padding: 0; left: auto; top: auto; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  width: min(380px, calc(100vw - 40px)); height: min(560px, calc(100vh - 130px)); display: flex; flex-direction: column;
  background: #fff; color: #1F2328; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px -16px rgba(0,0,0,.55);
  font: 400 .9375rem/1.5 var(--text); }
.chat-panel[hidden] { display: none; }
.chat-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; background: #1F2328; color: #fff; }
.chat-top b { font: 600 1rem/1.2 var(--text); display: block; }
.chat-top span { font-size: .8125rem; color: #b9bdc4; }
.chat-x { border: 0; background: transparent; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.chat-x:hover { background: rgba(255,255,255,.1); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #F6F6F4; overscroll-behavior: contain; }
.chat-msg { max-width: 86%; padding: 9px 13px; border-radius: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-msg.bot { align-self: flex-start; background: #fff; border: 1px solid #E3E1DC; border-bottom-left-radius: 4px; }
.chat-msg.me { align-self: flex-end; background: var(--teal); color: #0d1f1e; border-bottom-right-radius: 4px; }
.chat-msg a { color: #0f7f7b; font-weight: 600; }
.chat-msg.me a { color: #0d1f1e; }
.chat-msg.typing { color: #7A7F87; font-style: italic; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-chips button { border: 1px solid #c9e7e4; background: #E2F3F1; color: #0f6f6b; border-radius: 999px; padding: 6px 12px; font: 500 .8125rem/1.2 var(--text); cursor: pointer; }
.chat-chips button:hover { border-color: var(--teal); }
.chat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid #E3E1DC; background: #fff; }
.chat-form input { flex: 1; min-width: 0; border: 1px solid #d5d3cd; border-radius: 12px; padding: 10px 12px; font: inherit; color: #1F2328; background: #fff; }
.chat-form input:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: transparent; }
.chat-form button { border: 0; border-radius: 12px; padding: 0 14px; background: #1F2328; color: #fff; font: 600 .875rem/1 var(--text); cursor: pointer; }
.chat-form button:disabled { opacity: .5; cursor: default; }
.chat-foot { padding: 0 14px 10px; background: #fff; font-size: .75rem; color: #7A7F87; display: flex; justify-content: space-between; gap: 10px; }
.chat-foot button { white-space: nowrap; flex: none; border: 0; background: none; padding: 0; color: #0f7f7b; font: 600 .75rem/1.4 var(--text); cursor: pointer; text-decoration: underline; }
.chat-hand { display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid #E3E1DC; }
.chat-hand input, .chat-hand textarea { border: 1px solid #d5d3cd; border-radius: 10px; padding: 9px 11px; font: inherit; color: #1F2328; resize: vertical; }
.chat-hand button { justify-self: start; border: 0; border-radius: 999px; padding: 9px 16px; background: var(--teal); color: #0d1f1e; font: 600 .875rem/1 var(--text); cursor: pointer; }
.chat-hand .err { color: #A85A45; font-size: .8125rem; margin: 0; }
@media (max-width: 520px) {
  .chat-panel { right: 0; left: 0; bottom: 0; width: 100%; height: calc(100dvh - 60px); border-radius: 18px 18px 0 0; }
  .chat-panel:not([hidden]) ~ .chat-fab { display: none; }
}
@media print { .chat-fab, .chat-panel { display: none !important; } }
