/* PULSE recovery pass: preserves the Paired Beats identity and native data/auth controllers.
   Typography, layout, accessibility and interaction review: jakubkrehel/skills. */
:root { --chapter-space: clamp(48px, 6vw, 96px); }
.site-header { height: auto; min-height: 88px; padding-block: 18px; flex-wrap: wrap; }
.site-header nav { flex-wrap: wrap; gap: 8px 28px; }
.site-header > .button { flex-shrink: 0; }
#hero-heading > span:first-child, .wordmark > span,
.performance-section .performance-copy h2, #access-heading, #member-heading, #apply-heading { font-kerning: normal; }
#access-heading, #member-heading, #apply-heading { letter-spacing: -.035em; overflow-wrap: anywhere; }
.hero-copy > p { max-width: 32ch; }
.hero-actions { flex-wrap: wrap; }
.hero-actions > * { min-width: 0; max-width: 100%; }
.hero-baseline { gap: 20px; }
.hero-baseline > span:first-child { max-width: 48ch; }
.hero-baseline > a { flex-shrink: 1; min-width: 0; }
.hero-baseline .icon { flex-shrink: 0; }
.performance-section {
  --performance-ground: var(--ink);
  --performance-chart-ground: var(--ink);
  --performance-rule: #3b4134;
  --performance-copy: #c9cdbf;
  background: var(--ink);
  padding-top: clamp(52px, 7vw, 96px);
  padding-bottom: var(--chapter-space);
}
.performance-section .performance-copy h2 { font-size: clamp(44px, 5.5vw, 76px); letter-spacing: -.035em; }
.performance-section .performance-context { max-width: 31ch; }
.performance-section .performance-chart-workspace { background: transparent; padding-inline-end: 0; }
.performance-section .performance-growth { background: #1c2721; padding: 28px; margin-block: 24px; }
.performance-section .performance-metrics .performance-total dd { margin-left: 0; }
.performance-section .performance-main { align-items: center; }
.performance-section .performance-ledger-disclosure { border-bottom-color: var(--performance-rule); }
.performance-ledger-disclosure > summary { min-height: 64px; padding-block: 18px; color: var(--paper); font-size: 15px; }
.performance-ledger-disclosure[open] > summary .icon,
#apply .paid-option[open] > summary .icon,
.footer-methods[open] > summary .icon { rotate: 0deg; }
details[open] > summary .disclosure-stem { opacity: 0; }
.disclosure-stem { transition: opacity 150ms ease-out; }
.performance-section .performance-source-bar, .performance-section .performance-context,
.performance-inspection, .hero-baseline { flex-wrap: wrap; }
.performance-section .performance-inspection > *, .performance-section .performance-source-bar > * { min-width: 0; }
.performance-section .account-live-stats dd,
.performance-section .account-live-stats dd:not(.performance-fact-note) { white-space: normal; overflow-wrap: anywhere; }
#access {
  display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
  gap: clamp(40px, 8vw, 128px); padding-block: var(--chapter-space) 48px;
  background: var(--paper); color: var(--ink);
}
#access .section-intro { display: block; align-self: start; }
#access h2 { font-size: clamp(44px, 5.4vw, 76px); }
#access .section-intro > p { max-width: 29ch; margin-top: 28px; font-size: 17px; color: var(--light-muted); }
#access .access-layout { display: block; margin: 4px 0 0; }
#access .access-steps { display: block; }
#access .access-step {
  display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 24px;
  min-height: 0; padding: 24px 0 28px; border: 0; border-top: 1px solid #c8cebf; color: var(--ink);
}
#access .access-step:last-child { border-bottom: 1px solid #c8cebf; }
#access .step-number { font: 400 22px/1.3 Outfit,sans-serif; margin: 3px 0 0; color: var(--gold-dark); }
#access .access-step h3 { font: 400 clamp(23px, 2.2vw, 30px)/1.25 Outfit,sans-serif; letter-spacing: -.02em; }
#access .access-step p { font-size: 15px; color: var(--light-muted); margin-top: 10px; max-width: 36ch; }
#access .access-step .text-link { color: var(--ink); font-size: 14px; margin-top: 10px; gap: 14px; }
#access .access-step .icon { opacity: 1; translate: none; margin: 0; width: 19px; }
#member {
  position: relative; display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
  gap: clamp(40px, 8vw, 128px); align-items: center;
  padding-top: clamp(48px,6vw,88px); padding-bottom: 0; background: var(--paper); color: var(--ink);
}
#member .member-copy { padding-bottom: 56px; }
#member .member-copy h2 { font-size: clamp(44px, 5.4vw, 76px); line-height: 1.07; }
#member .member-copy h2 > span { color: var(--gold-dark); }
#member .member-copy > p { max-width: 32ch; margin-top: 28px; color: var(--light-muted); font-size: 17px; }
#member .licence-preview {
  position: relative; z-index: 2; margin-bottom: -72px; padding: 32px;
  background: var(--ink); color: var(--paper); border: 0; border-radius: 0; box-shadow: none;
}
#apply {
  display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
  gap: 48px clamp(40px, 8vw, 128px); padding-top: 160px; padding-bottom: 64px;
  background: var(--ink); color: var(--paper); color-scheme: dark;
}
#apply .apply-copy h2 { font-size: clamp(64px, 7.5vw, 108px); letter-spacing: -.04em; line-height: 1.02; }
#apply .apply-copy h2 > span { color: var(--gold); }
#apply .apply-copy > p { max-width: 29ch; color: #c9cdbf; font-size: 17px; }
#apply .member-registration {
  display: flex; align-self: center; min-height: 0; padding: 0;
  gap: 24px; background: transparent; color: var(--paper); border: 0; box-shadow: none;
}
#apply .member-registration > .button { width: auto; max-width: 100%; gap: 32px; }
#apply .member-registration-signin { color: var(--muted); font-size: 14px; }
#apply .member-registration-signin .text-link { color: var(--paper); }
#apply .release-note { max-width: 36ch; color: var(--muted); font-size: 14px; line-height: 1.65; }
#apply .paid-option { grid-column: 1/-1; margin: 16px 0 0; border-color: var(--dark-rule); }
#apply .paid-option > summary, #apply .paid-option-price { color: var(--paper); }
#apply .paid-option > summary { gap: 24px; }
#apply .paid-option-copy { min-width: 0; }
#apply :is(.paid-option-description,.paid-option-period,.paid-option-terms,.paid-option-state) { color: var(--muted); }
#apply .paid-option-title { font: 400 22px/1.3 Outfit,sans-serif; }
#apply .paid-option-description { font-size: 13px; margin-top: 8px; }
#apply .paid-option > summary > .icon { color: var(--gold); }
#apply .paid-option-body { gap: 24px; }
#apply :focus-visible, #apply .member-registration :focus-visible { outline-color: var(--gold); }
.site-footer .footer-notes p { font-size: 14px; }
.footer-methods > summary { min-height: 48px; }
.hero-baseline > a, .broker-step-link > span[aria-hidden="true"] { transition: color 150ms ease-out, transform 200ms ease-out; }
@media (hover:hover) and (pointer:fine) {
  .hero-baseline > a:hover { color: var(--gold); }
  #access .broker-step-link:hover > span[aria-hidden="true"] { transform: translate(2px,-2px); }
  #access .text-link:hover { text-decoration: underline; text-underline-offset: .25em; }
}
@supports (interpolate-size: allow-keywords) and selector(details::details-content) {
  :root { interpolate-size: allow-keywords; }
  .performance-ledger-disclosure::details-content, #apply .paid-option::details-content, .footer-methods::details-content {
    block-size: 0; overflow: clip; opacity: 0;
    transition: block-size 220ms ease-out, opacity 150ms ease-out, content-visibility 220ms allow-discrete;
  }
  .performance-ledger-disclosure[open]::details-content, #apply .paid-option[open]::details-content, .footer-methods[open]::details-content {
    block-size: auto; opacity: 1;
  }
}
@media (min-width:761px) and (max-width:1000px) {
  .hero { grid-template-columns: minmax(0,1fr) minmax(0,.9fr); min-height: 600px; }
  .hero-actions { display: flex; gap: 12px 20px; }
  .pulse-stage { height: 340px; }
  #access, #member, #apply { gap: 40px; }
}
@media (max-width:760px) {
  .site-header { min-height: 72px; height: auto; padding-block: 12px; }
  .site-header > .button { max-width: 100%; }
  .hero { padding-bottom: 0; }
  .hero-actions { display: flex; gap: 12px 20px; }
  .hero-actions .text-link { justify-content: flex-start; }
  .hero-baseline { position: static; height: auto; min-height: 76px; padding-block: 18px; margin-top: 24px; font-size: 12px; gap: 12px 20px; }
  .hero-baseline > span:first-child { max-width: 29ch; }
  .hero-baseline > a { flex-shrink: 1; }
  .hero-baseline .prototype-label { display: none; }
  .performance-section .performance-copy h2 { font-size: 44px; }
  .performance-section .performance-context { max-width: 32ch; }
  .performance-section .performance-context p { max-width: none; font-size: 14px; }
  .performance-section .performance-growth { padding: 24px 20px; margin-block: 18px; }
  .performance-section .performance-chart-workspace { padding: 16px 0 24px; }
  .performance-ledger-disclosure > summary { font-size: 14px; gap: 14px; }
  #access { display: block; padding-block: 64px 20px; }
  #access h2 { font-size: 44px; }
  #access .section-intro > p { font-size: 16px; margin-top: 22px; }
  #access .access-layout { margin-top: 36px; }
  #access .access-step { grid-template-columns: 30px minmax(0,1fr); gap: 16px; padding-block: 22px; }
  #access .access-step h3 { font-size: 24px; }
  #member { display: grid; grid-template-columns: minmax(0,1fr); padding-top: 48px; padding-bottom: 56px; gap: 32px; }
  #member .member-copy { padding: 0; }
  #member .member-copy h2 { font-size: 44px; }
  #member .member-copy > p { font-size: 16px; margin-top: 22px; }
  #member .licence-preview { margin: 0; padding: 24px; }
        #apply { grid-template-columns: minmax(0,1fr); display: grid; padding-top: 64px; padding-bottom: 36px; gap: 32px; }
  #apply .apply-copy h2 { font-size: clamp(64px, 16vw, 86px); }
  #apply .member-registration > .button { width: 100%; justify-content: space-between; padding-inline: 20px; gap: 16px; }
  #apply .paid-option { margin-top: 16px; }
  #apply .paid-option-title { font-size: 20px; }
  #apply .paid-option > summary { flex-wrap: wrap; gap: 16px; }
  #apply .paid-option-copy { flex: 1 1 160px; }
  #apply .paid-option-cost { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-baseline > a, .broker-step-link > span[aria-hidden="true"], .disclosure-stem,
  .performance-ledger-disclosure::details-content, #apply .paid-option::details-content, .footer-methods::details-content { transition: none !important; }
}
body[data-motion="paused"] :is(.performance-ledger-disclosure,.paid-option,.footer-methods)::details-content,
body[data-motion="reduced"] :is(.performance-ledger-disclosure,.paid-option,.footer-methods)::details-content { transition: none; }
body[data-motion="paused"] .broker-step-link > span[aria-hidden="true"],
body[data-motion="reduced"] .broker-step-link > span[aria-hidden="true"] { transform: none; }

