/* ===========================================================
   EdgeX11 — production stylesheet
   Theme: Deep Ocean Blue — calm, professional, enterprise
     --bg      #071a28  Deep Ocean
     --accent  #6fa8c7  Muted Ocean Steel
     --accent-2#88bcd6  Soft Steel (used sparingly)
     --text    #e9f0f6  Soft White
     --muted   #8299ad  Slate
   =========================================================== */

:root {
  --bg: #071a28;
  --bg-1: #09202f;
  --bg-2: #0c2537;
  --bg-3: #102c41;
  --bg-elev: #0e293d;

  --accent: #6fa8c7;      /* muted ocean steel */
  --accent-2: #88bcd6;    /* soft steel highlight */
  --accent-deep: #3a6a88; /* deep azure */
  --accent-soft: rgba(111, 168, 199, 0.12);

  --text: #e9f0f6;
  --text-dim: #bccbd8;
  --muted: #8299ad;
  --line: rgba(130, 153, 173, 0.15);
  --line-strong: rgba(111, 168, 199, 0.24);

  --maxw: 1160px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 70px rgba(2, 10, 20, 0.5);
  --shadow-sm: 0 12px 34px rgba(2, 10, 20, 0.36);
  --glow: 0 10px 34px rgba(58, 106, 136, 0.3);

  --grad-accent: linear-gradient(135deg, #6fa8c7, #3a6a88);
  --grad-text: linear-gradient(120deg, #e9f0f6 0%, #b7d0de 70%);

  --font-head: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 0.4em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
em { font-style: normal; color: var(--accent-2); }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 26px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: #041018; padding: 10px 16px; z-index: 200;
  border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 28px; border-radius: 12px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  letter-spacing: 0.1px; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.24s ease, background 0.24s ease, border-color 0.24s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-primary {
  background: var(--grad-accent);
  color: #04202b; box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(58, 106, 136, 0.45); }
.btn-ghost {
  background: rgba(111, 168, 199, 0.05); color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgba(111, 168, 199, 0.12); transform: translateY(-2px); border-color: var(--accent); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { display: grid; place-items: center; }
.wordmark {
  font-family: var(--font-head); font-weight: 700; font-size: 22px;
  letter-spacing: -0.01em; color: var(--text);
}
.wordmark-accent { color: var(--accent-2); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 24, 38, 0.72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; color: var(--muted); font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.btn-primary { color: #04202b; }  /* dark ink on the light gradient */
.nav-links a.btn-ghost { color: var(--text); } /* light ink on the dark ghost */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.25s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(80px, 13vw, 168px) 0 clamp(64px, 9vw, 118px); }
#graph-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(1100px 560px at 75% 6%, rgba(111, 168, 199, 0.12), transparent 62%),
    radial-gradient(820px 520px at 6% 92%, rgba(46, 127, 191, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(6, 24, 38, 0.15), var(--bg) 94%);
}
.hero-inner { position: relative; z-index: 2; max-width: 860px; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 2.4px; font-size: 12.5px; font-weight: 600;
  color: var(--accent-2); margin-bottom: 20px; padding: 7px 14px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(111, 168, 199, 0.05);
}
.hero h1 { font-size: clamp(40px, 6.6vw, 74px); font-weight: 800; letter-spacing: -0.03em; }
.hero h1 .accent {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: clamp(17px, 2.1vw, 21px); color: var(--text-dim); max-width: 680px; margin-top: 6px; }
.lede-sub { font-size: clamp(15.5px, 1.8vw, 17.5px); color: var(--muted); max-width: 680px; }
.hero-punch {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(17px, 2.3vw, 22px);
  color: var(--text); margin: 4px 0 0; letter-spacing: -0.01em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 46px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 42px; margin: 0; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-stats div { margin: 0; }
.hero-stats dt { font-family: var(--font-head); font-size: clamp(20px, 2.6vw, 26px); font-weight: 700; color: var(--text); }
.hero-stats dd { margin: 5px 0 0; font-size: 12.5px; text-transform: uppercase; letter-spacing: 1.4px; color: var(--muted); }

/* ---------- Integrations strip ---------- */
.strip { padding: 30px 0; border-block: 1px solid var(--line); background: var(--bg-1); }
.strip-label { text-align: center; font-size: 12.5px; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); margin: 0 0 16px; }
.strip-logos {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 14px 40px;
}
.strip-logos li {
  font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--text-dim);
  opacity: 0.72; transition: opacity 0.2s, color 0.2s;
}
.strip-logos li:hover { opacity: 1; color: var(--accent-2); }

/* ---------- Sections ---------- */
.section { padding: clamp(66px, 9vw, 118px) 0; }
.section-alt { background: linear-gradient(180deg, var(--bg), var(--bg-1)); border-block: 1px solid var(--line); }
.section-kicker {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 2.2px;
  font-size: 12.5px; font-weight: 600; color: var(--accent); margin-bottom: 14px;
}
.section-kicker-center { text-align: center; }
.section h2 { font-size: clamp(29px, 4.2vw, 46px); font-weight: 700; max-width: 18ch; }
.section-lead { color: var(--text-dim); max-width: 720px; font-size: clamp(16px, 1.9vw, 19px); }
.section-lead strong { color: var(--accent-2); font-weight: 600; }

/* Reveal on scroll */
[data-animate] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-animate].in { opacity: 1; transform: none; }

.mini-head { font-size: 15px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); font-family: var(--font-head); font-weight: 600; }

/* ---------- Problem ---------- */
.problem-inner { max-width: 760px; }
.check-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; color: var(--text-dim); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}
.pull-quote {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(21px, 2.9vw, 30px);
  color: var(--text); margin: 30px 0 0; letter-spacing: -0.02em; line-height: 1.3;
  padding-left: 22px; border-left: 3px solid var(--accent); max-width: 22ch;
}

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.feature-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.feature-card:hover { transform: translateY(-5px); border-color: var(--line-strong); background: var(--bg-3); }
.feature-icon {
  width: 52px; height: 52px; display: grid; place-items: center; font-size: 24px;
  border-radius: 14px; color: var(--accent-2);
  background: rgba(111, 168, 199, 0.09); border: 1px solid var(--line-strong);
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 20px; }
.feature-card p { color: var(--text-dim); margin: 0; font-size: 15.5px; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 50px 0 0; padding: 0; display: grid; gap: 18px; counter-reset: step; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 34px; transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  position: relative; overflow: hidden;
}
.step::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--grad-accent); opacity: 0.7;
}
.step:hover { transform: translateY(-5px); border-color: var(--line-strong); background: var(--bg-3); }
.step-num {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px;
  font-family: var(--font-head); font-weight: 700; font-size: 20px;
  color: var(--accent-2); background: rgba(111, 168, 199, 0.09); border: 1px solid var(--line-strong);
}
.step-body h3 { font-size: 21px; margin-bottom: 8px; }
.step-body p { color: var(--text-dim); margin: 0 0 10px; font-size: 15.5px; }
.step-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.step-tags span {
  font-size: 12.5px; font-weight: 500; padding: 5px 12px; border-radius: 999px;
  background: rgba(111, 168, 199, 0.07); border: 1px solid var(--line); color: var(--muted);
}

