/* ==========================================================================
   Vault Card — Homepage (landing) design system
   Scoped under .hp — never touches app shell / admin / customer styles.
   Brand: indigo -> violet, Inter. All motion is progressive enhancement:
   content is fully visible without JS; .hp-js gates the reveal states.
   ========================================================================== */

.hp { --hp-max: 1180px; }

/* ---------- reveal on scroll (JS-gated) ---------- */
.hp-js .hp-rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: opacity, transform; }
.hp-js .hp-rv.hp-in { opacity: 1; transform: none; }
.hp-js .hp-d1 { transition-delay: .08s; }
.hp-js .hp-d2 { transition-delay: .16s; }
.hp-js .hp-d3 { transition-delay: .24s; }
.hp-js .hp-d4 { transition-delay: .34s; }
@media (prefers-reduced-motion: reduce) {
  .hp-js .hp-rv { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hp-blob, .hp-chip, .hp-scroll-dot { animation: none !important; }
  .hp { scroll-behavior: auto; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hp-hero {
  position: relative; overflow: hidden;
  margin: 0; padding: 172px 28px 140px;
  background:
    radial-gradient(1000px 520px at 10% -10%, rgba(124, 58, 237, .5), transparent 60%),
    radial-gradient(840px 460px at 90% 6%, rgba(79, 70, 229, .45), transparent 60%),
    radial-gradient(700px 560px at 55% 115%, rgba(14, 165, 233, .28), transparent 60%),
    linear-gradient(180deg, #070b1f 0%, #0a1030 100%);
  color: #fff;
}
.hp-aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hp-blob { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .55; animation: hp-drift 20s ease-in-out infinite alternate; }
.hp-blob-1 { width: 560px; height: 560px; left: -160px; top: -180px; background: rgba(124, 58, 237, .5); }
.hp-blob-2 { width: 480px; height: 480px; right: -120px; top: 6%; background: rgba(79, 70, 229, .45); animation-delay: -7s; }
.hp-blob-3 { width: 420px; height: 420px; left: 38%; bottom: -220px; background: rgba(14, 165, 233, .30); animation-delay: -13s; }
@keyframes hp-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(60px, 40px, 0) scale(1.12); }
}
.hp-gridbg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hp-hero-inner { position: relative; z-index: 1; max-width: var(--hp-max); margin: 0 auto; }
.hp-hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }

.hp-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em; color: #dfe4ff;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  padding: 8px 16px; border-radius: 999px; backdrop-filter: blur(8px);
}
.hp-pulse { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.55); animation: hp-pulse 2.2s ease-out infinite; }
@keyframes hp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52,211,153,.55); }
  70% { box-shadow: 0 0 0 9px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}
