/* ==========================================================================
   Adept Technology Pte Ltd — Design System
   Light theme · AI Employees for Singapore SMEs
   ========================================================================== */

/* ------------------------------- 1. Tokens ------------------------------- */
:root {
  /* Neutrals */
  --white: #ffffff;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-tint: #e8f9fb;
  --line: #e3e9f2;
  --line-strong: #cfd9e8;

  /* Ink */
  --ink: #0e1a2b;
  --ink-mid: #38495f;
  --ink-soft: #556577;
  --ink-faint: #64758a;
  --ink-ghost: #8a99ab; /* decorative only — never for body copy */

  /* Brand */
  /* Cyan palette sampled from the Adept logo. Darker values keep text and
     controls accessible while lighter cyan appears decoratively. */
  --brand: #06798b;
  --brand-dark: #045b69;
  --brand-mid: #0095a8;
  --brand-soft: #def8fb;
  --brand-glow: rgba(6, 121, 139, 0.2);

  /* Role accents (all >= 4.5:1 on white for text use) */
  --acc-account: #0a8477;
  --acc-account-soft: #ddf5f1;
  --acc-market: #cf4a1c;
  --acc-market-soft: #ffeadf;
  --acc-hr: #6a45e0;
  --acc-hr-soft: #ece6ff;
  --acc-secretary: #9c6a08;
  --acc-secretary-soft: #fcf1da;

  /* Feedback */
  --ok: #10a06f;
  --ok-soft: #e3f7ee;
  --warn: #d97706;
  --err: #dc2f45;
  --err-soft: #fdeaec;

  /* Radius */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Shadows (soft, light-theme friendly) */
  --sh-xs: 0 1px 2px rgba(14, 26, 43, 0.05);
  --sh-sm: 0 2px 8px rgba(14, 26, 43, 0.06);
  --sh-md: 0 10px 26px -10px rgba(14, 26, 43, 0.14);
  --sh-lg: 0 26px 60px -24px rgba(14, 26, 43, 0.22);
  --sh-brand: 0 14px 30px -12px rgba(6, 121, 139, 0.45);

  /* Type */
  --font-head: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --wrap: 1180px;
  --wrap-narrow: 860px;
  --nav-h: 74px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ------------------------------- 2. Reset -------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-mid);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: var(--brand); text-decoration: none; transition: color 0.18s var(--ease); }
a:hover { color: var(--brand-dark); }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 3px solid var(--brand-mid);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------------------------- 3. Typography ------------------------------ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -0.022em;
  font-weight: 800;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 3.7vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); letter-spacing: -0.015em; }
h4 { font-size: 1.06rem; font-weight: 700; letter-spacing: -0.01em; }

p { color: var(--ink-mid); }
strong { color: var(--ink); font-weight: 650; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  line-height: 1.72;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.55;
}

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; } .mt-4 { margin-top: 34px; }
.mt-5 { margin-top: 48px; }
.measure { max-width: 62ch; }

