/* =============================================================
   Pulse — Landing page (Launch)
   Faithful reconstruction of "Pulse Launch.dc.html" as standalone code.
   Design tokens, components, hero scrollytelling, responsive + a11y fallbacks.
   ============================================================= */

:root {
  /* Surfaces */
  --bg:            #020305;
  --bg-band:       #07090C;

  /* Accent (cyan liquid-light) */
  --accent:        #6FD2FF;
  --accent-soft:   rgba(155, 224, 255, 0.90);
  --accent-eyebrow:rgba(155, 224, 255, 0.85);
  --accent-link:   #9BE0FF;

  /* Text ramp */
  --text-hero:     #F4F8FB;
  --text-head:     #F0F5F9;
  --text-card:     #EAF2F8;
  --text-faq:      #EDF3F8;
  --text-strong:   rgba(232, 241, 248, 0.75);
  --text-body:     rgba(228, 238, 246, 0.60);
  --text-muted:    rgba(226, 236, 244, 0.55);
  --text-dim:      rgba(214, 228, 238, 0.50);
  --text-faint:    rgba(214, 228, 238, 0.45);
  --text-ghost:    rgba(214, 228, 238, 0.35);

  /* Lines & glass */
  --hairline:      rgba(255, 255, 255, 0.08);
  --hairline-soft: rgba(255, 255, 255, 0.06);
  --card-bg:       rgba(255, 255, 255, 0.02);
  --card-border:   rgba(255, 255, 255, 0.10);
  --card-border-2: rgba(255, 255, 255, 0.08);

  /* Type */
  --font-display: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --maxw:      1060px;
  --maxw-read: 860px;
  --measure:   660px;
}

/* ---------- Reset / base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { background: var(--bg); }
html { scrollbar-width: none; scroll-behavior: smooth; }
body {
  font-family: var(--font-display);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::-webkit-scrollbar { display: none; }

a { color: var(--accent-link); text-decoration: none; }
a:hover { color: #FFFFFF; }
::selection { background: rgba(111, 210, 255, 0.25); }

canvas { display: block; }

.contact__botcheck {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact__captcha {
  min-height: 78px;
  display: flex;
  align-items: center;
  margin-top: 4px;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(7px); }
}

/* Scroll-reveal targets (driven by pulse.js during the hero sequence) */
.reveal { opacity: 0; will-change: transform, opacity; }

/* =============================================================
   HERO — 320vh sticky-canvas scrollytelling
   ============================================================= */
.hero {
  position: relative;
  height: 320vh;
  background: var(--bg);
}
.hero__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--bg);
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__topbar {
  position: absolute;
  top: 28px;
  left: 32px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 22px;
}
.hero__brandtag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: rgba(214, 228, 238, 0.55);
  pointer-events: none;
}

/* Language toggle (ITA / ENG) */
.lang-toggle { display: flex; align-items: center; gap: 8px; }
.lang-sep {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(214, 228, 238, 0.30);
}
.lang-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  background: transparent;
  border: none;
  padding: 4px 2px;
  cursor: pointer;
  color: rgba(214, 228, 238, 0.40);
  transition: color 0.25s ease, text-shadow 0.25s ease;
}
.lang-btn:hover { color: rgba(244, 248, 251, 0.85); }
.lang-btn.is-active {
  color: #F4F8FB;
  text-shadow: 0 0 12px rgba(111, 210, 255, 0.5);
}

.hero__rail {
  position: absolute;
  top: 50%;
  right: 26px;
  width: 2px;
  height: 140px;
  margin-top: -70px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 2px;
  pointer-events: none;
}
.hero__rail-thumb {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 34px;
  background: rgba(190, 226, 248, 0.85);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(111, 210, 255, 0.6);
}

.hero__hint {
  position: absolute;
  bottom: 36px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}
