/* Landing page and shared marketing blocks */
.hero-wrap { position: relative; overflow: hidden; isolation: isolate; }
.hero { position: relative; padding: clamp(40px, 9vw, 120px) clamp(16px, 4vw, 40px) clamp(32px, 6vw, 80px); max-width: 1480px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--s-6); align-items: center; }
.hero h1 { font-size: var(--fs-hero); letter-spacing: -.035em; margin-bottom: .35em; }
.hero .lede { font-size: var(--fs-lg); color: var(--muted); max-width: 44ch; }
.hero .cta { display: flex; gap: var(--s-3); flex-wrap: wrap; margin: var(--s-5) 0; }
.hero .cta .btn { padding: 13px 24px; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); font-size: var(--fs-sm); color: var(--muted); background: var(--surface-glass); backdrop-filter: blur(8px); margin-bottom: var(--s-4); }
.trust { display: flex; gap: var(--s-4); flex-wrap: wrap; color: var(--muted); font-size: var(--fs-sm); list-style: none; padding: 0; margin: 0; }
.trust li::before { content: "✓ "; color: var(--accent); font-weight: 700; }
#leaves { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

.stage { perspective: 1200px; display: grid; place-items: center; }
.stage > div { width: min(100%, 420px); }
.cvcard { width: 100%; min-height: 0; contain: layout paint; aspect-ratio: 210 / 280; background: #fff; color: #10141f; border-radius: 14px; box-shadow: var(--shadow-3), var(--glow); padding: 6% 7%; position: relative; transform-style: preserve-3d; transition: transform var(--dur-2) var(--ease-out); animation: float 7s ease-in-out infinite; overflow: hidden; font-size: clamp(8px, 1.5vw, 12px); line-height: 1.45; }
.cvcard h4 { font: 700 2.1em var(--font-display); margin: 0; letter-spacing: -.02em; } .cvcard .role { color: #4a5470; margin-bottom: 1em; }
.cvcard h5 { font: 700 .85em var(--font-ui); text-transform: uppercase; letter-spacing: .08em; margin: 1em 0 .3em; border-bottom: 1px solid #d9dde8; padding-bottom: .2em; }
.cvcard .cur::after { content: "|"; animation: blink 1s steps(2) infinite; color: #10b981; } @keyframes blink { 50% { opacity: 0; } }
.cvcard.t-bold h4 { color: #047857; } .cvcard.t-bold h5 { color: #047857; border-color: #047857; }
.cvcard.t-serif { font-family: Georgia, serif; } .cvcard.t-serif h4, .cvcard.t-serif h5 { font-family: Georgia, serif; }
.cvcard .ats { position: absolute; right: 6%; top: 6%; display: flex; gap: 6px; align-items: center; background: #ecfdf5; color: #065f46; padding: 4px 10px; border-radius: 99px; font-weight: 700; }
.tabs { display: flex; gap: 6px; justify-content: center; margin-top: var(--s-4); }
.tabs button { min-height: 36px; padding: 6px 14px; font-size: var(--fs-sm); background: var(--surface-glass); color: var(--muted); border: 1px solid var(--line); box-shadow: none; }
.tabs button[aria-pressed=true] { background: var(--grad); color: var(--on-grad); border-color: transparent; }

.strip { max-width: 1480px; margin: 0 auto var(--s-6); padding: 0 var(--s-4); }
.pulse { display: flex; gap: var(--s-5); justify-content: center; flex-wrap: wrap; padding: var(--s-4); color: var(--muted); font-size: var(--fs-sm); }
.pulse b { color: var(--fg); font: 700 1.3em var(--font-display); font-variant-numeric: tabular-nums; }
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s-3); }
.event { display: flex; gap: var(--s-3); align-items: center; padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-glass); }
.event .when { display: flex; gap: 6px; font: 700 var(--fs-md) var(--font-display); font-variant-numeric: tabular-nums; }
.event .when span { min-width: 2.4em; text-align: center; padding: 4px 6px; border-radius: 8px; background: var(--tint-info); }
.event .what { flex: 1; min-width: 0; } .event .kind { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-weight: 700; }

.section { max-width: 1480px; margin: 0 auto; padding: clamp(40px, 8vw, 110px) var(--s-4); }
.section > h2 { text-align: center; margin-bottom: var(--s-6); max-width: 22ch; margin-inline: auto; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--s-4); text-align: center; }
.stats b { display: block; font: 800 var(--fs-2xl) var(--font-display); letter-spacing: -.03em; } .stats span { color: var(--muted); }
.chip { padding: 10px 20px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface-glass); white-space: nowrap; color: var(--muted); font-weight: 500; }

/* pinned storytelling: the section is tall, the stage sticks, progress drives the active step */
.story { position: relative; height: 340vh; }
.story .pin { position: sticky; top: 70px; min-height: calc(100vh - 90px); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); align-items: center; max-width: 1480px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 48px); }
.story .steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
.story .steps-list li { display: block; padding: var(--s-4) var(--s-5); border-radius: var(--r-md); border: 1px solid var(--line); transform: scale(.97); transition: transform var(--dur-4) var(--ease-out), border-color var(--dur-4), background var(--dur-4); animation: none; }
.story .steps-list li:not(.on) { border-color: transparent; }
.story .steps-list li.on { transform: none; border-color: var(--emerald); background: var(--tint-ok); }
.story .steps-list h3 { margin: 0 0 4px; font-size: var(--fs-lg); }
.story .visual { position: relative; aspect-ratio: 1; max-height: 70vh; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface-glass); overflow: hidden; display: grid; place-items: center; }
.story .visual .scene { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(.94); transition: opacity var(--dur-4), transform var(--dur-4) var(--ease-out); padding: var(--s-5); text-align: center; }
.story .visual .scene.on { opacity: 1; transform: none; }
.progress-bar { position: absolute; left: 0; top: 0; height: 3px; width: 100%; transform-origin: left; transform: scaleX(var(--prog, 0)); background: var(--grad); z-index: 3; }