/* Intrinsic sizing keeps real labels and enlarged text inside the reading plane. */
.hero-growth-values { flex-wrap: wrap; }
.hero-growth-values > * { min-width: 0; }
.performance-section .performance-chart-workspace { margin-inline: 0; }
@media (max-width:760px) {
  .pulse-stage { height: auto; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; gap: 100px; }
  .daily-growth { position: relative; width: 100%; }
  .sculpture-caption { position: relative; inset: auto; }
  .hero-baseline > a { max-width: 100%; }
}

/* Text resize: allow real labels to determine their intrinsic line and row sizes. */
.hero-growth-values { display:flex; flex-wrap:wrap; gap:18px 28px; }
.hero-growth-values > div { flex:1 1 max-content; min-width:0; max-width:100%; }
.hero-growth-values [data-metric-state] { overflow-wrap:anywhere; }
.performance-section .performance-copy h2,
.performance-section .performance-copy h2 > span { white-space:normal; overflow-wrap:anywhere; }
.pulse-stage { height:auto; min-height:400px; display:flex; flex-direction:column; justify-content:space-between; gap:100px; padding-bottom:18px; }
.daily-growth { position:relative; inset:auto; margin-inline-start:8%; max-width:92%; }
.sculpture-caption { position:relative; inset:auto; margin-inline-start:8%; }
@media (min-width:1600px) { .pulse-stage { min-height:500px; } }
@media (min-width:761px) and (max-width:1000px) { .pulse-stage { min-height:340px; } }
@media (max-width:760px) { .pulse-stage { min-height:260px; padding-bottom:0; } .daily-growth,.sculpture-caption { margin-inline-start:0; max-width:100%; } }

