/* ============================================================
   PartnerMatch — SaaS marketing system
   Layout/type after 1600.agency + flora.ai:
   extra-bold Plus Jakarta, DM Sans, white, pill CTAs,
   product canvas. Brand: navy #0f1736 + blue #2849e8.
   ============================================================ */

:root {
  --blue: #2849e8;
  --blue-deep: #1e36c4;
  --violet: #6c45d8;
  --paper: #ffffff;
  --paper-soft: #f6f7f9;
  --ink: #0f1736;
  --ink-soft: #5c647c;
  --line: #e6e8ee;
  --white: #ffffff;
  --navy: #0f1736;

  --font-display: "Plus Jakarta Sans", "Helvetica Neue", sans-serif;
  --font-sans: "DM Sans", "Helvetica Neue", sans-serif;
  --font-mono: "DM Sans", ui-sans-serif, sans-serif;

  --border: 1px solid var(--line);
  --shadow-blue: 0 16px 40px rgba(40, 73, 232, 0.14);
  --shadow-ink: 0 12px 40px rgba(15, 23, 54, 0.10);
  --radius: 16px;
  --radius-pill: 40px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

::selection { background: var(--blue); color: #fff; }

img, svg, video { max-width: 100%; height: auto; }
body.nav-open { overflow: hidden; }

h1, h2, h3, .wordmark, .section-title, .post-title, .sol-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0;
  overflow-wrap: break-word;
}

@media (min-width: 800px) {
  .hero h1, .section-title, .post-title, .sol-hero h1 { text-wrap: balance; }
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
  width: 100%;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 16px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  background: var(--blue);
  border: 0;
  border-radius: var(--radius-pill);
  box-shadow: none;
  padding: 14px 26px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--blue-deep); transform: translateY(-1px); }
.btn:active { transform: none; }
.is-home .btn {
  box-shadow: 0 10px 28px rgba(40, 73, 232, 0.28);
}
.is-home .btn-ghost { box-shadow: none; }

.btn-ghost {
  background: var(--paper-soft);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--line); color: var(--ink); }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  height: 72px;
}

.wordmark {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.04em;
  text-transform: none;
  text-decoration: none;
  flex: none;
  white-space: nowrap;
}
.wordmark .tick { color: var(--blue); }
.wordmark sup {
  font-size: 9px;
  font-weight: 700;
  vertical-align: top;
  margin-left: 2px;
  color: var(--ink-soft);
}

.nav-actions { display: flex; align-items: center; gap: 28px; }
.nav-actions .nav-link {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
}
.nav-actions .nav-link:hover { color: var(--blue); }
.nav-actions .btn { padding: 10px 18px; font-size: 14px; }

.nav-toggle {
  display: none;
  appearance: none;
  flex: none;
  z-index: 2;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 44px;
  min-width: 72px;
  height: 44px;
  padding: 0 16px;
}

.float-cta { display: none !important; }
.hero-index, .hero-tags, .plate, .plate-wrap, .plate-caption,
.studio, .hero-media, .page-media, .footer-media, .media-stage { display: none; }

/* ---------- hero ---------- */

.hero {
  padding: 88px 0 40px;
  text-align: center;
}

.hero-grid { display: block; }

.hero .eyebrow {
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(36px, 6.6vw, 76px);
  max-width: 14em;
  margin: 0 auto;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
}
.hero h1 .accent {
  color: var(--blue);
  font-style: normal;
}

.hero-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin: 24px auto 0;
  max-width: 34em;
  width: 100%;
}

.hero-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 100%;
  width: 100%;
  margin: 0;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

/* ---------- product canvas (Flora-style) ---------- */

.product {
  padding: 8px 0 56px;
}

.product-shell {
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-ink);
}

