/* Swastik HMS public website.
   Tokens mirror swastik.ai (shwastik.css) so the product site and the company
   site read as one brand; --brand-navy / --brand-red come from the logo. */

:root {
  --ink: #0f172a;
  --ink-soft: #1e293b;
  --muted: #64748b;
  --muted-strong: #475569;
  --paper: #ffffff;
  --surface: #f8fafc;
  --surface-2: #f1f5f9;
  --night: #0b1220;
  --night-2: #111c2e;
  --night-rule: rgba(255, 255, 255, 0.12);
  --night-muted: #94a3b8;
  --rule: #e2e8f0;
  --rule-strong: #cbd5e1;
  --accent: #1d4ed8;
  --accent-deep: #1e3a8a;
  --accent-bright: #2563eb;
  --accent-wash: #eff4ff;
  --accent-rule: #bfdbfe;
  --brand-navy: #1c1f4a;
  --brand-red: #d9252b;
  --positive: #047857;
  --positive-wash: #ecfdf5;
  --warn: #b45309;
  --warn-wash: #fffbeb;

  --font-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --step--1: clamp(0.8125rem, 0.79rem + 0.11vw, 0.875rem);
  --step-0: clamp(0.9375rem, 0.91rem + 0.14vw, 1.0625rem);
  --step-1: clamp(1.0625rem, 1.01rem + 0.28vw, 1.25rem);
  --step-2: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-3: clamp(1.5rem, 1.31rem + 0.94vw, 2rem);
  --step-4: clamp(1.75rem, 1.4rem + 1.8vw, 2.75rem);
  --step-5: clamp(2.125rem, 1.5rem + 3.1vw, 3.75rem);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 28px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 56px -16px rgba(15, 23, 42, 0.22);
  --dur: 180ms;
  --ease: cubic-bezier(.4, 0, .2, 1);

  /* Layout: one content width everywhere, fluid side gutters. */
  --container: 1200px;
  --container-narrow: 820px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --section-y: clamp(56px, 8vw, 104px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 64px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--muted-strong);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
p a:not(.btn):not(.link-arrow) { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); letter-spacing: -0.03em; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }
.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;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Layout ---------- */
/* Tailwind's standard container: full width on mobile, then max-width snaps to the
   active breakpoint (sm 640, md 768, lg 1024, xl 1280, 2xl 1536). Centered, with gutters. */
.container { width: 100%; margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 640px) { .container { max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }
@media (min-width: 1536px) { .container { max-width: 1536px; } }
.container.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(40px, 6vw, 64px); }
.section--surface { background: var(--surface); border-block: 1px solid var(--rule); }
.section--night { background: var(--night); color: var(--night-muted); }
.section--night h2, .section--night h3 { color: #fff; }

.section-head { max-width: 700px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head p { font-size: 1.0625rem; color: var(--muted); margin: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--row {
  max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 16px 40px;
}
.section-head--row > div { max-width: 700px; }

/* Auto-fitting grids that never exceed their named column count, even in the 1536px container. */
.grid { --gap: clamp(16px, 2.2vw, 24px); display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, max(420px, (100% - var(--gap)) / 2 - 1px)), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, max(300px, (100% - 2 * var(--gap)) / 3 - 1px)), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, max(240px, (100% - 3 * var(--gap)) / 4 - 1px)), 1fr)); }
.grid--compact { --gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, max(230px, (100% - var(--gap)) / 2 - 1px)), 1fr)); }
.mini-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(32px, 5vw, 64px); align-items: start;
}
.split-even {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 80px); align-items: center;
}
.split-even--top { align-items: start; }
.sticky-col { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 960px) {
  .split, .split-even { grid-template-columns: minmax(0, 1fr); }
  .sticky-col { position: static; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-red); }
