/* ASC — Asystir Service Controller
   Layout system inherited from the Remo Clock marketing site (same spacing rhythm,
   same component vocabulary). Palette and type come from the ASC brand deck. */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,700;12..96,800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  /* —— ASC brand palette (from the ASC deck) —— */
  --navy: #14213d;
  --ink: #23304b;
  --muted: #5e6a83;
  --soft: #8a94a8;
  --orange: #f07601;
  --orange-d: #e45200;
  --green: #90c63e;
  --green-d: #5e8f1f;
  --blue: #73a2ea;
  --blue-d: #2f66be;

  /* —— Semantic tokens (same names as the Remo Clock system) —— */
  --color-bg: #ffffff;
  --color-bg-muted: #f4f7fb;
  --color-bg-dark: var(--navy);
  --color-text: #3f4c66;
  --color-text-muted: var(--muted);
  --color-heading: var(--navy);
  --color-primary: var(--orange-d);
  --color-primary-hover: #c24400;
  --color-primary-soft: rgba(240, 118, 1, 0.12);
  --color-accent: var(--blue-d);
  --color-border: #e1e6ee;

  --shadow-sm: 0 1px 2px rgba(20, 33, 61, 0.06);
  --shadow-md: 0 10px 40px rgba(20, 33, 61, 0.1);
  --shadow-lg: 0 24px 70px rgba(20, 33, 61, 0.16);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --container: min(1180px, calc(100% - 2.5rem));
  --container-header-mobile: min(1180px, calc(100% - 1rem));

  /* Swap --font-body to 'Inter' here if you prefer the Remo Clock face verbatim. */
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-display: 'Bricolage Grotesque', 'Manrope', system-ui, sans-serif;

  --header-h: 100px;
  --header-bg: linear-gradient(165deg, #0c152b 0%, #14213d 45%, #1b2c4f 100%);
  --header-border: rgba(255, 255, 255, 0.09);
  --header-nav: #c6d0e2;
  --header-nav-hover: #f8fafc;
  --header-accent-soft: rgba(240, 118, 1, 0.24);

  /* Per-block accent, overridden by .t-* helpers */
  --c: var(--orange);
  --c-deep: var(--orange-d);
  --c-soft: rgba(240, 118, 1, 0.12);
  --c-line: #fbd2ae;
}