.hp-h1 {
  font-size: clamp(44px, 6vw, 78px); font-weight: 800; letter-spacing: -.035em;
  line-height: 1.02; margin: 26px 0 20px; color: #fff;
}
.hp-grad {
  background: linear-gradient(100deg, #a5b4fc 0%, #c4b5fd 45%, #f0abfc 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hp-sub { font-size: clamp(15.5px, 1.9vw, 18.5px); line-height: 1.7; color: rgba(226, 232, 255, .78); max-width: 560px; margin: 0 0 34px; }
.hp-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hp-btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font); font-weight: 650; font-size: 15.5px; text-decoration: none;
  padding: 15px 30px; border-radius: 14px; cursor: pointer; white-space: nowrap;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.hp-btn-primary {
  color: #fff; background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 60%, #a855f7 100%);
  box-shadow: 0 16px 40px -10px rgba(139, 92, 246, .65), inset 0 1px 0 rgba(255,255,255,.22);
}
.hp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 48px -10px rgba(139, 92, 246, .75), inset 0 1px 0 rgba(255,255,255,.22); }
.hp-btn-primary:active { transform: translateY(0); }
.hp-btn-ghost {
  color: #eef1ff; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px);
}
.hp-btn-ghost:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }
.hp-btn:focus-visible, .hp-faq summary:focus-visible, .hp-chip:focus-visible { outline: 2px solid #a5b4fc; outline-offset: 3px; }

.hp-stats { display: flex; gap: 12px; padding-top: 26px; max-width: 640px; border-top: 0; }
.hp-stat { flex: 1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 16px 20px; }
.hp-stat + .hp-stat { padding-left: 20px; border-left: 0; }
.hp-stat b { display: block; font-size: 28px; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hp-stat span { font-size: 13px; color: rgba(203, 213, 245, .72); }

/* --- hero visual : 3D card --- */
.hp-visual { position: relative; perspective: 1400px; display: flex; justify-content: center; }
.hp-tilt { position: relative; transform-style: preserve-3d; }
.hp-glow {
  position: absolute; inset: 8% -6%; z-index: 0;
  background: radial-gradient(closest-side, rgba(139, 92, 246, .5), transparent 72%);
  filter: blur(50px);
}
.hp-vcard {
  position: relative; z-index: 1; width: min(440px, 100%); aspect-ratio: 1.586;
  border-radius: 24px; padding: 26px 28px; color: #fff;
  background:
    radial-gradient(420px 200px at 85% -10%, rgba(240, 171, 252, .45), transparent 60%),
    radial-gradient(360px 220px at -10% 110%, rgba(79, 70, 229, .55), transparent 60%),
    linear-gradient(135deg, #312e81 0%, #4c1d95 55%, #6d28d9 100%);
  box-shadow: 0 40px 80px -20px rgba(20, 10, 60, .65), inset 0 1px 0 rgba(255,255,255,.25);
  transform-style: preserve-3d; transition: transform .35s var(--ease);
  display: flex; flex-direction: column; justify-content: space-between;
}
.hp-vc-top { display: flex; align-items: center; justify-content: space-between; }
.hp-vc-chip { display: inline-flex; color: #fcd34d; background: rgba(252, 211, 77, .14); border: 1px solid rgba(252, 211, 77, .35); border-radius: 8px; padding: 5px 7px; }
.hp-vc-brand { font-weight: 800; font-style: italic; letter-spacing: .14em; font-size: 19px; color: rgba(255,255,255,.92); }
.hp-vc-num { display: flex; align-items: center; gap: 20px; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: clamp(17px, 2.4vw, 21px); letter-spacing: .12em; color: rgba(255,255,255,.95); text-shadow: 0 1px 8px rgba(0,0,0,.3); }
.pdots { display: inline-flex; gap: 8px; }
.pdots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.88); box-shadow: 0 1px 6px rgba(0,0,0,.25); }
.hp-vc-meta { display: flex; align-items: flex-end; justify-content: space-between; }
.hp-vc-meta > div { display: flex; flex-direction: column; gap: 3px; }
.hp-vc-meta span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.6); }
.hp-vc-meta b { font-size: 17px; font-variant-numeric: tabular-nums; }
.hp-vc-meta .hp-vc-id { text-align: right; }
.hp-vc-foot { display: flex; justify-content: flex-start; }
.hp-vc-foot .badge { background: rgba(16, 185, 129, .18); color: #a7f3d0; border: 1px solid rgba(52, 211, 153, .4); }
.hp-chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  max-width: calc(100% - 8px);
  background: rgba(255,255,255,.96); color: var(--ink); font-size: 13px; font-weight: 650;
  padding: 11px 16px; border-radius: 14px; box-shadow: 0 18px 40px -12px rgba(10, 8, 40, .45);
  animation: hp-float 5.5s ease-in-out infinite; white-space: nowrap;
}
.hp-chip-1 { top: 6%; left: -34px; }
.hp-chip-2 { bottom: 9%; right: -26px; animation-delay: -2.7s; }
.hp-chip .ok-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(16,185,129,.15); }
.hp-chip .ic { color: var(--accent); }
@keyframes hp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hp-scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,.5); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.hp-scroll-dot { width: 22px; height: 36px; border: 2px solid rgba(255,255,255,.35); border-radius: 12px; position: relative; }
.hp-scroll-dot::after { content: ''; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: rgba(255,255,255,.7); animation: hp-wheel 1.8s ease-in-out infinite; }
@keyframes hp-wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

/* ==========================================================================
   NETWORK STRIP
   ========================================================================== */
.hp-nets { display: flex; align-items: center; justify-content: center; gap: 26px; padding: 30px 28px 6px; flex-wrap: wrap; }
.hp-nets span { font-size: 12.5px; font-weight: 700; letter-spacing: .24em; color: var(--faint); text-transform: uppercase; }
.hp-nets .hp-net-word { font-size: 19px; letter-spacing: .1em; color: var(--ink-2); font-weight: 800; font-style: italic; }
.hp-nets i { width: 5px; height: 5px; border-radius: 50%; background: var(--border); }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.hp-sec { max-width: var(--hp-max); margin: 0 auto; padding: 88px 28px 8px; }
.hp-sec-head { text-align: center; max-width: 660px; margin: 0 auto 46px; }
.hp-eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-deep); background: var(--accent-soft); border: 1px solid #dfe3ff;
  padding: 7px 15px; border-radius: 999px; margin-bottom: 18px;
}
.hp-sec-head h2 { font-size: clamp(27px, 3.6vw, 40px); font-weight: 780; letter-spacing: -.028em; margin: 0 0 12px; color: var(--ink); }
.hp-sec-head p { color: var(--muted); margin: 0; font-size: 16px; line-height: 1.65; }