.section--night .eyebrow, .page-hero--night .eyebrow { color: #93c5fd; }
.lede { font-size: var(--step-1); line-height: 1.6; color: var(--muted-strong); max-width: 62ch; }
.lede--night { color: #cbd5e1; }
.lede--intro { color: var(--ink-soft); margin-bottom: 36px; }
.subhead { font-size: var(--step-2); margin-bottom: 20px; }
.prose p { font-size: 1.0625rem; }
.prose p:last-child { margin-bottom: 0; }
.center-link { text-align: center; margin: 32px 0 0; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid transparent;
  font: 600 0.9375rem/1.2 var(--font-text); white-space: nowrap; cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 38px; padding: 8px 16px; font-size: 0.875rem; }
.btn--lg { min-height: 52px; padding: 14px 26px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(29, 78, 216, 0.3); }
.btn--primary:hover { background: var(--accent-deep); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--rule-strong); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent-wash); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn--whatsapp { background: #128c4a; color: #fff; }
.btn--whatsapp:hover { background: #0d7a3e; }
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; }
  .hero-actions .btn, .cta-actions .btn, .form-actions .btn { width: 100%; }
}

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); }
.link-arrow i { transition: transform var(--dur) var(--ease); }
.link-arrow:hover i, .card--link:hover .link-arrow i { transform: translateX(3px); }
.link-button { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled, body.nav-open .site-header { border-bottom-color: var(--rule); box-shadow: var(--shadow-sm); background: #fff; }
.header-bar { display: flex; align-items: center; gap: 20px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; min-width: 0; }
.brand-logo { width: 44px; height: 44px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--brand-navy); letter-spacing: -0.01em; white-space: nowrap; }
.brand-name strong { font-weight: 800; color: var(--brand-red); }
.brand-sub { font-size: 0.72rem; font-weight: 500; color: var(--muted); margin-top: 3px; white-space: nowrap; }

.site-nav { flex: 1; align-self: stretch; display: flex; justify-content: center; }
.nav-list { list-style: none; display: flex; align-items: stretch; gap: 2px; }
.nav-item { display: flex; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 8px;
  font: 500 0.9375rem/1.2 var(--font-text); color: var(--muted-strong);
  background: none; border: 0; cursor: pointer; white-space: nowrap;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-link:hover { color: var(--ink); background: var(--surface-2); }
.nav-link.is-active { color: var(--accent); }
.nav-link .bi-chevron-down { font-size: 0.7rem; transition: transform var(--dur) var(--ease); }
.nav-item--mega.is-open .bi-chevron-down { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--rule-strong);
  background: #fff; color: var(--ink); font-size: 1.5rem; align-items: center; justify-content: center; cursor: pointer;
}
.nav-actions-mobile { display: none; }

/* Mega menu: positioned against the sticky header so it spans the viewport. */
.mega {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  box-shadow: var(--shadow-lg);
}
.nav-item--mega.is-open .mega { display: block; }
@media (hover: hover) and (min-width: 1280px) {
  .nav-item--mega:hover .mega { display: block; }
}
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; padding-block: 28px 20px; }
.mega-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.mega-group ul { list-style: none; display: grid; gap: 2px; }
.mega-group a {
  display: flex; align-items: center; gap: 10px; padding: 7px 10px; margin-inline: -10px;
  border-radius: 8px; font-size: 0.9375rem; font-weight: 500; color: var(--ink-soft);
}
.mega-group a i { width: 20px; text-align: center; font-size: 1.05rem; color: var(--accent); }
.mega-group a:hover { background: var(--accent-wash); color: var(--accent-deep); }
.mega-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  border-top: 1px solid var(--rule); padding-block: 16px; font-size: 0.9375rem;
}
.mega-foot-link { color: var(--muted-strong); font-weight: 500; }
.mega-foot-link:hover { color: var(--ink); }