.t-orange { --c: var(--orange); --c-deep: var(--orange-d); --c-soft: #fff3e8; --c-line: #fbd2ae; }
.t-blue   { --c: var(--blue);   --c-deep: var(--blue-d);   --c-soft: #eef4fd; --c-line: #c9dbf7; }
.t-green  { --c: var(--green);  --c-deep: var(--green-d);  --c-soft: #f2f8e8; --c-line: #d3e8b4; }
.t-navy   { --c: var(--navy);   --c-deep: var(--navy);     --c-soft: #eef0f5; --c-line: #cbd1de; }

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-heading);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: #fff;
  color: var(--navy);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 8px 32px rgba(12, 21, 43, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: visible;
}

.header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0.65rem;
  padding-block: 0.65rem;
}

@media (max-width: 1059px) {
  .site-header .header-inner {
    width: var(--container-header-mobile);
    gap: 0.4rem;
  }
}

.header-end {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  margin-left: auto;
  align-self: center;
}

.header-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  flex-shrink: 0;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  padding: 0;
  text-decoration: none;
}

.logo-link:hover {
  text-decoration: none;
}

.logo-link:focus-visible {
  outline: 2px solid rgba(240, 118, 1, 0.85);
  outline-offset: 3px;
  border-radius: 4px;
}

.logo-link img {
  height: 44px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

.logo-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.site-tagline {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #93a0b8;
  line-height: 1.25;
  text-align: left;
  max-width: 16rem;
}

.site-nav {
  display: none;
  flex: 1;
  justify-content: center;
}

.site-nav.is-open {
  display: flex;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: linear-gradient(180deg, #14213d 0%, #0b1224 100%);
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: 1rem 1.25rem 1.5rem;
  gap: 0.25rem;
  overflow-y: auto;
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

@media (min-width: 1060px) {
  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    border: none;
    box-shadow: none;
    gap: 0.1rem;
    align-self: center;
  }
}

.site-header .site-nav a {
  color: var(--header-nav);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  white-space: nowrap;
}

.site-header .site-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--header-nav-hover);
  text-decoration: none;
}

.site-header .site-nav a[aria-current='page'] {
  background: var(--header-accent-soft);
  color: #ffe8d4;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(240, 118, 1, 0.45);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 1;
  min-width: 0;
}

.header-cta-desktop {
  display: none;
}

@media (min-width: 1060px) {
  .header-cta-desktop {
    display: inline-flex;
  }
}

@media (max-width: 400px) {
  .logo-link img { height: 36px; }
  .logo-word { font-size: 1.6rem; }
  .site-tagline { font-size: 0.56rem; max-width: 12rem; }
  .header-end { gap: 0.2rem; }
}

.site-header .nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.site-header .nav-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #f1f5f9;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: #f1f5f9;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

@media (min-width: 1060px) {
  .site-header .nav-toggle { display: none; }
}

.site-header .header-actions .btn-primary {
  background: linear-gradient(180deg, #f9a13d 0%, var(--orange) 48%, var(--orange-d) 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(228, 82, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.site-header .header-actions .btn-primary:hover {
  filter: brightness(1.07);
  color: #ffffff;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s, filter 0.15s;
}

.btn:hover { text-decoration: none; }

.btn-primary {
  background: linear-gradient(180deg, #f9a13d 0%, var(--orange) 55%, var(--orange-d) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(228, 82, 0, 0.32);
}

.btn-primary:hover {
  filter: brightness(1.06);
  color: #fff;
}

.btn-ghost {
  background: var(--color-bg-muted);
  color: var(--color-heading);
}

.btn-ghost:hover { background: #e7edf6; color: var(--color-heading); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid #c8d2e2;
}

.btn-outline:hover {
  background: var(--color-bg-muted);
  border-color: var(--navy);
}

.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.8125rem; }
.btn-lg { padding: 0.8rem 1.6rem; font-size: 0.9375rem; }

/* —— Hero —— */
.hero {
  position: relative;
  padding: 4rem 0 3.75rem;
  background: linear-gradient(180deg, #f4f7fb 0%, #ffffff 60%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 55% at 72% -10%, rgba(240, 118, 1, 0.16), transparent 58%),
              radial-gradient(ellipse 60% 45% at 10% 0%, rgba(115, 162, 234, 0.16), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: 1.05fr 1fr;
    gap: 3rem;
  }
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--color-heading);
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 36rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Grid children default to min-width:auto, which lets the SVG mockup push the
   column wider than its track. */
.hero-visual { min-width: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-deep);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  width: 10px;
  height: 22px;
  background: var(--c);
  transform: skewY(-32deg);
  display: block;
  flex-shrink: 0;
}

.section-title + .eyebrow,
.eyebrow.is-centered {
  justify-content: center;
}

.eyebrow-wrap {
  display: flex;
  justify-content: center;
}

/* —— Sections —— */
.section { padding: 4.5rem 0; }
.section-tight { padding: 3rem 0; }
.section-muted { background: var(--color-bg-muted); }

.section-dark {
  background: linear-gradient(160deg, #101b33 0%, var(--navy) 55%, #1b2c4f 100%);
  color: #cfd7e6;
}

.section-dark .section-title,
.section-dark h2,
.section-dark h3 { color: #ffffff; }

.section-dark .section-sub { color: #9aa8c0; }

.section-title {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--color-heading);
}

.section-sub {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3rem;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}

.section-sub.is-tight { margin-bottom: 2rem; }

/* —— Card grids —— */
.grid-cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-cards.cols-6 { grid-template-columns: repeat(3, 1fr); }
  .grid-cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--c-line);
  transform: translateY(-2px);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-heading);
}

.card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.card p + p { margin-top: 0.65rem; }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--c-soft);
  color: var(--c-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon .icon-line {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
}

/* —— Why grid (4 up) —— */
.grid-why {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) { .grid-why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-why { grid-template-columns: repeat(4, 1fr); } }

.why-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  color: var(--color-heading);
}

