/* ═══════════ HOMEPAGE (marketing page) ═══════════
   Dedicated layout: body.hp-body wraps the whole page. */

body.hp-body {
  --hp-bg: #0a0a0b;
  --hp-bg-elev: #111113;
  --hp-bg-card: #131316;
  --hp-border: #1f1f23;
  --hp-border-bright: #2a2a30;
  --hp-text: #e8e8ea;
  --hp-text-dim: #8a8a92;
  --hp-text-faint: #55555c;
  --hp-accent: #7dd87d;
  --hp-accent-glow: rgba(125, 216, 125, 0.15);
  --hp-amber: #f0b36a;
  --hp-magenta: #e56ab5;
  --hp-blue: #6fb3ff;
  --hp-display: "Fraunces", serif;
  --hp-body-font: "Inter", sans-serif;
  --hp-mono: "JetBrains Mono", ui-monospace, monospace;

  background: var(--hp-bg);
  color: var(--hp-text);
  font-family: var(--hp-body-font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

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


/* Grain overlay */
body.hp-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.hp-body > nav,
body.hp-body > main,
body.hp-body > footer { position: relative; z-index: 2; }

body.hp-body main.homepage {
  display: block;
  max-width: none;
  padding: 0;
  margin: 0;
}

/* ═══════════ NAV ═══════════ */
.hp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(10, 10, 11, 0.72);
  border-bottom: 1px solid var(--hp-border);
}

.hp-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.hp-logo {
  font-family: var(--hp-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--hp-accent);
}

.hp-logo-mark {
  width: 4em;
  height: 2.2em;
}

.hp-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
}