.hero__hint-arrow {
  animation: bob 2.2s ease-in-out infinite;
  color: rgba(214, 228, 238, 0.5);
  font-size: 15px;
  line-height: 1;
}
.hero__hint-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.34em;
  color: rgba(214, 228, 238, 0.45);
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  pointer-events: none;
}
.hero__eyebrow {
  margin-bottom: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.34em;
  color: var(--accent-soft);
}
.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 6.2vw, 92px);
  line-height: 1.0;
  letter-spacing: 0.015em;
  color: var(--text-hero);
  text-shadow: 0 0 60px rgba(111, 210, 255, 0.28);
}
.hero__title .accent { color: rgba(155, 224, 255, 0.95); }

.hero__lede {
  margin: 28px 0 0;
  max-width: 580px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--text-body);
}

.hero__cta {
  margin-top: 40px;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.hero__cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__cta-note {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(214, 228, 238, 0.40);
}

.hero__foot {
  position: absolute;
  bottom: 30px;
  left: 32px;
  right: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: rgba(214, 228, 238, 0.50);
}
.hero__foot-mark { color: rgba(155, 224, 255, 0.6); }

/* =============================================================
   BUTTONS (pill)
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.btn--primary {
  padding: 0 36px;
  border: 1px solid var(--text-hero);
  color: #05070A;
  background: var(--text-hero);
}
.btn--primary:hover {
  background: #FFFFFF;
  color: #000000;
  box-shadow: 0 0 30px rgba(111, 210, 255, 0.35);
}
.btn--secondary {
  padding: 0 32px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(240, 247, 252, 0.9);
  background: rgba(255, 255, 255, 0.02);
}
.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  color: #FFFFFF;
}

/* =============================================================
   SECTIONS
   ============================================================= */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 150px 28px 0;
}
.section--read { max-width: var(--maxw-read); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--accent-eyebrow);
}

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.05;
  color: var(--text-head);
  text-wrap: pretty;
}
.h2--tight { letter-spacing: 0.005em; }

/* Paragraph scales */
.p-lead  { max-width: var(--measure); font-size: 18px; line-height: 1.8; color: var(--text-strong); }
.p-body  { max-width: var(--measure); font-size: 16px; line-height: 1.8; color: var(--text-muted); }

/* Section-specific rhythm */
.problem .h2   { margin: 20px 0 30px; }
.problem .p-lead { margin: 0 0 22px; }

.solution .h2  { margin: 20px 0 30px; }
.solution .intro { margin: 0 0 40px; }
.solution .outro { margin: 40px 0 0; }

.features .h2  { margin: 20px 0 44px; }
.how .h2       { margin: 20px 0 44px; }

/* =============================================================
   Prompt example cards (Solution)
   ============================================================= */
.prompt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.prompt-card {
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 24px;
  background: var(--card-bg);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.75;
  color: rgba(205, 232, 248, 0.85);
}
.prompt-card .chev { color: rgba(155, 224, 255, 0.9); }

/* =============================================================
   Feature grid
   ============================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.feature {
  border: 1px solid var(--card-border-2);
  border-radius: 14px;
  padding: 26px;
  background: var(--card-bg);
}
.feature__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-card);
  margin-bottom: 10px;
}
.feature__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.feature__head .feature__title { margin-bottom: 0; }
.feature__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}
.badge {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(155, 224, 255, 0.9);
  border: 1px solid rgba(155, 224, 255, 0.35);
  border-radius: 999px;
  padding: 3px 9px;
}

/* =============================================================
   How it works (steps)
   ============================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.step__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: rgba(155, 224, 255, 0.9);
  margin-bottom: 14px;
}
.step__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-card);
  margin-bottom: 10px;
}
.step__desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* =============================================================
   ROI band
   ============================================================= */
.band {
  margin-top: 150px;
  background: var(--bg-band);
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
}
.band__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 110px 28px;
}
.band .h2 { margin: 20px 0 26px; }
.band .lede { margin: 0 0 44px; max-width: var(--measure); font-size: 16px; line-height: 1.8; color: var(--text-muted); }

.roi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px 40px;
}
.roi__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-card);
  margin-bottom: 8px;
}
.roi__desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