.why-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.why-card {
  border-top: 4px solid var(--c);
  padding-top: 1.1rem;
}

/* —— Split content + media —— */
.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.reverse .split-text { order: 2; }
  .split.reverse .split-media { order: 1; }
  .split.is-wide-text { grid-template-columns: 1.15fr 1fr; }
}

.split h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--color-heading);
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.prose { color: var(--color-text-muted); }

.prose ul {
  margin: 0.75rem 0 0;
  padding-left: 0;
  list-style: none;
  color: var(--color-text);
}

.prose ul li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.9875rem;
}

.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--c);
  transform: skewY(-32deg);
}

/* —— Suite grid: the ASC applications —— */
.suite-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) { .suite-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .suite-grid { grid-template-columns: repeat(3, 1fr); } }

.app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--c);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.app-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.app-card-top {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.85rem;
}

.app-card .card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.app-card h3 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-heading);
}

.app-card h3 small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-deep);
  margin-top: 0.2rem;
  letter-spacing: 0.01em;
}

.app-card p {
  margin: 0;
  font-size: 0.9125rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  flex: 1;
}

.app-who {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--soft);
  text-transform: uppercase;
}

.app-who b { color: var(--c-deep); font-weight: 700; }

.app-ai {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--color-border);
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink);
}

.app-ai svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 0.18rem;
  color: var(--orange);
}

/* —— Area heading inside the suite page —— */
.area-head {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
  border-left: 4px solid var(--c);
}

.area-head h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.area-head p {
  margin: 0;
  color: var(--color-text-muted);
  max-width: 48rem;
}

.area-block + .area-block { margin-top: 3.5rem; }

/* —— Flow diagram (payer → manager → providers → members) —— */
.flow {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  counter-reset: flow;
}

@media (min-width: 980px) {
  .flow { grid-template-columns: repeat(4, 1fr); gap: 2.25rem; }
}

.flow-node {
  position: relative;
  border: 2px solid var(--color-border);
  border-radius: 16px;
  padding: 1.35rem 1.25rem;
  background: #fff;
}

.flow-node h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.flow-node p {
  margin: 0;
  font-size: 0.925rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.flow-node .role {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-deep);
}

.flow-node.is-hub {
  border-color: var(--orange);
  background: #fff6ee;
  box-shadow: 0 10px 30px rgba(240, 118, 1, 0.14);
}

@media (min-width: 980px) {
  .flow-node:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 2.25rem;
    height: 2px;
    background: #c3cddd;
  }
  .flow-node:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(100% + 1.75rem);
    width: 8px;
    height: 8px;
    border-top: 2px solid #c3cddd;
    border-right: 2px solid #c3cddd;
    transform: translateY(-50%) rotate(45deg);
    z-index: 1;
  }
}

.flow-note {
  margin: 2.5rem auto 0;
  max-width: 54rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
}

/* —— Journey rail —— */
.journey {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  position: relative;
}

.journey-step {
  position: relative;
  padding: 0 0 1.75rem 2.25rem;
  border-left: 2px solid var(--color-border);
}

.journey-step:last-child { border-left-color: transparent; padding-bottom: 0; }

.journey-step::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 0.3rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--c);
}

.journey-step h3 {
  margin: 0 0 0.15rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.journey-step .state {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--c-deep);
  border-radius: var(--radius-pill);
  padding: 0.15rem 0.6rem;
  margin-bottom: 0.4rem;
}

.journey-step p {
  margin: 0;
  font-size: 0.925rem;
  color: var(--color-text-muted);
}