.hp-nav-links a {
  color: var(--hp-text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.hp-nav-links a:hover { color: var(--hp-text); }

.hp-nav-cta {
  font-family: var(--hp-mono);
  font-size: 12px;
  padding: 8px 16px;
  border: 1px solid var(--hp-border-bright);
  border-radius: 6px;
  color: var(--hp-text) !important;
  background: var(--hp-bg-elev);
  transition: all 0.2s;
}

.hp-nav-cta:hover {
  border-color: var(--hp-accent);
  color: var(--hp-accent) !important;
}

/* ═══════════ FOOTER ═══════════ */
.hp-footer {
  border-top: 1px solid var(--hp-border);
  padding: 48px 0 40px;
  background: var(--hp-bg);
}

.hp-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.hp-footer-left {
  font-family: var(--hp-mono);
  font-size: 12px;
  color: var(--hp-text-faint);
}

.hp-footer-left a {
  color: var(--hp-text-dim);
  text-decoration: none;
}

.hp-footer-left a:hover { color: var(--hp-accent); }

.hp-footer-links {
  display: flex;
  gap: 28px;
  font-family: var(--hp-mono);
  font-size: 12px;
}

.hp-footer-links a {
  color: var(--hp-text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

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

body.hp-body .hp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

body.hp-body section {
  padding: 100px 0;
}

body.hp-body h1,
body.hp-body h2,
body.hp-body .hp-step h3,
body.hp-body .hp-feature h3,
body.hp-body details summary {
  font-family: var(--hp-display);
  font-weight: 400;
  letter-spacing: -0.02em;
}

body.hp-body h1 em,
body.hp-body h2 em {
  font-style: italic;
  color: var(--hp-accent);
  font-weight: 400;
}

body.hp-body .hp-section-label {
  font-family: var(--hp-mono);
  font-size: 11px;
  color: var(--hp-accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

body.hp-body .hp-section-header {
  margin-bottom: 60px;
  max-width: 680px;
}

body.hp-body .hp-section-sub {
  color: var(--hp-text-dim);
  font-size: 17px;
  max-width: 520px;
  line-height: 1.55;
}

/* ═══════════ HERO ═══════════ */
body.hp-body .hp-hero {
  padding: 80px 0;
}

body.hp-body .hp-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

body.hp-body .hp-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--hp-mono);
  font-size: 11px;
  color: var(--hp-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 6px 12px;
  border: 1px solid var(--hp-border);
  border-radius: 999px;
  background: var(--hp-bg-elev);
  margin-bottom: 28px;
}

body.hp-body .hp-tag .pulse {
  width: 6px;
  height: 6px;
  background: var(--hp-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--hp-accent);
  animation: hp-pulse 2s infinite;
}

@keyframes hp-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

body.hp-body h1 {
  font-size: clamp(42px, 5.5vw, 68px);
  line-height: 1.02;
  margin-bottom: 28px;
}

body.hp-body h1 .slash {
  font-family: var(--hp-mono);
  color: var(--hp-text-faint);
  font-style: normal;
  font-weight: 300;
}

body.hp-body .hp-hero-sub {
  font-size: 18px;
  color: var(--hp-text-dim);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.55;
}

body.hp-body .hp-hero-sub a {
  color: var(--hp-text);
  text-decoration: none;
  border-bottom: 1px dashed var(--hp-text-dim);
}

body.hp-body .hp-ctas {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

body.hp-body .hp-btn-primary {
  background: var(--hp-text);
  color: var(--hp-bg);
  padding: 14px 22px;
  font-family: var(--hp-mono);
  font-size: 13px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

body.hp-body .hp-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

body.hp-body .hp-btn-primary .arrow { transition: transform 0.2s; }
body.hp-body .hp-btn-primary:hover .arrow { transform: translateX(2px); }

body.hp-body .hp-btn-secondary {
  background: transparent;
  color: var(--hp-text-dim);
  padding: 14px 20px;
  font-family: var(--hp-mono);
  font-size: 13px;
  border: 1px solid var(--hp-border-bright);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}

body.hp-body .hp-btn-secondary:hover {
  color: var(--hp-text);
  border-color: var(--hp-text-dim);
}

/* ═══════════ TERMINAL ═══════════ */
body.hp-body .hp-terminal {
  background: var(--hp-bg-card);
  border: 1px solid var(--hp-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(125, 216, 125, 0.05),
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 120px rgba(125, 216, 125, 0.08);
  position: relative;
}

body.hp-body .hp-terminal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(125, 216, 125, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

body.hp-body .hp-terminal-bar {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hp-border);
  background: var(--hp-bg-elev);
  gap: 12px;
}

body.hp-body .hp-dots { display: flex; gap: 6px; }
body.hp-body .hp-dots span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--hp-border-bright);
}
body.hp-body .hp-dots span:nth-child(1) { background: #e56b6b; }
body.hp-body .hp-dots span:nth-child(2) { background: var(--hp-amber); }
body.hp-body .hp-dots span:nth-child(3) { background: var(--hp-accent); }

body.hp-body .hp-terminal-title {
  font-family: var(--hp-mono);
  font-size: 11px;
  color: var(--hp-text-faint);
  margin-left: 8px;
}

body.hp-body .hp-terminal-body {
  padding: 24px;
  font-family: var(--hp-mono);
  font-size: 13px;
  line-height: 1.7;
}

body.hp-body .hp-term-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--hp-text-faint);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

body.hp-body .hp-term-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hp-border);
}

body.hp-body .hp-email-header {
  color: var(--hp-text-dim);
  font-size: 12px;
}
body.hp-body .hp-email-header span { color: var(--hp-text); }

body.hp-body .hp-arrow-down {
  text-align: center;
  color: var(--hp-accent);
  margin: 16px 0;
  font-size: 16px;
  opacity: 0.5;
}

body.hp-body .json-key { color: var(--hp-magenta); }
body.hp-body .json-str { color: var(--hp-accent); }
body.hp-body .json-num { color: var(--hp-amber); }
body.hp-body .json-punct { color: var(--hp-text-faint); }

body.hp-body pre.hp-pre {
  margin: 0;
  font-family: var(--hp-mono);
  font-size: 13px;
  line-height: 1.7;
  white-space: pre;
  overflow-x: auto;
}

/* ═══════════ HOW IT WORKS ═══════════ */
body.hp-body h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  margin-bottom: 20px;
}

body.hp-body .hp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

body.hp-body .hp-step {
  background: var(--hp-bg-card);
  border: 1px solid var(--hp-border);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.3s;
}

body.hp-body .hp-step:hover {
  border-color: var(--hp-border-bright);
  transform: translateY(-2px);
}

body.hp-body .hp-step-num {
  font-family: var(--hp-mono);
  font-size: 11px;
  color: var(--hp-text-faint);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

body.hp-body .hp-step-num::before {
  content: attr(data-num);
  width: 24px; height: 24px;
  border: 1px solid var(--hp-border-bright);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--hp-accent);
  background: var(--hp-bg-elev);
}

body.hp-body .hp-step h3 {
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

body.hp-body .hp-step p {
  color: var(--hp-text-dim);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

body.hp-body .hp-step-code {
  background: var(--hp-bg);
  border: 1px solid var(--hp-border);
  border-radius: 6px;
  padding: 12px 14px;
  font-family: var(--hp-mono);
  font-size: 12px;
  color: var(--hp-text-dim);
  overflow-x: auto;
  white-space: nowrap;
}

body.hp-body .hp-step-code .cmd { color: var(--hp-accent); }
body.hp-body .hp-step-code .flag { color: var(--hp-amber); }
body.hp-body .hp-step-code .str { color: var(--hp-blue); }

/* ═══════════ FEATURES ═══════════ */
body.hp-body .hp-features {
  background: var(--hp-bg-elev);
  border-top: 1px solid var(--hp-border);
  border-bottom: 1px solid var(--hp-border);
}

body.hp-body .hp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hp-border);
  border: 1px solid var(--hp-border);
  border-radius: 12px;
  overflow: hidden;
}

body.hp-body .hp-feature {
  background: var(--hp-bg-elev);
  padding: 36px 32px;
  transition: background 0.3s;
  margin: 0;
}

body.hp-body .hp-feature:hover { background: var(--hp-bg-card); }

body.hp-body .hp-feature-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--hp-bg);
  border: 1px solid var(--hp-border-bright);
  display: grid; place-items: center;
  margin-bottom: 20px;
  font-family: var(--hp-mono);
  color: var(--hp-accent);
}

body.hp-body .hp-feature h3 {
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

body.hp-body .hp-feature p {
  color: var(--hp-text-dim);
  font-size: 14px;
  line-height: 1.6;
}

body.hp-body .hp-feature code {
  font-family: var(--hp-mono);
  color: var(--hp-accent);
  font-size: 12px;
  background: transparent;
  padding: 0;
}

/* ═══════════ CODE EXAMPLE ═══════════ */
body.hp-body .hp-code-example {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

body.hp-body .hp-code-copy h2 { margin-bottom: 24px; }

body.hp-body .hp-code-copy p {
  color: var(--hp-text-dim);
  font-size: 16px;
  margin-bottom: 24px;
  line-height: 1.6;
}

body.hp-body .hp-code-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
}

body.hp-body .hp-code-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--hp-text);
  font-size: 15px;
  list-style: none;
}

