/* Shared marketing-page styles (homepage, pricing).
   Loaded by index.html and pricing.html so the two pages cannot drift apart. */
/* ── Marketing pages (2026-10 redesign) ──
   One type scale, one spacing rhythm, classes instead of inline styles.
   Base tokens are dark; html[data-theme="light"] overrides them below. */
:root {
  --hp-max: 1120px;
  --hp-surface: #111629;
  --hp-elev: #161c34;
  --hp-line: rgba(255,255,255,.08);
  --hp-line-2: rgba(255,255,255,.14);
  --hp-glow: rgba(95,124,248,.32);
  --hp-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 40px 100px -30px rgba(0,0,0,.75);
  --hp-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --hp-ok: #34d399;
  --hp-ok-bg: rgba(52,211,153,.12);
  --hp-bad: #f87171;
  --hp-bad-bg: rgba(248,113,113,.12);
  --hp-warn: #fbbf24;
  --hp-warn-bg: rgba(251,191,36,.12);
  --hp-band: #080b16;
  --hp-band-text: #e6eaff;
  --hp-band-text-2: #a3aed6;
  --hp-band-line: rgba(255,255,255,.1);
}

.hp-wrap { max-width: var(--hp-max); margin: 0 auto; padding: 0 24px; }
.hp-section { padding: 112px 0; }
.hp-section + .hp-section:not(.hp-band) { padding-top: 16px; }
.hp-band + .hp-section { padding-top: 112px; }
.hp-center { text-align: center; }
.hp-center .hp-lede { margin-left: auto; margin-right: auto; }
.hp-kicker { display: inline-block; font-size: .875rem; font-weight: 600; color: var(--accent-ink, var(--accent)); letter-spacing: .01em; margin-bottom: 14px; }
.hp-h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 700; letter-spacing: -.035em; line-height: 1.06; color: var(--text); }
.hp-h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; color: var(--text); }
.hp-lede { font-size: 1.125rem; line-height: 1.65; color: var(--text-2); max-width: 600px; margin-top: 18px; }
.hp-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9375rem; color: var(--accent-ink, var(--accent)); text-decoration: none; }
.hp-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.hp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 8px; font-size: .9375rem; font-weight: 600; line-height: 1; font-family: inherit; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; border: 1px solid transparent; }
.hp-btn-primary { background: var(--accent-strong); color: #fff; box-shadow: 0 8px 24px -8px var(--hp-glow); }
.hp-btn-primary:hover { background: #2f3d94; }
.hp-btn-ghost { background: transparent; color: var(--text); border-color: var(--hp-line-2); }
.hp-btn-ghost:hover { border-color: var(--accent); }

/* ── Hero ── */
.hp-hero { position: relative; padding: 156px 24px 0; text-align: center; overflow: hidden; }
.hp-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 0%, var(--hp-glow) 0%, transparent 70%),
    linear-gradient(var(--hp-line) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--hp-line) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000 30%, transparent 80%);
          mask-image: radial-gradient(70% 60% at 50% 20%, #000 30%, transparent 80%);
}
.hp-hero-tag { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 500; color: var(--text-2); background: var(--hp-surface); border: 1px solid var(--hp-line-2); border-radius: 999px; padding: 6px 14px 6px 8px; margin-bottom: 28px; text-decoration: none; }
.hp-hero-tag b { font-weight: 600; font-size: .75rem; color: #fff; background: var(--accent-strong); border-radius: 999px; padding: 3px 9px; }
.hp-hero-tag:hover { border-color: var(--accent); }
.hp-h1 { font-size: clamp(38px, 6.6vw, 76px); font-weight: 700; letter-spacing: -.045em; line-height: 1.02; color: var(--text); max-width: 960px; margin: 0 auto; }
.hp-h1 em { font-style: normal; background: linear-gradient(120deg, var(--accent) 0%, #a78bfa 55%, #60a5fa 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hp-sub { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--text-2); max-width: 640px; margin: 24px auto 40px; }
.hp-hero .lp-input-wrap { max-width: 620px; padding: 6px; border-radius: 12px; border: 1px solid var(--hp-line-2); background: var(--hp-surface); box-shadow: 0 20px 50px -20px var(--hp-glow); }
.hp-hero .lp-input-wrap input { padding: 12px 14px; }
.hp-hero .lp-audit-btn { border-radius: 8px; padding: 12px 22px; font-weight: 600; }
.hp-hero .lp-audit-btn:hover { background: #2f3d94; }
.hp-hero .lp-hint { margin-top: 14px; }
.hp-hero-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 18px; }
.hp-hero-links a { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 500; color: var(--text-2); text-decoration: none; }
.hp-hero-links a:hover { color: var(--text); }
.hp-hero-links svg { color: var(--accent-ink, var(--accent)); }
.hp-hero .lp-chips { margin: 28px auto 0; max-width: 760px; }
.hp-hero .lp-chip { background: transparent; border-color: var(--hp-line-2); }
.hp-hero #lp-analyzing, .hp-hero #lp-results { margin-top: 40px; text-align: left; }
.hp-hero #lp-analyzing { text-align: center; }

/* ── Product frame ── */
.hp-frame { position: relative; max-width: 1080px; margin: 72px auto 0; text-align: left; }
.hp-frame::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 140px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.hp-win { background: var(--hp-surface); border-radius: 16px; box-shadow: var(--hp-shadow); overflow: hidden; }
.hp-win-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--hp-line); background: var(--hp-elev); }
.hp-dots { display: flex; gap: 6px; }
.hp-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--hp-line-2); }
.hp-win-url { flex: 1; max-width: 420px; margin: 0 auto; font: 500 .8125rem var(--hp-mono); color: var(--text-3); background: var(--hp-surface); border: 1px solid var(--hp-line); border-radius: 6px; padding: 5px 12px; text-align: center; }
.hp-win-tag { font-size: .75rem; font-weight: 600; color: var(--text-3); }
.hp-win-body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 0; }
.hp-pane { padding: 28px; }
.hp-pane + .hp-pane { border-left: 1px solid var(--hp-line); }
.hp-q { font-size: .8125rem; color: var(--text-3); margin-bottom: 6px; }
.hp-q b { color: var(--text); font-weight: 600; }
.hp-verdict { display: flex; align-items: center; gap: 18px; margin: 18px 0 22px; }
.hp-ring { width: 76px; height: 76px; flex-shrink: 0; }
.hp-verdict-t { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.hp-verdict-s { font-size: .875rem; color: var(--text-2); margin-top: 2px; }
.hp-eng { display: grid; gap: 8px; }
.hp-eng-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--hp-line); border-radius: 8px; background: var(--hp-elev); }
.hp-eng-row img { width: 18px; height: 18px; }
.hp-eng-row img, .hp-logos img { filter: brightness(0); }
html:not([data-theme="light"]) .hp-eng-row img, html:not([data-theme="light"]) .hp-logos img { filter: brightness(0) invert(1); }
.hp-eng-name { flex: 1; font-size: .9375rem; font-weight: 500; color: var(--text); }
.hp-pill { font-size: .75rem; font-weight: 600; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.hp-pill.ok { color: var(--hp-ok); background: var(--hp-ok-bg); }
.hp-pill.bad { color: var(--hp-bad); background: var(--hp-bad-bg); }
.hp-pill.warn { color: var(--hp-warn); background: var(--hp-warn-bg); }
.hp-pill.info { color: var(--accent-ink, var(--accent)); background: var(--accent-light); }
.hp-pane-h { font-size: .8125rem; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.hp-fix { padding: 14px 0; border-top: 1px solid var(--hp-line); }
.hp-fix:first-of-type { border-top: 0; padding-top: 0; }
.hp-fix-top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.hp-fix-t { font-size: .9375rem; font-weight: 600; color: var(--text); }
.hp-fix-d { font-size: .875rem; line-height: 1.55; color: var(--text-2); }
.hp-fix-d code, .hp-card code { font: .8125rem var(--hp-mono); color: var(--text); background: var(--hp-elev); border: 1px solid var(--hp-line); border-radius: 4px; padding: 1px 5px; }
.hp-deploy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 12px 14px; border-radius: 8px; background: var(--accent-light); border: 1px solid var(--accent-border); }
.hp-deploy span { font-size: .875rem; color: var(--text-2); }
.hp-deploy b { font-size: .8125rem; font-weight: 600; color: #fff; background: var(--accent-strong); border-radius: 8px; padding: 7px 12px; white-space: nowrap; }
.hp-caption { font-size: .8125rem; color: var(--text-3); text-align: center; margin-top: 14px; position: relative; z-index: 1; }

/* ── Engine logos ── */
.hp-logos-wrap { padding: 56px 24px 0; text-align: center; }
.hp-logos-l { font-size: .875rem; color: var(--text-3); margin-bottom: 22px; }
.hp-logos { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 20px 48px; }
.hp-logos img { height: 26px; width: auto; max-width: 120px; opacity: .55; transition: opacity .2s; }
.hp-logos img:hover { opacity: 1; }

/* ── Feature rows ── */
.hp-rows { display: grid; gap: 128px; margin-top: 80px; }
.hp-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 72px; align-items: center; }
.hp-row.rev .hp-row-text { order: 2; }
.hp-step { font: 600 .8125rem var(--hp-mono); color: var(--accent-ink, var(--accent)); margin-bottom: 14px; }
.hp-row-text p { font-size: 1.0625rem; line-height: 1.65; color: var(--text-2); margin-top: 16px; }
.hp-checks { list-style: none; display: grid; gap: 12px; margin: 24px 0 28px; }
.hp-checks li { display: flex; gap: 12px; font-size: .9875rem; line-height: 1.5; color: var(--text); }
.hp-checks svg { flex-shrink: 0; margin-top: 3px; color: var(--hp-ok); }
.hp-card { background: var(--hp-surface); border-radius: 16px; box-shadow: var(--hp-shadow); padding: 26px; position: relative; }
.hp-card-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.hp-card-t { font-size: .9375rem; font-weight: 600; color: var(--text); }
.hp-score { display: flex; align-items: baseline; gap: 6px; }
.hp-score b { font-size: 3.5rem; font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--text); }
.hp-score span { font-size: 1rem; color: var(--text-3); }
.hp-bars { display: grid; gap: 12px; margin-top: 22px; }
.hp-bar { display: grid; grid-template-columns: 150px 1fr 34px; align-items: center; gap: 12px; font-size: .875rem; color: var(--text-2); }
.hp-bar i { display: block; height: 6px; border-radius: 6px; background: var(--hp-elev); overflow: hidden; position: relative; }
.hp-bar i::after { content: ''; position: absolute; inset: 0; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, var(--accent), #a78bfa); }
.hp-bar b { font-weight: 600; color: var(--text); text-align: right; }
.hp-trend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--hp-line); }
.hp-trend div { font-size: .75rem; color: var(--text-3); }
.hp-trend b { display: block; font-size: 1.125rem; font-weight: 700; color: var(--text); margin-top: 4px; letter-spacing: -.02em; }
.hp-trend em { font-style: normal; font-size: .75rem; font-weight: 600; color: var(--hp-ok); margin-left: 4px; }
.hp-issue { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--hp-line); }
.hp-issue:first-of-type { border-top: 0; padding-top: 0; }
.hp-issue .hp-pill { align-self: flex-start; min-width: 66px; text-align: center; }
.hp-code { font: .8125rem/1.7 var(--hp-mono); color: var(--text-2); background: var(--hp-elev); border: 1px solid var(--hp-line); border-radius: 8px; padding: 16px 18px; overflow-x: auto; white-space: pre; }
.hp-code .k { color: #a78bfa; }
.hp-code .s { color: var(--hp-ok); }
.hp-code .c { color: var(--text-3); }
.hp-plugins { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hp-plugins span { font-size: .8125rem; color: var(--text-2); border: 1px solid var(--hp-line-2); border-radius: 999px; padding: 4px 11px; }

/* ── Dark band (agencies) ── */
.hp-band { background: var(--hp-band); color: var(--hp-band-text); position: relative; overflow: hidden; }
.hp-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 60% at 85% 0%, rgba(95,124,248,.28), transparent 70%); pointer-events: none; }
.hp-band .hp-h2, .hp-band .hp-h3 { color: #fff; }
.hp-band .hp-lede { color: var(--hp-band-text-2); }
.hp-band .hp-kicker { color: #9fb0ff; }
.hp-band-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 56px; background: var(--hp-band-line); border: 1px solid var(--hp-band-line); border-radius: 16px; overflow: hidden; }
.hp-band-item { background: var(--hp-band); padding: 28px 24px; }
.hp-band-item svg { color: #9fb0ff; margin-bottom: 18px; }
.hp-band-item h4 { font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 8px; }
.hp-band-item p { font-size: .9375rem; line-height: 1.55; color: var(--hp-band-text-2); }
.hp-band-cta { position: relative; display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.hp-band .hp-btn-ghost { color: #fff; border-color: rgba(255,255,255,.22); }
.hp-band .hp-btn-ghost:hover { border-color: #fff; }
.hp-band .hp-btn-primary { background: #fff; color: #0c1022; box-shadow: none; }
.hp-band .hp-btn-primary:hover { background: #e6eaff; }

/* ── Developers ── */
.hp-dev { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.hp-term { background: #0a0d18; border-radius: 16px; box-shadow: var(--hp-shadow); overflow: hidden; }
.hp-term .hp-win-bar { background: #11152a; border-color: rgba(255,255,255,.08); }
.hp-term .hp-dots i { background: rgba(255,255,255,.16); }
.hp-term-t { font: 500 .8125rem var(--hp-mono); color: #8b93b8; }
.hp-term pre { margin: 0; padding: 22px 24px; font: .875rem/1.75 var(--hp-mono); color: #c9d1f5; overflow-x: auto; }
.hp-term .p { color: #6b76a3; }
.hp-term .g { color: #34d399; }
.hp-term .v { color: #a78bfa; }
.hp-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 28px; }
.hp-tools code { font: .8125rem var(--hp-mono); color: var(--text-2); background: var(--hp-surface); border: 1px solid var(--hp-line-2); border-radius: 6px; padding: 4px 9px; }

/* ── Comparison ── */
.hp-table-wrap { margin-top: 56px; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; box-shadow: var(--hp-shadow); background: var(--hp-surface); }
.hp-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .9375rem; }
.hp-table th, .hp-table td { padding: 15px 18px; border-bottom: 1px solid var(--hp-line); }
.hp-table th { font-size: .8125rem; font-weight: 600; color: var(--text-3); text-align: center; background: var(--hp-elev); }
.hp-table th:first-child, .hp-table td:first-child { text-align: left; color: var(--text); }
.hp-table td { text-align: center; color: var(--text-2); }
.hp-table .us { background: var(--accent-light); }
.hp-table th.us { color: var(--accent-ink, var(--accent)); }
.hp-table tfoot td { border-bottom: 0; font-size: .875rem; }
.hp-yes { color: var(--hp-ok); }
.hp-no { color: var(--text-3); opacity: .7; }
.hp-note { font-size: .8125rem; color: var(--text-3); margin-top: 14px; text-align: center; }

/* ── Pricing ── */
.hp-price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; text-align: left; }
.hp-price { display: flex; flex-direction: column; background: var(--hp-surface); border: 1px solid var(--hp-line-2); border-radius: 16px; padding: 28px 24px; }
.hp-price.feat { border-color: var(--accent); box-shadow: 0 30px 60px -30px var(--hp-glow); position: relative; }
.hp-price-flag { position: absolute; top: -12px; left: 24px; font-size: .75rem; font-weight: 600; color: #fff; background: var(--accent-strong); border-radius: 999px; padding: 4px 10px; }
.hp-price-n { font-size: 1rem; font-weight: 600; color: var(--text); }
.hp-price-d { font-size: .875rem; color: var(--text-3); margin-top: 4px; min-height: 40px; line-height: 1.45; }
.hp-price-v { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 22px; white-space: nowrap; }
.hp-price-v b { font-size: 2.25rem; font-weight: 700; letter-spacing: -.04em; color: var(--text); }
.hp-price-v > span { font-size: .875rem; color: var(--text-3); }
.hp-price ul { list-style: none; display: grid; gap: 10px; align-content: start; margin-bottom: 26px; flex: 1; }
.hp-price li { display: flex; gap: 10px; font-size: .9375rem; color: var(--text-2); line-height: 1.4; }
.hp-price li svg { flex-shrink: 0; margin-top: 2px; color: var(--hp-ok); }
.hp-price .hp-btn { width: 100%; }

/* ── Testimonials ── */
.hp-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.hp-quote { background: var(--hp-surface); border: 1px solid var(--hp-line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.hp-quote p { font-size: 1rem; line-height: 1.65; color: var(--text); flex: 1; }
.hp-quote div { font-size: .875rem; color: var(--text-3); }

/* ── FAQ ── */
.hp-faq { max-width: 760px; margin: 48px auto 0; text-align: left; }
.hp-faq details { border-bottom: 1px solid var(--hp-line-2); }
.hp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 1.0625rem; font-weight: 600; color: var(--text); }
.hp-faq summary::-webkit-details-marker { display: none; }
.hp-faq summary::after { content: '+'; font-size: 1.375rem; font-weight: 400; color: var(--text-3); transition: transform .2s; }
.hp-faq details[open] summary::after { transform: rotate(45deg); }
.hp-faq details p { font-size: 1rem; line-height: 1.7; color: var(--text-2); padding: 0 0 22px; max-width: 680px; }

/* ── Final CTA ── */
.hp-final { max-width: 1200px; margin: 0 auto; border-radius: 24px; padding: 96px 24px; text-align: center; border: 1px solid var(--hp-band-line); }
.hp-final::before { background: radial-gradient(60% 80% at 50% 0%, rgba(95,124,248,.35), transparent 70%); }
.hp-final .hp-band-cta { justify-content: center; }

/* ── Footer ── */
.hp-foot { padding: 80px 0 48px; }
.hp-foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.hp-foot-brand p { font-size: .9375rem; line-height: 1.6; color: var(--text-2); margin-top: 14px; max-width: 280px; }
.hp-foot h5 { font-size: .8125rem; font-weight: 600; color: var(--text); margin-bottom: 16px; }
.hp-foot ul { list-style: none; display: grid; gap: 10px; }
.hp-foot a { font-size: .9375rem; color: var(--text-2); text-decoration: none; }
.hp-foot a:hover { color: var(--text); }
.hp-foot-base { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--hp-line); font-size: .875rem; color: var(--text-3); }
.hp-foot-base a { font-size: .875rem; }

/* ── Pricing page ── */
.hp-hero-sm { padding-bottom: 8px; }
.hp-hero-sm .hp-kicker { margin-bottom: 18px; }
.hp-plans { padding-top: 40px; }
.hp-trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 32px; font-size: .9375rem; color: var(--text-2); }
.hp-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hp-trust svg { color: var(--hp-ok); flex-shrink: 0; }
.hp-trust a, .hp-faq a { color: var(--accent-ink, var(--accent)); }
.hp-plan-table td { font-size: .9375rem; }
.hp-plan-table .grp td { background: var(--hp-elev); color: var(--text-3); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding-top: 12px; padding-bottom: 12px; }
.hp-plan-table .lim { color: var(--text); font-weight: 500; }
.hp-faq code { font: .875rem var(--hp-mono); color: var(--text); }

/* ── Shared nav buttons (marketing pages) ── */
.cr-nav-signin, .cr-nav-signup { border-radius: 6px; padding: 6px 12px; font-size: .875rem; font-weight: 600; font-family: inherit; text-decoration: none; white-space: nowrap; }
.cr-nav-signin { color: var(--text-2); border: 1px solid var(--border); }
.cr-nav-signin:hover { color: var(--text); }
.cr-nav-signup { color: #fff; background: var(--accent-strong); }

/* ── Content pages (about, articles) ── */
.hp-narrow { max-width: 780px; }
.hp-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hp-cardx { background: var(--hp-surface); border: 1px solid var(--hp-line-2); border-radius: 16px; padding: 24px; }
.hp-cardx h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; color: var(--text); margin: 4px 0 8px; }
.hp-cardx p { font-size: .9375rem; line-height: 1.6; color: var(--text-2); }
.hp-cardx a, .hp-prose a { color: var(--accent-ink, var(--accent)); }
.hp-founder { display: flex; gap: 20px; align-items: flex-start; background: var(--hp-surface); border-radius: 16px; box-shadow: var(--hp-shadow); padding: 28px; margin-bottom: 56px; }
.hp-founder-avatar { width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.375rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--accent), #a78bfa); }
.hp-founder-name { font-size: 1.0625rem; font-weight: 600; color: var(--text); }
.hp-founder-role { font-size: .875rem; color: var(--text-3); margin: 2px 0 12px; }
.hp-founder p { font-size: 1rem; line-height: 1.7; color: var(--text-2); }
.hp-prose h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; letter-spacing: -.025em; line-height: 1.2; color: var(--text); margin: 48px 0 14px; }
.hp-prose > h2:first-child { margin-top: 0; }
.hp-prose h3 { font-size: 1.125rem; font-weight: 600; color: var(--text); margin: 24px 0 8px; }
.hp-prose p { font-size: 1.0625rem; line-height: 1.75; color: var(--text-2); margin: 0 0 16px; }
.hp-prose ul { padding-left: 22px; margin: 0 0 16px; }
.hp-prose li { font-size: 1.0625rem; line-height: 1.7; color: var(--text-2); margin-bottom: 6px; }
.hp-prose strong { color: var(--text); font-weight: 600; }
.hp-prose a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hp-prose hr { border: 0; border-top: 1px solid var(--hp-line-2); margin: 40px 0; }

/* ── Tools directory ── */
.hp-jump { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.hp-jump a { font-size: .875rem; font-weight: 500; color: var(--text-2); text-decoration: none; border: 1px solid var(--hp-line-2); border-radius: 999px; padding: 6px 14px; background: var(--hp-surface); }
.hp-jump a:hover { color: var(--text); border-color: var(--accent); }
.hp-dir { padding-top: 64px; padding-bottom: 112px; }
.hp-tools-sec { scroll-margin-top: 80px; margin-bottom: 72px; }
.hp-tools-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--hp-line); }
.hp-tools-head p { font-size: .9375rem; color: var(--text-3); }
.hp-dir .hub-tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; align-items: stretch; }
.hp-dir .cr-tool-card { display: flex; flex-direction: column; gap: 12px; background: var(--hp-surface) !important; border: 1px solid var(--hp-line-2) !important; border-radius: 16px; padding: 22px; text-decoration: none; box-shadow: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.hp-dir .cr-tool-card:hover { border-color: var(--accent) !important; transform: translateY(-2px); box-shadow: 0 24px 50px -30px var(--hp-glow); }
.hp-dir .cr-tool-icon { width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: var(--accent-light) !important; color: var(--accent-ink, var(--accent)) !important; flex-shrink: 0; }
.hp-dir .cr-tool-name { font-size: 1rem; font-weight: 600; color: var(--text); letter-spacing: -.01em; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.hp-dir .cr-tool-tagline { font-size: .875rem; color: var(--text-3); margin-top: 2px; }
.hp-dir .cr-tool-desc { font-size: .9375rem; line-height: 1.6; color: var(--text-2); }
.hp-dir .cr-tool-feats { display: flex; flex-wrap: wrap; gap: 6px; }
.hp-dir .cr-tool-feat { font-size: .75rem; color: var(--text-2); border: 1px solid var(--hp-line-2); border-radius: 999px; padding: 3px 9px; background: transparent; }
.hp-dir .cr-tool-cta { margin-top: auto; font-size: .875rem; font-weight: 600; color: var(--accent-ink, var(--accent)); }
.hp-dir .cr-badge { font-size: .6875rem; font-weight: 600; border-radius: 999px; padding: 2px 8px; }
.hp-dir #deploy .cr-tool-card { padding: 28px; border-color: var(--accent) !important; background: linear-gradient(135deg, var(--accent-light), transparent 60%), var(--hp-surface) !important; }

@media (max-width: 1000px) {
  .hp-row, .hp-dev { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hp-row.rev .hp-row-text { order: 0; }
  .hp-band-grid, .hp-price-grid { grid-template-columns: 1fr 1fr; }
  .hp-quotes { grid-template-columns: 1fr; }
  .hp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-foot-grid { grid-template-columns: 1fr 1fr; }
  .hp-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .hp-section { padding: 80px 0; }
  .hp-wrap { padding: 0 16px; }
  .hp-hero { padding: 112px 16px 0; }
  .hp-win-body { grid-template-columns: minmax(0, 1fr); }
  .hp-pane + .hp-pane { border-left: 0; border-top: 1px solid var(--hp-line); }
  .hp-pane, .hp-card { padding: 20px; }
  .hp-win-tag { display: none; }
  .hp-rows { gap: 88px; margin-top: 56px; }
  .hp-bar { grid-template-columns: 110px 1fr 30px; }
  .hp-trend { grid-template-columns: 1fr 1fr; }
  .hp-band-grid, .hp-price-grid, .hp-cards { grid-template-columns: minmax(0, 1fr); }
  .hp-founder { flex-direction: column; padding: 22px; }
  .hp-dir .hub-tools-grid { grid-template-columns: minmax(0, 1fr); }
  .hp-final { margin: 0 12px; padding: 72px 20px; }
  .hp-logos { gap: 18px 32px; }
  .hp-logos img { height: 22px; }
  .hp-hero .lp-input-wrap { padding: 8px; }
  .hp-hero .lp-chips { display: none !important; }
}

html[data-theme="light"] {
  --hp-surface:#ffffff; --hp-elev:#f5f7fc; --hp-line:rgba(13,17,39,.08); --hp-line-2:rgba(13,17,39,.14);
  --hp-glow:rgba(58,92,232,.2); --hp-shadow:0 0 0 1px rgba(13,17,39,.07), 0 30px 70px -28px rgba(23,35,80,.28);
  --hp-ok:#047857; --hp-ok-bg:rgba(4,120,87,.1); --hp-bad:#c81e1e; --hp-bad-bg:rgba(200,30,30,.08);
  --hp-warn:#a16207; --hp-warn-bg:rgba(161,98,7,.1);
}