.gradient-text {
  background: linear-gradient(100deg, var(--brand-dark) 8%, var(--brand) 55%, var(--brand-mid) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ------------------------------ 4. Layout -------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 22px;
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding: clamp(64px, 8vw, 108px) 0; position: relative; }
.section--tight { padding: clamp(48px, 5vw, 70px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tint {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 45%, var(--bg) 100%);
}
.section--line { border-top: 1px solid var(--line); }

.section-head { max-width: 700px; margin-bottom: clamp(34px, 4vw, 56px); }
.section-head.text-center { margin-inline: auto; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 16px; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 66px);
  align-items: center;
}
.grid-split--wide-left { grid-template-columns: 1.15fr 0.85fr; }

.stack-sm > * + * { margin-top: 10px; }
.stack > * + * { margin-top: 18px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Decorative background blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.blob--a { width: 420px; height: 420px; background: #c9f2f6; top: -140px; right: -90px; }
.blob--b { width: 360px; height: 360px; background: #d7f4ee; bottom: -150px; left: -110px; }
.blob--c { width: 300px; height: 300px; background: #dff7fa; top: 30%; left: 42%; opacity: 0.4; }

/* ------------------------------ 5. Buttons ------------------------------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  line-height: 1.2;
  border: 1px solid transparent;
  box-shadow: var(--sh-brand);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -12px rgba(6, 121, 139, 0.55);
}
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--sh-xs);
}
.btn--ghost:hover {
  background: var(--white);
  border-color: var(--brand-mid);
  color: var(--brand-dark);
  box-shadow: var(--sh-md);
}

.btn--soft {
  --btn-bg: var(--brand-soft);
  --btn-fg: var(--brand-dark);
  box-shadow: none;
}
.btn--soft:hover { background: #cceff3; box-shadow: var(--sh-sm); }

.btn--white {
  --btn-bg: #fff;
  --btn-fg: var(--brand-dark);
  box-shadow: var(--sh-md);
}
.btn--white:hover { box-shadow: var(--sh-lg); }

.btn--lg { padding: 16px 30px; font-size: 1.02rem; }
.btn--sm { padding: 10px 18px; font-size: 0.87rem; }
.btn--block { width: 100%; }

.btn-arrow { transition: transform 0.2s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
}
.link-arrow svg { transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ------------------------------ 6. Chips/Pills --------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  line-height: 1.4;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 650;
  font-family: var(--font-head);
  letter-spacing: -0.005em;
}
.pill--outline {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-mid);
  box-shadow: var(--sh-xs);
}
.pill--ok { background: var(--ok-soft); color: #0a7a55; }
.pill svg { width: 16px; height: 16px; flex: none; }
.pill-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(16, 160, 111, 0.18);
}
.pill-dot--pulse { animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16, 160, 111, 0.18); }
  50% { box-shadow: 0 0 0 7px rgba(16, 160, 111, 0.02); }
}

/* Stacked label + description text.
   Used wherever a bold title span is followed by a description span. Without
   this, both spans stay inline and the text runs together ("14daysProfessional
   servicesCorp sec..."), so every title/description pair must use it. */
.stack-txt {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.stack-txt > * { display: block; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ------------------------------- 7. Cards -------------------------------- */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--sh-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
  overflow: hidden;
}
.card--hover:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
  border-color: #bfe5e9;
}
.card--flat { box-shadow: none; }
.card--soft { background: var(--bg-soft); border-color: transparent; box-shadow: none; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.97rem; }

.card-ico {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--brand-soft);
  color: var(--brand);
  flex: none;
}
.card-ico svg { width: 25px; height: 25px; }

/* Role-tinted variants */
.t-account { --tint: var(--acc-account); --tint-soft: var(--acc-account-soft); }
.t-market { --tint: var(--acc-market); --tint-soft: var(--acc-market-soft); }
.t-hr { --tint: var(--acc-hr); --tint-soft: var(--acc-hr-soft); }
.t-secretary { --tint: var(--acc-secretary); --tint-soft: var(--acc-secretary-soft); }
.t-brand { --tint: var(--brand); --tint-soft: var(--brand-soft); }
[class*="t-"] .card-ico { background: var(--tint-soft, var(--brand-soft)); color: var(--tint, var(--brand)); }

/* Employee card */
.emp-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  height: 100%;
}
.emp-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--tint, var(--brand));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.emp-card:hover::after { transform: scaleX(1); }
.emp-avatar {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--tint-soft);
  color: var(--tint);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  flex: none;
}
.emp-avatar svg { width: 28px; height: 28px; }
.emp-role {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tint);
}
.emp-list { margin-top: 4px; }
.emp-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.94rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.emp-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--tint, var(--brand));
  border-bottom: 2px solid var(--tint, var(--brand));
  transform: rotate(-45deg);
  border-radius: 1px;
}
.emp-card .link-arrow { margin-top: auto; color: var(--tint); }

/* Check list (generic) */
.checks li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  color: var(--ink-mid);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306798b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Stat */
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}
.stat-num .unit { color: var(--brand); font-size: 0.62em; letter-spacing: -0.01em; }
/* Word units ("days", "roles", "hrs") carry a leading &nbsp;; this widens the
   gap optically, since the unit renders at 0.62em. Symbols ("%", "+") stay flush. */