.cta-band { text-align: center; padding: clamp(40px, 7vw, 90px) var(--s-4); margin: 0 auto; max-width: 900px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; } .hero .lede { margin-inline: auto; } .hero .cta, .trust { justify-content: center; }
  .story { height: auto; } .story .pin { position: static; grid-template-columns: 1fr; min-height: 0; } .story .visual { display: none; } .story .steps-list li { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .cvcard { animation: none; } .story { height: auto; } .story .pin { position: static; } }

/* ---------- landing v2: full-width blocks ---------- */
.hero { padding-inline: clamp(16px, 4vw, 64px); }
.stage > div { width: min(100%, 460px); }
.eyebrow-sm.center { text-align: center; }
.features > h2 { margin-bottom: var(--s-6); }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.feature { margin: 0; padding: clamp(20px, 2vw, 30px); display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.feature.f-wide { grid-column: span 2; }
.feature h3 { font-size: var(--fs-lg); margin: 6px 0 2px; }
.feature p { margin: 0; }
.f-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--tint-ok); color: var(--accent); }
.f-ico .ico { width: 24px; height: 24px; }
.f-art { margin-top: auto; padding-top: 18px; display: grid; gap: 8px; }
.f-art span { display: block; height: 10px; border-radius: 6px; background: var(--tint-info); }
.f-art span:nth-child(1) { width: 55%; height: 14px; background: var(--line-strong); }
.f-art span.s { width: 35%; background: var(--grad); opacity: .8; }
.f-list { list-style: none; padding: 14px 0 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.f-list li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 1100px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } .feature.f-wide { grid-column: auto; } }
.stats { max-width: 1200px; margin: 0 auto; }
footer.site { border-top: 1px solid var(--line); padding: clamp(32px, 5vw, 64px) clamp(16px, 4vw, 64px) 28px; color: var(--muted); font-size: var(--fs-sm); background: var(--bg-2); }
.foot-grid { max-width: 1480px; margin: 0 auto; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: var(--s-5); }
.foot-grid h2 { font: 700 var(--fs-sm) var(--font-ui); color: var(--fg); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 10px; }
.foot-grid nav { display: flex; flex-direction: column; gap: 8px; }
.foot-grid a { color: var(--muted); text-decoration: none; }
.foot-grid a:hover { color: var(--fg); }
.foot-brand .brand { display: inline-flex; margin-bottom: 10px; }
.foot-legal { max-width: 1480px; margin: var(--s-5) auto 0; padding-top: var(--s-4); border-top: 1px solid var(--line); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
