/* ==========================================================================
   cloudIMPACT — site stylesheet (modern refresh)
   Type:    Geist (single family, display + text)
   Palette: midnight / navy / electric blue / cyan / surface / ink
   ========================================================================== */

:root {
  --midnight: #071226;   /* hero, footer, dark bands            */
  --navy:     #0f2a44;   /* brand navy — headings               */
  --blue:     #2f6bff;   /* primary action                      */
  --blue-600: #1f55e0;
  --cyan:     #38c6f4;   /* accent — the "cloud"                */
  --surface:  #f3f6fb;   /* alternating section background      */
  --white:    #ffffff;
  --ink:      #121a2b;   /* body text                           */
  --muted:    #5a6579;   /* secondary text                      */
  --line:     #e3e8f0;   /* borders                             */
  --on-dark:  #c3cee0;   /* body text on dark                   */
  --on-dark-2:#8796b0;   /* secondary text on dark              */

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --measure: 66ch;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 1200px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow: 0 1px 2px rgba(15, 42, 68, 0.04), 0 8px 24px -12px rgba(15, 42, 68, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.1;
  font-weight: 650;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); letter-spacing: -0.04em; line-height: 1.02; font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: -0.035em; }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.35rem); letter-spacing: -0.015em; line-height: 1.25; }
h4 { font-size: 1rem; letter-spacing: 0; }

p { margin: 0 0 1em; max-width: var(--measure); text-wrap: pretty; }
ul, ol { padding-left: 1.25rem; margin: 0 0 1em; }
li { margin-bottom: 0.35em; }

.lede { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--muted); max-width: 58ch; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: inherit; font-weight: 550; font-size: 0.98rem; line-height: 1;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); border-color: #cfd8e5; color: var(--navy); }
.btn-light { background: var(--white); border-color: var(--white); color: var(--midnight); }
.btn-light:hover { background: #e8f1ff; border-color: #e8f1ff; color: var(--midnight); }
.btn-outline-light { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.22); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.45); color: var(--white); }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--navy); color: var(--white); padding: 0.6rem 1rem; border-radius: var(--r-sm);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(15,42,68,0.08);
}
.topbar { display: none; }

.navbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 4.25rem; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--navy); }
.brand:hover { text-decoration: none; color: var(--navy); }
.brand img { height: 3.25rem; width: auto; }
.site-footer .brand img { height: 4.5rem; }
.brand-name { font-size: 1.3rem; letter-spacing: -0.03em; line-height: 1; }
.brand-name span { font-weight: 400; }
.brand-name strong { font-weight: 700; }

