/* ALNA — Marketing site brand styles
   Palette matches the product app (app/public/css/style.css):
   navy #0F1D2E · gold #D4A017 · cream #F5F1EA · beige #DCCBB3/#EAE6DF */

@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --navy: #0F1D2E;
  --navy-2: #1F364F;
  --gold: #D4A017;
  --gold-dark: #9c7414;
  --cream: #F5F1EA;
  --beige: #DCCBB3;
  --beige-light: #EAE6DF;
  --text: #0F1D2E;
  --text-muted: #48535f;
  --text-mute-2: #5a6470;
  --text-mute-3: #8a94a0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Heebo', sans-serif;
  background: var(--cream);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
::selection { background: var(--gold); color: var(--navy); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* skip link for keyboard/screen-reader users */
.skip-link {
  position: absolute;
  right: 12px;
  top: -60px;
  background: var(--navy);
  color: var(--cream);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  z-index: 200;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.alna-eyebrow { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.alna-eyebrow span:first-child { width: 30px; height: 2px; background: var(--gold); display: block; border-radius: 2px; }
.alna-eyebrow span:last-child { font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--gold-dark); }

@keyframes alnaFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes alnaBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-2.5px); } }
@keyframes alnaWave { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(7deg); } }
@keyframes alnaBottleneck { 0%,16% { opacity:.3; transform: scale(.8); } 32%,55% { opacity:1; transform: scale(1.14); } 72%,100% { opacity:.3; transform: scale(.8); } }
@keyframes alnaWalk1 {
  0% { transform: translate(508px,286px); opacity: 1; }
  22% { transform: translate(408px,286px); }
  34% { transform: translate(330px,250px); }
  48% { transform: translate(250px,212px); }
  62% { transform: translate(178px,182px); }
  80% { transform: translate(104px,154px); }
  92% { transform: translate(46px,126px); opacity: 1; }
  97% { opacity: 0; }
  100% { transform: translate(46px,126px); opacity: 0; }
}
@keyframes alnaData1 { 0% { transform: translate(496px,138px); opacity: 0; } 28% { opacity: 1; } 100% { transform: translate(322px,250px); opacity: 0; } }
@keyframes alnaData2 { 0% { transform: translate(524px,232px); opacity: 0; } 28% { opacity: 1; } 100% { transform: translate(322px,250px); opacity: 0; } }
@keyframes alnaData3 { 0% { transform: translate(470px,300px); opacity: 0; } 28% { opacity: 1; } 100% { transform: translate(322px,250px); opacity: 0; } }
@keyframes alnaNodePulse { 0%,100% { opacity:.55; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes alnaSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* ============ HEADER / NAV ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242,237,228,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15,29,46,.07);
}
.site-header-inner {
  max-width: 1200px; margin: 0 auto; padding: 15px 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-logo img { height: 40px; width: auto; display: block; }
.nav-desktop { display: flex; align-items: center; gap: 32px; font-size: 15.5px; font-weight: 500; }
.nav-desktop a { color: #414c58; transition: color .2s; }
.nav-desktop a:hover { color: var(--navy); }
.btn-gold {
  background: var(--gold); color: var(--navy); font-weight: 700; font-size: 15px;
  padding: 11px 24px; border-radius: 7px; display: inline-block;
  transition: transform .2s, box-shadow .2s; box-shadow: 0 6px 16px rgba(212,160,23,.32);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(212,160,23,.4); }
.btn-gold.large { font-size: 17px; padding: 15px 34px; box-shadow: 0 12px 28px rgba(212,160,23,.3); }
.btn-gold.large:hover { transform: translateY(-2px); }
.btn-gold.cta { font-size: 17px; padding: 16px 38px; box-shadow: 0 14px 32px rgba(212,160,23,.32); }
.btn-outline-light {
  color: var(--cream); font-weight: 600; font-size: 17px; padding: 16px 30px;
  border: 1px solid rgba(245,241,234,.28); border-radius: 9px; display: inline-block; transition: background .2s;
}
.btn-outline-light:hover { background: rgba(245,241,234,.08); }
.link-arrow { color: var(--navy); font-weight: 600; font-size: 17px; padding: 15px 18px; display: inline-flex; align-items: center; gap: 9px; border-bottom: 2px solid transparent; transition: border-color .2s; }
.link-arrow:hover { border-color: var(--gold); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px; align-items: flex-end;
}
.nav-toggle span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; display: block; }
.nav-mobile-panel {
  display: none; flex-direction: column; gap: 4px;
  background: var(--cream); border-top: 1px solid rgba(15,29,46,.08);
  padding: 10px 36px 18px;
}
.nav-mobile-panel a { padding: 12px 0; font-size: 16px; font-weight: 600; color: var(--navy); border-bottom: 1px solid rgba(15,29,46,.06); }
.nav-mobile-panel.open { display: flex; }

/* ============ HERO ============ */
.hero {
  position: relative;
  background: radial-gradient(120% 80% at 88% 8%, rgba(212,160,23,.1), transparent 55%), radial-gradient(90% 70% at 5% 100%, rgba(220,203,179,.32), transparent 60%);
}
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 90px 36px 92px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(38px,4.6vw,60px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 26px; }
.hero-lede { font-size: clamp(18px,1.4vw,20px); line-height: 1.7; color: var(--text-muted); max-width: 560px; margin-bottom: 38px; }
.hero-stage-row { display: flex; align-items: center; gap: 28px; margin-top: 46px; }

.report-card { position: relative; background: #fff; border-radius: 22px; padding: 32px 30px 26px; box-shadow: 0 34px 80px -30px rgba(15,29,46,.42); border: 1px solid rgba(15,29,46,.05); }
.hero-callout { position: absolute; bottom: -26px; right: -20px; background: var(--navy-2); color: var(--cream); border-radius: 14px; padding: 13px 18px; box-shadow: 0 20px 44px -14px rgba(15,29,46,.55); animation: alnaFloat 5s ease-in-out infinite; display: flex; align-items: center; gap: 12px; }

/* ============ MISSION STRIP ============ */
.mission-strip { background: var(--navy-2); color: var(--cream); }
.mission-strip-inner { max-width: 1200px; margin: 0 auto; padding: 30px 36px; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; text-align: center; }

/* ============ SECTION SHELLS ============ */
.section { max-width: 1200px; margin: 0 auto; padding: 104px 36px 60px; }
.section-tight { padding-top: 90px; padding-bottom: 60px; }
.section-white { background: #fff; border-block: 1px solid rgba(15,29,46,.06); }
.section-white .section-inner,
.section-cream .section-inner { max-width: 1200px; margin: 0 auto; padding: 100px 36px; }

/* ============ PROBLEM ============ */
.grid-problem { display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: start; }
.problem-sticky { position: sticky; top: 110px; }
.challenge-card { display: flex; gap: 26px; padding: 30px 4px; border-top: 1px solid rgba(15,29,46,.12); transition: padding-right .25s; }
.challenge-card:hover { padding-right: 8px; }
.challenge-card:last-child { border-bottom: 1px solid rgba(15,29,46,.12); }

/* ============ METHOD ============ */
.grid-method-top { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: start; margin-bottom: 88px; }
.method-step { display: flex; gap: 18px; align-items: stretch; }
.method-step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--beige-light); color: var(--gold-dark); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.method-step-num.active { background: var(--gold); color: #fff; }
.grid-method-output { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.output-card { background: var(--beige-light); border-radius: 16px; padding: 32px 28px; }

/* ============ REPORT SHOWCASE ============ */
.report-showcase { background: var(--navy-2); color: var(--cream); position: relative; overflow: hidden; }
.grid-report { max-width: 1200px; margin: 0 auto; padding: 100px 36px; position: relative; display: grid; grid-template-columns: .86fr 1.14fr; gap: 56px; align-items: center; }

/* ============ IMPLEMENTATION ============ */
.grid-impl-top { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; margin-bottom: 64px; }
.grid-impl-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.impl-card { background: var(--beige-light); border-radius: 16px; padding: 26px 24px; }
.impl-card.dark { background: var(--navy); }
.impl-card.dark h3 { color: var(--cream); }
.impl-card.dark p { color: #b8c0c9; }

/* ============ WHO ============ */
.grid-who { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 20px; }
.who-card { background: var(--beige-light); border-radius: 14px; padding: 26px 22px; border-right: 3px solid var(--gold); }

/* ============ MANIFESTO ============ */
.manifesto { background: var(--navy-2); position: relative; overflow: hidden; }
.manifesto-inner { max-width: 760px; margin: 0 auto; padding: 140px 36px; position: relative; }

/* ============ CTA ============ */
.cta-box { background: var(--navy-2); border-radius: 26px; padding: 66px 48px; position: relative; overflow: hidden; text-align: center; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }

/* ============ FOOTER ============ */
.site-footer { border-top: 1px solid rgba(15,29,46,.1); }
.footer-top { max-width: 1200px; margin: 0 auto; padding: 54px 36px 40px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-col-title { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--gold-dark); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--text-mute-2); }
.footer-links a:hover { color: var(--navy); }
.footer-bottom-bar { border-top: 1px solid rgba(15,29,46,.08); }
.footer-bottom-inner { max-width: 1200px; margin: 0 auto; padding: 20px 36px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--text-mute-3); }
.footer-legal-row { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal-row a:hover { color: var(--navy); }

/* ============ FAQ STICKY BAR ============ */
.faq-bar { position: fixed; bottom: 0; right: 0; left: 0; z-index: 80; display: flex; justify-content: center; pointer-events: none; }
.faq-bar button {
  all: unset; cursor: pointer; pointer-events: auto; background: var(--navy); color: var(--cream);
  padding: 13px 26px; border-radius: 14px 14px 0 0; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 -10px 26px rgba(0,0,0,.2); font-family: 'Heebo', sans-serif;
}
.faq-icon { font-size: 12px; color: var(--gold); }
.faq-backdrop { position: fixed; inset: 0; background: rgba(15,29,46,.55); z-index: 75; display: none; }
.faq-panel {
  position: fixed; bottom: 56px; right: 0; left: 0; z-index: 78; max-width: 720px; margin: 0 auto;
  background: var(--cream); border-radius: 20px 20px 0 0; box-shadow: 0 -24px 60px rgba(0,0,0,.32);
  max-height: 74vh; overflow-y: auto; padding: 32px 32px 28px; display: none;
}
body.faq-open .faq-backdrop, body.faq-open .faq-panel { display: block; }
.faq-item { border-top: 1px solid #e5ded0; padding: 16px 0; }
.faq-item button.faq-q { all: unset; cursor: pointer; display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; font-family: 'Heebo', sans-serif; }
.faq-item .faq-a { font-size: 14.5px; line-height: 1.62; color: var(--text-mute-2); margin-top: 10px; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-toggle-icon::before { content: '−'; }
.faq-toggle-icon::before { content: '+'; }

/* ============ COOKIE BANNER ============ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: var(--navy); color: var(--cream);
  padding: 18px 24px; display: none; align-items: center; justify-content: center;
  gap: 20px; flex-wrap: wrap; box-shadow: 0 -8px 24px rgba(0,0,0,.25);
}
.cookie-banner.visible { display: flex; }
.cookie-banner p { font-size: 14px; line-height: 1.6; max-width: 640px; color: #dfe4e9; }
.cookie-banner a { text-decoration: underline; color: var(--gold); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions button {
  border: none; border-radius: 7px; padding: 9px 18px; font-weight: 700; font-size: 14px; cursor: pointer; font-family: 'Heebo', sans-serif;
}
.cookie-accept { background: var(--gold); color: var(--navy); }
.cookie-reject { background: transparent; color: var(--cream); border: 1px solid rgba(245,241,234,.35) !important; }

/* ============ LEGAL / PROSE PAGES ============ */
.legal-main { max-width: 820px; margin: 0 auto; padding: 70px 36px 100px; }
.legal-main h1 { font-size: clamp(28px,3.4vw,40px); font-weight: 800; margin-bottom: 10px; letter-spacing: -.015em; }
.legal-updated { font-size: 14px; color: var(--text-mute-3); margin-bottom: 40px; }
.legal-main h2 { font-size: 21px; font-weight: 700; margin: 40px 0 12px; color: var(--navy); }
.legal-main p { font-size: 16px; line-height: 1.75; color: var(--text-mute-2); margin-bottom: 14px; }
.legal-main ul { margin: 0 0 14px; padding-inline-start: 22px; }
.legal-main li { font-size: 16px; line-height: 1.75; color: var(--text-mute-2); margin-bottom: 8px; }
.legal-main a { color: var(--gold-dark); text-decoration: underline; }

/* ============ SAMPLE REPORT PAGE ============ */
.rpt-hero { background: var(--navy); color: var(--cream); padding: 60px 36px 44px; text-align: center; }
.rpt-hero-inner { max-width: 900px; margin: 0 auto; }
.rpt-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--gold); text-transform: uppercase; margin-bottom: 14px; }
.rpt-hero h1 { font-size: clamp(28px,3.6vw,42px); font-weight: 800; line-height: 1.25; margin-bottom: 16px; }
.rpt-hero-meta { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; font-size: 14px; color: #b8c0c9; margin-top: 18px; }
.rpt-hero-meta b { color: var(--cream); }
.rpt-demo-tag { display: inline-block; background: rgba(212,160,23,.16); color: var(--gold); font-size: 12.5px; font-weight: 700; padding: 5px 14px; border-radius: 20px; margin-bottom: 18px; }

.rpt-main { max-width: 900px; margin: 0 auto; padding: 56px 36px 100px; }
.rpt-section { margin-bottom: 56px; }
.rpt-section-title { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.rpt-num { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rpt-section-title h2 { font-size: 22px; font-weight: 700; color: var(--navy); }

.rpt-summary-card { background: #fff; border: 1px solid #ede9e3; border-radius: 16px; padding: 30px 28px; box-shadow: 0 10px 30px rgba(15,23,42,.06); }
.rpt-what-works { display: grid; gap: 12px; }
.rpt-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.6; color: #374151; }
.rpt-check b { color: var(--navy); }
.rpt-check::before { content: '✓'; color: #1f8a5b; font-weight: 700; flex-shrink: 0; }

.rpt-mechanism-chain { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; background: var(--beige-light); border-radius: 14px; padding: 24px 20px; }
.rpt-chain-node { background: #fff; border: 1px solid #e5ded0; border-radius: 10px; padding: 10px 16px; font-size: 14px; font-weight: 600; color: var(--navy); }
.rpt-chain-node.end { background: var(--navy); color: var(--cream); }
.rpt-chain-arrow { color: var(--gold); font-size: 16px; }

.rpt-intervention-card { background: var(--navy); color: var(--cream); border-radius: 16px; padding: 30px 28px; }
.rpt-intervention-card h3 { font-size: 19px; margin-bottom: 6px; }
.rpt-confidence-label { color: var(--gold); font-weight: 700; font-size: 13px; margin-bottom: 14px; }
.rpt-metric-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 18px; }
.rpt-metric { background: rgba(245,241,234,.08); border-radius: 10px; padding: 14px; text-align: center; }
.rpt-metric .num { font-size: 22px; font-weight: 800; color: var(--gold); }
.rpt-metric .lbl { font-size: 12px; color: #b8c0c9; margin-top: 4px; }

table.rpt-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.rpt-table th { text-align: right; font-size: 12.5px; letter-spacing: .04em; color: #6b7280; text-transform: uppercase; padding: 10px 12px; border-bottom: 2px solid #ede9e3; }
table.rpt-table td { padding: 12px; border-bottom: 1px solid #f0ebe4; color: #374151; }
.rpt-tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.rpt-tag.high { background: rgba(192,57,43,.1); color: #c0392b; }
.rpt-tag.mid { background: rgba(212,160,23,.14); color: #9c7414; }

.rpt-flag-card { background: #fff; border: 1px solid #ede9e3; border-radius: 14px; padding: 22px 24px; margin-bottom: 16px; }
.rpt-flag-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 12px; color: var(--navy); }
.rpt-hyp { border-top: 1px solid #f0ebe4; padding-top: 14px; margin-top: 14px; }
.rpt-hyp:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.rpt-hyp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.rpt-hyp-head .name { font-weight: 700; font-size: 14.5px; color: var(--navy); }
.rpt-hyp-head .pct { font-size: 13px; font-weight: 700; color: var(--gold-dark); }
.rpt-bar-track { height: 6px; border-radius: 4px; background: #e7e2d8; overflow: hidden; margin-bottom: 10px; }
.rpt-bar-fill { height: 100%; border-radius: 4px; background: var(--gold); }
.rpt-evidence { font-size: 13.5px; color: #6b7682; line-height: 1.7; }

.rpt-action-card { background: #fff; border: 1px solid #ede9e3; border-radius: 16px; padding: 26px 26px 24px; margin-bottom: 20px; }
.rpt-action-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.rpt-action-badge { background: var(--navy); color: var(--gold); font-weight: 800; font-size: 13px; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rpt-action-head h3 { font-size: 18px; font-weight: 700; color: var(--navy); }
.rpt-action-pill { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.rpt-action-pill.impact { background: rgba(192,57,43,.1); color: #c0392b; }
.rpt-action-pill.effort { background: rgba(31,138,91,.1); color: #1f8a5b; }
.rpt-action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 16px; }
.rpt-action-block-title { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: #9c7414; text-transform: uppercase; margin-bottom: 8px; }
.rpt-action-block p, .rpt-action-block li { font-size: 14px; line-height: 1.65; color: #374151; }
.rpt-action-block ul { list-style: none; padding: 0; }
.rpt-action-block li { display: flex; gap: 8px; padding: 3px 0; }
.rpt-action-footer { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid #f0ebe4; font-size: 13.5px; }
.rpt-action-footer b { color: var(--navy); }
.rpt-help-box { background: var(--beige-light); border-radius: 10px; padding: 14px 16px; margin-top: 16px; font-size: 13.5px; line-height: 1.6; color: #3a4450; }

.rpt-note { text-align: center; font-size: 13px; color: var(--text-mute-3); margin-top: 10px; }

@media (max-width: 700px) {
  .rpt-metric-row { grid-template-columns: 1fr; }
  .rpt-action-grid { grid-template-columns: 1fr; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-callout { position: static; margin-top: 18px; }
  .grid-problem { grid-template-columns: 1fr; gap: 40px; }
  .problem-sticky { position: static; }
  .grid-method-top { grid-template-columns: 1fr; margin-bottom: 56px; }
  .grid-method-top > div:last-child { position: static !important; }
  .grid-impl-top { grid-template-columns: 1fr; }
  .grid-report { grid-template-columns: 1fr; }
  .grid-who { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 800px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .site-header-inner .btn-gold { display: none; }
}
@media (max-width: 700px) {
  .grid-method-output { grid-template-columns: 1fr; }
  .grid-impl-cards { grid-template-columns: 1fr; }
  .grid-who { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .section, .section-white .section-inner, .section-cream .section-inner { padding-left: 22px; padding-right: 22px; }
  .hero-inner { padding-left: 22px; padding-right: 22px; }
}