.callout {
  margin-top: 48px;
  border: 1px solid rgba(155, 224, 255, 0.18);
  border-radius: 14px;
  padding: 26px 28px;
  background: rgba(111, 210, 255, 0.03);
}
.callout__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  color: rgba(155, 224, 255, 0.8);
  margin-bottom: 12px;
}
.callout__text {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(226, 236, 244, 0.7);
  max-width: 720px;
}

/* =============================================================
   FAQ
   ============================================================= */
.faq .h2 { margin: 20px 0 30px; }
.faq__item {
  border-top: 1px solid var(--hairline);
  padding: 26px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq__item:last-child { border-bottom: 1px solid var(--hairline); }
.faq__q {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-faq);
}
.faq__a {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* =============================================================
   Final CTA
   ============================================================= */
.final {
  max-width: var(--maxw-read);
  margin: 0 auto;
  padding: 160px 28px 150px;
  text-align: center;
}
.final__title {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 5.5vw, 72px);
  line-height: 1.02;
  color: var(--text-hero);
  text-shadow: 0 0 60px rgba(111, 210, 255, 0.22);
  text-wrap: pretty;
}
.final__lede {
  margin: 0 auto 40px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
}
.final__row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* =============================================================
   Footer
   ============================================================= */
.footer { border-top: 1px solid rgba(255, 255, 255, 0.07); }
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 28px 44px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.footer__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--text-head);
}
.footer__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(214, 228, 238, 0.45);
}
.footer__legal {
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-ghost);
  max-width: 760px;
}
.footer__copy {
  font-size: 12px;
  color: var(--text-ghost);
}

/* =============================================================
   Contact
   ============================================================= */
.contact {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 28px 150px;
}
.contact__title {
  margin: 20px 0 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  color: var(--text-head);
}
.contact__lede {
  margin: 0 0 36px;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
}
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.field {
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: var(--text-head);
  font-family: var(--font-display);
  font-size: 15px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field::placeholder { color: rgba(214, 228, 238, 0.4); }
.field:focus {
  border-color: rgba(155, 224, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(111, 210, 255, 0.08);
}
.field--area {
  padding: 14px 18px;
  min-height: 132px;
  line-height: 1.6;
  resize: vertical;
}
.contact__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.contact__actions .btn { cursor: pointer; }
.contact__status {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  line-height: 1.6;
  color: rgba(214, 228, 238, 0.4);
}
.contact__consent {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(214, 228, 238, 0.4);
  cursor: pointer;
}
.contact__consent a { text-decoration: underline; text-underline-offset: 2px; }
.contact__checkbox {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #9BE0FF;
}

/* =============================================================
   Footer bottom row + links (shared)
   ============================================================= */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__links { display: flex; gap: 20px; }
.footer__links a {
  font-size: 12px;
  color: rgba(214, 228, 238, 0.45);
}
.footer__links a:hover { color: #FFFFFF; }
.footer__legalid { font-size: 12px; line-height: 1.7; color: var(--text-ghost); }
.footer__legalid .ph {
  color: #9BE0FF;
  background: rgba(155, 224, 255, 0.08);
  padding: 0 4px;
  border-radius: 4px;
}

/* =============================================================
   Pricing page
   ============================================================= */
.pricing-header {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.pricing-header__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.08em;
  color: var(--text-head);
}
.pricing-header__nav { display: flex; align-items: center; gap: 20px; }
.home-link {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: rgba(214, 228, 238, 0.5);
}

.pricing-hero {
  max-width: var(--maxw-read);
  margin: 0 auto;
  padding: 90px 28px 0;
  text-align: center;
}
.pricing-hero__title {
  margin: 20px 0 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 1.02;
  color: var(--text-hero);
  text-shadow: 0 0 60px rgba(155, 224, 255, 0.22);
  text-wrap: pretty;
}
.pricing-hero__sub {
  margin: 0 auto;
  max-width: 540px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
}

.billing-toggle {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.02);
}
.billing-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  border: none;
  border-radius: 999px;
  padding: 11px 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: background 0.25s ease, color 0.25s ease;
  background: transparent;
  color: rgba(214, 228, 238, 0.6);
}
.billing-btn.is-active { background: var(--text-hero); color: #05070A; }
.billing-save {
  margin-left: 8px;
  font-size: 9px;
  border-radius: 999px;
  padding: 2px 8px;
  color: rgba(155, 224, 255, 0.9);
  border: 1px solid rgba(155, 224, 255, 0.35);
}
.billing-btn.is-active .billing-save {
  color: #05070A;
  border-color: rgba(5, 7, 10, 0.35);
}

.tiers {
  max-width: 920px;
  margin: 0 auto;
  padding: 60px 28px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  align-items: stretch;
}
.tier {
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 36px 32px;
  background: var(--card-bg);
  display: flex;
  flex-direction: column;
}
.tier--pro {
  position: relative;
  border: 1px solid rgba(155, 224, 255, 0.4);
  background: rgba(155, 224, 255, 0.04);
  box-shadow: 0 0 60px rgba(155, 224, 255, 0.08);
}
.tier__badge {
  position: absolute;
  top: -11px;
  left: 32px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: #05070A;
  background: #9BE0FF;
  border-radius: 999px;
  padding: 5px 12px;
}
.tier__name {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.26em;
  color: rgba(214, 228, 238, 0.6);
}
.tier__name--pro { color: rgba(155, 224, 255, 0.9); }
.tier__price {
  margin-top: 20px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.tier__amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  color: var(--text-hero);
}
.tier__period { font-size: 14px; color: rgba(214, 228, 238, 0.5); }
.tier__note { margin-top: 8px; font-size: 12px; color: rgba(155, 224, 255, 0.75); }
.tier__note[hidden] { display: none; }
.tier__desc {
  margin: 14px 0 26px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}
.tier__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(226, 236, 244, 0.7);
  flex: 1;
}
.tier__feat { display: flex; gap: 10px; }
.tier__mark { color: rgba(155, 224, 255, 0.9); }
.tier__feat-strong { font-weight: 600; color: var(--text-card); }
.tier__cta { margin-top: 32px; }

.team-note-wrap { max-width: 920px; margin: 0 auto; padding: 40px 28px 0; }
.team-note {
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 26px 28px;
  background: var(--card-bg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.team-note__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-card);
  margin-bottom: 6px;
}
.team-note__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 560px;
}
.team-note__cta { min-height: 44px; padding: 0 28px; font-size: 11px; }