body.hp-body .hp-code-list li::before {
  content: "→";
  font-family: var(--hp-mono);
  color: var(--hp-accent);
  font-size: 14px;
  margin-top: 4px;
}

body.hp-body .hp-code-list li .tag {
  font-family: var(--hp-mono);
  font-size: 12px;
  color: var(--hp-accent);
  background: var(--hp-accent-glow);
  padding: 1px 6px;
  border-radius: 4px;
  margin-right: 4px;
  &:first-child {
    clear: left;
  }
}

body.hp-body .hp-code-block {
  background: var(--hp-bg-card);
  border: 1px solid var(--hp-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

body.hp-body .hp-code-tabs {
  display: flex;
  border-bottom: 1px solid var(--hp-border);
  background: var(--hp-bg-elev);
}

body.hp-body .hp-code-tab {
  padding: 12px 18px;
  font-family: var(--hp-mono);
  font-size: 12px;
  color: var(--hp-text-faint);
  cursor: pointer;
  border-right: 1px solid var(--hp-border);
  transition: all 0.2s;
  user-select: none;
}

body.hp-body .hp-code-tab.active {
  color: var(--hp-accent);
  background: var(--hp-bg-card);
}

body.hp-body .hp-code-tab:hover:not(.active) { color: var(--hp-text-dim); }

body.hp-body .hp-code-content {
  padding: 24px;
  font-family: var(--hp-mono);
  font-size: 13px;
  line-height: 1.75;
  overflow-x: auto;
}

body.hp-body .hp-code-content .kw { color: var(--hp-magenta); }
body.hp-body .hp-code-content .fn { color: var(--hp-blue); }
body.hp-body .hp-code-content .str { color: var(--hp-accent); }
body.hp-body .hp-code-content .cmt { color: var(--hp-text-faint); font-style: italic; }
body.hp-body .hp-code-content .num { color: var(--hp-amber); }

/* ═══════════ PRIVACY ═══════════ */
body.hp-body .hp-privacy {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--hp-border);
  border-bottom: 1px solid var(--hp-border);
}

body.hp-body .hp-privacy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, var(--hp-accent-glow) 0%, transparent 40%),
    radial-gradient(circle at 85% 50%, rgba(111, 179, 255, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

body.hp-body .hp-privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}

body.hp-body .hp-privacy-lede {
  color: var(--hp-text-dim);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 28px;
}

body.hp-body .hp-privacy-body {
  color: var(--hp-text-dim);
  font-size: 15px;
  line-height: 1.6;
}

body.hp-body .hp-pledges {
  background: var(--hp-bg-card);
  border: 1px solid var(--hp-border);
  border-radius: 12px;
  overflow: hidden;
  font-family: var(--hp-mono);
  font-size: 13px;
}

body.hp-body .hp-pledge-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--hp-border);
  align-items: center;
}