@media (min-width: 1024px) {
  .journey {
    grid-template-columns: repeat(6, 1fr);
    gap: 0 1rem;
    padding-top: 2.75rem;
  }
  .journey::before {
    content: '';
    position: absolute;
    top: 2.75rem;
    left: calc(100% / 12);
    right: calc(100% / 12);
    height: 5px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--blue), var(--orange) 55%, var(--green));
  }
  .journey-step {
    border-left: none;
    padding: 2.25rem 0.5rem 0;
    text-align: center;
  }
  .journey-step::before {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    box-shadow: 0 0 0 5px #fff;
  }
  .journey-step p { max-width: 15rem; margin-inline: auto; }
}

/* —— Numbered month cycle —— */
.steps-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }

.step-card {
  background: var(--color-bg-muted);
  border-radius: var(--radius); 
  padding: 1.3rem 1.3rem 1.4rem;
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.step-card:hover { border-color: var(--c-line); background: #fff; }

.step-card .n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  color: var(--orange);
}

.step-card .when {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue-d);
  margin: 0.6rem 0 0.35rem;
}

.step-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink);
}

.step-card .apps-used {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}

/* —— Role table —— */
.role-table {
  display: grid;
  gap: 0 3rem;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) { .role-table { grid-template-columns: 1fr 1fr; } }

.role-row {
  display: grid;
  grid-template-columns: minmax(9rem, 14rem) 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.role-row b {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy);
  font-weight: 700;
}

.role-row span { color: var(--color-text-muted); }

/* —— Pain / norm list (left rule) —— */
.rule-grid {
  display: grid;
  gap: 1.75rem 3rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) { .rule-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .rule-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.rule-item {
  border-left: 4px solid var(--c);
  padding: 0.2rem 0 0.2rem 1.15rem;
}

.rule-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.rule-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

/* —— Benefits by stakeholder —— */
.benefit-col {
  border-top: 5px solid var(--c);
  padding-top: 1.2rem;
}

.benefit-col h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.benefit-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-col li {
  font-size: 0.95rem;
  line-height: 1.45;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.section-dark .benefit-col li {
  color: #cfd7e6;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

/* —— Roadmap phases —— */
.phase-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) { .phase-grid { grid-template-columns: repeat(3, 1fr); } }

.phase .bar {
  height: 12px;
  background: var(--c);
  margin-bottom: 1.35rem;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
}

.phase .n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-deep);
}

.phase h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0.3rem 0 0.7rem;
}

.phase p {
  margin: 0 0 0.9rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.phase .list {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.7;
}

/* —— Stat strip —— */
.stat-strip {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
}

@media (min-width: 860px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } }

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--orange);
}

.stat span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.section-dark .stat span { color: #9aa8c0; }

/* —— Core hub diagram —— */
.hub {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 720px) { .hub { grid-template-columns: repeat(3, 1fr); } }

.hub-node {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.hub-node b {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.hub-center {
  grid-column: 1 / -1;
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  text-align: center;
  padding: 1.5rem 1.25rem;
}

.hub-center b { color: #fff; font-size: 1.5rem; }
.hub-center span { color: rgba(255, 255, 255, 0.72); }

/* —— Product mockup (inline SVG frame) —— */
.mock {
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #ffffff 0%, #f4f7fb 100%);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  padding: 0.9rem;
  overflow: hidden;
}

.mock svg { display: block; width: 100%; height: auto; border-radius: 10px; }

.media-cap {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 0.65rem;
  text-align: center;
}

/* —— Logo / trust strip —— */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.section-dark .chip {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  color: #e3e9f4;
}

.chip svg { width: 15px; height: 15px; color: var(--green-d); flex-shrink: 0; }
.section-dark .chip svg { color: var(--green); }

/* —— CTA band —— */
.cta-band {
  background: linear-gradient(135deg, #1b2c4f 0%, var(--navy) 55%, #0c152b 100%);
  color: #cfd7e6;
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
}

.cta-band p {
  margin: 0 0 1.5rem;
  color: #9aa8c0;
  max-width: 38rem;
  margin-inline: auto;
}

.cta-band-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-outline-light {
  background: transparent;
  color: #e5e7eb;
  border: 2px solid rgba(255, 255, 255, 0.45);
  font-size: 0.875rem;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
  text-decoration: none;
}

/* —— Contact —— */
.contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }

.office-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: left;
}

.office-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: #fff;
}

.office-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #c3cddd;
  line-height: 1.6;
}

.office-card a { color: #ffbe84; }
.office-card a:hover { color: #fff; }

.mail-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) { .mail-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .mail-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.mail-card {
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg-muted);
}

.mail-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-weight: 700;
}

.mail-card a { font-weight: 700; word-break: break-word; }
.mail-card p { margin: 0.25rem 0 0; font-size: 0.85rem; color: var(--color-text-muted); }

/* —— Forms —— */
.form-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.75rem;
}