.product-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: #121c42;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.product-bar .win {
  width: 10px; height: 10px; border-radius: 50%;
  background: #3d4a78;
}
.product-bar .win:nth-child(1) { background: #ff5f57; }
.product-bar .win:nth-child(2) { background: #febc2e; }
.product-bar .win:nth-child(3) { background: #28c840; }
.product-title {
  margin-left: 10px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
}

.product-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.06);
  align-items: stretch;
}

.prod-col {
  background: var(--ink);
  padding: 28px 24px 32px;
  text-align: left;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}
.prod-k {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  margin-bottom: 10px;
}
.prod-col strong {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  min-height: 44px;
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}
.prod-col .prod-list,
.prod-col .spark,
.prod-col .mix {
  margin-top: auto;
}
.prod-list { list-style: none; padding: 0; margin: 0; }
.prod-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
}
.av {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--blue);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700; flex: none;
}
.av.b { background: #6c45d8; }
.av.c { background: #1e36c4; }

.spark {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 132px;
  margin-top: 0;
}
.spark b {
  display: block;
  flex: 1;
  border-radius: 8px 8px 2px 2px;
  background: var(--blue);
  height: var(--h);
  opacity: 0.95;
}
.spark b:nth-child(odd) { background: #6c45d8; opacity: 0.75; }

.mix { display: grid; gap: 16px; margin-top: 0; }
.mix-row { display: grid; gap: 6px; }
.mix-row span {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}
.mix-row i {
  display: block;
  height: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}
.mix-row i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--v) * 100%);
  background: var(--blue);
  border-radius: inherit;
}

/* ---------- ticker / ecosystems ---------- */

.ticker {
  background: var(--paper-soft);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 14px 0;
}
.ticker-track { display: flex; width: max-content; }
body[data-motion="on"] .ticker-track { animation: ticker 32s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker-set {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
}
.ticker-set span { padding: 0 16px; }
.ticker-set .star { color: var(--blue); padding: 0; }

.rule-strip {
  border-top: 0;
  border-bottom: 0;
  padding: 28px 0 8px;
}
.rule-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: center;
}
.rule-k {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.rule-list {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
}

/* ---------- sections ---------- */

.section { padding: 88px 0; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-head .section-title { max-width: none; margin: 0; }
.section-head .ai-lede { margin: 16px auto 0; }

.section-title {
  font-size: clamp(28px, 4.6vw, 52px);
  max-width: 16em;
  letter-spacing: -0.04em;
}
.section-title .accent { color: var(--blue); font-style: normal; }

.section > .container { text-align: center; }
.sol-tiles-cta, .home-posts-cta { display: inline-flex; margin-top: 28px; }

.section > .container > .split-grid,
.section > .container > .numbers-grid,
.section > .container > .ai-grid,
.section > .container > .sol-tiles,
.section > .container > .home-posts,
.section > .container > .flow,
.section > .container > .included-grid,
.section > .container > .motion-board {
  text-align: left;
}

/* ---------- numbers ---------- */

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
}
.num-col {
  padding: 28px 24px;
  background: var(--paper-soft);
  border-radius: var(--radius);
  border: 0;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.num-col .big {
  display: block;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--blue);
  margin-bottom: 16px;
  font-style: normal;
}
.num-col h3 { font-size: 20px; margin-bottom: 10px; font-weight: 700; min-height: 2.6em; line-height: 1.25; }
.num-col p { font-size: 15.5px; color: var(--ink-soft); }
.num-col-ink {
  background: var(--navy);
  color: #fff;
}
.num-col-ink .big { color: #8ea2ff; }
.num-col-ink p { color: rgba(255,255,255,0.7); }

/* ---------- split ---------- */

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  text-align: left;
}
.split-copy { text-align: left; }
.split-copy .section-title {
  max-width: 14em;
  margin: 0;
}
.split-copy p {
  font-size: 16.5px;
  margin-top: 16px;
  max-width: 34em;
  color: var(--ink-soft);
}
.split-copy p strong { color: var(--ink); font-weight: 600; }

.mini-shell {
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-ink);
  text-align: left;
}
.mini-shell .prod-k { margin-bottom: 18px; }
.node-row {
  display: flex;
  align-items: center;
  justify-content: stretch;
  gap: 8px;
}
.node-pill {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  border-radius: 999px;
  background: var(--blue);
  font-size: 13px;
  font-weight: 700;
  min-width: 0;
}
.node-pill.ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
}
.node-row em {
  flex: none;
  color: rgba(255,255,255,0.35);
  font-style: normal;
}
.mini-out {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(40,73,232,0.25);
  font-weight: 700;
  font-size: 14px;
}