@media (max-width: 1279.98px) {
  .nav-toggle { display: inline-flex; }
  .header-bar { justify-content: space-between; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    display: block; overflow-y: auto; overscroll-behavior: contain;
    background: #fff; border-top: 1px solid var(--rule);
    padding: 8px var(--gutter) 32px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-list { flex-direction: column; gap: 0; max-width: var(--container); margin-inline: auto; }
  .nav-item { display: block; border-bottom: 1px solid var(--rule); }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.0625rem; border-radius: 0; }
  .nav-link:hover { background: none; }
  .mega { position: static; box-shadow: none; border: 0; }
  .mega .container { padding-inline: 0; }
  .mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; padding-block: 4px 16px; }
  .mega-foot { border-top: 0; padding-block: 0 16px; }
  .nav-actions-mobile { display: grid; gap: 10px; margin: 24px auto 0; max-width: var(--container); }
  body.nav-open { overflow: hidden; }
  body.nav-open .chat-widget { display: none; }
}
@media (max-width: 640px) {
  .header-actions .hide-sm { display: none; }
  .mega-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .brand-sub { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(40px, 7vw, 96px) clamp(48px, 8vw, 104px);
  background:
    radial-gradient(1100px 480px at 90% -10%, var(--accent-wash), transparent 60%),
    linear-gradient(180deg, #fff, var(--surface));
  border-bottom: 1px solid var(--rule);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero h1 span { color: var(--accent); }
.hero-lede { font-size: var(--step-1); line-height: 1.6; max-width: 60ch; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-proof { display: flex; align-items: center; gap: 10px; margin: 28px 0 0; font-size: 0.9375rem; color: var(--muted); }
.hero-proof i { color: var(--positive); font-size: 1.15rem; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

.report-card {
  background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-lg);
}
.report-title { font-size: var(--step-2); margin-bottom: 8px; }
.report-card > p { color: var(--muted); font-size: 0.9375rem; }
.report-form { display: grid; gap: 12px; margin-top: 18px; }

.page-hero {
  padding-block: clamp(36px, 6vw, 76px) clamp(40px, 6vw, 72px);
  background: linear-gradient(180deg, var(--surface), #fff);
  border-bottom: 1px solid var(--rule);
}
.page-hero h1 { max-width: 22ch; }
.page-hero .lede { margin-bottom: 0; }
.page-hero--night {
  background: radial-gradient(900px 420px at 92% -5%, rgba(37, 99, 235, 0.38), transparent 60%), var(--night);
  color: var(--night-muted); border-bottom: 0;
}
.page-hero--night h1 { color: #fff; }
.page-hero--night .lede { color: #cbd5e1; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: end; }
.page-hero-grid--logo { align-items: center; }
.page-hero-title { display: flex; gap: 20px; align-items: flex-start; }
.page-hero-title h1 { margin-bottom: 10px; }
.page-hero-title .icon-badge { margin: 6px 0 0; }
.hero-chips { margin-top: 28px; }
.about-logo { width: clamp(140px, 22vw, 240px); height: auto; border-radius: 50%; box-shadow: var(--shadow-lg); }
@media (max-width: 860px) {
  .page-hero-grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .page-hero-title { flex-direction: column; gap: 14px; }
  .page-hero-title .icon-badge { margin: 0; }
  .page-hero-grid--logo .about-logo { order: -1; }
}

.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-bottom: 20px; font-size: 0.875rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--rule-strong); }
.breadcrumb a:hover { color: var(--accent); }
.page-hero--night .breadcrumb { color: var(--night-muted); }
.page-hero--night .breadcrumb li + li::before { color: rgba(255, 255, 255, 0.25); }
.page-hero--night .breadcrumb a:hover { color: #fff; }

/* ---------- Cards & components ---------- */
.card {
  position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%;
  background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg);
  padding: clamp(20px, 2.5vw, 28px);
}
.card h3, .card .card-title { font-size: 1.125rem; margin: 0 0 4px; }
.card p { margin: 0; font-size: 0.9375rem; color: var(--muted); }
.card .chip-row { margin-top: 12px; }
.card--link { transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.card--link:hover { border-color: var(--accent-rule); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card--link > .link-arrow, .card-link { margin-top: auto; padding-top: 16px; }
.card--current { border-color: var(--accent-rule); background: var(--accent-wash); }
.card--night { background: var(--night-2); border-color: var(--night-rule); }
.card--night p { color: var(--night-muted); }
.card--night .chip { align-self: flex-start; margin-bottom: 10px; }
.stretched-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 12px;
  background: var(--accent-wash); color: var(--accent); font-size: 1.3rem;
}
.icon-badge--lg { width: 60px; height: 60px; border-radius: 16px; font-size: 1.7rem; }

.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; color: var(--muted-strong); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--positive-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23047857'%3E%3Cpath d='M12.7 4.3a1 1 0 0 1 0 1.4l-5.5 5.5a1 1 0 0 1-1.4 0L3.3 8.7a1 1 0 1 1 1.4-1.4L6.5 9l4.8-4.7a1 1 0 0 1 1.4 0z'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.check-list--sm { gap: 7px; margin-top: 14px; }
.check-list--sm li { font-size: 0.9rem; padding-left: 26px; }
.check-list--sm li::before { width: 18px; height: 18px; top: 0.15em; background-size: 12px; }
.check-list--card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); gap: 16px; }

.chip-row { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--rule);
  font-size: 0.8125rem; font-weight: 500; line-height: 1.4; color: var(--ink-soft);
}
a.chip { transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background var(--dur) var(--ease); }
a.chip:hover { border-color: var(--accent-rule); color: var(--accent); background: var(--accent-wash); }
a.chip i, .chip i { color: var(--accent); }
.chip--night { background: rgba(255, 255, 255, 0.06); border-color: var(--night-rule); color: #e2e8f0; }
a.chip--night:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.3); }

.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden;
}
.stat { padding: clamp(20px, 3vw, 32px); border-left: 1px solid var(--rule); }
.stat:first-child { border-left: 0; }
.stat-value { font-family: var(--font-display); font-size: var(--step-4); font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.stat-label { margin-top: 10px; font-size: 0.9375rem; color: var(--muted); }
.stats-note { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 14px 0 0; font-size: 0.875rem; color: var(--muted); }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--rule); }
}