.stat-num .unit--word { margin-left: 0.14em; }
.stat-label {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* --------------------------- 8. Header / Nav ----------------------------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--brand);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 22px -14px rgba(14, 26, 43, 0.28);
  background: rgba(255, 255, 255, 0.94);
}
.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand:hover { color: inherit; }
.brand-logo { height: 52px; width: auto; display: block; flex: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  font-family: var(--font-head);
  font-size: 0.925rem;
  font-weight: 650;
  color: var(--ink-mid);
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.nav-link:hover { background: var(--bg-soft); color: var(--ink); }
.nav-link.is-active { color: var(--brand-dark); background: var(--brand-soft); }
.nav-link svg { width: 14px; height: 14px; opacity: 0.6; transition: transform 0.2s var(--ease); }

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 8px; }

/* Dropdown */
.has-drop { position: relative; }
.drop {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translate(-50%, 8px);
  width: 400px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: 12px;
  display: grid;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.24s var(--ease), visibility 0.2s;
}
.has-drop:hover .drop,
.has-drop:focus-within .drop,
.has-drop.is-open .drop {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.has-drop:hover .nav-link svg { transform: rotate(180deg); }
.drop-item {
  display: flex;
  gap: 13px;
  padding: 11px 12px;
  border-radius: var(--r-sm);
  transition: background 0.16s var(--ease);
}
.drop-item:hover { background: var(--bg-soft); }
.drop-ico {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--tint-soft, var(--brand-soft));
  color: var(--tint, var(--brand));
  flex: none;
}
.drop-ico svg { width: 20px; height: 20px; }
.drop-title {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--ink);
  line-height: 1.3;
}
.drop-desc { display: block; font-size: 0.82rem; color: var(--ink-soft); line-height: 1.45; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  place-items: center;
  color: var(--ink);
  background: var(--white);
  margin-left: auto;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .ico-close { display: none; }
body.nav-open .nav-toggle .ico-close { display: block; }
body.nav-open .nav-toggle .ico-open { display: none; }

/* Mobile drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 99;
  background: var(--white);
  padding: 22px;
  overflow-y: auto;
  border-top: 1px solid var(--line);
}
body.nav-open .mobile-nav { display: block; animation: slideDown 0.28s var(--ease); }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.mobile-nav a {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}
.mobile-nav a.sub {
  padding-left: 18px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-mid);
}
.mobile-nav .btn { margin-top: 22px; }

/* -------------------------------- 9. Hero -------------------------------- */
.hero {
  position: relative;
  padding: clamp(48px, 6vw, 86px) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(1000px 460px at 78% -8%, #dff7fa 0%, rgba(223, 247, 250, 0) 62%),
    radial-gradient(760px 420px at 6% 8%, #e4f7f3 0%, rgba(228, 247, 243, 0) 60%),
    var(--bg);
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(32px, 4vw, 58px);
  align-items: center;
}
.hero h1 { margin-top: 20px; }
.hero .lead { margin-top: 22px; max-width: 54ch; }
.hero-cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note {
  margin-top: 20px;
  font-size: 0.87rem;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-proof {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: clamp(20px, 4vw, 44px);
  flex-wrap: wrap;
}
.hero-proof .stat { text-align: left; }
.hero-proof .stat-num { font-size: 1.75rem; }
.hero-proof .stat-label { margin-top: 4px; font-size: 0.82rem; }

/* Hero visual: chat/console mock.
   position:relative is required — it is the containing block for the floating
   badges. Without it they anchor to .hero .wrap and land on top of the
   headline. The vertical margins reserve room for the badges, which sit
   fully outside the mock so they never cover its title bar. */
.hero-visual {
  position: relative;
  margin: 38px 0;
}
.mock {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  padding: 18px;
}
.hero-visual { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
/* Badges bob gently on their own; kept small so they cannot drift into the
   mock's header no matter where the two animations happen to be. */
@keyframes floaty-sm {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.mock-dots { display: flex; gap: 5px; }
.mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); flex: none; }
.mock-title {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-left: 4px;
}
.mock-live { margin-left: auto; }

.msg { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.msg-av {
  width: 32px; height: 32px;
  border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.75rem;
  flex: none;
  background: var(--bg-soft);
  color: var(--ink-soft);
}
.msg--ai .msg-av { background: var(--tint-soft, var(--brand-soft)); color: var(--tint, var(--brand)); }
.msg-body {
  background: var(--bg-soft);
  border-radius: 14px 14px 14px 4px;
  padding: 11px 14px;
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.55;
  max-width: 84%;
}
.msg--ai .msg-body {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--sh-xs);
}
.msg-body b { color: var(--ink); }
.msg-meta {
  font-size: 0.74rem;
  color: var(--ink-soft);
  margin-top: 7px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.msg-meta svg { width: 13px; height: 13px; color: var(--ok); flex: none; }

.mock-task {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-mid);
  margin-top: 8px;
}
.mock-task .done {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--ok);
  display: grid; place-items: center;
  flex: none;
}
.mock-task .done svg { width: 11px; height: 11px; color: #fff; }
.mock-task .time { margin-left: auto; font-size: 0.78rem; color: var(--ink-soft); font-weight: 600; }

.float-card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  z-index: 2;
}
/* Sit above / below the mock (overlapping only its 18px inner padding) so the
   "Adept Workspace" title bar and the "4 AI staff online" pill stay readable. */
.float-card--tl {
  bottom: calc(100% - 9px);
  left: 4%;
  max-width: 88%;
  animation: floaty-sm 6s ease-in-out infinite 0.6s;
}
.float-card--br {
  top: calc(100% - 9px);
  right: 2%;
  max-width: 88%;
  animation: floaty-sm 6.5s ease-in-out infinite 1.2s;
}
.float-ico {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--tint-soft, var(--brand-soft));
  color: var(--tint, var(--brand));
  flex: none;
}
.float-ico svg { width: 18px; height: 18px; }
.float-k { display: block; font-family: var(--font-head); font-weight: 800; font-size: 0.95rem; color: var(--ink); line-height: 1.2; }
.float-s { display: block; font-size: 0.76rem; color: var(--ink-soft); line-height: 1.35; }

/* ------------------------- 10. Page hero (subpages) --------------------- */
.page-hero {
  position: relative;
  padding: clamp(46px, 5.4vw, 78px) 0 clamp(38px, 4.4vw, 60px);
  background:
    radial-gradient(820px 380px at 88% -20%, var(--tint-soft, #dff7fa) 0%, rgba(255, 255, 255, 0) 65%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { margin-top: 16px; font-size: clamp(2rem, 4.4vw, 3.1rem); }
.page-hero .lead { margin-top: 18px; max-width: 60ch; }

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin-bottom: 18px;
}
.crumbs a { color: var(--ink-soft); font-weight: 600; }
.crumbs a:hover { color: var(--brand); }
.crumbs span { opacity: 0.55; }

/* --------------------------- 11. Logos / marquee ------------------------- */
.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3.4vw, 44px);
  flex-wrap: wrap;
}
.logo-strip .label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  width: 100%;
  text-align: center;
  margin-bottom: 6px;
}
.logo-item {
  font-family: var(--font-head);
  font-weight: 750;
  font-size: 1rem;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.85;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}
.logo-item:hover { color: var(--ink-mid); opacity: 1; }
.logo-item svg { width: 20px; height: 20px; }

/* ----------------------------- 12. Steps -------------------------------- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step {
  position: relative;
  padding: 28px 26px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.step-n {
  counter-increment: step;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-family: var(--font-head);
  font-weight: 800;
  display: grid; place-items: center;
  margin-bottom: 16px;
  font-size: 0.98rem;
}
.step-n::before { content: "0" counter(step); }
.step h3 { font-size: 1.14rem; }
.step p { font-size: 0.95rem; margin-top: 8px; }

/* Timeline variant */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 11px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--acc-account) 100%);
  opacity: 0.28;
  border-radius: 2px;
}
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -34px; top: 5px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.tl-week {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}
.tl-item h4 { margin: 6px 0 6px; font-size: 1.06rem; }
.tl-item p { font-size: 0.94rem; }