body.hp-body .hp-pledge-row:last-child { border-bottom: none; }

body.hp-body .hp-pledge-label {
  color: var(--hp-text-dim);
  font-size: 12px;
}

body.hp-body .hp-pledge-value {
  color: var(--hp-accent);
  font-weight: 500;
  text-align: right;
}

body.hp-body .hp-pledge-value.neutral { color: var(--hp-text); }

body.hp-body .hp-privacy-footnote {
  font-family: var(--hp-mono);
  font-size: 11px;
  color: var(--hp-text-faint);
  margin-top: 16px;
  padding-left: 20px;
  border-left: 2px solid var(--hp-border-bright);
}

body.hp-body .hp-privacy-footnote a {
  color: var(--hp-text-dim);
  text-decoration: none;
  border-bottom: 1px dashed var(--hp-text-faint);
}

/* ═══════════ PRICING ═══════════ */
body.hp-body .hp-pricing {
  position: relative;
}

body.hp-body .hp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

body.hp-body .hp-plan {
  background: var(--hp-bg-card);
  border: 1px solid var(--hp-border);
  border-radius: 14px;
  padding: 32px 28px;
  position: relative;
  transition: all 0.3s;
  margin: 0;
}

body.hp-body .hp-plan:hover { border-color: var(--hp-border-bright); }

body.hp-body .hp-plan.featured {
  border-color: var(--hp-accent);
  background: linear-gradient(180deg, var(--hp-accent-glow) 0%, var(--hp-bg-card) 40%);
}

body.hp-body .hp-plan.featured::before {
  content: "RECOMMENDED";
  position: absolute;
  top: -10px;
  left: 28px;
  background: var(--hp-accent);
  color: var(--hp-bg);
  font-family: var(--hp-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
}

body.hp-body .hp-plan-name {
  font-family: var(--hp-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--hp-text-dim);
  margin-bottom: 16px;
}

body.hp-body .hp-plan-price {
  font-family: var(--hp-display);
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

body.hp-body .hp-plan-price .cents {
  font-size: 20px;
  color: var(--hp-text-dim);
  font-family: var(--hp-mono);
}

body.hp-body .hp-plan-period {
  color: var(--hp-text-faint);
  font-family: var(--hp-mono);
  font-size: 12px;
  margin-bottom: 28px;
}

body.hp-body .hp-plan-features {
  list-style: none;
  margin-bottom: 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.hp-body .hp-plan-features li {
  font-size: 14px;
  color: var(--hp-text-dim);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  list-style: none;
}

body.hp-body .hp-plan-features li::before {
  content: "✓";
  color: var(--hp-accent);
  font-family: var(--hp-mono);
  font-weight: 600;
}

body.hp-body .hp-plan-features li strong {
  color: var(--hp-text);
  font-weight: 500;
  font-family: var(--hp-mono);
  font-size: 13px;
}

body.hp-body .hp-plan-cta {
  display: block;
  text-align: center;
  padding: 12px;
  border: 1px solid var(--hp-border-bright);
  border-radius: 8px;
  color: var(--hp-text);
  text-decoration: none;
  font-family: var(--hp-mono);
  font-size: 13px;
  transition: all 0.2s;
}

body.hp-body .hp-plan-cta:hover {
  border-color: var(--hp-text);
  background: var(--hp-bg-elev);
}

body.hp-body .hp-plan.featured .hp-plan-cta {
  background: var(--hp-accent);
  color: var(--hp-bg);
  border-color: var(--hp-accent);
  font-weight: 600;
}

body.hp-body .hp-plan.featured .hp-plan-cta:hover {
  background: #9ee89e;
  border-color: #9ee89e;
}

/* Beta blur overlay — preserved from old design */
body.hp-body .hp-pricing.blurred .hp-pricing-grid .hp-plan {
  filter: blur(3px);
}

body.hp-body .hp-pricing.blurred::after {
  content: "FREE while in beta! 🎉";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: clamp(24px, 4vw, 48px);
  font-weight: bold;
  font-family: var(--hp-display);
  color: var(--hp-text);
  pointer-events: none;
  top: 40%;
}

/* ═══════════ FAQ ═══════════ */
body.hp-body .hp-faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--hp-border);
  border: 1px solid var(--hp-border);
  border-radius: 12px;
  overflow: hidden;
}

body.hp-body details {
  background: var(--hp-bg-card);
  padding: 24px 28px;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
}

body.hp-body details:hover { background: var(--hp-bg-elev); }

body.hp-body details summary {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  color: var(--hp-text);
}

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

body.hp-body details summary::after {
  content: "+";
  font-family: var(--hp-mono);
  font-size: 20px;
  color: var(--hp-accent);
  transition: transform 0.2s;
  font-weight: 300;
}

body.hp-body details[open] summary::after { transform: rotate(45deg); }

body.hp-body details p {
  color: var(--hp-text-dim);
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.65;
}

body.hp-body details code {
  font-family: var(--hp-mono);
  color: var(--hp-accent);
  background: transparent;
  padding: 0;
  font-size: 0.95em;
}

/* ═══════════ FINAL CTA ═══════════ */
body.hp-body .hp-final-cta {
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

body.hp-body .hp-final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--hp-accent-glow) 0%, transparent 60%);
  pointer-events: none;
}