.group-grid { --gap: clamp(16px, 2.2vw, 24px); display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, max(340px, (100% - 2 * var(--gap)) / 3 - 1px)), 1fr)); }
.group-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg); padding: clamp(20px, 2.5vw, 26px); }
.group-card-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.group-card-head .icon-badge { margin: 0; }
.group-card-head h3 { font-size: 1.125rem; margin: 2px 0 4px; }
.group-card-head p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.group-links { list-style: none; border-top: 1px solid var(--rule); }
.group-links li { border-bottom: 1px solid var(--rule); }
.group-links li:last-child { border-bottom: 0; }
.group-links a { display: flex; align-items: center; gap: 12px; padding: 12px 2px; font-weight: 500; color: var(--ink-soft); }
.group-links a > i:first-child { color: var(--accent); font-size: 1.05rem; width: 20px; text-align: center; }
.group-links span { flex: 1; }
.group-links-arrow { color: var(--rule-strong); transition: transform var(--dur) var(--ease), color var(--dur) var(--ease); }
.group-links a:hover { color: var(--accent); }
.group-links a:hover .group-links-arrow { color: var(--accent); transform: translateX(3px); }

.group-head { display: flex; gap: 20px; align-items: center; margin-bottom: clamp(28px, 4vw, 40px); }
.group-head .icon-badge { margin: 0; }
.group-head h2 { font-size: var(--step-3); margin: 0 0 4px; }
.group-head p { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .group-head { align-items: flex-start; gap: 14px; } }

.jump-nav {
  position: sticky; top: var(--header-h); z-index: 50;
  background: #fff; border-bottom: 1px solid var(--rule); box-shadow: var(--shadow-sm);
}
.chip-row--scroll { flex-wrap: nowrap; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.chip-row--scroll::-webkit-scrollbar { display: none; }
.chip-row--scroll .chip { white-space: nowrap; }

.steps { --gap: clamp(14px, 2vw, 20px); list-style: none; display: grid; gap: var(--gap); counter-reset: step; }
.steps--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, max(260px, (100% - 3 * var(--gap)) / 4 - 1px)), 1fr)); }
.steps--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, max(300px, (100% - 2 * var(--gap)) / 3 - 1px)), 1fr)); }
.step { position: relative; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-md); padding: 24px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: inline-block; margin-bottom: 14px; padding: 3px 10px; border-radius: 999px;
  background: var(--accent-wash); color: var(--accent); font: 700 0.8125rem/1.4 var(--font-display);
}
.step h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.step p { margin: 0; font-size: 0.9375rem; color: var(--muted); }
.step .chip-row { margin-top: 14px; }
.section--surface .step { background: #fff; }
.steps + .note { margin-top: 28px; }

.timeline { list-style: none; position: relative; display: grid; gap: 28px; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 10px; bottom: 10px; width: 2px; background: var(--rule-strong); }
.timeline li { position: relative; padding-left: 64px; }
.timeline-marker {
  position: absolute; left: 0; top: -4px; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 2px solid var(--accent); color: var(--accent); font: 700 1rem/1 var(--font-display);
}
.timeline h3 { font-size: 1.125rem; margin-bottom: 6px; }
.timeline p { margin: 0; color: var(--muted); }
.timeline--compact { gap: 22px; }
.timeline--compact::before { left: 15px; }
.timeline--compact li { padding-left: 48px; }
.timeline--compact .timeline-marker { width: 32px; height: 32px; font-size: 0.875rem; top: -2px; }
.timeline--compact h3 { font-size: 1rem; }
.timeline--compact p { font-size: 0.9rem; }

.feature-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, max(280px, (100% - 16px) / 2 - 1px)), 1fr)); }
.feature { display: flex; gap: 14px; padding: 20px 22px; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-md); }
.feature-icon { color: var(--positive); font-size: 1.35rem; line-height: 1.2; }
.feature h3 { font-size: 1rem; margin: 0 0 4px; }
.feature p { margin: 0; font-size: 0.9375rem; color: var(--muted); }
.feature--lg { padding: clamp(20px, 2.5vw, 28px); gap: 18px; }
.feature--lg .icon-badge { margin: 0; }
.feature--lg h3 { font-size: 1.125rem; }

.aside-card {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 24px;
}
.section--surface .aside-card { background: #fff; }
.aside-title { font: 700 0.75rem/1.4 var(--font-text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.aside-block + .aside-block { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--rule); }
@media (max-width: 960px) { .aside-card { position: static; } }

.milestone { gap: 0; }
.milestone-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); }
.milestone-code {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; background: var(--night); color: #fff;
  font: 800 1.125rem/1 var(--font-display);
}
.milestone-head h3 { margin-bottom: 4px; }
.milestone .check-list li { font-size: 0.9375rem; }