/* --------------------------- 13. Tabs (home) ---------------------------- */
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 7px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  width: fit-content;
  margin: 0 auto 34px;
}
.tab {
  padding: 10px 20px;
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-soft);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tab svg { width: 16px; height: 16px; }
.tab:hover { color: var(--ink); }
.tab.is-active {
  background: var(--white);
  color: var(--tint, var(--brand));
  box-shadow: var(--sh-sm);
}
.tab-panel { display: none; animation: fadeIn 0.35s var(--ease); }
.tab-panel.is-active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------------------------- 14. Comparison ---------------------------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--sh-sm);
}
.cmp { min-width: 620px; }
.cmp th, .cmp td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}
.cmp thead th {
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 750;
  color: var(--ink);
  background: var(--bg-soft);
  white-space: nowrap;
}
.cmp thead th.is-us { background: var(--brand-soft); color: var(--brand-dark); }
.cmp td.is-us { background: rgba(230, 237, 255, 0.5); font-weight: 600; color: var(--ink); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody th { font-weight: 650; color: var(--ink); font-family: var(--font-body); }
.cmp .yes { color: var(--ok); font-weight: 700; }
.cmp .no { color: var(--ink-faint); }

/* ----------------------------- 15. Pricing ------------------------------ */
.price-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.price-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px 28px 28px;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.price-card.is-featured {
  border-color: var(--brand-mid);
  border-width: 1.5px;
  padding-top: 44px;
  box-shadow: 0 24px 54px -22px rgba(6, 121, 139, 0.4);
}
.price-flag {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  box-shadow: var(--sh-brand);
  white-space: nowrap;
}
.price-name { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.price-desc { font-size: 0.9rem; color: var(--ink-soft); margin-top: 6px; }
.price-amt { margin: 22px 0 4px; display: flex; align-items: baseline; gap: 4px; }
.price-cur { font-family: var(--font-head); font-weight: 750; font-size: 1.35rem; color: var(--ink); align-self: flex-start; margin-top: 6px; }
.price-val { font-family: var(--font-head); font-weight: 800; font-size: 2.5rem; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.price-per { font-size: 0.87rem; color: var(--ink-faint); }
.price-sub { font-size: 0.82rem; color: var(--ink-faint); }
.price-card .price-cta { margin-top: auto; }
.price-feats { margin: 24px 0 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.price-feats li {
  position: relative;
  padding-left: 27px;
  font-size: 0.92rem;
  color: var(--ink-mid);
  margin-bottom: 11px;
}
.price-feats li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 13px; height: 7px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}
.price-feats li.muted { color: var(--ink-faint); }
.price-feats li.muted::before { border-color: var(--line-strong); }
.price-note { margin-top: auto; }

.addon {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
}
.addon .card-ico { margin: 0; width: 42px; height: 42px; border-radius: 12px; }
.addon .card-ico svg { width: 20px; height: 20px; }
.addon .stack-txt { flex: 1 1 12rem; }
.addon-name { display: block; font-family: var(--font-head); font-weight: 700; font-size: 0.96rem; color: var(--ink); }
.addon-desc { display: block; font-size: 0.84rem; color: var(--ink-soft); line-height: 1.5; }
.addon-price { margin-left: auto; font-family: var(--font-head); font-weight: 750; color: var(--brand-dark); white-space: nowrap; font-size: 0.92rem; }

/* --------------------------- 16. Testimonials --------------------------- */
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.quote-mark {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--brand-soft);
  line-height: 0.8;
  margin-bottom: 10px;
}
.quote p { color: var(--ink-mid); font-size: 0.99rem; margin-bottom: 22px; }
.quote-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}
.quote-av {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-soft), var(--acc-hr-soft));
  color: var(--brand-dark);
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.86rem;
  flex: none;
}
.quote-who { display: block; font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; color: var(--ink); line-height: 1.3; }
.quote-role { display: block; font-size: 0.8rem; color: var(--ink-faint); }