/* --- bento features --- */
.hp-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.hp-bcard {
  position: relative; overflow: hidden; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 30px 28px; box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.hp-bcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d4d9fb; }
.hp-bcard-lg { grid-column: span 4; grid-row: span 1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; background: linear-gradient(135deg, #0e1530 0%, #1c1650 100%); border-color: #262a5e; color: #fff; }
.hp-bcard-side { grid-column: span 2; }
.hp-bcard-half { grid-column: span 3; }
.hp-bcard-lg h3 { color: #fff; }
.hp-bcard-lg p { color: rgba(214, 221, 248, .78); }
.hp-bic {
  width: 52px; height: 52px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; background: var(--grad-accent); box-shadow: 0 10px 24px -8px rgba(79, 70, 229, .55); margin-bottom: 20px;
}
.hp-bic.teal { background: linear-gradient(135deg, #0ea5e9, #10b981); box-shadow: 0 10px 24px -8px rgba(14, 165, 233, .5); }
.hp-bic.green { background: linear-gradient(135deg, #10b981, #34d399); box-shadow: 0 10px 24px -8px rgba(16, 185, 129, .5); }
.hp-bcard h3 { font-size: 18.5px; font-weight: 700; letter-spacing: -.015em; margin: 0 0 10px; color: var(--ink); }
.hp-bcard p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
/* higher specificity: .hp-bcard h3 (later in file, same specificity) would win on the dark card */
.hp-bcard.hp-bcard-lg h3 { color: #fff; }
.hp-bcard.hp-bcard-lg p { color: rgba(214, 221, 248, .82); }
.hp-bdeco { position: relative; height: 190px; }
.hp-mini {
  position: absolute; z-index: 1; border-radius: 14px; border: 1px solid rgba(255,255,255,.22);
  background: linear-gradient(135deg, rgba(99,102,241,.5), rgba(168,85,247,.35));
  box-shadow: 0 18px 40px -14px rgba(0,0,0,.5); backdrop-filter: blur(4px);
}
.hp-mini-1 { width: 200px; height: 126px; left: 6%; top: 26px; transform: rotate(-8deg); }
.hp-mini-2 { width: 200px; height: 126px; left: 32%; top: 44px; transform: rotate(4deg); background: linear-gradient(135deg, rgba(14,165,233,.45), rgba(99,102,241,.4)); }
.hp-mini-3 {
  position: absolute; z-index: 2;
  left: 14%; bottom: 10px; padding: 9px 15px; border-radius: 999px;
  background: rgba(16, 185, 129, .16); border: 1px solid rgba(52, 211, 153, .45);
  color: #a7f3d0; font-size: 12.5px; font-weight: 650; display: inline-flex; align-items: center; gap: 8px;
}
.hp-mini-3 .ok-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.16); }

/* --- steps --- */
.hp-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.hp-steps::before {
  content: ''; position: absolute; top: 52px; left: 12%; right: 12%; z-index: 0;
  border-top: 2px dashed #d6dbf5;
}
.hp-step {
  position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 34px 28px 30px; text-align: center; box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.hp-step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.hp-step-n {
  width: 58px; height: 58px; margin: 0 auto 20px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: #fff; background: var(--grad-accent);
  box-shadow: 0 12px 26px -8px rgba(79, 70, 229, .55);
}
.hp-step p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.7; }

/* --- pricing --- */
.hp-slider { position: relative; }
.hp-strack {
  display: flex; gap: 18px; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; -ms-overflow-style: none;
  padding: 6px 2px 16px; margin: 0 -2px;
}
.hp-strack::-webkit-scrollbar { display: none; }
.hp-slide { flex: 0 0 calc(33.333% - 12px); scroll-snap-align: start; }
.hp-single .hp-slide { flex: 0 0 100%; max-width: 440px; }
@media (max-width: 960px) { .hp-slide { flex-basis: calc(50% - 9px); } }
@media (max-width: 620px) { .hp-slide { flex-basis: 80%; } }
.hp-snav {
  position: absolute; top: 42%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-card); cursor: pointer; z-index: 2;
  display: none; align-items: center; justify-content: center;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.hp-js .hp-snav { display: flex; }
.hp-snav:hover { transform: translateY(-50%) scale(1.07); box-shadow: var(--shadow); }
.hp-snav:active { transform: translateY(-50%) scale(.97); }
.hp-sprev { left: 10px; }
.hp-snext { right: 10px; }
.hp-single .hp-snav { display: none; }
@media (max-width: 620px) { .hp-snav { width: 38px; height: 38px; } }
.hp-sdots { display: none; gap: 8px; justify-content: center; margin-top: 2px; }
.hp-js .hp-sdots:not(:empty) { display: flex; }
.hp-sdots button {
  width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0;
  background: var(--border); cursor: pointer;
  transition: width var(--dur) var(--ease), background var(--dur) var(--ease);
}
.hp-sdots button.hp-on { width: 26px; background: var(--accent); }
.hp-pcard {
  position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 26px 24px; box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.hp-pcard::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-accent); }
.hp-pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d4d9fb; }
.hp-porg { display: inline-block; font-size: 11.5px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); background: var(--accent-soft); border: 1px solid #dfe3ff; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.hp-pcard h3 { font-size: 21px; margin: 0 0 14px; }
.hp-pfee { font-size: 30px; font-weight: 780; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.hp-pfee small { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.hp-prate { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border-soft); font-size: 14px; color: var(--muted); }
.hp-prate b { color: var(--ink); font-variant-numeric: tabular-nums; }
.hp-empty {
  border: 1.5px dashed #d3d9ee; border-radius: var(--r-xl); background: var(--surface);
  padding: 56px 28px; text-align: center; color: var(--muted);
}
.hp-empty .hp-bic { margin-bottom: 16px; background: var(--surface-2); color: var(--accent); box-shadow: none; border: 1px solid var(--border); }
.hp-empty p { margin: 0 auto; font-size: 15px; max-width: 460px; }
.hp-empty .hp-btn { margin-top: 24px; }
.hp-price-cta { text-align: center; margin-top: 30px; }

/* --- FAQ --- */
.hp-faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.hp-faq-i {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.hp-faq-i[open] { border-color: #c9cff8; box-shadow: var(--shadow-card); }
.hp-faq-i summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-weight: 650; font-size: 15.5px; color: var(--ink);
}
.hp-faq-i summary::-webkit-details-marker { display: none; }
.hp-faq-chev { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-deep); transition: transform .3s var(--ease), background .3s var(--ease); }
.hp-faq-i[open] .hp-faq-chev { transform: rotate(180deg); background: var(--grad-accent); color: #fff; }
.hp-faq-a { margin: 0; padding: 0 24px 22px; color: var(--muted); font-size: 14.5px; line-height: 1.75; }

/* --- CTA band --- */
.hp-cta {
  position: relative; overflow: hidden; max-width: var(--hp-max); margin: 88px auto 0;
  border-radius: 28px; padding: 72px 32px; text-align: center; color: #fff;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(168, 85, 247, .5), transparent 60%),
    radial-gradient(600px 320px at 85% 100%, rgba(79, 70, 229, .55), transparent 60%),
    linear-gradient(135deg, #131a3a 0%, #241a5e 100%);
  box-shadow: 0 30px 70px -20px rgba(60, 40, 160, .5);
}
.hp-cta::before {
  content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, #000 20%, transparent 75%);
}
.hp-cta h2 { position: relative; font-size: clamp(26px, 3.6vw, 40px); font-weight: 780; letter-spacing: -.028em; margin: 0 0 12px; }
.hp-cta p { position: relative; color: rgba(220, 226, 252, .78); margin: 0 0 30px; font-size: 16px; }
.hp-btn-light { position: relative; background: #fff; color: var(--accent-deep); box-shadow: 0 14px 34px -10px rgba(0,0,0,.4); }
.hp-btn-light:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -10px rgba(0,0,0,.5); }

/* --- footer --- */
.hp-foot { max-width: var(--hp-max); margin: 88px auto 0; padding: 42px 28px 0; border-top: 1px solid var(--border); }
.hp-foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1.15fr 1fr; gap: 34px 44px; align-items: start; }
.hp-foot-top.hp-foot-aff { grid-template-columns: 1.6fr 1fr 1fr; }
.hp-fbrand { display: flex; align-items: center; gap: 11px; font-weight: 750; font-size: 16px; color: var(--ink); margin-bottom: 10px; }
.hp-fbrand .brand-tile { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--grad-accent); box-shadow: 0 8px 18px -6px rgba(79,70,229,.55); }
.hp-foot-top p { margin: 0; color: var(--muted); font-size: 13.5px; max-width: 320px; line-height: 1.65; }
.hp-social { display: flex; gap: 10px; margin-top: 18px; }
.hp-soc { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--muted); transition: color var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.hp-soc:hover { color: #fff; background: var(--accent); border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 20px -8px rgba(79,70,229,.5); }
.hp-fcol { display: flex; flex-direction: column; gap: 11px; }
.hp-fcol h3 { margin: 4px 0 7px; font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.hp-fcol a { width: fit-content; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 550; line-height: 1.35; transition: color var(--dur) var(--ease); }
.hp-fcol a:hover { color: var(--accent); }
.hp-foot-bottom { margin-top: 38px; padding: 20px 0 8px; border-top: 1px solid var(--border-soft); color: var(--faint); font-size: 12.5px; display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; }
.hp-foot-legal { display: flex; gap: 22px; }
.hp-foot-legal a { color: var(--faint); text-decoration: none; font-weight: 550; transition: color var(--dur) var(--ease); }
.hp-foot-legal a:hover { color: var(--accent); }

/* --- legal pages (privacy / terms) --- */
.legal-wrap { max-width: 780px; margin: 0 auto; padding: 148px 28px 6px; }
.legal-title { font-size: clamp(30px, 4.4vw, 42px); font-weight: 800; letter-spacing: -.03em; color: var(--ink); margin: 0 0 8px; }
.legal-updated { color: var(--faint); font-size: 13.5px; margin: 0 0 20px; }
.legal-intro { color: var(--ink-2); font-size: 16.5px; line-height: 1.65; margin: 0 0 6px; }
.legal-sec { margin-top: 30px; }
.legal-sec h2 { font-size: 19px; font-weight: 750; letter-spacing: -.015em; color: var(--ink); margin: 0 0 10px; }
.legal-sec p { color: var(--muted); font-size: 15px; line-height: 1.72; margin: 0 0 10px; }
.legal-sec ul { margin: 2px 0 10px; padding-left: 20px; color: var(--muted); font-size: 15px; line-height: 1.72; }
.legal-sec li { margin-bottom: 6px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1020px) {
  .hp-hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hp-visual { order: 2; }
  .hp-sub { max-width: none; }
  .hp-stats { max-width: none; }
  .hp-bento { grid-template-columns: 1fr 1fr; }
  .hp-bcard-lg { grid-column: span 2; }
  .hp-bcard-side { grid-column: span 2; }
  .hp-bcard-half { grid-column: span 1; }
}
@media (max-width: 860px) {
  .hp-hero { margin: 0; border-radius: 0; padding: 134px 20px 96px; }
  .hp-sec { padding: 64px 20px 6px; }
  .hp-chip-1 { left: 2px; }
  .hp-chip-2 { right: 2px; }
  .hp-steps { grid-template-columns: 1fr; }
  .hp-steps::before { display: none; }
  .hp-bento { grid-template-columns: 1fr; }
  .hp-bcard-lg { grid-column: span 1; grid-template-columns: 1fr; }
  .hp-bcard-side, .hp-bcard-half { grid-column: span 1; }
  .hp-bdeco { height: 160px; }
  .hp-mini-2 { top: 30px; }
  .hp-btn { width: 100%; justify-content: center; white-space: normal; }
  .hp-cta { margin: 64px 20px 0; padding: 54px 24px; }
  .hp-foot { padding-left: 20px; padding-right: 20px; }
  .legal-wrap { padding: 126px 20px 4px; }
  .hp-foot-top, .hp-foot-top.hp-foot-aff { grid-template-columns: 1fr 1fr; gap: 28px 22px; }
  .hp-fbrand-col { grid-column: 1 / -1; }
  .hp-foot-top p { max-width: 440px; }
  .hp-stats { flex-wrap: wrap; gap: 12px; }
  .hp-stat { flex: 1 1 40%; }
  .hp-stat + .hp-stat { padding-left: 20px; border-left: 0; }
  .hp-scroll { display: none; }
}

/* ---- SEO landing pages (seo-page.ejs) ---- */
.seo-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1060px; margin: 0 auto; }
.seo-point { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 24px 22px; box-shadow: var(--shadow-card); }
.seo-point h3 { font-size: 17px; margin: 0 0 8px; }
.seo-point p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.seo-point-ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-deep); margin-bottom: 14px; }
.seo-step-n { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad-accent); color: #fff; font-weight: 800; font-size: 15px; margin-bottom: 14px; }
@media (max-width: 820px) { .seo-points { grid-template-columns: 1fr; } }