body.hp-body .hp-final-cta h2 {
  max-width: 720px;
  margin: 0 auto 24px;
  font-size: clamp(36px, 5vw, 56px);
}

body.hp-body .hp-final-cta p {
  color: var(--hp-text-dim);
  margin-bottom: 40px;
  font-size: 17px;
}

body.hp-body .hp-final-cta .hp-ctas { justify-content: center; }

/* ═══════════ CONTACT ═══════════ */
body.hp-body .hp-contact {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

body.hp-body .hp-contact h2 { margin-bottom: 12px; }

body.hp-body .hp-contact-lede {
  color: var(--hp-text-dim);
  font-size: 17px;
  margin-bottom: 32px;
}

body.hp-body .hp-contact form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

body.hp-body .hp-contact label {
  font-family: var(--hp-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--hp-text-dim);
  margin-bottom: 4px;
  display: block;
}

body.hp-body .hp-contact input,
body.hp-body .hp-contact textarea {
  background: var(--hp-bg-card);
  border: 1px solid var(--hp-border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--hp-text);
  font-family: var(--hp-body);
  font-size: 15px;
  width: 100%;
}

body.hp-body .hp-contact input:focus,
body.hp-body .hp-contact textarea:focus {
  outline: none;
  border-color: var(--hp-accent);
}

body.hp-body .hp-contact textarea {
  min-height: 120px;
  resize: vertical;
  font-family: var(--hp-body);
}

body.hp-body .hp-contact #subject { display: none; }

body.hp-body .hp-contact button {
  align-self: flex-start;
  background: var(--hp-text);
  color: var(--hp-bg);
  border: none;
  border-radius: 8px;
  padding: 12px 22px;
  font-family: var(--hp-mono);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

body.hp-body .hp-contact button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

/* ═══════════ ANIMATIONS ═══════════ */
@keyframes hp-rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

body.hp-body .hp-tag,
body.hp-body .hp-hero h1,
body.hp-body .hp-hero-sub,
body.hp-body .hp-hero .hp-ctas {
  animation: hp-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.hp-body .hp-hero h1 { animation-delay: 0.1s; }
body.hp-body .hp-hero-sub { animation-delay: 0.2s; }
body.hp-body .hp-hero .hp-ctas { animation-delay: 0.3s; }
body.hp-body .hp-terminal { animation: hp-rise 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both; }

@media (prefers-reduced-motion: reduce) {
  body.hp-body .hp-tag,
  body.hp-body .hp-hero h1,
  body.hp-body .hp-hero-sub,
  body.hp-body .hp-hero .hp-ctas,
  body.hp-body .hp-terminal,
  body.hp-body .hp-tag .pulse {
    animation: none;
  }
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 900px) {
  body.hp-body .hp-hero-grid,
  body.hp-body .hp-code-example,
  body.hp-body .hp-privacy-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  body.hp-body .hp-steps,
  body.hp-body .hp-features-grid,
  body.hp-body .hp-pricing-grid {
    grid-template-columns: 1fr;
  }
  body.hp-body section { padding: 64px 0; }
  body.hp-body .hp-hero { padding: 40px 0; }
}