/* =============================================================
   Legal / privacy page
   ============================================================= */
.legal { max-width: 780px; margin: 0 auto; padding: 40px 28px 120px; }
.legal h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4.5vw, 50px);
  line-height: 1.05;
  color: var(--text-hero);
  margin-bottom: 8px;
}
.legal__updated {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  margin-bottom: 36px;
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--text-head);
  margin: 34px 0 12px;
}
.legal p { font-size: 15px; line-height: 1.8; color: rgba(226, 236, 244, 0.7); margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal li { font-size: 15px; line-height: 1.7; color: rgba(226, 236, 244, 0.7); }
.legal a { text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: var(--text-card); font-weight: 600; }
.legal .ph {
  color: #9BE0FF;
  background: rgba(155, 224, 255, 0.08);
  padding: 0 4px;
  border-radius: 4px;
}
.legal__back { margin-top: 40px; }
.legal-doc[hidden] { display: none; }
.legal__footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal__footer-legal,
.legal__footer-id,
.legal__footer-copy {
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-ghost);
}

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 640px) {
  .section { padding-top: 96px; }
  .band { margin-top: 96px; }
  .band__inner { padding: 80px 24px; }
  .final { padding: 110px 24px 100px; }
  .contact { padding-bottom: 100px; }
  .hero__topbar { top: 18px; left: 20px; gap: 14px; }
  .hero__foot { left: 20px; right: 20px; letter-spacing: 0.16em; font-size: 10px; }
  .hero__rail { display: none; }
}

/* =============================================================
   Accessibility fallbacks
   Reduced motion: reveal content immediately, collapse the tall
   scroll track, and drop the scroll affordances. pulse.js also
   detects this and renders a single calm static frame.
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero { height: 100vh; }
  .hero__hint { display: none; }
  .hero__rail { display: none; }
  .hero__hint-arrow { animation: none; }
}