/* ---------- Attributes grid ---------- */
.attr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 46px; }
.attr {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 22px 20px; text-align: center; transition: transform 0.2s, border-color 0.2s, color 0.2s;
}
.attr span { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--text-dim); }
.attr:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.attr:hover span { color: var(--accent-2); }

/* ---------- Knowledge graph ---------- */
.graph-panel {
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 30px; margin-top: 50px; align-items: center;
  background: linear-gradient(160deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px; overflow: hidden;
}
.graph-viz-wrap {
  background: radial-gradient(600px 460px at 50% 42%, rgba(111, 168, 199, 0.1), transparent 66%);
  border-radius: var(--radius-sm);
}
#ontology-graph { width: 100%; height: auto; }
.graph-legend h3 { margin-bottom: 16px; }
.legend-copy { color: var(--text-dim); font-size: 15.5px; margin: 0 0 16px; }
.legend-strong {
  color: var(--accent-2); font-family: var(--font-head); font-weight: 600; font-size: 17px;
  margin: 0; letter-spacing: -0.01em;
}

/* ---------- Governance ---------- */
.gov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 48px; }
.gov-col {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 34px;
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.gov-col:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.gov-ai { border-color: var(--line-strong); }
.gov-human { background: linear-gradient(160deg, var(--bg-3), var(--bg-2)); }
.gov-col h3 { margin-bottom: 8px; }
.gov-badge {
  display: inline-block; font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0.4px;
  text-transform: uppercase; padding: 6px 14px; border-radius: 999px;
}
.gov-badge-ai { background: var(--grad-accent); color: #04202b; }
.gov-badge-human { background: rgba(141, 166, 188, 0.14); color: var(--text); border: 1px solid var(--line); }
.check-list-human li::before { background: var(--text); box-shadow: none; }

/* ---------- Why grid ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.why-item {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 26px 24px; min-height: 120px; display: flex; align-items: flex-end;
  transition: transform 0.2s, border-color 0.2s, background 0.2s; position: relative;
}
.why-item::after {
  content: ""; position: absolute; top: 22px; left: 24px; width: 26px; height: 3px; border-radius: 3px;
  background: var(--grad-accent);
}
.why-item h3 { font-size: 17px; margin: 0; color: var(--text); }
.why-item:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--bg-3); }

/* ---------- Vision banner ---------- */
.banner {
  padding: clamp(70px, 10vw, 120px) 0; text-align: center;
  background:
    radial-gradient(760px 340px at 50% 0%, rgba(111, 168, 199, 0.13), transparent 62%),
    linear-gradient(180deg, var(--bg-1), var(--bg));
  border-block: 1px solid var(--line);
}
.banner-inner { max-width: 820px; margin-inline: auto; }
.banner-line {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(26px, 4.4vw, 42px);
  letter-spacing: -0.02em; margin: 0 0 24px;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.banner-body { color: var(--text-dim); font-size: clamp(16px, 1.9vw, 18.5px); margin: 0 auto 16px; max-width: 680px; }

/* ---------- CTA ---------- */
.cta-section { background: linear-gradient(180deg, var(--bg), var(--bg-1)); }
.cta-inner { max-width: 760px; margin-inline: auto; text-align: center; }
.cta-inner h2 { margin-inline: auto; }
.cta-inner .section-lead { margin-inline: auto; }
.cta-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 38px; text-align: left;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 15px; color: var(--text); font-family: var(--font-body); font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(141, 166, 188, 0.6); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(111, 168, 199, 0.16);
}
.cta-form .btn { grid-column: 1 / -1; }
.form-status { grid-column: 1 / -1; margin: 4px 0 0; font-size: 14px; min-height: 20px; text-align: center; }
.form-status.ok { color: var(--accent-2); }
.form-status.err { color: #ff8199; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; margin: 0; }
.cta-contact { margin-top: 18px; font-size: 15px; color: var(--muted); }
.cta-contact a { color: var(--accent-2); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.cta-contact a:hover { border-color: var(--accent-2); }
.cta-foot { margin-top: 22px; font-family: var(--font-head); font-weight: 600; color: var(--muted); letter-spacing: 0.3px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 52px 0; background: var(--bg-1); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; }
.footer-brand p { margin: 12px 0 0; font-size: 14px; max-width: 340px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-legal { grid-column: 1 / -1; font-size: 13px; margin: 0; padding-top: 22px; border-top: 1px solid var(--line); }

/* ---------- Security & Compliance ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.sec-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.sec-card:hover { transform: translateY(-5px); border-color: var(--line-strong); background: var(--bg-3); }
.sec-card h3 { font-size: 18px; margin-bottom: 8px; }
.sec-card h3::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px;
  border-radius: 2px; vertical-align: middle; background: var(--grad-accent);
}
.sec-card p { color: var(--text-dim); margin: 0; font-size: 15px; }

.compliance {
  margin-top: 40px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
}
.compliance-label {
  font-family: var(--font-head); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 18px;
}
.compliance-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 18px; padding: 0; }
.compliance-badges .badge {
  display: inline-flex; flex-direction: column; gap: 3px;
  padding: 12px 18px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--accent-soft);
}
.badge-name { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--text); }
.badge-status { font-size: 12.5px; color: var(--accent-2); letter-spacing: 0.02em; }
.compliance-note { margin: 0; font-size: 14px; }
.compliance-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Pricing ---------- */
.pricing-title { text-align: center; margin-inline: auto; }
.pricing-lead { text-align: center; margin-inline: auto; }
.price-card {
  max-width: 540px; margin: 46px auto 0; text-align: center; padding: 50px 40px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background:
    radial-gradient(620px 300px at 50% 0%, rgba(111, 168, 199, 0.14), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg-1));
  box-shadow: var(--shadow-sm);
}
.price-eyebrow { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--text-dim); margin: 0 0 12px; }
.price-amount { display: flex; align-items: baseline; justify-content: center; margin: 0 0 16px; font-family: var(--font-head); }
.price-currency { font-size: clamp(32px, 5vw, 44px); font-weight: 700; color: var(--accent-2); align-self: flex-start; margin-top: 10px; }
.price-number {
  font-size: clamp(76px, 13vw, 116px); font-weight: 800; line-height: 0.9; letter-spacing: -0.04em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-unit { font-size: clamp(22px, 3vw, 30px); font-weight: 600; color: var(--muted); margin-left: 6px; }
.price-note { color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 400px; margin: 0 auto 28px; }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.price-alt { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.price-alt a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Live workflow animation ---------- */
.flow-wrap {
  margin-top: 46px; overflow-x: auto; overflow-y: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background:
    radial-gradient(720px 380px at 60% 20%, rgba(111,168,199,0.08), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg-1));
  padding: 12px;
}
#flow-scene { display: block; width: 100%; min-width: 940px; aspect-ratio: 1180 / 600; height: auto; }

.flow-link { fill: none; stroke: var(--line-strong); stroke-width: 1.4; opacity: 0.42; }

.flow-card { fill: var(--bg-2); stroke: var(--line); stroke-width: 1.5; }
.flow-node--role .flow-card { fill: var(--bg-3); stroke: var(--line-strong); }
.flow-node--source .flow-card { stroke: var(--accent); }
.flow-node--tool .flow-card { stroke: rgba(63,230,255,0.32); }
.flow-node--gate .flow-card { stroke: rgba(224,185,111,0.5); }
.flow-node--ship .flow-card { stroke: rgba(86,214,160,0.5); }
.flow-node--brain .flow-card { fill: rgba(16,44,65,0.9); stroke: var(--accent); stroke-width: 1.8; }

.flow-label { fill: var(--text); font-family: var(--font-head); font-weight: 600; font-size: 15.5px; }
.flow-label--mid { dominant-baseline: middle; }
.flow-node--brain .flow-label { font-size: 20px; }
.flow-sub { fill: var(--muted); font-family: var(--font-body); font-weight: 500; font-size: 11.5px; }
.flow-node--brain .flow-sub { fill: var(--accent-2); font-size: 13px; }

.flow-icon { fill: none; stroke: var(--accent-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.flow-node--tool .flow-icon { stroke: #3fe6ff; }
.flow-node--gate .flow-icon { stroke: #e0b96f; }
.flow-node--ship .flow-icon { stroke: #56d6a0; }
.flow-node--brain .flow-icon { stroke: #3fe6ff; }

.flow-halo { fill: none; stroke: var(--accent-2); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.flow-node--gate .flow-halo { stroke: #e0b96f; }
.flow-node--ship .flow-halo { stroke: #56d6a0; }
.flow-node.active .flow-halo { animation: flowPing 0.9s ease-out; }
.flow-node.active .flow-card { stroke: var(--accent-2); }
.flow-node--gate.active .flow-card { stroke: #e0b96f; }
.flow-node--ship.active .flow-card { stroke: #56d6a0; }
@keyframes flowPing { 0% { opacity: 0.85; transform: scale(1); } 100% { opacity: 0; transform: scale(1.14); } }

.flow-brain-glow { transform-box: fill-box; transform-origin: center; animation: flowBreath 3.4s ease-in-out infinite; }
@keyframes flowBreath { 0%, 100% { opacity: 0.5; } 50% { opacity: 0.95; } }

.flow-pulse-core { fill: #eafdff; }
.flow-pulse--mem { opacity: 0.85; }

.flow-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin: 24px 0 0; padding: 0; list-style: none; }
.flow-legend li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.flow-legend .dot { width: 11px; height: 11px; border-radius: 3px; }
.dot-source { background: var(--accent); }
.dot-role { background: var(--accent-2); }
.dot-brain { background: #3fe6ff; box-shadow: 0 0 8px rgba(63,230,255,0.7); }
.dot-tool { background: #2aa7cf; }
.dot-gate { background: #e0b96f; }
.dot-ship { background: #56d6a0; }

@media (prefers-reduced-motion: reduce) {
  .flow-brain-glow { animation: none; opacity: 0.7; }
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: 44px; display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-2); transition: border-color 0.2s ease, background 0.2s ease;
}
.faq-item[open] { border-color: var(--line-strong); background: var(--bg-3); }
.faq-q {
  cursor: pointer; list-style: none; padding: 20px 24px;
  font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-q:hover { color: var(--accent-2); }
.faq-q:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "+"; flex-shrink: 0; font-family: var(--font-body); font-size: 24px; line-height: 1;
  color: var(--accent); transition: transform 0.22s ease;
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 24px 22px; }
.faq-a p { margin: 0; color: var(--text-dim); font-size: 15.5px; line-height: 1.72; }

/* ---------- Cookie consent ---------- */
.cookie-consent {
  position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 160%);
  z-index: 300; width: min(760px, calc(100% - 32px));
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 16px 22px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: rgba(12, 37, 55, 0.97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: var(--shadow); opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.cookie-consent.show { transform: translate(-50%, 0); opacity: 1; }
.cookie-text { margin: 0; flex: 1 1 320px; font-size: 14px; line-height: 1.55; color: var(--text-dim); }
.cookie-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .attr-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .cookie-consent { left: 0; bottom: 0; width: 100%; border-radius: 0; transform: translateY(120%); }
  .cookie-consent.show { transform: translateY(0); }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}
@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(6, 24, 38, 0.98); border-bottom: 1px solid var(--line);
    padding: 8px 26px 24px; transform: translateY(-130%); transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { width: 100%; padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav-links a.btn { margin-top: 14px; justify-content: center; }
  .nav-toggle { display: flex; }
  .split { grid-template-columns: 1fr; }
  .graph-panel { grid-template-columns: 1fr; }
  .gov-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .feature-grid { grid-template-columns: 1fr; }
  .sec-grid { grid-template-columns: 1fr; }
  .attr-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .cta-form { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 16px; padding: 26px; }
}

/* ---------- Legal pages (privacy, terms) ---------- */
.nav-legal { display: flex; align-items: center; gap: 22px; }
.nav-legal a { font-size: 15px; color: var(--muted); font-weight: 500; transition: color 0.2s; }
.nav-legal a:hover { color: var(--text); }
.nav-legal a.btn { color: #04202b; }

.legal { padding: clamp(44px, 7vw, 88px) 0 clamp(60px, 8vw, 96px); }
.legal-inner { max-width: 820px; }
.legal h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 10px; }
.legal-updated { font-size: 14px; margin: 0 0 34px; }
.legal h2 { font-size: 22px; margin: 42px 0 10px; color: var(--text); }
.legal h3 { font-size: 16.5px; margin: 22px 0 6px; color: var(--text); }
.legal p, .legal li { color: var(--text-dim); font-size: 16px; line-height: 1.72; }
.legal ul { padding-left: 20px; margin: 0 0 1em; }
.legal li { margin-bottom: 7px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--accent-2); }
.legal strong { color: var(--text); font-weight: 600; }
.legal code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; color: var(--accent-2); }
.legal-back { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   BLOG — hub + article
   Reuses the site tokens (ocean palette, Sora/Inter) so the blog
   reads as the same product, not a bolted-on CMS.
   ============================================================ */

/* --- nav active state --- */
.nav-links a.is-active { color: var(--text); }
.nav-links a.is-active::after { width: 100%; }

/* --- hub hero --- */
.blog-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(20px, 3vw, 34px); text-align: center; }
.blog-hero h1 { font-size: clamp(34px, 5.4vw, 54px); line-height: 1.08; margin: 12px auto 14px; max-width: 16ch; }
.blog-hero p { color: var(--text-dim); font-size: clamp(16px, 1.6vw, 18.5px); line-height: 1.68; max-width: 62ch; margin: 0 auto; }

/* --- post grid --- */
.blog-grid {
  display: grid; gap: 26px; padding: clamp(26px, 4vw, 46px) 0 clamp(60px, 8vw, 96px);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.post-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.post-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow); }
/* The filter sets the `hidden` attribute, but `.post-card { display:flex }` above beats the UA
   stylesheet's `[hidden] { display:none }` (class selector > UA attribute rule) — so without this
   the cards stayed visible and filtering appeared to do nothing. Specificity: class+attribute. */
.post-card[hidden] { display: none; }
.post-card-media { display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--line); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-tag {
  align-self: flex-start; font-family: var(--font-head); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2);
  background: var(--accent-soft); border: 1px solid var(--line-strong);
  padding: 5px 10px; border-radius: 999px; margin-bottom: 14px;
}
.post-card h2 { font-size: 21px; line-height: 1.3; margin: 0 0 10px; }
.post-card h2 a { color: var(--text); text-decoration: none; }
.post-card:hover h2 a { color: #fff; }
.post-card p { color: var(--text-dim); font-size: 15px; line-height: 1.66; margin: 0 0 18px; }
.post-meta { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.post-more { font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--accent-2); text-decoration: none; }
.post-more:hover { color: var(--text); }

/* --- article --- */
.article { padding: clamp(30px, 4vw, 52px) 0 clamp(60px, 8vw, 96px); }
.article-inner { max-width: 760px; }
.breadcrumb { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.article h1 { font-size: clamp(31px, 4.6vw, 46px); line-height: 1.12; margin: 10px 0 16px; }
.article-lede { color: var(--text-dim); font-size: clamp(17px, 1.8vw, 19.5px); line-height: 1.66; margin: 0 0 22px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.article-hero-img { margin: 30px 0 8px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.article-hero-img img { width: 100%; height: auto; display: block; }
figure { margin: 0; }
figcaption { font-size: 13px; color: var(--muted); text-align: center; padding: 12px 16px 0; line-height: 1.6; }

.article-body { padding-top: 12px; }
.article-body p { color: var(--text-dim); font-size: 17px; line-height: 1.78; margin: 0 0 1.15em; }
.article-body h2 { font-size: clamp(23px, 2.8vw, 29px); line-height: 1.25; margin: 48px 0 14px; color: var(--text); }
.article-body h3 { font-size: 19px; margin: 32px 0 8px; color: var(--text); }
.article-body ul, .article-body ol { padding-left: 22px; margin: 0 0 1.3em; }
.article-body li { color: var(--text-dim); font-size: 17px; line-height: 1.75; margin-bottom: 9px; }
.article-body li::marker { color: var(--accent); }
.article-body strong { color: var(--text); font-weight: 600; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.article-body a:hover { color: var(--accent-2); }

/* key takeaways — scannable for readers, extractable for AI answer engines */
.takeaways {
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line-strong); border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm); padding: 22px 26px; margin: 30px 0 34px;
}
.takeaways h2 {
  font-family: var(--font-head); font-size: 12px !important; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2);
  margin: 0 0 12px !important;
}
.takeaways ul { margin: 0; padding-left: 20px; }
.takeaways li { font-size: 15.5px; line-height: 1.7; margin-bottom: 8px; color: var(--text-dim); }
.takeaways li:last-child { margin-bottom: 0; }

/* pull quote */
.pullquote {
  margin: 34px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent);
  font-family: var(--font-head); font-size: clamp(19px, 2.3vw, 23px); line-height: 1.45;
  color: var(--text); font-weight: 600;
}

/* inline stat row */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin: 30px 0 34px; }
.stat-box { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; }
.stat-box b { display: block; font-family: var(--font-head); font-size: 25px; color: var(--accent-2); line-height: 1.1; margin-bottom: 6px; }
.stat-box span { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* article FAQ */
.article-faq { margin-top: 50px; padding-top: 34px; border-top: 1px solid var(--line); }
.article-faq h2 { margin-top: 0; }
.article-faq .qa { margin-bottom: 22px; }
.article-faq .qa h3 { font-size: 17.5px; margin: 0 0 6px; color: var(--text); }
.article-faq .qa p { margin: 0; font-size: 16px; }

/* end-of-article CTA */
.article-cta {
  margin-top: 50px; text-align: center; padding: 34px 28px;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line-strong); border-radius: var(--radius);
}
.article-cta h2 { margin: 0 0 10px; font-size: clamp(21px, 2.6vw, 27px); }
.article-cta p { color: var(--text-dim); max-width: 52ch; margin: 0 auto 20px; font-size: 16px; line-height: 1.68; }

/* prev / next */
.post-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 34px; }
.post-nav a {
  display: block; padding: 18px 20px; text-decoration: none;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .25s ease, transform .25s ease;
}
.post-nav a:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.post-nav span { display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-family: var(--font-head); font-weight: 700; }
.post-nav b { color: var(--text); font-size: 16px; font-weight: 600; line-height: 1.4; }

@media (max-width: 640px) {
  .article-body p, .article-body li { font-size: 16px; }
  .post-card-body { padding: 20px 20px 24px; }
  .takeaways { padding: 20px; }
}

/* --- blog category filter --- */
.blog-filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  padding: clamp(18px, 2.6vw, 30px) 0 4px;
}
.filter-chip {
  font-family: var(--font-head); font-size: 13.5px; font-weight: 600;
  color: var(--text-dim); background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px; cursor: pointer; line-height: 1;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.filter-chip:hover { color: var(--text); border-color: var(--line-strong); transform: translateY(-2px); }
.filter-chip.is-active {
  color: #04202b; background: var(--grad-accent); border-color: transparent;
}
.filter-chip .count { opacity: .65; font-weight: 500; margin-left: 5px; }
.filter-chip.is-active .count { opacity: .8; }
.filter-status {
  text-align: center; font-size: 13.5px; color: var(--muted);
  padding: 14px 0 0; margin: 0;
}
/* the tag on a card links back to its filtered view */
a.post-tag { text-decoration: none; transition: color .2s ease, border-color .2s ease; }
a.post-tag:hover { color: var(--text); border-color: var(--accent); }
.blog-subscribe { text-align: center; font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.blog-subscribe a { color: var(--accent); text-decoration: none; }
.blog-subscribe a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }

/* ===========================================================
   Landing pages (pricing, security, /vs, /use-cases)
   Shared page furniture + the components those pages need.
   =========================================================== */

/* --- generic sub-page hero (same rhythm as .blog-hero) --- */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(20px, 3vw, 34px); text-align: center; }
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.08; margin: 12px auto 16px; max-width: 20ch; }
.page-hero .lede { color: var(--text-dim); font-size: clamp(16px, 1.7vw, 19px); line-height: 1.68; max-width: 64ch; margin: 0 auto; }
.page-hero .hero-actions { justify-content: center; margin-top: 30px; }
.page-hero .breadcrumb { text-align: center; margin-bottom: 6px; }

/* CTA reassurance line under a primary button */
.cta-sub { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }
.cta-sub a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Plan grid (pricing tiers) ---------- */
.plan-grid {
  display: grid; gap: 20px; margin-top: 50px; align-items: start;
  grid-template-columns: repeat(4, 1fr);
}
.plan-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px 28px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.plan-card:hover { transform: translateY(-5px); border-color: var(--line-strong); background: var(--bg-3); }
.plan-card.is-featured {
  border-color: var(--accent); box-shadow: var(--glow);
  background:
    radial-gradient(520px 260px at 50% 0%, rgba(111, 168, 199, 0.16), transparent 70%),
    linear-gradient(180deg, var(--bg-3), var(--bg-2));
}
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-head); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
  padding: 6px 14px; border-radius: 999px; color: var(--bg);
  background: var(--grad-accent);
}
.plan-name { font-size: 22px; margin: 0 0 4px; }
.plan-tag { color: var(--muted); font-size: 14px; margin: 0 0 22px; min-height: 2.8em; line-height: 1.45; }
/* min-height keeps the CTA buttons on one line across cards, since "Custom"
   renders shorter than a numeric price */
.plan-price { display: flex; align-items: baseline; gap: 2px; margin: 0 0 4px; min-height: 50px; font-family: var(--font-head); }
.plan-price-cur { font-size: 24px; font-weight: 600; color: var(--text); }
.plan-price-num { font-size: clamp(38px, 4.4vw, 46px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--text); }
.plan-price-unit { font-size: 15px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.plan-price-custom { font-size: clamp(30px, 3.6vw, 40px); font-weight: 700; letter-spacing: -0.03em; color: var(--text); }
.plan-billing { font-size: 12.5px; color: var(--muted); margin: 0 0 22px; min-height: 1.5em; }
.plan-card .btn { width: 100%; text-align: center; }
.plan-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 11px; }
.plan-list li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.55; color: var(--text-dim); }
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 11px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.plan-list .plan-list-head {
  padding-left: 0; margin-top: 6px; font-family: var(--font-head); font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.plan-list .plan-list-head::before { display: none; }

/* ---------- Comparison table ---------- */
.cmp-wrap {
  margin-top: 46px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2);
}
.cmp-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.cmp-table caption { text-align: left; padding: 20px 24px 0; color: var(--muted); font-size: 13.5px; }
.cmp-table th, .cmp-table td { padding: 16px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp-table thead th {
  font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); background: var(--bg-1); white-space: nowrap;
}
.cmp-table thead th.is-us { color: var(--accent-2); }
.cmp-table tbody th { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--text); }
.cmp-table td { color: var(--text-dim); line-height: 1.6; }
.cmp-table td.is-us { color: var(--text); background: rgba(111, 168, 199, 0.06); }
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-scroll-hint { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }

/* ---------- Callout ---------- */
.callout {
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line-strong); border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm); padding: 24px 28px; margin: 34px 0;
}
.callout h3 { font-size: 17px; margin: 0 0 8px; }
.callout p { color: var(--text-dim); margin: 0; font-size: 15.5px; line-height: 1.68; }
.callout p + p { margin-top: 10px; }

/* ---------- Two-column prose split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 46px; align-items: start; }
.split h3 { font-size: 20px; margin-bottom: 10px; }
.split p { color: var(--text-dim); font-size: 15.5px; line-height: 1.7; }

/* ---------- Card links (hub pages) ---------- */
.link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.link-card {
  display: flex; flex-direction: column; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.link-card:hover { transform: translateY(-5px); border-color: var(--line-strong); background: var(--bg-3); }
.link-card h3 { font-size: 19px; margin-bottom: 10px; }
.link-card p { color: var(--text-dim); font-size: 15px; line-height: 1.65; margin: 0 0 18px; }
.link-card .link-more { margin-top: auto; color: var(--accent); font-size: 14.5px; font-weight: 600; }
.link-card:hover .link-more { color: var(--accent-2); }

/* ---------- Footer social ---------- */
.footer-social { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border: 1px solid var(--line); border-radius: 10px; color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.footer-social a:hover { color: var(--accent-2); border-color: var(--line-strong); background: var(--accent-soft); }
.footer-social svg { width: 17px; height: 17px; fill: currentColor; }

/* ---------- Landing page responsive ---------- */
@media (max-width: 1000px) {
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .link-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-tag { min-height: 0; }
}
@media (max-width: 780px) {
  .split { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 620px) {
  .plan-grid { grid-template-columns: 1fr; }
  .link-grid { grid-template-columns: 1fr; }
  /* Deliberately NOT reordering the featured card to the top on mobile: the page
     leads with "start free", so Free should still be the first card people see. */
}