.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-md); }
.data-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 0.9375rem; }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--rule); }
.data-table thead th { background: var(--surface); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.data-table tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }

.note {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-md);
  background: var(--warn-wash); border: 1px solid #fde68a; color: #78350f; font-size: 0.9375rem;
}
.note i { color: var(--warn); font-size: 1.25rem; line-height: 1.3; }
.note p { margin: 0; }
.note--info { background: var(--accent-wash); border-color: var(--accent-rule); color: var(--accent-deep); }
.note--info i { color: var(--accent); }
.lede + .note { margin-top: 24px; }

.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-md); padding-inline: clamp(18px, 2.5vw, 24px); transition: border-color var(--dur) var(--ease); }
.faq details[open] { border-color: var(--accent-rule); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px;
  list-style: none; cursor: pointer; font: 600 1.0625rem/1.4 var(--font-display); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; font-size: 1.6rem; font-weight: 400; line-height: 1; color: var(--accent); transition: transform var(--dur) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted-strong); }

.cta-band {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center;
  padding: clamp(28px, 5vw, 56px); border-radius: var(--r-lg); color: var(--night-muted);
  background: radial-gradient(700px 300px at 100% 0%, rgba(37, 99, 235, 0.45), transparent 60%), var(--night);
}
.cta-band h2 { color: #fff; font-size: var(--step-3); margin-bottom: 8px; }
.cta-band p { margin: 0; color: #cbd5e1; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Forms ---------- */
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--rule-strong); border-radius: 10px;
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent-bright); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}
.field input:user-invalid, .field select:user-invalid { border-color: #dc2626; }
.field { display: grid; gap: 6px; align-content: start; }
.field label, .field legend { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.field legend { margin-bottom: 8px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.form-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); }
.form-card > p { color: var(--muted); }
.demo-form { margin-top: 24px; }
.check-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.check-option {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--rule); border-radius: 10px;
  font-size: 0.9rem; color: var(--ink-soft); cursor: pointer; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.check-option:hover { border-color: var(--accent-rule); }
.check-option:has(input:checked) { border-color: var(--accent); background: var(--accent-wash); }
.check-option input { width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.form-status { margin: 16px 0 0; padding: 12px 16px; border-radius: 10px; background: var(--positive-wash); color: var(--positive); font-weight: 500; }
.fine-print { display: flex; gap: 8px; margin: 14px 0 0; font-size: 0.8125rem; color: var(--muted); }

.contact-list { list-style: none; display: grid; gap: 10px; margin-top: 8px; }
.contact-list li { display: flex; gap: 10px; align-items: baseline; font-size: 0.9375rem; overflow-wrap: anywhere; }
.contact-list i { color: var(--accent); }
.contact-list a:hover { color: var(--accent); }
.contact-address { margin-top: 8px; color: var(--muted-strong); font-size: 0.9375rem; }

.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pager a { display: block; padding: 18px 22px; border: 1px solid var(--rule); border-radius: var(--r-md); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.pager a:hover { border-color: var(--accent-rule); box-shadow: var(--shadow-md); }
.pager small { display: flex; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--muted); }
.pager strong { display: block; margin-top: 4px; font-family: var(--font-display); color: var(--ink); }
.pager-next { text-align: right; }
.pager-next small { justify-content: flex-end; }
@media (max-width: 560px) { .pager { grid-template-columns: minmax(0, 1fr); } .pager-next { text-align: left; } .pager-next small { justify-content: flex-start; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--night-muted); padding-top: clamp(48px, 7vw, 80px); font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; font: 700 1.25rem/1 var(--font-display); color: #fff; }
.footer-brand img { width: 52px; height: 52px; border-radius: 50%; background: #fff; }
.footer-about p { margin: 18px 0 20px; max-width: 40ch; }
.footer-contact { list-style: none; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: baseline; overflow-wrap: anywhere; }
.footer-contact i { color: #93c5fd; }
.footer-col h2 { font: 700 0.75rem/1.4 var(--font-text); letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { transition: color var(--dur) var(--ease); }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  margin-top: clamp(40px, 6vw, 56px); padding-block: 22px; border-top: 1px solid var(--night-rule); font-size: 0.875rem;
}
.footer-bottom a { color: #fff; font-weight: 600; }
.footer-social { list-style: none; display: flex; gap: 8px; }
.footer-social a {
  display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center;
  border: 1px solid var(--night-rule); border-radius: 50%; color: var(--night-muted); font-weight: 400;
}
.footer-social a:hover { border-color: rgba(255, 255, 255, 0.4); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } .site-footer { padding-bottom: 72px; } }

/* ---------- Support, login and error pages ---------- */
.req { color: #dc2626; }
.optional { font-weight: 400; color: var(--muted); }
.field-help { font-size: 0.8125rem; color: var(--muted); margin: 0; }
.track-form > .field-help { margin-top: 10px; }
.form-section + .form-section { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--rule); }
.form-section-title {
  display: flex; align-items: center; gap: 8px; margin-bottom: 18px;
  font: 700 1.0625rem/1.3 var(--font-display); color: var(--ink);
}
.form-section-title i { color: var(--accent); }
.aside-text { font-size: 0.9375rem; color: var(--muted); margin-bottom: 14px; }

.form-alert {
  display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; padding: 16px 18px;
  border-radius: var(--r-md); border: 1px solid; font-size: 0.9375rem;
}
.form-alert > i { font-size: 1.25rem; line-height: 1.3; }
.form-alert p { margin: 0; }
.form-alert h2 { font-size: var(--step-2); margin-bottom: 6px; color: inherit; }
.form-alert--error, .form-alert--danger { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.form-alert--success { background: var(--positive-wash); border-color: #a7f3d0; color: #065f46; }
.form-alert--warning { background: var(--warn-wash); border-color: #fde68a; color: #78350f; }
.form-alert--info { background: var(--accent-wash); border-color: var(--accent-rule); color: var(--accent-deep); }
.form-alert:focus { outline: none; }
.ticket-success { margin-bottom: 0; padding: clamp(18px, 3vw, 28px); }
.ticket-success > i { font-size: 1.75rem; }
.ticket-success .form-actions { margin-top: 18px; }
.tracking-box {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px;
  padding: 10px 10px 10px 16px; background: #fff; border: 1px dashed #6ee7b7; border-radius: 12px;
}
.tracking-box code { flex: 1; min-width: 0; font: 600 0.95rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); overflow-wrap: anywhere; }

.progress-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 28px; }
.progress-steps li {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: #fff; border: 1px solid var(--rule); font-size: 0.875rem; font-weight: 500; color: var(--muted);
}
.progress-steps span {
  display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--surface-2); font-weight: 700; font-size: 0.8125rem;
}
.progress-steps li.is-active { border-color: var(--accent-rule); color: var(--accent-deep); }
.progress-steps li.is-active span { background: var(--accent); color: #fff; }

.spinner {
  display: inline-block; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn:disabled { opacity: 0.7; cursor: progress; }

.ticket-card { margin-top: 24px; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; }
.ticket-card-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 24px;
  padding: clamp(20px, 3vw, 28px); border-bottom: 1px solid var(--rule); background: var(--surface);
}
.ticket-card-title { min-width: 0; flex: 1 1 320px; }
.ticket-label { margin: 0 0 4px; font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.ticket-card-head h2 { font-size: var(--step-2); margin-bottom: 8px; overflow-wrap: anywhere; }
.ticket-uuid { font: 0.8125rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted-strong); overflow-wrap: anywhere; }
.ticket-badges { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; }
.status-pill, .priority-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 600; border: 1px solid var(--rule); background: #fff; color: var(--ink-soft);
}
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-pill--open { background: var(--accent-wash); border-color: var(--accent-rule); color: var(--accent-deep); }
.status-pill--in_progress { background: var(--warn-wash); border-color: #fde68a; color: #92400e; }
.status-pill--resolved { background: var(--positive-wash); border-color: #a7f3d0; color: #065f46; }
.status-pill--closed { background: var(--surface-2); color: var(--muted-strong); }
.priority-pill--high { color: #9a3412; border-color: #fed7aa; background: #fff7ed; }
.priority-pill--urgent { color: #991b1b; border-color: #fecaca; background: #fef2f2; }
.ticket-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 18px 24px; margin: 0; padding: clamp(20px, 3vw, 28px); }
.ticket-meta dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.ticket-meta dd { margin: 4px 0 0; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.ticket-problem { padding: 0 clamp(20px, 3vw, 28px) clamp(20px, 3vw, 28px); }
.ticket-problem h3 { font-size: 0.9375rem; margin-bottom: 8px; }
.ticket-problem p { margin: 0; padding: 16px 18px; background: var(--surface); border-radius: var(--r-md); color: var(--muted-strong); overflow-wrap: anywhere; }
.ticket-replies { margin-top: 32px; }
.reply-list { list-style: none; display: grid; gap: 14px; position: relative; }
.reply { background: #fff; border: 1px solid var(--rule); border-left: 3px solid var(--accent); border-radius: var(--r-md); padding: 16px 20px; }
.reply-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-bottom: 6px; }
.reply-head strong { color: var(--ink); }
.reply-head time { font-size: 0.8125rem; color: var(--muted); }
.reply p { margin: 0; overflow-wrap: anywhere; }
.empty-state { text-align: center; padding: clamp(28px, 5vw, 44px) 20px; background: #fff; border: 1px dashed var(--rule-strong); border-radius: var(--r-lg); }
.empty-state > i { display: inline-block; font-size: 2rem; color: var(--accent); margin-bottom: 8px; }
.empty-state h3 { font-size: 1.125rem; margin-bottom: 6px; }
.empty-state p { color: var(--muted); margin: 0 auto 16px; max-width: 48ch; }
.empty-state p:last-child { margin-bottom: 0; }
.empty-state--card { margin-top: 24px; }

.auth {
  padding-block: clamp(36px, 7vw, 88px);
  background: radial-gradient(1000px 460px at 100% 0%, var(--accent-wash), transparent 60%), linear-gradient(180deg, var(--surface), #fff);
  border-bottom: 1px solid var(--rule);
}
.auth-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(32px, 6vw, 88px); align-items: center; }
.auth-intro h1 { font-size: var(--step-4); }
.auth-intro .check-list { margin: 8px 0 28px; }
.auth-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-lg); }
.auth-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.auth-card-head img { width: 56px; height: 56px; border-radius: 50%; }
.auth-card-head h2 { font-size: var(--step-2); margin: 0 0 2px; }
.auth-card-head p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.auth-form { display: grid; gap: 18px; }
.password-field { position: relative; }
.password-field input { padding-right: 52px; }
.password-toggle {
  position: absolute; top: 50%; right: 4px; transform: translateY(-50%); width: 44px; height: 40px;
  border: 0; border-radius: 8px; background: none; color: var(--muted); font-size: 1.1rem; cursor: pointer;
}
.password-toggle:hover { color: var(--ink); background: var(--surface-2); }
.auth-help { margin: 20px 0 0; font-size: 0.875rem; color: var(--muted); text-align: center; }
.auth-help a { color: var(--accent); font-weight: 600; }
@media (max-width: 960px) {
  .auth-grid { grid-template-columns: minmax(0, 1fr); }
  .auth-card { order: -1; }
}
.not-found { text-align: center; }
.not-found h1, .not-found .lede { margin-inline: auto; }
.not-found .hero-actions { justify-content: center; }

/* ---------- Trust badges ---------- */
.trust-row { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.trust-badge { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-md); }
.trust-badge > i {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 11px; background: var(--positive-wash); color: var(--positive); font-size: 1.25rem;
}
.trust-badge strong { display: block; color: var(--ink); font-size: 0.9375rem; line-height: 1.3; }
.trust-badge span { display: block; font-size: 0.8125rem; line-height: 1.4; color: var(--muted); }
.footer-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.footer-trust li {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--night-rule); font-size: 0.8125rem; color: #e2e8f0;
}
.footer-trust i { color: #6ee7b7; }
.mega-foot-links { display: inline-flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- Home: intro, options ---------- */
.seo-intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.seo-intro .prose p { color: var(--muted-strong); }
.seo-intro .check-list--card li { color: var(--muted-strong); }
@media (max-width: 960px) { .seo-intro { grid-template-columns: minmax(0, 1fr); } }
.option-card .chip { align-self: flex-start; margin-bottom: 14px; }
.option-card .check-list { margin-top: 16px; }
.option-card .card-actions { margin-top: auto; padding-top: 22px; }
.option-card--featured { border-color: var(--accent); box-shadow: var(--shadow-md); }

/* ---------- Blog ---------- */
.post-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 12px !important; font-size: 0.8125rem; color: var(--muted); }
.post-card h3 { font-size: 1.1875rem; line-height: 1.3; }
.post-featured {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px);
  align-items: center; margin-bottom: clamp(24px, 4vw, 40px); padding: clamp(24px, 4vw, 48px); border-radius: var(--r-lg);
  color: var(--night-muted); background: radial-gradient(700px 320px at 100% 0%, rgba(37, 99, 235, 0.45), transparent 60%), var(--night);
}
.post-featured h2 { color: #fff; font-size: var(--step-3); margin-bottom: 12px; }
.post-featured h2 a:hover { text-decoration: underline; }
.post-featured p { color: #cbd5e1; margin: 0; }
.post-featured .post-card-meta { color: var(--night-muted); }
.post-featured ol { list-style: none; display: grid; gap: 8px; }
.post-featured ol li { display: flex; gap: 10px; color: #e2e8f0; font-size: 0.9375rem; }
.post-featured ol li::before { content: "→"; color: #93c5fd; }
@media (max-width: 860px) { .post-featured { grid-template-columns: minmax(0, 1fr); } }

.post-hero h1 { max-width: none; font-size: var(--step-4); }
.post-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 0.9rem; color: var(--muted); }
.post-meta i { color: var(--accent); margin-right: 6px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 740px) minmax(260px, 300px); gap: clamp(32px, 5vw, 72px); justify-content: space-between; align-items: start; }
.post-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
@media (max-width: 1024px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); }
  .post-aside { position: static; order: -1; }
  .post-aside .post-cta { display: none; }
}
.toc { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 20px 22px; }
.toc ol { list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 6px 0; font-size: 0.9rem; line-height: 1.4; color: var(--muted-strong); }
.toc a::before { content: counter(toc); flex-shrink: 0; min-width: 1.2em; font-weight: 700; color: var(--accent); }
.toc a:hover { color: var(--accent); }
.post-cta { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 22px; }
.post-cta h2 { font-size: 1.125rem; margin-bottom: 6px; }
.post-cta p { font-size: 0.9rem; color: var(--muted); }
.post-cta .btn + .btn { margin-top: 10px; }

.prose-article { min-width: 0; font-size: 1.0625rem; line-height: 1.75; color: var(--ink-soft); }
.prose-article > * + * { margin-top: 1.1em; }
.prose-article p { margin: 0; }
.prose-article h2 { font-size: var(--step-3); margin: 2em 0 0.1em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose-article h3 { font-size: var(--step-1); margin: 1.6em 0 0.1em; }
.prose-article > :first-child { margin-top: 0; }
.prose-article ul, .prose-article ol { padding-left: 1.4em; display: grid; gap: 0.45em; }
.prose-article ul { list-style: disc; }
.prose-article ol { list-style: decimal; }
.prose-article li::marker { color: var(--accent); }
.prose-article a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose-article strong { color: var(--ink); }
.prose-article .lead { font-size: var(--step-1); line-height: 1.6; color: var(--ink); }
.prose-article .callout { padding: 18px 20px; border-left: 4px solid var(--accent); border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--accent-wash); color: var(--accent-deep); }
.prose-article .table-wrap { margin-top: 1.4em; }
.prose-article table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.55; }
.prose-article th, .prose-article td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--rule); }
.prose-article thead th { background: var(--surface); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.prose-article tbody tr:last-child td { border-bottom: 0; }
.prose-article .key-takeaways { padding: 20px 24px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-lg); }
.prose-article .key-takeaways h2 { margin-top: 0; font-size: var(--step-2); }
.prose-article .key-takeaways ul { margin-top: 12px; }
.prose-article .post-end-cta { padding: 22px 24px; border-radius: var(--r-lg); background: var(--night); color: #cbd5e1; }
.prose-article .post-end-cta strong { color: #fff; }
.prose-article .post-end-cta a { color: #93c5fd; }
.milestone-code { width: auto; min-width: 52px; padding-inline: 12px; white-space: nowrap; }

/* ---------- SEO landing pages ---------- */
.landing-flow > .section:nth-child(even) { background: var(--surface); border-block: 1px solid var(--rule); }
.landing-flow > .section:nth-child(even) .aside-card,
.landing-flow > .section:nth-child(even) .step { background: #fff; }
.landing-glance { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-lg); }
.landing-glance h2 { font-size: var(--step-2); margin-bottom: 16px; }
.landing-glance .btn { margin-top: 22px; }
.landing-stats { margin-top: clamp(40px, 6vw, 64px); }
.landing-module + .landing-module { margin-top: clamp(40px, 6vw, 64px); padding-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--rule); }
.landing-module-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 24px; }
.landing-module-head .icon-badge { margin: 0; }
.landing-module-head h3 { font-size: var(--step-3); margin-bottom: 6px; }
.landing-module-head p { margin: 0; color: var(--muted); max-width: 72ch; }
.landing-module .split { gap: clamp(24px, 4vw, 48px); }
.feature h4 { font-size: 1rem; margin: 0 0 4px; }
.prose-sections { display: grid; gap: clamp(32px, 5vw, 48px); }
.prose-sections > * { min-width: 0; }
.prose-block h2 { font-size: var(--step-3); margin-bottom: 12px; }
.prose-block p, .prose-block li { font-size: 1.0625rem; color: var(--muted-strong); }
.prose-block p:last-child { margin-bottom: 0; }
.prose-block ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 0.45em; margin: 0.6em 0 1em; }
.prose-block li::marker { color: var(--accent); }
.prose-block a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose-block .table-wrap { margin: 0.6em 0 1em; }
.abdm-intro p { font-size: 1.0625rem; }
@media (max-width: 560px) { .landing-module-head { flex-direction: column; gap: 12px; } }