/* Override the legacy light closing-panel selectors at their full specificity. */

#apply #paid-option :is(.paid-option-description,.paid-option-period,.paid-option-terms,.paid-option-state) { color:var(--muted); }

/* The free offer and licence relationship follow the existing PULSE visual system. */
.hero-copy > .hero-access-note { margin-top: 18px; max-width: 38ch; color: var(--muted); font-size: 14px; line-height: 1.6; }
.hero-access-note > span { display: block; }
.hero-access-note > span:first-child { color: var(--gold); }
.hero-access-note > span + span { margin-top: 4px; }
.hero-baseline[aria-label] { justify-content: space-between; }
.hero-baseline[aria-label] > a { min-height: 44px; display: inline-flex; align-items: center; gap: 16px; }
@media (max-width: 760px) {
  .hero-copy > .hero-access-note { margin-top: 14px; font-size: 13px; }
  .hero-baseline[aria-label] { gap: 4px 20px; padding-block: 12px; }
}
.performance-next { display:flex; align-items:center; flex-wrap:wrap; gap:16px 32px; margin-top:36px; }
.performance-next .text-link { color:var(--paper); }
#member { padding-bottom:72px; }
#member .member-copy { padding-bottom:0; }
#member .licence-action { margin-top:24px; color:var(--gold-dark); }
#member .licence-flow { margin:0; padding:32px; min-width:0; }
.licence-flow-diagram { display:block; width:100%; height:auto; overflow:visible; }
.licence-flow-diagram rect { fill:none; stroke:#8c9584; stroke-width:1.2; }
.licence-flow-diagram text { fill:var(--paper); text-anchor:middle; font:400 20px Outfit,sans-serif; }
.licence-flow-source rect { stroke:var(--gold); }
.licence-flow-source text { fill:var(--gold); font-size:22px; }
.licence-flow-tracks path { fill:none; stroke:var(--dark-rule); stroke-width:1.5; }
.licence-flow-connections path { fill:none; stroke:var(--gold); stroke-width:1.5; stroke-dasharray:1; stroke-dashoffset:0; }
.licence-flow-caption { border-top:1px solid var(--dark-rule); padding-top:22px; }
.licence-flow-label { color:var(--muted); font-size:13px; }
.licence-flow-pair { display:grid; grid-template-columns:minmax(0,1fr) 16px minmax(0,1.5fr); gap:10px; align-items:center; margin-top:10px; font-size:16px; line-height:1.5; }
.licence-flow-pair > :nth-child(2) { color:var(--gold); text-align:center; }
.licence-flow-note { margin-top:14px; color:var(--muted); font-size:14px; line-height:1.6; }
#apply { padding-top:96px; }
@media (max-width:760px) {
  .performance-next { align-items:stretch; gap:12px; margin-top:28px; }
  .performance-next > .button { width:100%; justify-content:space-between; }
  #member { padding-bottom:56px; }
  #member .licence-flow { padding:24px; }
  .licence-flow-pair { font-size:14px; gap:8px; }
  #apply { padding-top:64px; }
}
@media (prefers-reduced-motion:reduce) {
  .licence-flow [data-flow-path] { stroke-dashoffset:0 !important; }
  .licence-flow [data-flow-account] { opacity:1 !important; }
}

/* The account reconnects: a single jade/gold wash, confined to the data surface. */
.daily-growth, .performance-growth { position:relative; }
.live-arrival-light {
  position:absolute; inset:0; overflow:hidden; border-radius:inherit;
  pointer-events:none; z-index:2; opacity:0; contain:paint;
  background:radial-gradient(ellipse at 18% 100%,rgba(92,191,160,.12),transparent 72%);
}
.live-arrival-beam {
  position:absolute; inset:-30% -10%; pointer-events:none;
  background:linear-gradient(100deg,transparent 25%,rgba(92,191,160,.03) 40%,rgba(223,194,123,.14) 50%,rgba(92,191,160,.05) 60%,transparent 75%);
}
@media (prefers-reduced-motion:reduce) {
  .live-arrival-light { display:none; }
}

/* Conversion rhythm: keep the first proof close to the product and action. */
.hero{min-height:0;padding-top:40px;padding-bottom:0;grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr);row-gap:0}
.pulse-stage{min-height:360px;gap:32px;padding-bottom:0}
.hero-baseline{position:relative;inset:auto;grid-column:1/-1;height:auto;min-height:56px;margin-top:32px;padding-block:8px}
.performance-section{padding-top:48px}
.performance-section .performance-copy{align-items:flex-end;gap:24px}
.performance-provenance{max-width:38ch;font-size:14px;line-height:1.6;color:var(--performance-copy)}
#questions{padding:48px var(--space);background:var(--ink);color:var(--paper)}
#questions .section-intro{margin-bottom:24px}
#questions h2{font:400 clamp(32px,4vw,52px)/1.15 Outfit,sans-serif;letter-spacing:-.025em}
.public-faq{display:grid;grid-template-columns:1fr 1fr;column-gap:48px}
#questions .public-faq details{min-width:0;border:0;border-top:1px solid var(--dark-rule);padding-block:16px}
#questions .public-faq summary{cursor:pointer;padding:0;font:400 20px/1.4 Outfit,sans-serif;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:16px}
#questions .public-faq p{padding:0;margin:12px 0 0;font-size:16px;line-height:1.65;max-width:60ch;color:var(--muted)}
.public-faq a{color:var(--gold);text-decoration:underline;text-underline-offset:3px}
@media(min-width:1600px){.hero{padding-top:48px}.pulse-stage{min-height:400px}}
@media(min-width:761px) and (max-width:1000px){.hero{padding-top:32px}.pulse-stage{min-height:320px}}
@media(max-width:760px){.hero{padding-top:28px;padding-bottom:0}.pulse-stage{min-height:280px;margin-top:24px;gap:24px}.hero-baseline{margin-top:24px;min-height:52px}.performance-section{padding-top:40px}.public-faq{grid-template-columns:1fr}#questions .public-faq summary{font-size:19px}#questions{padding-block:40px}}

#questions .public-faq summary>.icon{flex-shrink:0;width:22px;height:22px}#questions .public-faq details[open] .disclosure-stem{opacity:0}