/* ---------- flow ---------- */

.section-flow { padding-top: 0; }

.flow {
  background: var(--paper-soft);
  border-radius: 24px;
  padding: 36px;
  margin-top: 0;
}

.flow-track {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  position: relative;
}
.flow-step {
  appearance: none;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  padding: 0 4px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--ink-soft);
}
.flow-step .dot {
  display: block;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--white);
  margin: 0 auto 10px;
  position: relative;
  z-index: 2;
}
.flow-step .lbl { font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.flow-step:hover, .flow-step.active { color: var(--ink); }
.flow-step.active .dot { background: var(--blue); border-color: var(--blue); }

.flow-line {
  position: absolute;
  top: 5px;
  left: calc(100% / 18);
  right: calc(100% / 18);
  height: 2px;
  background: var(--line);
  z-index: 1;
}
.flow-line-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--blue);
  transition: width 0.45s ease;
}

.flow-detail {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: start;
  min-height: 88px;
}
.flow-detail .idx {
  font-size: 13px;
  color: var(--blue);
  padding-top: 8px;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.flow-detail h3 { font-size: 24px; margin-bottom: 8px; font-weight: 800; }
.flow-detail p { color: var(--ink-soft); max-width: 44em; }
.flow-detail-body { transition: opacity 0.25s ease, transform 0.25s ease; }
.flow-detail-body.swap { opacity: 0; transform: translateY(6px); }
.flow-nav { display: flex; gap: 8px; padding-top: 4px; }
.flow-nav button {
  appearance: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
  display: grid; place-items: center;
}
.flow-nav button:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------- included ---------- */

.included-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
  margin-top: 0;
  list-style: none;
  padding: 0;
  text-align: left;
}
.included-grid li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 15.5px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.included-grid li::before {
  content: "✓";
  font-weight: 700;
  color: var(--blue);
  flex: none;
}
.included-note {
  margin: 36px auto 0;
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 38em;
  text-align: center;
}

/* ---------- approach ---------- */

.ai-lede { font-size: 17px; color: var(--ink-soft); max-width: 42em; margin: 16px auto 0; }
.ai-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
}
.ai-card {
  border: 0;
  border-radius: var(--radius);
  background: var(--paper-soft);
  padding: 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.ai-card h3 { font-size: 20px; margin-bottom: 10px; font-weight: 700; min-height: 1.4em; line-height: 1.25; }
.ai-card p { font-size: 15.5px; color: var(--ink-soft); }
.ai-note {
  margin: 32px auto 0;
  font-size: 16px;
  font-weight: 600;
  max-width: 36em;
  text-align: center;
}

@media (max-width: 760px) { .ai-grid { grid-template-columns: 1fr; } }

/* ---------- motion ---------- */

.motion-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
}
.motion-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--paper-soft);
  border-radius: 20px;
  padding: 28px 24px 22px;
  border: 0;
  height: 100%;
}
.motion-row h3 { font-size: 22px; font-weight: 800; }
.motion-row p { font-size: 15px; color: var(--ink-soft); flex: 1; }
a.door { text-decoration: none; min-height: 280px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
a.door:hover { transform: translateY(-4px); box-shadow: var(--shadow-ink); }
a.door span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}
a.door em {
  font-style: normal;
  font-weight: 700;
  color: var(--blue);
}
.door-ink {
  background: var(--navy);
  color: #fff;
}
.door-ink span,
.door-ink em { color: #8ea2ff; }
.door-ink p { color: rgba(255,255,255,0.72); }
.door-ink:hover { box-shadow: var(--shadow-blue); }
.bars { display: grid; gap: 12px; }
.bar { display: grid; gap: 6px; }
.bar span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.bar i {
  display: block;
  height: 8px;
  border-radius: 99px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.bar i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--v) * 100%);
  border-radius: inherit;
  background: var(--blue);
}