/* Phones and tablets: "Book a meeting" stays in the top bar, next to the menu button. */
.nav-book { display: none; }
.nav-book-short { display: none; }
@media (max-width: 360px) {
  .nav-book-long { display: none; }
  .nav-book-short { display: inline; }
  .brand img { height: 2.75rem; }
}
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 0.45rem 0.6rem; cursor: pointer; color: var(--navy);
}
.nav-toggle svg { width: 1.4rem; height: 1.4rem; }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.15rem; align-items: center; }
.nav-list li { margin: 0; }
.nav-list a {
  display: inline-block; padding: 0.5rem 0.8rem; border-radius: 999px;
  color: #3a4558; font-weight: 500; font-size: 0.95rem;
}
.nav-list a:hover { background: var(--surface); color: var(--navy); text-decoration: none; }
.nav-list a[aria-current="page"] { color: var(--navy); background: var(--surface); }
.nav-list .nav-cta { margin-left: 0.6rem; }
.nav-list .nav-cta a { background: var(--navy); color: var(--white); padding: 0.6rem 1.05rem; }
.nav-list .nav-cta a:hover { background: var(--blue); color: var(--white); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .navbar .wrap { gap: 0.6rem; }
  .nav-book {
    display: inline-flex; align-items: center; margin-left: auto; white-space: nowrap;
    background: var(--blue); color: var(--white); font-weight: 600; font-size: 0.92rem; line-height: 1;
    padding: 0.7rem 1rem; border-radius: 999px; text-decoration: none;
  }
  .nav-book:hover, .nav-book:focus-visible { background: var(--blue-600); color: var(--white); text-decoration: none; }
  .nav-list .nav-cta { display: none; }
  .nav-list {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0.15rem;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 0.75rem var(--gutter) 1.25rem;
    box-shadow: 0 20px 30px -20px rgba(15,42,68,0.25);
  }
  .nav-list.is-open { display: flex; }
  .nav-list a { display: block; padding: 0.8rem 0.9rem; border-radius: var(--r-sm); font-size: 1rem; }
  .nav-list .nav-cta { margin: 0.6rem 0 0; }
  .nav-list .nav-cta a { text-align: center; border-radius: 999px; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-tint { background: var(--surface); }
.section-white { background: var(--white); }
.section-ink {
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(47,107,255,0.22), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(56,198,244,0.12), transparent 60%),
    var(--midnight);
  color: var(--on-dark);
}
.section-ink h2, .section-ink h3 { color: var(--white); }
.section-ink p { color: var(--on-dark); }
.section-ink a { color: #9cc2ff; }
.section-ink .section-head p { color: var(--on-dark); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { margin-bottom: 0.35em; }
.section-head p { color: var(--muted); font-size: 1.125rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.two-col.narrow-first { grid-template-columns: 5fr 7fr; }
@media (max-width: 860px) { .two-col, .two-col.narrow-first { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(55% 70% at 85% 30%, rgba(47,107,255,0.35), transparent 65%),
    radial-gradient(40% 55% at 70% 85%, rgba(56,198,244,0.18), transparent 65%),
    var(--midnight);
}
.hero::before {
  /* faint dot grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
}
.hero .wrap { position: relative; z-index: 1; padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.hero-inner { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; } }
.hero h1 { color: var(--white); margin-bottom: 0.35em; }
.hero h1 .grad {
  background: linear-gradient(90deg, #9cc2ff, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede { color: var(--on-dark); }
.hero-mark {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 500; color: #cfe0ff;
  border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.05);
  padding: 0.35rem 0.8rem 0.35rem 0.45rem; border-radius: 999px; margin-bottom: 1.5rem;
}
.hero-mark::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(56,198,244,0.2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }

/* Architecture diagram — the hero's memorable element */
.arch { position: relative; width: 100%; max-width: 520px; margin-inline: auto; }
.arch svg { width: 100%; height: auto; overflow: visible; }
.arch .link { stroke: rgba(156,194,255,0.28); stroke-width: 1.2; fill: none; }
.arch .pulse {
  stroke: var(--cyan); stroke-width: 2; fill: none; stroke-linecap: round;
  stroke-dasharray: 10 400; stroke-dashoffset: 410;
  animation: flow 3.6s cubic-bezier(.6,.1,.4,.9) infinite;
}
.arch .pulse:nth-of-type(2) { animation-delay: .6s; }
.arch .pulse:nth-of-type(3) { animation-delay: 1.2s; }
.arch .pulse:nth-of-type(4) { animation-delay: 1.8s; }
.arch .pulse:nth-of-type(5) { animation-delay: 2.4s; }
.arch .pulse:nth-of-type(6) { animation-delay: 3s; }
@keyframes flow { to { stroke-dashoffset: 0; } }
.arch .node rect { fill: rgba(255,255,255,0.06); stroke: rgba(255,255,255,0.18); }
.arch .node text { fill: #e6eeff; font: 500 13px var(--font); letter-spacing: -0.01em; }
.arch .node .ic { stroke: var(--cyan); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.arch .hub rect { fill: url(#hubGrad); stroke: rgba(255,255,255,0.35); }
.arch .hub text { fill: #fff; font: 650 15px var(--font); letter-spacing: -0.02em; }
.arch .hub .sub { fill: #cfe0ff; font: 400 11.5px var(--font); }
@media (max-width: 960px) { .arch { max-width: 460px; } }

/* Stats strip */
.stats {
  list-style: none; margin: clamp(3rem, 6vw, 4.5rem) 0 0; padding: 1.5rem 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.stats li { margin: 0; }
.stats strong { display: block; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 600; letter-spacing: -0.03em; color: var(--white); line-height: 1.1; }
.stats span { font-size: 0.9rem; color: var(--on-dark-2); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Legacy ledger (unused on refreshed home, kept for safety) */
.service-ledger { list-style: none; margin: 0; padding: 0; }

/* Interior page hero */
.page-hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(50% 90% at 90% 0%, rgba(47,107,255,0.32), transparent 65%),
    var(--midnight);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}
.page-hero .wrap { position: relative; padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem); }
.page-hero h1 { color: var(--white); margin-bottom: 0.3em; font-size: clamp(2.4rem, 5vw, 3.75rem); }
.page-hero .lede { color: var(--on-dark); }
.page-hero .crumbs { font-size: 0.875rem; margin-bottom: 1.25rem; color: var(--on-dark-2); }
.page-hero .crumbs a { color: #cfe0ff; }

/* --------------------------------------------------------------------------
   Welcome / intro
   -------------------------------------------------------------------------- */
.intro-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }
.intro-aside {
  position: sticky; top: 6rem;
  background: linear-gradient(160deg, #eef4ff, #f6fbff);
  border: 1px solid #dbe6fb; border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  font-size: 1.2rem; line-height: 1.5; color: var(--navy); font-weight: 500; letter-spacing: -0.01em;
}
.intro-aside p { max-width: none; }
.intro-aside .by { font-size: 0.9rem; font-weight: 400; color: var(--muted); margin: 0.75rem 0 0; letter-spacing: 0; }
@media (max-width: 860px) { .intro-aside { position: static; } }

.industries { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.industries li {
  margin: 0; font-size: 0.9rem; font-weight: 500; color: #33405a;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.9rem;
}

/* --------------------------------------------------------------------------
   Services — bento grid
   -------------------------------------------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 1060px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }
.service {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.6rem 1.5rem 1.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  scroll-margin-top: 6rem;
}
.service:hover { border-color: #c9d6ea; box-shadow: var(--shadow); }
.service h3 { margin-bottom: 0.45em; }
.service p { font-size: 0.97rem; color: var(--muted); margin-bottom: 1rem; }
.service ul { font-size: 0.93rem; padding: 0; margin: 0 0 0.5rem; list-style: none; color: #33405a; }
.service ul li { margin: 0; padding: 0.4rem 0 0.4rem 1.4rem; border-top: 1px solid var(--line); position: relative; }
.service ul li::before {
  content: ""; position: absolute; left: 0.1rem; top: 0.95rem; width: 0.55rem; height: 0.55rem;
  border-radius: 50%; border: 2px solid var(--blue);
}
.service a.more { margin-top: auto; font-weight: 550; font-size: 0.93rem; }
.service-icon {
  width: 2.75rem; height: 2.75rem; padding: 0.6rem; margin-bottom: 1.1rem;
  color: var(--blue); background: #eaf1ff; border-radius: 12px;
}
/* Feature tiles: first two services on the home page span two columns */
.services-grid.bento .service:nth-child(-n+2) {
  grid-column: span 2;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(47,107,255,0.35), transparent 60%),
    var(--midnight);
  border-color: transparent; color: var(--on-dark);
}
.services-grid.bento .service:nth-child(-n+2) h3 { color: var(--white); font-size: 1.5rem; }
.services-grid.bento .service:nth-child(-n+2) p { color: var(--on-dark); font-size: 1.02rem; }
.services-grid.bento .service:nth-child(-n+2) a.more { color: #9cc2ff; }
.services-grid.bento .service:nth-child(-n+2) .service-icon { background: rgba(255,255,255,0.08); color: var(--cyan); }
@media (max-width: 600px) { .services-grid.bento .service:nth-child(-n+2) { grid-column: auto; } }
/* Services page: 2-up detail cards */
.services-grid.detail { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.services-grid.detail .service { padding: 2rem; }
.services-grid.detail .service h3 { font-size: 1.45rem; }
@media (max-width: 760px) { .services-grid.detail { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Capability columns
   -------------------------------------------------------------------------- */
.capability-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.capability-cols > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; }
.section-white .capability-cols > div { background: var(--surface); border-color: transparent; }
.capability-cols h3 { font-size: 1.1rem; margin-bottom: 0.9rem; }
.capability-cols ul { list-style: none; padding: 0; margin: 0; }
.capability-cols li { padding: 0.45rem 0; border-top: 1px solid var(--line); margin: 0; font-size: 0.95rem; color: #33405a; }

/* --------------------------------------------------------------------------
   Experience
   -------------------------------------------------------------------------- */
.exp-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 760px) { .exp-list { grid-template-columns: 1fr; } }
.exp-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.75rem; }
.section-tint .exp-item, .section .exp-item { background: var(--white); }
.exp-item .exp-kind {
  display: inline-block; font-size: 0.8rem; font-weight: 550; color: var(--blue);
  background: #eaf1ff; padding: 0.25rem 0.65rem; border-radius: 999px; margin-bottom: 0.9rem;
}
.exp-item h3 { font-size: 1.25rem; }
.exp-item p { font-size: 0.97rem; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------------------
   Steps (Explore / Analyze / Enhance / Expand, workflow)
   -------------------------------------------------------------------------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: step; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li {
  margin: 0; position: relative; counter-increment: step;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r); padding: 1.5rem;
}
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white); font-weight: 650; font-size: 0.95rem; margin-bottom: 1.1rem;
}
.steps h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 0.35em; }
.steps p { font-size: 0.95rem; margin: 0; color: var(--on-dark); }

/* --------------------------------------------------------------------------
   Panels / offers
   -------------------------------------------------------------------------- */
.panel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3.5vw, 2.5rem); box-shadow: var(--shadow); scroll-margin-top: 6rem;
}
.panel h3 { margin-top: 0; }
.panel.amber { background: linear-gradient(170deg, #f5f9ff, var(--white) 45%); }

.offer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.offer-list li { margin: 0; padding: 1.25rem 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.offer-list strong { display: block; font-size: 1.1rem; font-weight: 600; color: var(--navy); letter-spacing: -0.015em; margin-bottom: 0.25rem; }
.offer-list p { margin: 0; font-size: 0.96rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Case studies
   -------------------------------------------------------------------------- */
.case-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.case {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.case:hover { border-color: #c9d6ea; box-shadow: var(--shadow); }
.case[hidden] { display: none; }
.case .case-tag {
  align-self: flex-start; font-size: 0.78rem; font-weight: 550; color: var(--blue);
  background: #eaf1ff; padding: 0.25rem 0.65rem; border-radius: 999px; margin-bottom: 0.9rem;
}
.case h3 { font-size: 1.2rem; margin-bottom: 0.45em; }
.case p { font-size: 0.95rem; color: var(--muted); flex: 1; margin-bottom: 1.1rem; }
.case a.read { font-weight: 550; font-size: 0.93rem; }
.case-featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 860px) { .case-featured { grid-template-columns: 1fr; } }

.filter-bar {
  display: inline-flex; flex-wrap: wrap; gap: 0.25rem; margin-bottom: 2rem;
  background: var(--surface); padding: 0.3rem; border-radius: 999px; border: 1px solid var(--line);
}
.filter-bar button {
  font: inherit; font-size: 0.9rem; font-weight: 500; border: 0; background: transparent;
  padding: 0.5rem 1rem; border-radius: 999px; cursor: pointer; color: #3a4558;
}
.filter-bar button:hover { color: var(--navy); }
.filter-bar button[aria-pressed="true"] { background: var(--white); color: var(--navy); box-shadow: 0 1px 3px rgba(15,42,68,0.15); }
@media (max-width: 600px) { .filter-bar { border-radius: var(--r); } }

/* --------------------------------------------------------------------------
   Insights
   -------------------------------------------------------------------------- */
.mag-feature { display: grid; grid-template-columns: 2fr 3fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 860px) { .mag-feature { grid-template-columns: 1fr; } }
.mag-feature a:hover { text-decoration: none; }
.mag-cover {
  aspect-ratio: 3 / 4; max-width: 340px; border-radius: var(--r-lg); padding: 1.75rem;
  display: flex; flex-direction: column; justify-content: space-between; color: var(--white);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(56,198,244,0.45), transparent 60%),
    radial-gradient(80% 70% at 0% 100%, rgba(47,107,255,0.5), transparent 65%),
    var(--midnight);
  box-shadow: 0 30px 60px -30px rgba(7,18,38,0.6);
  transform: rotate(-2deg); transition: transform 0.3s ease;
}
.mag-feature a:hover .mag-cover { transform: rotate(0deg) translateY(-4px); }
.mag-cover .mag-title { font-size: 2.1rem; font-weight: 650; line-height: 1; letter-spacing: -0.04em; }
.mag-cover .mag-issue { font-size: 0.85rem; color: #cfe0ff; margin-bottom: 0.5rem; }
.mag-cover ul { list-style: none; padding: 0; margin: 0; font-size: 0.88rem; color: var(--on-dark); }
.mag-cover li { border-top: 1px solid rgba(255,255,255,0.15); padding: 0.45rem 0; margin: 0; }

.article-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.article-list li {
  margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start;
  background: var(--surface); border-radius: var(--r); padding: 1.5rem;
}
.article-list .art-icon { width: 3rem; height: 3rem; padding: 0.65rem; color: var(--blue); background: var(--white); border-radius: 12px; }
.article-list h3 { font-size: 1.2rem; margin-bottom: 0.3em; }
.article-list h3 a { color: var(--navy); }
.article-list h3 a:hover { color: var(--blue); }
.article-list p { margin: 0; font-size: 0.96rem; color: var(--muted); }

.infographic { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 860px) { .infographic { grid-template-columns: 1fr; } }
.infographic .panel { height: 100%; }
.chain { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0.4rem; counter-reset: c; }
.chain li {
  margin: 0; padding: 0.7rem 1rem; border-radius: var(--r-sm); font-size: 0.95rem; font-weight: 500; color: var(--navy);
  background: var(--surface);
}
ol.chain li { counter-increment: c; display: flex; gap: 0.75rem; align-items: center; }
ol.chain li::before {
  content: counter(c); display: grid; place-items: center; flex: none;
  width: 1.6rem; height: 1.6rem; border-radius: 50%; font-size: 0.8rem; font-weight: 600;
  background: var(--blue); color: var(--white);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 5rem); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-details dl { margin: 0; display: grid; gap: 0.75rem; }
.contact-details dl > div, .contact-details dt { margin: 0; }
.contact-details dt { font-size: 0.85rem; color: var(--muted); margin-top: 1rem; }
.contact-details dd { margin: 0.15rem 0 0; font-size: 1.1rem; font-weight: 550; color: var(--navy); letter-spacing: -0.01em; }

form.contact-form {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow);
}
form.contact-form h3 { font-size: 1.4rem; margin-bottom: 1.25rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 550; margin-bottom: 0.4rem; font-size: 0.9rem; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 0.8rem 0.95rem;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue); background: var(--white); outline: none; box-shadow: 0 0 0 4px rgba(47,107,255,0.15);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 0.9rem 0 0; }
.form-status { margin: 1rem 0 0; padding: 0.85rem 1rem; border-radius: var(--r-sm); font-size: 0.95rem; font-weight: 500; }
.form-status.is-success { background: #e8f7ee; color: #14532d; border: 1px solid #b7e4c7; }
.form-status.is-error { background: #fdecec; color: #8a1c1c; border: 1px solid #f5c2c2; }
.contact-form button[disabled] { opacity: 0.7; cursor: progress; }
.contact-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
form.contact-form { position: relative; }

/* --------------------------------------------------------------------------
   Careers
   -------------------------------------------------------------------------- */
.empty-state { background: var(--surface); border: 1px dashed #cfd8e5; border-radius: var(--r-lg); padding: 2rem; max-width: 60ch; }
.empty-state h3 { margin-top: 0; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band { background: var(--white); padding: 0 0 clamp(3rem, 7vw, 5rem); }
.cta-band .wrap {
  display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--r-lg); color: var(--white);
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(56,198,244,0.35), transparent 60%),
    linear-gradient(120deg, var(--blue-600), var(--blue) 55%, #3f86ff);
}
.cta-band h2 { color: var(--white); margin: 0 0 0.25em; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band p { color: #e3ecff; margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cta-band .btn-light { color: var(--blue-600); }

/* --------------------------------------------------------------------------
   Pull quote
   -------------------------------------------------------------------------- */
.pull-quote { text-align: center; padding: clamp(4rem, 8vw, 6rem) 0; }
.pull-quote blockquote {
  margin: 0 auto; max-width: 24ch;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 550; letter-spacing: -0.03em; line-height: 1.2; color: var(--navy);
}
.pull-quote cite { display: block; margin-top: 1.25rem; font-style: normal; font-size: 0.95rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--midnight); color: var(--on-dark-2); font-size: 0.93rem; }
.site-footer .wrap { padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); margin: 0 0 1rem; font-size: 0.95rem; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 0.55rem; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--white); }
.site-footer .brand { color: var(--white); margin-bottom: 1rem; }
.site-footer .brand-name { color: var(--white); }
.site-footer .footer-tag { color: #cfe0ff; font-weight: 500; margin-bottom: 0.75rem; }
.site-footer p { max-width: 42ch; }
.site-footer .legal {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; font-size: 0.85rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between;
}
.site-footer .legal p { margin: 0; max-width: none; }

/* --------------------------------------------------------------------------
   One orchestrated page-load reveal on the home hero
   -------------------------------------------------------------------------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero .hero-copy > * { animation: rise 0.7s cubic-bezier(.2,.7,.2,1) both; }
.hero .hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
.hero .hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
.hero .hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
.hero .arch { animation: rise 0.9s 0.25s cubic-bezier(.2,.7,.2,1) both; }

/* --------------------------------------------------------------------------
   Book a meeting
   -------------------------------------------------------------------------- */
.book-grid { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .book-grid { grid-template-columns: 1fr; } }
.booker {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.25rem, 3.5vw, 2.25rem); box-shadow: var(--shadow); position: relative;
}
.bk-step + .bk-step { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.bk-step[hidden] { display: none; }
.bk-step.bk-done, .bk-step.bk-off, .bk-step.bk-cancel { margin-top: 0; padding-top: 0; border-top: 0; }
.bk-actions.bk-actions-start { justify-content: flex-start; }
.bk-cancel-what strong { color: var(--navy); }
.bk-cancel-after { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.bk-cancel-after[hidden] { display: none; }
.bk-done-cancel { margin-top: 1.25rem; font-size: 0.92rem; }
.bk-title { display: flex; align-items: center; gap: 0.7rem; font-size: 1.3rem; margin-bottom: 1rem; }
.bk-num {
  display: grid; place-items: center; flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan)); color: var(--white); font-size: 0.9rem; font-weight: 650;
}
.bk-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0.75rem; }
.bk-type {
  font: inherit; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 0.35rem;
  background: var(--surface); border: 1.5px solid transparent; border-radius: var(--r); padding: 1.1rem 1.2rem; color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.bk-type:hover { border-color: #c9d6ea; background: var(--white); }
.bk-type[aria-checked="true"] { border-color: var(--blue); background: #f2f6ff; box-shadow: 0 0 0 3px rgba(47,107,255,0.12); }
.bk-type-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.bk-type-head strong { font-size: 1.08rem; color: var(--navy); letter-spacing: -0.01em; }
.bk-mins { font-size: 0.82rem; font-weight: 550; color: var(--blue); background: #eaf1ff; padding: 0.15rem 0.55rem; border-radius: 999px; white-space: nowrap; }
.bk-type-desc { font-size: 0.92rem; color: var(--muted); line-height: 1.5; }
.bk-tz { font-size: 0.9rem; margin: -0.4rem 0 1rem; }
.bk-week { display: flex; align-items: stretch; gap: 0.5rem; margin-bottom: 1rem; }
.bk-week[hidden] { display: none; }
.bk-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; flex: 1; }
@media (max-width: 560px) { .bk-days { grid-template-columns: repeat(3, 1fr); } }
.bk-nav {
  font: inherit; font-size: 1.3rem; line-height: 1; width: 2.25rem; border-radius: var(--r-sm); cursor: pointer;
  background: var(--white); border: 1px solid var(--line); color: var(--navy);
}
.bk-nav:disabled { opacity: 0.35; cursor: default; }
.bk-day {
  font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 0.1rem;
  padding: 0.6rem 0.25rem; border-radius: var(--r-sm); background: var(--surface); border: 1.5px solid transparent; color: var(--ink);
}
.bk-day span { font-size: 0.8rem; color: var(--muted); }
.bk-day strong { font-size: 1rem; color: var(--navy); }
.bk-day small { font-size: 0.75rem; color: var(--muted); }
.bk-day:hover { border-color: #c9d6ea; }
.bk-day.is-on { background: var(--navy); border-color: var(--navy); }
.bk-day.is-on span, .bk-day.is-on strong, .bk-day.is-on small { color: var(--white); }
.bk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 0.5rem; }
.bk-time {
  font: inherit; font-size: 0.95rem; font-weight: 550; cursor: pointer; padding: 0.65rem 0.5rem;
  border-radius: var(--r-sm); background: var(--white); border: 1.5px solid var(--line); color: var(--navy);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.bk-time:hover { border-color: var(--blue); }
.bk-time.is-on { background: var(--blue); border-color: var(--blue); color: var(--white); }
.bk-empty { margin-top: 0.5rem; }
.bk-picked { background: #f2f6ff; border: 1px solid #dbe6fb; border-radius: var(--r-sm); padding: 0.75rem 1rem; color: var(--navy); margin-bottom: 1.25rem; }
.bk-form .opt { font-weight: 400; color: var(--muted); font-size: 0.82rem; margin-left: 0.25rem; }
.bk-form textarea { min-height: 5.5rem; }
.bk-form [aria-invalid="true"] { border-color: #d14343; box-shadow: 0 0 0 3px rgba(209,67,67,0.12); }
.bk-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: flex-end; margin: 0.5rem 0 0; }
.bk-off .bk-actions { justify-content: flex-start; }
.bk-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.bk-done { text-align: center; padding: 1rem 0; outline: none; }
.bk-done h2 { font-size: 1.8rem; margin-bottom: 0.4rem; }
.bk-done p { margin-inline: auto; }
.bk-done-when { font-size: 1.1rem; font-weight: 550; color: var(--navy); }
.bk-done-note { color: var(--muted); }
.bk-done-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1.5rem; }
.bk-check {
  width: 3.5rem; height: 3.5rem; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center;
  background: #e8f7ee; color: #15803d;
}
.bk-check svg { width: 1.8rem; height: 1.8rem; }
.book-aside h3 { font-size: 1.15rem; margin: 0 0 0.75rem; }
.book-aside h3 + * { margin-bottom: 2rem; }
.bk-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
.bk-list li { margin: 0; padding-left: 1.1rem; position: relative; font-size: 0.96rem; color: var(--muted); }
.bk-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--blue); }
.bk-list strong { color: var(--navy); }
.muted { color: var(--muted); }

/* ==========================================================================
   Products
   ========================================================================== */
:root { --salesbell: #17392c; --salesbell-gold: #f2c230; --salesbell-green: #1f7a49; }
.product-jump { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.product-jump a {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 1rem;
  border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  color: var(--white); font-weight: 600; font-size: 0.95rem;
}
.product-jump a:hover { background: rgba(255,255,255,0.16); text-decoration: none; }
.dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.dot-salesbell { background: var(--salesbell-gold); } .dot-navy { background: var(--cyan); }

.product-stack { display: flex; flex-direction: column; gap: clamp(2rem, 4vw, 3rem); }
.product {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.25rem, 3vw, 2.5rem); box-shadow: var(--shadow); scroll-margin-top: 90px;
}
.product-top { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (max-width: 900px) { .product-top { grid-template-columns: 1fr; } }
.product-video { margin: 0; }
.product-video video { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r); background: var(--midnight); display: block; }
.product-video figcaption { margin-top: 0.6rem; font-size: 0.9rem; color: var(--muted); }
.product-intro h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.2; margin: 1rem 0 0.6rem; }
.product-intro > p { color: var(--muted); }
.product-brand { display: flex; align-items: center; gap: 0.75rem; }
.product-mark {
  width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--cyan);
}
.mark-salesbell { background: var(--salesbell); } .mark-navy { background: var(--navy); }
.product-mark img { width: 21px; height: 28px; display: block; }
.product-mark img.tob-icon { width: 48px; height: 48px; border-radius: 12px; }
.product-name { margin: 0; font-weight: 650; font-size: 1.3rem; color: var(--navy); line-height: 1.15; }
.salesbell-wordmark { font-weight: 700; letter-spacing: 0.04em; color: var(--salesbell) !important; }
.salesbell-wordmark sup { font-size: 0.5em; margin-left: 2px; }
.product-kind { margin: 0.15rem 0 0; font-size: 0.9rem; color: var(--muted); display: block; }
.product-meta { font-size: 0.9rem; color: var(--muted); margin: 0 0 1.1rem; }
.product-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.product-actions .btn svg { margin-left: 0.4rem; vertical-align: -2px; }
.btn-salesbell { background: var(--salesbell); border-color: var(--salesbell); color: var(--white); }
.btn-salesbell:hover { background: #0f261d; border-color: #0f261d; color: var(--white); }

.product-features { border-top: 1px solid var(--line); margin-top: clamp(1.5rem, 3vw, 2.5rem); padding-top: clamp(1.5rem, 3vw, 2rem); }
.features-head { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-600); margin: 0 0 1.25rem; }
.features-salesbell { color: var(--salesbell); }
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.5rem 2rem; }
.feature-grid li { position: relative; padding-left: 2.75rem; }
.feature-grid li::before {
  content: ""; position: absolute; left: 0; top: 0.1rem; width: 32px; height: 32px; border-radius: 9px;
  background: #e8f0ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f55e0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 18px no-repeat;
}
#salesbell .feature-grid li::before {
  background-color: #e6f1ea;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7a49' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}
.feature-grid strong { display: block; color: var(--navy); font-weight: 600; margin-bottom: 0.1rem; }
.feature-grid span { font-size: 0.95rem; color: var(--muted); }
.product-also { margin: 1.75rem 0 0; font-size: 0.95rem; color: var(--muted); }
.product-also strong { color: var(--navy); font-weight: 600; }
.product-legal { font-size: 0.85rem; color: var(--muted); max-width: 900px; margin: 0; }

/* Home page cards */
.product-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.5rem; }
.product-card {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.5rem; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.product-card:hover { text-decoration: none; border-color: #c9d6ea; box-shadow: var(--shadow); color: var(--ink); }
.product-card-body { display: flex; flex-direction: column; gap: 0.35rem; }
.product-card-body > strong { color: var(--navy); font-size: 1.15rem; }
.product-card-body > span:not(.product-kind):not(.more) { color: var(--muted); font-size: 0.97rem; }
.product-card .more { color: var(--blue); font-weight: 550; font-size: 0.93rem; margin-top: 0.35rem; }


/* Privacy Policy and Terms of Service */
.legal-doc { display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.legal-toc { position: sticky; top: 6rem; font-size: 0.9rem; }
.legal-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.legal-toc a { color: var(--muted); text-decoration: none; }
.legal-toc a:hover { color: var(--blue); }
.legal-body { max-width: var(--measure); }
.legal-body h2 { font-size: clamp(1.35rem, 2.4vw, 1.6rem); margin: 2.5rem 0 0.75rem; scroll-margin-top: 6rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body ul { padding-left: 1.25rem; display: grid; gap: 0.45rem; margin: 0 0 1rem; }
.legal-body address { font-style: normal; line-height: 1.7; margin-bottom: 1.5rem; }
.legal-body .table-scroll { overflow-x: auto; margin: 0 0 1.25rem; border: 1px solid var(--line); border-radius: var(--r-sm); }
.legal-body table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 560px; }
.legal-body th, .legal-body td { text-align: left; vertical-align: top; padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--line); }
.legal-body th { background: var(--surface); color: var(--navy); font-weight: 600; }
.legal-body tr:last-child td { border-bottom: 0; }
.legal-see-also { color: var(--muted); border-top: 1px solid var(--line); padding-top: 1.25rem; margin-top: 2rem; }
.site-footer .legal-links a { color: var(--on-dark); }
.site-footer .legal-links a[aria-current="page"] { color: var(--white); }
@media (max-width: 860px) { .legal-doc { grid-template-columns: minmax(0, 1fr); } .legal-toc { position: static; } }
.product-legal { font-size: 0.85rem; color: var(--muted); margin: 0.9rem 0 0; } .product-legal a { color: var(--muted); }

/* ==========================================================================
   Time Off Balance plans
   ========================================================================== */
.plans-title { margin: 0 0 1.25rem; }
/* License pack choice: one large button per pack, so it's clear the number drives the prices. */
.pack-pick {
  margin: 0 0 clamp(2rem, 4vw, 2.75rem); padding: clamp(1.25rem, 2.5vw, 1.6rem) clamp(1.1rem, 2.5vw, 1.75rem);
  border: 2px solid var(--blue); border-radius: var(--r); background: var(--white); box-shadow: var(--shadow);
  display: grid; gap: 1rem; min-width: 0;
}
.pack-pick-q { float: left; width: 100%; padding: 0; margin: 0; font-size: 1.35rem; font-weight: 650; color: var(--navy); line-height: 1.3; }
.pack-pick-help { clear: both; margin: -0.6rem 0 0; color: var(--muted); max-width: none; }
.pack-options { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.65rem; }
@media (max-width: 860px) { .pack-options { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pack-option {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.1rem;
  min-height: 72px; padding: 0.5rem; border: 1.5px solid #cfd8e5; border-radius: 12px; background: var(--white);
  color: var(--navy); cursor: pointer; text-align: center; transition: border-color .15s, background .15s, box-shadow .15s;
}
.pack-option:hover { border-color: var(--blue); }
.pack-option input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pack-num { font-size: 1.4rem; font-weight: 650; letter-spacing: -0.01em; line-height: 1.15; }
.pack-save { font-size: 0.82rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
@media (max-width: 420px) { .pack-save { font-size: 0.74rem; } }
.pack-save.is-saving { color: #1a7f4b; }
.pack-option:has(input:checked) { background: var(--blue); border-color: var(--blue); color: var(--white); box-shadow: 0 6px 16px -8px rgba(47, 107, 255, 0.7); }
.pack-option:has(input:checked) .pack-save { color: #e3ebff; }
.pack-option:has(input:focus-visible) { outline: 3px solid var(--cyan); outline-offset: 2px; }
.pack-pick-note { margin: 0; font-size: 0.9rem; color: var(--muted); max-width: none; }
.plan-was { color: var(--muted); font-size: 0.95rem; margin-left: 0.15rem; }
.plan-unit[data-total] { background: #eef3ff; color: var(--navy); font-weight: 600; padding: 0.45rem 0.75rem; border-radius: var(--r-sm); }
.plan-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); align-items: stretch; }
@media (max-width: 900px) { .plan-cards { grid-template-columns: 1fr; max-width: 520px; } }
.plan-addons { margin-top: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 1rem; }
.plan-addons:empty { display: none; }
.addons-title { font-size: 1.15rem; margin: 0; }
.addon-card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: .5rem 2rem; align-items: start; padding: 1.25rem 1.5rem; border: 1px solid var(--line, #dfe5ee); border-radius: 14px; background: #fff; }
.addon-card .addon-kicker { grid-column: 1; margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #5b6472); }
.addon-card .addon-name { grid-column: 1; margin: 0; font-size: 1.25rem; }
.addon-card .addon-price { grid-column: 1; margin: 0; } .addon-card .addon-price strong { font-size: 1.5rem; } .addon-card .addon-price span { color: var(--muted, #5b6472); }
.addon-card .addon-desc { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
.addon-card .addon-how { grid-column: 2; margin: 0; font-size: .95rem; color: var(--muted, #5b6472); }
@media (max-width: 720px) { .addon-card { grid-template-columns: 1fr; } .addon-card .addon-desc, .addon-card .addon-how { grid-column: 1; grid-row: auto; } }
.plan-card {
  position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.4rem, 2.5vw, 2rem); box-shadow: var(--shadow);
}
.plan-card.is-popular { border: 2px solid var(--blue); }
.plan-ribbon {
  position: absolute; top: -0.85rem; left: clamp(1.4rem, 2.5vw, 2rem); background: var(--blue); color: var(--white);
  font-size: 0.8rem; font-weight: 650; letter-spacing: 0.02em; padding: 0.25rem 0.75rem; border-radius: 999px;
}
.plan-name { font-size: 1.35rem; margin: 0 0 0.6rem; }
.plan-price { margin: 0; color: var(--navy); }
.plan-price strong { font-size: 2.6rem; font-weight: 650; letter-spacing: -0.03em; line-height: 1; }
.plan-price span { color: var(--muted); font-size: 0.95rem; }
.plan-unit { margin: 0.4rem 0 0.9rem; color: var(--muted); font-size: 0.95rem; }
.plan-desc { color: var(--ink); font-size: 0.98rem; margin-bottom: 1.1rem; }
.plan-cta { width: 100%; justify-content: center; text-align: center; margin-bottom: 1.25rem; }
.plan-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; border-top: 1px solid var(--line); padding-top: 1.1rem; }
.plan-list li { margin: 0; padding-left: 1.6rem; position: relative; font-size: 0.95rem; line-height: 1.45; }
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 1rem; height: 1rem; border-radius: 50%;
  background: #e5eeff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.6 2.6L9 1.2' fill='none' stroke='%232f6bff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}
.plan-list strong { color: var(--navy); font-weight: 600; }
.plans-note { margin: 1.5rem 0 0; color: var(--muted); font-size: 0.95rem; max-width: none; }

.cmp-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 0.96rem; }
.cmp-table th, .cmp-table td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmp-table thead th { font-size: 1.05rem; color: var(--navy); font-weight: 650; background: var(--surface); position: sticky; top: 0; }
.cmp-table thead th.is-popular { color: var(--blue); }
.cmp-table tbody th[scope="row"] { text-align: left; font-weight: 600; color: var(--navy); width: 34%; }
.cmp-feature-col { width: 34%; }
.cmp-hint { display: block; font-weight: 400; color: var(--muted); font-size: 0.86rem; margin-top: 0.15rem; }
.cmp-group th { text-align: left; background: #f8fafd; color: var(--muted); font-size: 0.8rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0.06em; padding-top: 1.1rem; }
.cmp-table td.yes { color: var(--blue); font-weight: 700; font-size: 1.1rem; }
.cmp-table td.no { color: #a7b1c2; }
.cmp-table tbody tr:last-child > * { border-bottom: 0; }
.pack-table { min-width: 640px; }
.pack-table tbody th[scope="row"] { width: auto; }
.cmp-note { margin: 0.9rem 0 0; color: var(--muted); font-size: 0.9rem; }

.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.75rem 2.5rem; }
.faq-grid h3 { margin-bottom: 0.4rem; }
.faq-grid p { color: var(--muted); margin: 0; }
.cmp-swipe { display: none; font-size: 0.9rem; color: var(--muted); margin: -1rem 0 0.75rem; }
@media (max-width: 760px) { .cmp-swipe { display: block; } }