/* ------------------------------ 17. FAQ --------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 4px;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--ink);
  transition: color 0.18s var(--ease);
}
.faq-q:hover { color: var(--brand-dark); }
.faq-ico {
  margin-left: auto;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: grid; place-items: center;
  flex: none;
  transition: background 0.2s var(--ease), transform 0.28s var(--ease);
  position: relative;
}
.faq-ico::before, .faq-ico::after {
  content: "";
  position: absolute;
  background: var(--brand);
  border-radius: 2px;
  transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
}
.faq-ico::before { width: 12px; height: 2px; }
.faq-ico::after { width: 2px; height: 12px; }
.faq-item.is-open .faq-ico { background: var(--brand-soft); }
.faq-item.is-open .faq-ico::after { transform: rotate(90deg); opacity: 0; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-a-inner { padding: 0 60px 24px 4px; color: var(--ink-soft); font-size: 0.98rem; }

/* ------------------------------ 18. CTA band ---------------------------- */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(36px, 5vw, 64px);
  background: linear-gradient(125deg, #034c59 0%, var(--brand) 46%, #0a6977 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(3, 76, 89, 0.6);
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px 260px at 88% 8%, rgba(255, 255, 255, 0.22), transparent 70%),
    radial-gradient(420px 220px at 4% 96%, rgba(255, 255, 255, 0.14), transparent 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.86); }
