/* ==========================================================================
   Bhor Tech: Organization Engineering
   Shared stylesheet
   Palette B (founder's choice, 2026-10-05): navy primary + teal accent on cool
   neutrals. Navy = assurance (Governance, Controls & Evidence); teal = operations
   (OpEx, EKM, calls to action). The copper of the logo stays in the logo itself.
   ========================================================================== */

:root {
  /* Brand */
  --navy:        #13294b;
  --navy-deep:   #0b1c33;
  --navy-800:    #1a3358;
  --accent:      #0f766e;
  --accent-600:  #0b5f58;
  --accent-300:  #5fb8ac;
  --accent-glow: rgba(15, 118, 110, 0.12);

  /* Neutrals */
  --cream:       #f8fafb;
  --cream-2:     #eef3f6;
  --ink:         #1f2a37;
  --muted:       #5b6b7f;
  --line:        #dde5ec;
  --white:       #ffffff;

  /* Effects */
  --radius:      14px;
  --radius-lg:   22px;
  --shadow-sm:   0 1px 2px rgba(11, 28, 51, 0.06), 0 2px 8px rgba(11, 28, 51, 0.05);
  --shadow-md:   0 10px 30px rgba(11, 28, 51, 0.10);
  --shadow-lg:   0 24px 60px rgba(11, 28, 51, 0.16);
  --maxw:        1160px;

  --font-head: "Clash Display", "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p  { margin: 0 0 1rem; }
a  { color: var(--accent-600); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .74rem;
  font-weight: 600;
  color: var(--accent-600);
  margin: 0 0 .9rem;
}

.section      { padding: 88px 0; }
.section-tight{ padding: 60px 0; }
.section-alt  { background: var(--cream-2); }
.section-navy {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy) 70%);
  color: #e8eef6;
}
.section-navy h1,
.section-navy h2,
.section-navy h3 { color: #fff; }

.center     { text-align: center; }
.lead       { font-size: 1.18rem; color: var(--muted); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent-600), var(--accent));
  color: #fff;
  box-shadow: 0 8px 22px var(--accent-glow);
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(15,118,110,.28); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.section-navy .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-600); }
.section-navy .btn-ghost:hover { color: #fff; border-color: #fff; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.center .btn-row { justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 250, 251, 0.88);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: auto; border-radius: 8px; }
.brand .brand-name {
  font-family: var(--font-head); font-weight: 700;
  font-size: 1.15rem; color: var(--navy); letter-spacing: -0.01em;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: var(--ink); font-weight: 500; font-size: .95rem;
  padding: 8px 14px; border-radius: 8px;
}
.nav-links a:hover { background: var(--cream-2); text-decoration: none; }
.nav-links a.active { color: var(--accent-600); }
.nav-cta { margin-left: 8px; }
.nav-links a.nav-cta, .nav-links a.nav-cta:hover { color: #fff; background: linear-gradient(135deg, var(--accent-600), var(--accent)); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 78% -8%, var(--accent-glow), transparent 60%),
    linear-gradient(180deg, var(--cream), var(--cream));
  padding: 84px 0 72px;
  overflow: hidden;
}
.hero h1 { max-width: 15ch; }
.hero .tagline {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: var(--accent-600);
  margin: 0 0 1.4rem;
}
.hero .lead { margin-bottom: 2rem; }

/* ---------- Grid & cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent-300); }
.card h3 { margin-bottom: .35rem; }
.card p  { color: var(--muted); margin: 0; font-size: .96rem; }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--accent-glow), rgba(19,41,75,.08));
  font-size: 1.4rem;
}

/* Domain group card */
.domain { }
.domain h3 {
  display: flex; align-items: center; gap: 10px;
  color: var(--navy); font-size: 1.05rem;
  padding-bottom: 12px; margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.domain h3 .dot { width: 10px; height: 10px; border-radius: 3px; background: var(--accent); }
.domain ul { list-style: none; margin: 0; padding: 0; }
.domain li { padding: 5px 0; color: var(--muted); font-size: .95rem; }
.domain li::before { content: "›"; color: var(--accent); margin-right: 8px; font-weight: 700; }

/* ---------- Flow diagram (methodology) ---------- */
.flow-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.flow-col {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm);
}
.flow-col.highlight {
  border-color: var(--accent-300);
  background: linear-gradient(180deg, #fff, #f2f9f8);
  box-shadow: var(--shadow-md);
}
.flow-col .tag {
  display: inline-block; font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 6px;
}
.tag.grey { background: #eef1f5; color: var(--muted); }
.tag.gold { background: var(--accent-glow); color: var(--accent-600); }
.flow-steps { list-style: none; margin: 14px 0 0; padding: 0; counter-reset: step; }
.flow-steps li {
  position: relative; padding: 10px 0 10px 6px; font-weight: 500;
  color: var(--navy);
}
.flow-steps li + li { border-top: 1px dashed var(--line); }
.flow-steps li .n { color: var(--accent); font-weight: 700; margin-right: 8px; }
.flow-col.muted .flow-steps li { color: var(--muted); font-weight: 400; }
.flow-note { margin-top: 16px; font-size: .9rem; color: var(--muted); }
.flow-col.highlight .flow-note strong { color: var(--accent-600); }

/* ---------- Phase timeline (platform) ---------- */
.phases { display: grid; gap: 20px; }
.phase {
  display: grid; grid-template-columns: 86px 1fr; gap: 22px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.phase:hover { box-shadow: var(--shadow-md); border-color: var(--accent-300); }
.phase .num {
  font-family: var(--font-head); font-weight: 700;
  font-size: 1.05rem; color: var(--accent-600);
}
.phase .num span { display: block; font-size: 2.4rem; line-height: 1; color: var(--navy); }
.phase .num.word { display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 1.25rem; line-height: 1.2; color: var(--navy); }
.phase.wide-num { grid-template-columns: 130px 1fr; }
.phase h3 { margin-bottom: .5rem; }
.phase p { color: var(--muted); margin: 0 0 .8rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  font-size: .82rem; padding: 5px 12px; border-radius: 999px;
  background: var(--cream-2); color: var(--navy); border: 1px solid var(--line);
}
.qa { background: var(--cream-2); border-left: 3px solid var(--accent); padding: 10px 16px; border-radius: 8px; margin: 6px 0; font-style: italic; color: var(--navy); }

/* ---------- Stats ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stat { text-align: center; }
.stat .big { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: #fff; }
.stat .lbl { color: #b9c6d8; font-size: .9rem; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .lead { color: #cdd8e8; }

/* ---------- Contact form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--navy); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: .98rem;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--white); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow);
}
.field textarea { resize: vertical; min-height: 120px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.check {
  display: flex; align-items: center; gap: 8px; font-size: .92rem;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  cursor: pointer; background: var(--white);
}
.check input { accent-color: var(--accent); }
.form-note { font-size: .88rem; color: var(--muted); }
.form-banner {
  padding: 14px 18px; border-radius: 10px; margin-bottom: 20px;
  font-size: .95rem; font-weight: 500;
}
.form-banner.ok  { background: #eef7ee; border: 1px solid #cfe6cf; color: #245c2a; }
.form-banner.err { background: #fdecea; border: 1px solid #f5c6c0; color: #9b2c22; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep); color: #c3cede; padding: 56px 0 28px;
}
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-brand .chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; padding: 6px 14px 6px 8px; border-radius: 12px;
}
.footer-brand .chip img { height: 34px; border-radius: 6px; }
.footer-brand .chip span { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.footer-brand p { color: #93a3ba; margin-top: 16px; max-width: 34ch; font-size: .93rem; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.footer-col a { display: block; color: #b3c0d3; padding: 4px 0; font-size: .93rem; }
.footer-col a:hover { color: var(--accent-300); text-decoration: none; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: #7f90a8; font-size: .86rem;
}

/* ---------- Organization Engineering map ---------- */
.oe-map {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 28px; max-width: 880px; margin: 0 auto; text-align: left;
}
.oe-head {
  text-align: center; font-family: var(--font-head); font-weight: 700; color: var(--navy);
  font-size: 1.1rem; letter-spacing: .02em; margin-bottom: 22px;
}
.oe-cols { display: grid; grid-template-columns: 1fr 170px 1fr; gap: 44px; align-items: stretch; }
.oe-mid {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-deep)); color: #fff;
  border-radius: var(--radius); padding: 18px 14px; text-align: center;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px;
}
.oe-mid strong { font-family: var(--font-head); font-size: 1.25rem; line-height: 1.25; }
.oe-mid-note { font-size: .8rem; color: #cdd8e8; }
.oe-mid { position: relative; }
/* Connector arrows sit in the gaps: each starts at the OpEx or Governance column and its
   tip just touches the Controls & Evidence bar, both at the bar's vertical centre. */
.oe-mid::before, .oe-mid::after {
  content: ""; position: absolute; top: 50%; width: 44px; height: 20px;
  transform: translateY(-50%); background-repeat: no-repeat;
}
.oe-mid::before { left: -44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='20' viewBox='0 0 44 20'%3E%3Crect x='0' y='7' width='30' height='6' rx='3' fill='%230f766e'/%3E%3Cpath d='M27 0 L44 10 L27 20 Z' fill='%230f766e'/%3E%3C/svg%3E"); }
.oe-mid::after  { right: -44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='20' viewBox='0 0 44 20'%3E%3Crect x='14' y='7' width='30' height='6' rx='3' fill='%2313294b'/%3E%3Cpath d='M17 0 L0 10 L17 20 Z' fill='%2313294b'/%3E%3C/svg%3E"); }
.oe-in { font-size: .78rem; color: #cdd8e8; line-height: 1.35; }
.oe-col { border-radius: var(--radius); padding: 18px 18px 14px; display: flex; flex-direction: column; }
.oe-chain.up { margin-top: auto; }
.oe-col.opex { background: var(--accent-glow); }
.oe-col.gov  { background: #eaf0f7; }
.oe-col .dir { font-size: .82rem; color: var(--muted); margin: 2px 0 12px; }
.oe-col h3 { font-size: 1.05rem; margin: 0; }
.oe-chain { list-style: none; margin: 0; padding: 0; }
.oe-chain li {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 12px; font-weight: 600; color: var(--navy); font-size: .95rem; position: relative;
}
.oe-chain li small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.oe-chain li + li { margin-top: 26px; }
.oe-chain li + li::before {
  position: absolute; left: 50%; top: -24px; transform: translateX(-50%);
  font-size: 1rem; line-height: 22px; font-weight: 700;
}
.oe-chain.down li + li::before { content: "↓"; color: var(--accent-600); }
.oe-chain.up   li + li::before { content: "↑"; color: var(--navy); }
.oe-meet {
  background: linear-gradient(135deg, var(--navy), var(--navy-800)); color: #fff;
  border-radius: var(--radius); padding: 14px 18px; text-align: center;
}
.oe-meet strong { font-family: var(--font-head); font-size: 1.15rem; display: block; }
.oe-meet span { color: #cdd8e8; font-size: .9rem; }
.oe-ekm {
  margin-top: 14px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent-600), var(--accent));
  padding: 12px 18px; text-align: center; color: #fff; font-size: .93rem;
}
.oe-ekm strong { font-family: var(--font-head); display: block; font-size: 1.05rem; }
.oe-ekm .sub { display: block; margin-top: 2px; color: #d9f2ee; font-weight: 500; }
.oe-found {
  margin-top: 14px; background: var(--navy-deep); color: #c3cede;
  border-radius: var(--radius); padding: 14px 18px;
}
.oe-found strong { display: block; text-align: center; color: #fff; font-family: var(--font-head); margin-bottom: 10px; }
.oe-found ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.oe-found li {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; padding: 8px 10px; font-size: .82rem; line-height: 1.35;
}
.oe-found li b { display: block; margin-bottom: 2px; color: var(--accent-300); font-weight: 600; font-size: .88rem; }
.comp-tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 2px 8px; border-radius: 6px; margin-left: 8px; vertical-align: middle;
}
.comp-tag.opex { background: var(--accent-glow); color: var(--accent-600); }
.comp-tag.gov  { background: #eaf0f7; color: var(--navy); }
.comp-tag.ekm  { background: var(--accent); color: #fff; }
.comp-tag.meet { background: var(--navy); color: #fff; }
.patent-note { font-size: .88rem; color: var(--muted); margin-top: 22px; }
.section-navy .patent-note { color: #9fb0c8; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 140px 1fr; gap: 36px; padding: 36px; max-width: 920px; margin: 0 auto; align-items: start; }
.founder:hover { transform: none; }
.founder p:not(.eyebrow) { margin: 0 0 1rem; font-size: 1rem; }
.founder-photo {
  width: 140px; height: 140px; border-radius: 50%; object-fit: cover;
  background: linear-gradient(135deg, var(--navy), var(--navy-800)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 2.4rem;
}
.founder .founder-sig { color: var(--navy); margin: 0; }

/* ---------- EKM benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.benefit { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.benefit h4 { font-family: var(--font-head); color: var(--navy); font-size: 1rem; margin: 0 0 6px; }
.benefit p { color: var(--muted); font-size: .92rem; margin: 0; }
.benefit.opt { border-style: dashed; }
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .benefits { grid-template-columns: 1fr; } .phase.wide-num { grid-template-columns: 1fr; } }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.mb-lg { margin-bottom: 48px; }
.mt-lg { margin-top: 40px; }
.trademark { font-size: .7em; vertical-align: super; color: var(--accent-600); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .flow-compare { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .oe-found ul { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .phase { grid-template-columns: 1fr; gap: 10px; }
  .phase .num span { font-size: 1.8rem; }
  .footer-top { grid-template-columns: 1fr; }
  .oe-map { padding: 18px; }
  .founder { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
  .founder-photo { width: 96px; height: 96px; font-size: 1.7rem; }
  .oe-cols { grid-template-columns: 1fr; gap: 12px; }
  .oe-mid { padding: 14px; gap: 8px; }
  .oe-mid strong br { display: none; }
  /* Stacked: the arrows turn vertical, OpEx above pointing down, Governance below pointing up. */
  .oe-cols { gap: 28px; }
  .oe-mid::before, .oe-mid::after { left: 50%; right: auto; width: 20px; height: 28px; transform: translateX(-50%); }
  .oe-mid::before { top: -28px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='28' viewBox='0 0 20 28'%3E%3Crect x='7' y='0' width='6' height='16' rx='3' fill='%230f766e'/%3E%3Cpath d='M0 13 L10 28 L20 13 Z' fill='%230f766e'/%3E%3C/svg%3E"); }
  .oe-mid::after  { top: auto; bottom: -28px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='28' viewBox='0 0 20 28'%3E%3Crect x='7' y='12' width='6' height='16' rx='3' fill='%2313294b'/%3E%3Cpath d='M0 15 L10 0 L20 15 Z' fill='%2313294b'/%3E%3C/svg%3E"); }
  .oe-found ul { grid-template-columns: 1fr 1fr; }
  .oe-col { padding: 14px 10px 10px; }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 8px; }
  .nav-toggle { display: block; font-size: 1.5rem; color: var(--navy); }
}

/* ---------- Home hero with compact map ---------- */
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-grid h1 { max-width: 16ch; }
.hero-map {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 22px;
}
.hm-label { font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 8px; }
.hm-label.top { color: var(--accent-600); }
.hm-label.bottom { color: var(--navy); }
.hm-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.hm-chip {
  background: var(--cream-2); border: 1px solid var(--line); border-radius: 8px;
  padding: 6px 10px; font-size: .88rem; font-weight: 600; color: var(--navy);
}
.hm-row.top .hm-chip { background: var(--accent-glow); border-color: transparent; }
.hm-row.bottom .hm-chip { background: #eaf0f7; border-color: transparent; }
.hm-arrow { color: var(--muted); font-weight: 700; }
.hm-meet {
  margin: 16px 0; text-align: center; color: #fff; border-radius: var(--radius); padding: 12px 14px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-deep));
  font-family: var(--font-head); font-weight: 700;
}
.hm-meet small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .8rem; color: #cdd8e8; margin-top: 2px; }
.hm-ekm {
  margin-top: 16px; text-align: center; border-radius: var(--radius); color: #fff; padding: 10px 14px; font-size: .88rem;
  background: linear-gradient(135deg, var(--accent-600), var(--accent));
}
.hm-ekm strong { font-family: var(--font-head); }

/* ---------- Starting-point picker ---------- */
.start-picker {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 32px; max-width: 920px; margin: 0 auto;
}
.start-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 22px 0 26px; }
.start-tab {
  font: inherit; font-weight: 600; cursor: pointer; border: 1px solid var(--line);
  background: var(--cream); color: var(--navy); border-radius: 999px; padding: 10px 18px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.start-tab:hover { border-color: var(--accent-300); }
.start-tab[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.start-tab:focus-visible { outline: 3px solid var(--accent-300); outline-offset: 2px; }
.start-panel { text-align: left; max-width: 720px; margin: 0 auto; }
.start-panel .start-quote { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--navy); margin: 0 0 .5rem; }
.start-panel h3 { margin-bottom: .4rem; }
.start-panel p { color: var(--muted); }
.start-panel .btn-row { margin-top: 1.2rem; }

/* ---------- Claims ("what we don't claim") ---------- */
.claims { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.claim { display: flex; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: left; }
.claim .x {
  flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--cream-2); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .8rem;
}
.claim strong { display: block; color: var(--navy); font-family: var(--font-head); margin-bottom: 2px; }
.claim p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- Trust page: lifecycle, groups, peek, quote ---------- */
.tg-title { font-family: var(--font-head); color: var(--navy); font-size: 1.15rem; margin: 40px 0 14px; }
.tg-title:first-of-type { margin-top: 0; }
.lifecycle { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lc-step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: relative; }
.lc-step:not(:first-child)::before {
  content: "\203A"; position: absolute; left: -14px; top: 50%; transform: translateY(-50%);
  color: var(--accent-600); font-weight: 700; font-size: 1.5rem; line-height: 1;
}
.lc-tag { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-600); }
.lc-step h3 { font-size: 1.05rem; margin: 6px 0; }
.lc-step p { margin: 0; color: var(--muted); font-size: .93rem; }
.lc-bar {
  margin-top: 16px; color: #fff; border-radius: var(--radius); padding: 14px 18px; text-align: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-800));
}
.lc-bar strong { display: block; font-family: var(--font-head); }
.lc-bar span { color: #cdd8e8; font-size: .92rem; }

.peek {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 22px 22px 8px; max-width: 760px; overflow: hidden;
}
.peek-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.peek-org { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.peek-badge { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--cream-2); color: var(--muted); }
.peek-row { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 10px 0; border-top: 1px dashed var(--line); }
.peek-row .k { font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-600); }
.peek-row .v { color: var(--ink); font-size: .95rem; }
.peek-row.locked .v { filter: blur(5px); user-select: none; }
.peek-fade {
  position: relative; margin-top: -70px; height: 120px; display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 16px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff 62%);
}

.pull { border-left: 4px solid var(--accent); padding: 4px 0 4px 22px; max-width: 760px; }
.pull p { font-family: var(--font-head); font-size: 1.2rem; color: var(--navy); margin: 0; }
.pull cite { display: block; margin-top: 12px; font-style: normal; color: var(--muted); font-size: .94rem; }

.oe-found a { color: var(--accent-300); font-weight: 600; }
.oe-found .oe-found-link { margin: 12px 0 0; text-align: center; font-size: .9rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .lifecycle { grid-template-columns: 1fr 1fr; }
  .lc-step:not(:first-child)::before { display: none; }
}
@media (max-width: 640px) {
  .claims, .lifecycle { grid-template-columns: 1fr; }
  .peek-row { grid-template-columns: 1fr; gap: 2px; }
  .start-picker { padding: 22px; }
}

/* ---------- Cookie notice ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000;
  max-width: 760px; margin: 0 auto; padding: 16px 20px;
  background: var(--navy-deep); color: #e6edf6; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px;
}
.cookie-banner p { margin: 0; flex: 1 1 280px; font-size: .92rem; line-height: 1.5; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-banner .btn { padding: 9px 18px; font-size: .92rem; }
.cookie-banner .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); background: transparent; }
.cookie-banner .btn:focus-visible { outline: 3px solid var(--accent-300); outline-offset: 2px; }
.cookie-settings {
  background: none; border: 0; padding: 0; font: inherit; color: inherit;
  text-decoration: underline; cursor: pointer;
}
.cookie-settings:focus-visible { outline: 3px solid var(--accent-300); outline-offset: 2px; }

/* ---------- Live effects ---------- */
.hero > .wrap { position: relative; z-index: 1; }
.hero-dots { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(circle 300px at var(--mx, 50%) var(--my, 40%), rgba(15,118,110,.14), transparent 70%);
}
.reveal {
  opacity: 0; translate: 0 26px;
  transition: opacity .7s ease, translate .7s cubic-bezier(.2,.7,.2,1), transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.reveal.is-in { opacity: 1; translate: 0 0; }
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1100; pointer-events: none;
  background: linear-gradient(90deg, var(--accent-600), var(--accent-300));
  transform-origin: 0 50%; transform: scaleX(0);
}
.site-header { transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(11,28,51,.08); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; translate: none; transition: none; }
  .hero-dots, .hero-glow { display: none; }
}

/* ---------- Role tabs and answer card (Trust page) ---------- */
.role-tabs, .ask-qs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.role-panel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 20px 24px; max-width: 760px;
}
.role-panel h4 { font-family: var(--font-head); color: var(--navy); font-size: 1.15rem; margin: 0 0 6px; }
.role-panel p { margin: 0; color: var(--muted); }
.ask-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 22px; max-width: 760px;
}
.ask-body { background: var(--cream-2); border-radius: var(--radius); padding: 18px 20px; min-height: 150px; }
.ask-scope { font-size: .82rem; color: var(--muted); margin: 0 0 10px; }
.ask-answer { font-size: 1.02rem; color: var(--ink); margin: 0 0 12px; min-height: 3.2em; }
.ask-source {
  display: inline-block; font-size: .8rem; font-weight: 600; color: var(--accent-600);
  background: var(--accent-glow); border-radius: 6px; padding: 4px 10px;
}

/* ======================= Navigation with menus ======================= */
.has-menu { position: relative; }
.menu-btn {
  font: inherit; font-weight: 500; font-size: .95rem; color: var(--ink); background: none; border: 0;
  padding: 8px 14px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
}
.menu-btn::after {
  content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .2s ease;
}
.menu-btn:hover, .has-menu.open .menu-btn { background: var(--cream-2); }
.has-menu.open .menu-btn::after { transform: rotate(225deg) translateY(-1px); }
.menu-btn.active { color: var(--accent-600); }
.menu-btn:focus-visible, .menu a:focus-visible { outline: 3px solid var(--accent-300); outline-offset: 2px; }
.menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px; padding: 8px; display: none; z-index: 60;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.has-menu.open .menu { display: block; animation: menuIn .18s ease; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-weight: 500; }
.menu a:hover { background: var(--cream-2); text-decoration: none; }
.menu a small { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; margin-top: 1px; }
@media (hover: hover) and (min-width: 1001px) { .has-menu:hover .menu { display: block; } }

@media (max-width: 1000px) {
  .nav-toggle { display: block; font-size: 1.5rem; color: var(--navy); }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a, .menu-btn { padding: 12px 10px; }
  .menu-btn { width: 100%; justify-content: space-between; cursor: default; }
  .menu-btn::after { display: none; }
  .menu { position: static; display: block; min-width: 0; padding: 0 0 6px 14px; border: 0; box-shadow: none; background: transparent; }
  .menu a small { display: none; }
  .nav-cta { margin: 10px 0 0; text-align: center; }
}

/* ======================= Footer: four columns ======================= */
@media (min-width: 901px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ======================= Home: ticker, hero pulse, explore ======================= */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--white); padding: 16px 0; }
.ticker-track { display: flex; width: max-content; gap: 44px; animation: tick 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: 0;
  color: rgba(19,41,75,.55); white-space: nowrap; font-weight: 600;
}
.ticker span::after { content: "\2726"; margin-left: 44px; font-size: .55em; color: var(--accent); vertical-align: middle; }
@keyframes tick { to { transform: translateX(-50%); } }

.hm-chip { transition: background .35s ease, color .35s ease, transform .35s ease, box-shadow .35s ease; }
.hm-chip.hm-active { background: var(--accent); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(15,118,110,.28); }
.hm-meet, .hm-ekm { transition: box-shadow .35s ease; }
.hm-meet.hm-active { box-shadow: 0 0 0 5px rgba(15,118,110,.28); }
.hm-ekm.hm-active { box-shadow: 0 0 0 5px rgba(95,184,172,.4); }

.card .ico svg, .ico-svg svg { width: 24px; height: 24px; stroke: var(--accent-600); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.explore-card { display: flex; flex-direction: column; gap: 6px; color: inherit; }
.explore-card:hover { text-decoration: none; }
.explore-card .go { margin-top: auto; padding-top: 14px; font-weight: 600; color: var(--accent-600); }
.explore-card .go::after { content: " \2192"; transition: margin .2s ease; }
.explore-card:hover .go::after { margin-left: 6px; }

/* ======================= CTA band glow ======================= */
.cta-band { position: relative; overflow: hidden; }
.cta-band > .wrap { position: relative; z-index: 1; }
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%; filter: blur(70px); opacity: .32;
  pointer-events: none; animation: orb 16s ease-in-out infinite alternate;
}
.cta-band::before { background: var(--accent); left: -140px; top: -170px; }
.cta-band::after { background: #3b6fb6; right: -140px; bottom: -200px; animation-delay: -8s; }
@keyframes orb { to { transform: translate(70px, 40px) scale(1.15); } }

/* ======================= Learn / FAQ / Solutions ======================= */
.faq { max-width: 820px; display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.faq-item[open] { border-color: var(--accent-300); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-family: var(--font-head); font-weight: 600;
  color: var(--navy); position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--accent-glow); color: var(--accent-600);
  display: grid; place-items: center; font-size: 1.2rem; line-height: 1;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:focus-visible { outline: 3px solid var(--accent-300); outline-offset: 2px; border-radius: var(--radius); }
.faq-a { padding: 0 22px 18px; color: var(--muted); }
.faq-a p { margin: 0 0 .6rem; }

.compare-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { text-align: left; padding: 16px 20px; vertical-align: top; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; background: var(--cream-2); font-family: var(--font-head); color: var(--navy); }
.compare thead th.us { background: var(--navy); color: #fff; }
.compare tbody th { color: var(--navy); font-weight: 600; width: 22%; }
.compare td.us { background: var(--accent-glow); color: var(--ink); font-weight: 500; }
.compare td { color: var(--muted); }

.gloss { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0; }
.gloss > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.gloss dt { font-family: var(--font-head); font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.gloss dd { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .gloss { grid-template-columns: 1fr; } }

.tag-line { display: inline-block; margin-bottom: 10px; }
.sol-link { display: inline-block; margin-top: 12px; font-weight: 600; }