/* ---------- tiles / posts ---------- */

.sol-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
}
.sol-tile {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.sol-tile:hover { border-color: var(--blue); box-shadow: var(--shadow-ink); color: var(--blue); }
.sol-tiles-cta { margin-top: 24px; }

@media (max-width: 900px) { .sol-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sol-tiles { grid-template-columns: 1fr; } }

.home-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
}
.home-post {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  text-decoration: none;
}
.home-post:hover { box-shadow: var(--shadow-ink); }
.home-post-meta { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.home-post-title { font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -0.03em; flex: 1; font-family: var(--font-display); }
.home-post-more { font-weight: 700; font-size: 14px; color: var(--blue); }
.home-posts-cta { margin-top: 28px; }
@media (max-width: 860px) { .home-posts { grid-template-columns: 1fr; } }

/* ---------- CTA + form ---------- */

.cta {
  background: var(--navy);
  border-top: 0;
  color: #fff;
  padding: 96px 0 104px;
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  text-align: left;
}

.cta-copy .eyebrow { color: #8ea2ff; }
.cta-copy h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  color: #fff;
}
.cta-copy h2 .hl {
  display: inline;
  background: none;
  color: var(--blue);
  font-style: normal;
  padding: 0;
}
.cta-copy p { margin-top: 18px; font-size: 16.5px; max-width: 32em; color: rgba(255,255,255,0.7); }
.cta-alt { margin-top: 20px; font-size: 15px; }
.cta-alt a { color: #8ea2ff; font-weight: 700; text-decoration: none; }
.cta-meta { margin-top: 28px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.5); }

.audit-form {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-ink);
  padding: 32px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }

.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus,
.field textarea:focus { outline: none; box-shadow: 0 0 0 3px rgba(40,73,232,0.18); border-color: var(--blue); }
.field input.invalid { border-color: #c2370f; }

.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-group label { display: inline-flex; margin: 0; cursor: pointer; }
.chip-group input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.chip-group .chip {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
}
.chip-group label:hover .chip { border-color: var(--blue); }
.chip-group input:checked + .chip {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  font-weight: 600;
}

.audit-form .btn { width: 100%; margin-top: 8px; }
.form-success { text-align: center; padding: 48px 20px; }
.form-success .mark {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-size: 22px; font-weight: 700; display: grid; place-items: center;
  margin: 0 auto 20px;
}
.form-success h3 { font-size: 22px; margin-bottom: 10px; }
.form-success p { max-width: 26em; margin: 0 auto; color: var(--ink-soft); }

/* ---------- footer ---------- */

.footer {
  background: var(--ink);
  color: #fff;
  padding: 72px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px 32px;
  padding: 0 0 48px;
  align-items: start;
  text-align: left;
}
.footer-brand .wordmark { color: #fff; display: inline-block; margin-bottom: 14px; }
.footer-brand p {
  font-size: 15px;
  color: rgba(255,255,255,0.62);
  max-width: 22em;
  margin-bottom: 16px;
}
.footer-brand a.mail {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.footer-brand a.mail:hover { color: #8ea2ff; }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  margin: 6px 0 16px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 5px 0;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
}
.footer .fine { font-size: 13px; color: rgba(255,255,255,0.45); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer .nav-link { color: rgba(255,255,255,0.72); text-decoration: none; font-size: 14px; font-weight: 500; }
.footer .nav-link:hover { color: #fff; }

/* ---------- reveals ---------- */

@media (prefers-reduced-motion: no-preference) {
  body[data-motion="on"] .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    transition-delay: var(--d, 0s);
  }
  body[data-motion="on"] .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-motion="on"] .ticker-track { animation: none; }
  .canvas-win, .canvas-chart b { animation: none !important; }
}

/* ---------- home stage (hero + canvas) ---------- */

.home-stage {
  position: relative;
  overflow: hidden;
  padding: 36px 0 48px;
}
.home-glow {
  pointer-events: none;
  position: absolute;
  inset: -20% -10% 20% -10%;
  background:
    radial-gradient(ellipse 50% 55% at 78% 42%, rgba(40, 73, 232, 0.16), transparent 62%),
    radial-gradient(ellipse 40% 40% at 12% 8%, rgba(108, 69, 216, 0.08), transparent 55%);
}
.home-stage-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 48px 56px;
  align-items: center;
  min-height: calc(100vh - 96px);
  min-height: calc(100svh - 96px);
}
.is-home .hero {
  padding: 0;
  text-align: left;
}
.is-home .hero h1 {
  font-size: clamp(40px, 5.8vw, 84px);
  max-width: 9.4em;
  margin: 0;
  letter-spacing: -0.055em;
  line-height: 0.96;
}
.is-home .hero h1 em {
  font-style: italic;
  font-weight: 800;
  color: var(--blue);
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: #eef1fd;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.is-home .hero-sub {
  margin: 22px 0 0;
  font-size: 18px;
  font-weight: 500;
  max-width: 34em;
  color: var(--ink-soft);
}
.is-home .hero-ctas {
  justify-content: flex-start;
  margin-top: 28px;
}
.hero-meta {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.canvas { min-width: 0; }
.canvas-win {
  background: var(--navy);
  color: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 54, 0.22);
}
.canvas-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: #121c42;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.canvas-bar .win {
  width: 10px; height: 10px; border-radius: 50%;
  background: #3d4a78;
}
.canvas-bar .win:nth-child(1) { background: #ff5f57; }
.canvas-bar .win:nth-child(2) { background: #febc2e; }
.canvas-bar .win:nth-child(3) { background: #28c840; }
.canvas-title {
  margin-left: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
}
.canvas-live {
  margin-left: auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7dffb3;
}
.canvas-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  min-height: 340px;
}
.canvas-rail {
  padding: 18px 12px;
  border-right: 1px solid rgba(255,255,255,0.06);
  background: #0c132c;
}
.canvas-k {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin: 0 8px 12px;
}
.canvas-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
}
.canvas-row i {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  flex: none;
}
.canvas-row em {
  margin-left: auto;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}
.canvas-row.is-on {
  background: rgba(40, 73, 232, 0.35);
  color: #fff;
}
.canvas-row.is-on i { background: #7dffb3; }
.canvas-row.is-on em { color: #7dffb3; }
.canvas-row.dim { opacity: 0.45; }
.canvas-main { padding: 22px 22px 20px; display: flex; flex-direction: column; }
.canvas-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.canvas-kpis span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
}
.canvas-kpis strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.canvas-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  margin: 22px 0 18px;
}
.canvas-chart b {
  display: block;
  flex: 1;
  border-radius: 8px 8px 2px 2px;
  background: var(--blue);
  height: var(--h);
}
.canvas-chart b:nth-child(odd) { background: #6c45d8; opacity: 0.85; }
.canvas-mix { display: flex; flex-wrap: wrap; gap: 8px; }
.canvas-mix span {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
}
.canvas-note {
  margin-top: auto;
  padding-top: 16px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
}

@media (prefers-reduced-motion: no-preference) {
  .canvas-win { animation: canvas-float 7s ease-in-out infinite; }
  .canvas-chart b {
    transform-origin: bottom;
    animation: bar-in 0.9s ease both;
  }
  .canvas-chart b:nth-child(1) { animation-delay: 0.05s; }
  .canvas-chart b:nth-child(2) { animation-delay: 0.12s; }
  .canvas-chart b:nth-child(3) { animation-delay: 0.18s; }
  .canvas-chart b:nth-child(4) { animation-delay: 0.24s; }
  .canvas-chart b:nth-child(5) { animation-delay: 0.3s; }
  .canvas-chart b:nth-child(6) { animation-delay: 0.36s; }
  .canvas-chart b:nth-child(7) { animation-delay: 0.42s; }
  .canvas-chart b:nth-child(8) { animation-delay: 0.48s; }
}
@keyframes canvas-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes bar-in {
  from { transform: scaleY(0.2); opacity: 0.4; }
  to { transform: scaleY(1); opacity: 1; }
}

.logo-strip {
  border-top: var(--border);
  border-bottom: var(--border);
  padding: 22px 0;
  background: var(--paper);
}
.logo-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}
.logo-k {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  flex: none;
}
.logo-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.logo-pills a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--paper-soft);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}
.logo-pills a:hover { background: #eef1fd; color: var(--blue); }

.is-home #faq .section-head { text-align: left; margin-left: 0; max-width: none; }

/* ---------- mobile ---------- */

@media (max-width: 1180px) {
  .split-grid, .cta-grid, .product-body, .home-stage-grid, .canvas-layout { grid-template-columns: 1fr; }
  .home-stage-grid { min-height: 0; gap: 36px; }
  .canvas-rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .canvas-k { grid-column: 1 / -1; }
  .flow-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow-line { display: none; }
  .numbers-grid { grid-template-columns: 1fr; }
  .included-grid { grid-template-columns: 1fr 1fr; }
  .motion-board { grid-template-columns: 1fr; }

  .nav-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    height: auto;
    min-height: 64px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .wordmark { margin-right: auto; }
  .nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
  }
  .nav-actions {
    display: none;
    flex: 1 1 100%;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 12px;
  }
  body.nav-open .nav-actions { display: flex; }
  .nav-actions .nav-link {
    display: block;
    padding: 14px 0;
    min-height: 44px;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid var(--line);
  }
  .nav-actions .btn { margin-top: 14px; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  h1, h2, h3, .section-title, .hero h1, .sol-hero h1, .post-title {
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .container {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .section { padding: 56px 0; }
  .hero { padding: 40px 0 28px; }
  .hero h1 { font-size: clamp(30px, 9vw, 36px); }
  .is-home .hero { padding: 8px 0 0; }
  .is-home .hero h1 { font-size: clamp(34px, 10vw, 44px); letter-spacing: -0.045em; }
  .hero-sub { font-size: 16px; }
  .hero-ctas { width: 100%; flex-direction: column; }
  .hero-ctas .btn { width: 100%; white-space: normal; }
  .home-stage { padding: 12px 0 28px; }
  .canvas-layout { min-height: 0; }
  .canvas-rail { display: none; }
  .canvas-kpis strong { font-size: 26px; }
  .section-title { font-size: clamp(26px, 7.4vw, 34px); }
  .product { padding-bottom: 32px; }
  .product-shell { border-radius: 18px; }
  .prod-col { min-height: 0; }
  .spark { height: 88px; }
  .node-row { flex-wrap: wrap; }
  .node-row em { width: 100%; text-align: center; }
  .flow { padding: 16px; }
  .flow-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow-detail { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .field input, .field textarea { font-size: 16px; }
  .audit-form { padding: 20px 16px; }
  .included-grid { grid-template-columns: 1fr; }
  .sol-tiles { grid-template-columns: 1fr; }
  .cta { padding: 56px 0 72px; }
  .footer { padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- ecosystem directory ---------- */

.eco-hero.sol-hero .container {
  max-width: var(--container);
  margin: 0 auto;
  text-align: left;
}
.eco-hero.sol-hero h1 { max-width: 16em; margin: 0; }
.eco-hero.sol-hero .sol-sub { margin-left: 0; margin-right: 0; max-width: 38em; }
.eco-hero .hero-ctas { justify-content: flex-start; }
.eco-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  max-width: 720px;
}
.eco-stat {
  background: var(--paper-soft);
  border-radius: 16px;
  padding: 16px 10px 14px;
  text-align: center;
}
.eco-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.eco-stat span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eco-jump {
  border-bottom: var(--border);
  background: var(--paper);
  position: sticky;
  top: 64px;
  z-index: 5;
}
.eco-jump .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  padding-bottom: 12px;
  justify-content: flex-start;
}
.eco-jump a {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--paper-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
}
.eco-jump a:hover,
.eco-jump a.is-key { color: var(--blue); background: #eef1fd; }
.eco-index { padding: 48px 0 80px; }
.eco-more-mark { margin: 8px 0 24px; padding-top: 12px; }
.eco-more-title { font-size: 18px; color: var(--ink-soft); font-weight: 700; }

.eco-disclaimer {
  max-width: 46em;
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0 0 40px;
}
.eco-group { margin-bottom: 56px; }
.eco-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.eco-group h2 { font-size: 22px; margin: 0; }
.eco-group-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.eco-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 8px;
  background: var(--paper-soft);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  min-height: 220px;
}
.eco-card:hover { box-shadow: var(--shadow-ink); }
.eco-card-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.eco-card h3 { font-size: 22px; min-height: 1.15em; }
.eco-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.eco-card-lead {
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.eco-card-links { font-size: 12px; font-weight: 600; color: var(--blue); }

.eco-linkbar {
  border-top: var(--border);
  border-bottom: var(--border);
  background: var(--paper);
}
.eco-linkbar-grid {
  display: grid;
  gap: 0;
}
.eco-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.eco-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.eco-cols-1 { grid-template-columns: 1fr; }
.eco-linkbar-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 8px;
  text-decoration: none;
  border-right: var(--border);
  min-height: 72px;
}
.eco-linkbar-grid a:last-child { border-right: 0; }
.eco-linkbar-grid span {
  font-size: 15px;
  font-weight: 700;
}
.eco-linkbar-grid em {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
}
.eco-linkbar-grid a:hover span { color: var(--blue); }

.eco-page { padding: 40px 0 24px; }
.eco-page > .container { max-width: var(--container); }
.eco-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  margin-bottom: 40px;
}
.eco-panel {
  background: var(--paper-soft);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.eco-panel h2 {
  font-size: 18px;
  margin: 0 0 12px;
}
.eco-panel p,
.eco-panel li {
  font-size: 14.5px;
  color: var(--ink-soft);
}
.eco-panel ul {
  margin: 0;
  padding-left: 1.1em;
  display: grid;
  gap: 8px;
}
.eco-leaders {
  max-width: 800px;
}
.eco-leaders h2 { font-size: 22px; margin: 0 0 12px; }
.eco-table-wrap { overflow-x: auto; margin: 16px 0 24px; }
.eco-table-wrap table { width: 100%; }
.eco-note { color: var(--ink-soft); font-size: 14.5px; }
.eco-legal {
  margin-top: 28px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.eco-prose { max-width: 720px; }
.eco-prose h2 { font-size: 22px; margin: 28px 0 10px; }
.eco-prose p { color: var(--ink-soft); margin: 0 0 14px; }
.eco-prose a { color: var(--blue); font-weight: 600; text-decoration: none; }
.eco-prose a:hover { text-decoration: underline; }

.crumbs { margin: 0 0 18px; }
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
.crumbs li { display: flex; align-items: center; }
.crumbs li:not(:last-child)::after {
  content: "/";
  margin: 0 8px;
  color: var(--line);
  font-weight: 500;
}
.crumbs a { text-decoration: none; color: var(--ink-soft); }
.crumbs a:hover { color: var(--blue); }

.faq-block { margin: 48px 0 8px; max-width: 720px; text-align: left; }
.faq-block h2 { font-size: 22px; margin: 0 0 16px; }
.faq-list details {
  border-top: var(--border);
  padding: 14px 0;
}
.faq-list details:last-child { border-bottom: var(--border); }
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details p {
  margin: 10px 0 4px;
  color: var(--ink-soft);
}
.faq-list a { color: var(--blue); font-weight: 600; }

@media (max-width: 900px) {
  .eco-grid,
  .eco-panels,
  .eco-stats { grid-template-columns: 1fr 1fr; }
  .eco-linkbar-grid.eco-cols-3 { grid-template-columns: 1fr; }
  .eco-linkbar-grid a { border-right: 0; border-bottom: var(--border); min-height: 56px; }
  .eco-linkbar-grid a:last-child { border-bottom: 0; }
}
@media (max-width: 640px) {
  .eco-grid,
  .eco-panels,
  .eco-stats { grid-template-columns: 1fr; }
  .eco-jump { top: 56px; }
  .eco-card { min-height: 0; }
}