@media (min-width: 640px) { .form-card { padding: 2.25rem; } }

.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid .is-full { grid-column: 1 / -1; }
}

.field { display: flex; flex-direction: column; gap: 0.35rem; }

.field label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  padding: 0.65rem 0.8rem;
  border: 1px solid #cfd8e6;
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field textarea { min-height: 7rem; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(240, 118, 1, 0.16);
}

.form-note {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* —— FAQ —— */
.faq { max-width: 760px; margin-inline: auto; }

.faq details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  background: var(--color-bg);
}

.faq summary {
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  color: var(--color-heading);
  list-style: none;
  position: relative;
  padding-right: 1.75rem;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '';
  position: absolute;
  right: 0.25rem;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.faq details[open] summary { margin-bottom: 0.75rem; }
.faq details[open] summary::after { transform: rotate(-135deg); }

.faq details p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.faq details p + p { margin-top: 0.65rem; }

/* —— Inner page hero —— */
.page-hero {
  padding: 3rem 0 2.5rem;
  background: linear-gradient(180deg, #f4f7fb, #fff);
  border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--color-heading);
}

.page-hero p {
  margin: 0.85rem 0 0;
  max-width: 44rem;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}

/* —— Feature list —— */
.feature-list { display: grid; gap: 1rem; }

@media (min-width: 768px) { .feature-list { grid-template-columns: repeat(2, 1fr); } }

.feature-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.feature-item .dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--c);
  transform: skewY(-32deg);
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.feature-item h3 { margin: 0 0 0.35rem; font-size: 1rem; font-weight: 700; }
.feature-item p { margin: 0; font-size: 0.9rem; color: var(--color-text-muted); }

/* —— Tabs (suite explorer) —— */
.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  margin: 0 auto 2rem;
  padding: 0.3rem;
  max-width: 56rem;
  border-radius: var(--radius-pill);
  background: rgba(240, 118, 1, 0.07);
  border: 1px solid rgba(240, 118, 1, 0.16);
}

.tablist [role='tab'] {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1.05rem;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.tablist [role='tab']:hover { color: var(--navy); background: rgba(255, 255, 255, 0.75); }

.tablist [role='tab'][aria-selected='true'] {
  background: #fff;
  color: var(--orange-d);
  box-shadow: var(--shadow-sm);
}

.tablist [role='tab']:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.tab-panel[hidden] { display: none !important; }

/* —— Quote —— */
.quote {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy);
}

.section-dark .quote { color: #fff; }

.quote-src {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--soft);
}

/* —— Footer —— */
.site-footer {
  background: #fafbfd;
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 2rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.footer-top img { height: 32px; width: auto; }
.footer-top a { color: var(--color-text); font-weight: 700; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
}

.footer-links a { color: var(--color-text-muted); }
.footer-links a:hover { color: var(--color-primary); }

.footer-copy { text-align: center; font-size: 0.8125rem; }

.footer-social {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--muted);
  background: #fff;
}

.footer-social a:hover { color: var(--orange-d); border-color: var(--c-line); }
.footer-social svg { width: 17px; height: 17px; }

/* —— Utilities —— */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 1.25rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1.25rem; }
.narrow { max-width: 46rem; margin-inline: auto; }

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