.cta-band .eyebrow { color: rgba(255, 255, 255, 0.8); }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 50px);
  flex-wrap: wrap;
}
.cta-inner > div:first-child { max-width: 620px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn--ghost {
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}
.cta-band .btn--ghost:hover { background: rgba(255, 255, 255, 0.16); color: #fff; border-color: #fff; }

/* ------------------------------ 19. Forms ------------------------------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3.4vw, 38px);
  box-shadow: var(--sh-md);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
}
.field .req { color: var(--err); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  font-size: 0.96rem;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-ghost); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-mid);
  box-shadow: 0 0 0 4px var(--brand-glow);
}
.field textarea { resize: vertical; min-height: 122px; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b82' stroke-width='2.4' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
  padding-right: 42px;
}
.field-hint { font-size: 0.8rem; color: var(--ink-faint); margin-top: 6px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); background: var(--err-soft); }
.field-err { display: none; font-size: 0.8rem; color: var(--err); margin-top: 6px; font-weight: 600; }
.field.has-error .field-err { display: block; }

.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice {
  position: relative;
  display: flex;
  align-items: center;
  line-height: 1.35;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-mid);
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease);
}
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.choice:has(input:focus-visible) { outline: 3px solid var(--brand-mid); outline-offset: 2px; }
.choice .box {
  width: 19px; height: 19px;
  border-radius: 6px;
  border: 1.5px solid var(--line-strong);
  flex: none;
  transition: all 0.18s var(--ease);
  display: grid; place-items: center;
}
.choice input:checked ~ .box {
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
  border-color: var(--brand);
}
.choice:has(input:checked) { border-color: var(--brand-mid); background: var(--brand-soft); color: var(--brand-dark); }
.choice:hover { border-color: var(--brand-mid); }

.form-note { font-size: 0.82rem; color: var(--ink-faint); margin-top: 14px; }
.form-success {
  display: none;
  padding: 22px;
  border-radius: var(--r-md);
  background: var(--ok-soft);
  border: 1px solid #b6e6d1;
  color: #0a6b4b;
  text-align: center;
}
.form-success.is-visible { display: block; animation: fadeIn 0.4s var(--ease); }
.form-success h3 { color: #0a6b4b; font-size: 1.15rem; margin-bottom: 6px; }
.form-success p { color: #14795a; font-size: 0.94rem; }

/* Contact info cards */
.info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.info-ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid; place-items: center;
  flex: none;
}
.info-ico svg { width: 20px; height: 20px; }
.info-label { font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.info-val { font-size: 0.94rem; color: var(--ink-soft); line-height: 1.55; display: block; }

/* ------------------------------ 20. Footer ------------------------------ */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 72px) 0 26px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(26px, 4vw, 48px);
}
.footer-about p { font-size: 0.92rem; margin-top: 16px; max-width: 34ch; }
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.93rem; color: var(--ink-mid); font-weight: 500; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--ink-faint);
}
.footer-bottom a { color: var(--ink-faint); }
.footer-bottom a:hover { color: var(--brand); }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.socials { display: flex; gap: 8px; }
.social {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  display: grid; place-items: center;
  color: var(--ink-soft);
  transition: all 0.2s var(--ease);
}
.social:hover { color: var(--brand); border-color: var(--brand-mid); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.social svg { width: 17px; height: 17px; }

/* ---------------------------- 21. Utilities ----------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

.img-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-lg);
  background: var(--bg-soft);
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame--tall { aspect-ratio: 4 / 3; }

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.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;
}
.nowrap { white-space: nowrap; }

/* ------------------------------ 21b. Blog -------------------------------- */
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  height: 100%;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.blog-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.blog-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--tint, var(--brand));
}
.blog-meta .dot { opacity: 0.5; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ink-faint); }
.blog-card h3 { margin: 0; font-size: 1.18rem; }
.blog-card p { font-size: 0.94rem; margin: 0; }
.blog-card .link-arrow { margin-top: auto; padding-top: 6px; }

.blog-hero-media {
  aspect-ratio: 16 / 9;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-lg);
  margin-top: 30px;
}
.blog-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.article {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-mid);
}
.article h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  margin-top: 46px;
  margin-bottom: 14px;
}
.article h3 {
  font-size: clamp(1.1rem, 1.9vw, 1.25rem);
  margin-top: 30px;
  margin-bottom: 10px;
  color: var(--ink);
}
.article > p, .article ul, .article ol, .article .article-callout, .article .article-table-wrap {
  margin-top: 16px;
}
.article ul, .article ol { padding-left: 22px; list-style: disc; }
.article ol { list-style: decimal; }
.article li { margin-bottom: 8px; }
.article li::marker { color: var(--tint, var(--brand)); }
.article strong { color: var(--ink); }
.article a { text-decoration: underline; text-decoration-color: var(--brand-soft); text-underline-offset: 3px; }

.article-callout {
  background: var(--bg-soft);
  border-left: 3px solid var(--tint, var(--brand));
  border-radius: var(--r-md);
  padding: 18px 22px;
}
.article-callout p { margin: 0; }
.article-callout p + p { margin-top: 10px; }
.article-callout .callout-label {
  display: block; font-size: 0.76rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--tint, var(--brand)); margin-bottom: 8px;
}

.article-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.article-table-wrap table { min-width: 480px; }
.article-table-wrap th, .article-table-wrap td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.article-table-wrap thead th {
  font-family: var(--font-head);
  font-weight: 750;
  color: var(--ink);
  background: var(--bg-soft);
  font-size: 0.82rem;
}
.article-table-wrap tbody tr:last-child td { border-bottom: 0; }

.article-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.article-stat {
  background: var(--bg-soft);
  border-radius: var(--r-md);
  padding: 18px;
  text-align: center;
}
.article-stat .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--tint, var(--brand));
  display: block;
}
.article-stat .lbl { font-size: 0.82rem; color: var(--ink-soft); margin-top: 4px; display: block; }

.article-quote {
  border-left: 3px solid var(--tint, var(--brand));
  padding: 4px 0 4px 22px;
  font-family: var(--font-head);
  font-weight: 650;
  font-size: 1.08rem;
  color: var(--ink);
  font-style: normal;
}
.article-quote cite {
  display: block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--ink-faint);
  font-style: normal;
}

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }

.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.byline-av {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-soft), var(--acc-hr-soft));
  color: var(--brand-dark);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 0.9rem;
  flex: none;
}
.byline-name { font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.byline-role { font-size: 0.8rem; color: var(--ink-faint); }

/* ---------------------------- 22. Responsive ---------------------------- */
@media (max-width: 1020px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 540px; margin-inline: auto; width: 100%; }
  .hero-grid > div:first-child { position: relative; z-index: 3; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .price-card.is-featured { order: -1; }
}

@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: grid; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-split, .grid-split--wide-left { grid-template-columns: 1fr; }
  .grid-split .img-frame { order: -1; }
  .grid-split.media-last .img-frame { order: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .wrap { padding-inline: 18px; }
  .card, .quote, .step { padding: 22px; }
  .hero-visual { margin: 34px 0 32px; }
  .float-card--tl { left: 0; max-width: 100%; bottom: calc(100% - 8px); }
  .float-card--br { right: 0; max-width: 100%; top: calc(100% - 8px); }
  .float-k { font-size: 0.88rem; }
  .float-s { font-size: 0.7rem; }
  .addon { align-items: flex-start; }
  .addon .stack-txt { flex: 1 1 auto; }
  .addon-price { margin-left: 56px; }
  .cmp { min-width: 560px; }
  .cmp th, .cmp td { padding: 13px 14px; font-size: 0.9rem; }
  .float-card { padding: 10px 13px; }
  .hero-cta .btn { width: 100%; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 auto; }
  .choice-grid { grid-template-columns: 1fr; }
  .faq-a-inner { padding-right: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .tabs { width: 100%; border-radius: var(--r-lg); }
  .tab { flex: 1 1 auto; justify-content: center; }
  .article-stat-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-nav, .cta-band, .site-footer { display: none; }
  body { color: #000; }
}

/* Mobile hint for horizontally scrollable comparison tables */
.table-swipe { display: none; }
@media (max-width: 900px) {
  .table-swipe { display: block; }
}
