/* TrAIn Growth Partners — homepage styles (v2) */

:root {
  --navy: #0b1d3a;
  --navy-2: #13294f;
  --navy-3: #071429;
  --green: #8cc63f;
  --green-soft: #b9e27a;
  --green-deep: #5f9a1f;
  --gold: #c9a227;
  --ink: #15202f;
  --muted: #5b6676;
  --line: #e3e8ef;
  --tint: #f5f8fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 29, 58, 0.08);
  --shadow-lift: 0 18px 40px rgba(11, 29, 58, 0.14);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--navy); }
h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 750; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(var(--max), 92%); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--white); padding: .5rem 1rem; z-index: 99; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* Eyebrow + section heads */
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem;
  font-weight: 700; color: var(--green-deep); margin-bottom: .6rem;
}
.eyebrow-light { color: var(--green); }
.eyebrow.no-caps { text-transform: none; letter-spacing: .02em; font-size: .95rem; }
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy); color: #e8eef7; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { max-width: 760px; margin: 0 auto 2.6rem; text-align: center; }
.section-head-left { text-align: left; margin-left: 0; }
.section-head p:last-child { color: var(--muted); }
.section-dark .section-head p:last-child, .section-dark p { color: #c9d4e3; }
.lead { font-size: 1.15rem; color: #334155; max-width: 620px; }
.lead-sm { font-size: 1.05rem; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  font: inherit; font-weight: 600; transition: transform .15s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: var(--navy); box-shadow: 0 6px 18px rgba(140, 198, 63, .35); }
.btn-primary:hover { background: #9fd352; box-shadow: 0 10px 24px rgba(140, 198, 63, .45); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.section-dark .btn-ghost, .hero .btn-ghost { color: var(--white); border-color: var(--white); }
.section-dark .btn-ghost:hover, .hero .btn-ghost:hover { background: var(--white); color: var(--navy); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); transition: box-shadow .2s;
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--navy); }
.brand-badge { width: 44px; height: 44px; border-radius: 50%; }
.brand-text { font-weight: 800; font-size: 1.05rem; line-height: 1.1; }
.brand-text em { font-style: normal; color: var(--green-deep); display: block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 1.2rem; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: .92rem; color: var(--ink); position: relative; }
.site-nav a:not(.nav-cta):hover { color: var(--green-deep); }
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.site-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta { background: var(--navy); color: var(--white) !important; padding: .55rem 1.1rem; border-radius: 999px; }
.nav-cta:hover { background: var(--navy-2); }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; color: var(--white); overflow: hidden; background: var(--navy); }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 78% 50%, rgba(140, 198, 63, .10), transparent 70%),
    radial-gradient(rgba(243, 246, 249, .09) 1.2px, transparent 1.3px) 0 0 / 28px 28px,
    var(--navy);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding: clamp(70px, 10vw, 124px) 0; }
.hero h1 { color: var(--white); }
.hero .eyebrow { color: var(--green); }
.hero .lead { color: #d6e0ee; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 2rem; }
.hero-flow { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-flow li {
  font-size: .85rem; font-weight: 600; padding: .4rem .9rem; border-radius: 999px;
  border: 1px solid rgba(140, 198, 63, .6); color: var(--green);
  animation: pulse 5s ease-in-out infinite;
}
.hero-flow li:nth-child(2) { animation-delay: 1s; }
.hero-flow li:nth-child(3) { animation-delay: 2s; }
.hero-flow li:nth-child(4) { animation-delay: 3s; }
.hero-flow li:nth-child(5) { animation-delay: 4s; }
@keyframes pulse {
  0%, 100% { background: transparent; color: var(--green); }
  8%, 14% { background: var(--green); color: var(--navy); }
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split-reverse { grid-template-columns: 1.2fr .8fr; }
.split-icon { width: min(280px, 80%); margin: 0 auto; }

/* Partner comparison table */
.table-wrap { overflow-x: auto; border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 680px; background: var(--white); }
.compare th, .compare td { padding: 1.1rem 1.2rem; text-align: center; border-bottom: 1px solid var(--line); font-size: .97rem; }
.compare thead th { background: var(--tint); color: var(--navy); font-weight: 700; font-size: .95rem; }
.compare tbody th { text-align: left; color: var(--muted); font-weight: 600; width: 22%; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.compare td { color: #3b4657; transition: background .2s; }
.compare tbody tr:hover td { background: #fafcf6; }
.compare .is-tgp { background: #f0f8e3; color: var(--navy); font-weight: 700; position: relative; }
.compare thead .is-tgp { background: var(--navy); color: var(--white); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.table-note { text-align: center; color: var(--muted); margin: 1.4rem auto 0; max-width: 680px; font-size: .97rem; }

/* Roles */
.role-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-bottom: 3rem; }
.role-card {
  background: var(--white); border-radius: var(--radius); padding: 1.3rem 1.2rem; box-shadow: var(--shadow);
  border-top: 4px solid var(--green); transition: transform .2s, box-shadow .2s;
}
.role-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.role-title { font-weight: 800; color: var(--navy); font-size: 1.02rem; margin-bottom: .4rem; }
.role-card p:last-child { color: var(--muted); font-size: .93rem; margin: 0; }

.subhead { margin: 3.2rem 0 1.4rem; }
.subhead h3 { margin-bottom: .3rem; }
.subhead p { color: var(--muted); margin: 0; max-width: 700px; }
.subhead-center { text-align: center; }
.subhead-center h3 { margin-bottom: .2rem; }
.subhead-center .eyebrow { margin-bottom: .3rem; }

/* Accordion */
.acc { display: grid; gap: .75rem; max-width: 860px; }
.acc-item { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .2s; }
.acc-item:hover { box-shadow: var(--shadow-lift); }
.acc-item.is-open { border-color: var(--green); }
.acc-btn {
  width: 100%; display: flex; align-items: center; gap: 1rem; text-align: left;
  background: none; border: 0; padding: 1.1rem 1.3rem; cursor: pointer; font: inherit; color: var(--navy);
}
.acc-title { flex: 1; font-weight: 700; font-size: 1.02rem; }
.acc-icon {
  flex: 0 0 26px; height: 26px; border-radius: 50%; position: relative; background: #eef5e2; transition: transform .3s, background .2s;
}
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: var(--green-deep);
  transform: translate(-50%, -50%);
}
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.acc-item.is-open .acc-icon { transform: rotate(180deg); background: var(--green); }
.acc-item.is-open .acc-icon::before { background: var(--navy); }
.acc-item.is-open .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); background: var(--navy); }
.acc-body { padding: 0 1.3rem 1.2rem 1.3rem; color: var(--muted); }
.acc-body[hidden] { display: none; }
.acc-body p { margin: 0; }
.acc-numbered .acc-num {
  flex: 0 0 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: #eef5e2; color: var(--navy); font-weight: 800; font-size: .95rem; transition: background .2s;
}
.acc-numbered .acc-item.is-open .acc-num { background: var(--green); }
.acc-numbered .acc-icon { display: none; }
.acc-numbered .acc-body { padding-left: 4.2rem; }
.acc-numbered .acc-btn { padding: 1rem 1.3rem; }

/* Tabs */
.tabs { max-width: 900px; margin: 0 auto; }
.tabs:not(.eco-tabs) { margin-top: 1rem; }
.tab-list { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1.5rem; }
.tab {
  display: inline-flex; align-items: center; gap: .55rem; font: inherit; font-weight: 600;
  padding: .7rem 1.25rem; border-radius: 999px; border: 2px solid var(--line);
  background: var(--white); color: var(--navy); cursor: pointer; transition: .2s;
}
.tab img { width: 28px; height: 28px; }
.tab[aria-selected="true"] { border-color: var(--green); background: #f3fae7; }
.tab:hover { border-color: var(--green); }
.tab-panel {
  background: var(--white); border-radius: 20px; padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow); animation: fade .35s ease;
}
.tab-panel[hidden] { display: none; }
.tab-panel h4 { color: var(--green-deep); font-size: 1.1rem; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.check-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .55rem; }
.check-list li { padding-left: 1.8rem; position: relative; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .55rem; width: 14px; height: 8px;
  border-left: 3px solid var(--green-deep); border-bottom: 3px solid var(--green-deep); transform: rotate(-45deg);
}

/* Example box */
.example-box { background: #f3fae7; border-left: 4px solid var(--green-deep); border-radius: 0 12px 12px 0; padding: 1rem 1.2rem; margin: 1.6rem 0; }
.example-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--green-deep); margin-bottom: .3rem; }
.example-box p:last-child { margin: 0; color: var(--ink); font-size: .97rem; }

/* Ecosystem (dark) */
.ticker { overflow: hidden; margin: 0 -4% 2.4rem; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; gap: 2.2rem; width: max-content; animation: ticker 40s linear infinite; }
.ticker-track span {
  white-space: nowrap; font-weight: 600; font-size: .95rem; color: #9fb0c8;
  padding: .5rem 1rem; border: 1px solid rgba(255,255,255,.12); border-radius: 999px;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.tab-list-dark .tab { background: transparent; color: #e8eef7; border-color: rgba(255,255,255,.2); }
.tab-list-dark .tab:hover { border-color: var(--green); }
.tab-list-dark .tab[aria-selected="true"] { background: var(--green); color: var(--navy); border-color: var(--green); }
.tab-panel-dark { background: var(--navy-2); color: #d6e0ee; box-shadow: none; border: 1px solid rgba(255,255,255,.08); }
.tab-panel-dark h3 { color: var(--white); }
.tab-panel-dark > p { color: #c9d4e3; }
.chips { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .8rem; }
.chip {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: .9rem 1rem;
  transition: transform .2s, border-color .2s, background .2s;
}
.chip:hover { transform: translateY(-3px); border-color: var(--green); background: rgba(140,198,63,.08); }
.chip-name { display: block; font-weight: 700; color: var(--white); font-size: .98rem; }
.chip-desc { display: block; color: #aebcd0; font-size: .87rem; margin-top: .15rem; }
.chip-note { margin: 1.2rem 0 0; font-size: .88rem; color: #9fb0c8; }
.connect-box {
  margin-top: 2.6rem; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center;
  background: linear-gradient(135deg, rgba(140,198,63,.14), rgba(140,198,63,.02));
  border: 1px solid rgba(140,198,63,.35); border-radius: 20px; padding: clamp(1.4rem, 3vw, 2rem);
}
.connect-title { color: var(--green); font-weight: 700; font-size: 1.1rem; margin-bottom: .4rem; }
.connect-box p { color: #d6e0ee; margin: 0; }
.connect-foot { font-size: .95rem; border-left: 3px solid var(--green); padding-left: 1rem; }

/* Implementation stepper */
.stepper { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; }
.step {
  background: var(--white); border-radius: var(--radius); padding: 1.2rem 1.1rem; box-shadow: var(--shadow);
  border-top: 4px solid #e3e8ef; cursor: pointer; transition: transform .2s, border-color .2s, box-shadow .2s;
  display: flex; flex-direction: column; gap: .35rem; border-left: 0; border-right: 0; border-bottom: 0;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.step.is-active { border-top-color: var(--green); }
.step-num { font-weight: 800; color: var(--green-deep); font-size: .9rem; letter-spacing: .06em; }
.step-title { font-weight: 700; color: var(--navy); font-size: .98rem; line-height: 1.3; }
.step-body { display: none; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.step.is-active .step-body { display: block; }
.step-detail { display: none; }
.step-detail:empty { display: none; }
.step-detail[data-show] { display: block; }
.stepper .step-body { font-size: .9rem; }

/* Incentive cards */
.incentive-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.incentive-card {
  background: var(--navy); color: #d6e0ee; border-radius: var(--radius); padding: 1.5rem 1.3rem;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; position: relative; overflow: hidden;
}
.incentive-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--green); }
.incentive-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.incentive-card h4 { color: var(--green); margin-top: .2rem; }
.incentive-card p { margin: 0; font-size: .94rem; color: #c9d4e3; }

/* Scan example panel */
.split .btn { margin-top: .4rem; }

/* Quick check */
.quiz {
  max-width: 820px; margin: 0 auto; background: var(--white);
  border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow);
  display: grid; gap: 1.4rem;
}
.quiz fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .5rem; min-width: 0; }
.quiz legend { font-weight: 700; color: var(--navy); margin-bottom: .6rem; padding: 0; }
.quiz label {
  display: flex; align-items: center; gap: .7rem; padding: .7rem 1rem; border-radius: 12px;
  border: 1px solid var(--line); cursor: pointer; transition: .15s;
}
.quiz label:hover { border-color: var(--green); }
.quiz label:has(input:checked) { border-color: var(--green); background: #f3fae7; }
.quiz input[type="radio"] { accent-color: var(--green-deep); width: 18px; height: 18px; }
.quiz-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.error { color: #b42318; font-weight: 600; margin: 0; }
.result { background: var(--navy); color: var(--white); border-radius: 16px; padding: 1.5rem; }
.result h3 { color: var(--green); margin-bottom: .4rem; }
.result p { color: #d6e0ee; margin-bottom: 1rem; }

/* Why TGP (about) */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.why-card {
  background: var(--navy-2); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 1.8rem;
  transition: transform .2s, border-color .2s;
}
.why-card:hover { transform: translateY(-4px); border-color: var(--green); }
.why-card h3 { color: var(--gold); font-size: 1.2rem; margin-bottom: .6rem; }
.why-card p { margin: 0; color: #c9d4e3; font-size: .97rem; }
.about-cta {
  margin-top: 2.4rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  background: var(--gold); color: var(--navy); border-radius: 18px; padding: 1.8rem 2rem;
}
.about-cta-title { font-weight: 800; font-size: 1.25rem; color: var(--navy); margin-bottom: .2rem; }
.about-cta p { color: var(--navy); margin: 0; }
.about-cta .btn-primary { background: var(--navy); color: var(--white); box-shadow: none; }
.about-cta .btn-primary:hover { background: var(--navy-2); }
.contact-line { margin-top: 1.4rem; font-size: .95rem; color: #9fb0c8; text-align: center; }

/* Footer */
.site-footer { background: var(--navy-3); color: #9fb0c8; padding: 2rem 0; font-size: .92rem; }
.footer-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.site-footer .brand { color: var(--white); }
.site-footer .brand-text b { color: var(--green); }
.site-footer .brand-text .bt-sub { color: #b8c5d9; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--green); text-decoration: none; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .stepper { grid-template-columns: repeat(3, 1fr); }
  .incentive-grid { grid-template-columns: repeat(2, 1fr); }
  .role-grid { grid-template-columns: repeat(3, 1fr); }
  .site-nav { gap: .9rem; }
  .site-nav a { font-size: .86rem; }
}
@media (max-width: 900px) {
  .hero-grid, .split, .split-reverse { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { max-width: 640px; }
  .split-icon { width: min(220px, 60%); }
  .connect-box { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--white); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .site-nav.is-open { max-height: 85vh; overflow-y: auto; }
  .site-nav a { padding: .9rem 4%; border-top: 1px solid var(--line); font-size: .98rem; }
  .site-nav a::after { display: none; }
  .nav-cta { margin: .8rem 4%; text-align: center; border: 0; }
  .stepper { grid-template-columns: 1fr; }
  .step-body { display: block; }
  .step:not(.is-active) .step-body { display: none; }
  .role-grid { grid-template-columns: 1fr 1fr; }
  .incentive-grid { grid-template-columns: 1fr; }
  .acc-numbered .acc-body { padding-left: 1.3rem; }
  .connect-box { padding: 1.3rem; }
  .about-cta { padding: 1.4rem; }
}
@media (max-width: 480px) {
  .role-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .tab { font-size: .92rem; padding: .6rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker { overflow-x: auto; }
}

/* Live pilot example teaser */
.live { position: relative; overflow: hidden; }
.live-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3.5rem; align-items: center; }
.live h2 { color: var(--white); }
.live .lead-sm { color: #c9d4e3; }
.live-list { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: .7rem; }
.live-list li { position: relative; padding-left: 1.7rem; color: #c9d4e3; font-size: .98rem; }
.live-list li::before { content: ""; position: absolute; left: 0; top: .5rem; width: 10px; height: 10px; border-radius: 3px; background: var(--green); }
.live-list b { color: var(--white); font-weight: 700; }
.live-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.live .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.6); }
.live .btn-ghost:hover { background: var(--white); color: var(--navy); }
.live-note { margin: 1.2rem 0 0; font-size: .85rem; color: #8fa2bd; }
.live-preview {
  display: block; text-decoration: none; background: #0f2447; border: 1px solid rgba(255,255,255,.14); border-radius: 18px;
  overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); transition: transform .25s, box-shadow .25s, border-color .25s; color: #c9d4e3;
}
.live-preview:hover { transform: translateY(-6px) rotate(-.3deg); border-color: var(--green); box-shadow: 0 36px 70px rgba(0,0,0,.42); }
.lp-bar { display: flex; align-items: center; gap: 6px; padding: .7rem 1rem; background: #0a1a35; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .75rem; color: #8fa2bd; }
.lp-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a3f63; }
.lp-bar span { margin-left: .6rem; }
.lp-body { display: grid; grid-template-columns: 120px 1fr; min-height: 300px; }
.lp-side { display: flex; flex-direction: column; gap: .2rem; padding: .9rem .6rem; background: #0b1d3a; font-size: .72rem; }
.lp-side span { padding: .4rem .55rem; border-radius: 6px; color: #8fa2bd; }
.lp-side span.on { background: rgba(140,198,63,.18); color: var(--white); }
.lp-main { display: grid; gap: .7rem; padding: .9rem; align-content: start; }
.lp-brief { display: block; background: rgba(255,255,255,.05); border-left: 3px solid var(--green); border-radius: 0 8px 8px 0; padding: .6rem .75rem; font-size: .76rem; line-height: 1.5; }
.lp-brief b { display: block; color: var(--green); font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .2rem; }
.lp-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.lp-kpis > span { background: rgba(255,255,255,.05); border-radius: 8px; padding: .5rem .6rem; }
.lp-kpis em { display: block; font-style: normal; font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; color: #8fa2bd; }
.lp-kpis b { color: var(--white); font-size: .8rem; }
.lp-chart { width: 100%; height: auto; background: rgba(255,255,255,.03); border-radius: 8px; padding: .3rem; }
.lp-tree { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; font-size: .72rem; }
.lp-tree span:not(.arrow) { padding: .3rem .55rem; border-radius: 6px; border: 1px solid rgba(255,255,255,.14); }
.lp-tree .sel { border-color: var(--green) !important; color: var(--white); }
.lp-tree .arrow { color: #5b7090; }
.lp-cta { display: block; text-align: center; padding: .7rem; background: var(--green); color: var(--navy); font-weight: 700; font-size: .9rem; }
@media (max-width: 900px) {
  .live-grid { grid-template-columns: 1fr; gap: 2.4rem; }
}
@media (max-width: 480px) {
  .lp-body { grid-template-columns: 1fr; }
  .lp-side { flex-direction: row; overflow: hidden; }
  .lp-side span:not(.on):nth-child(n+3) { display: none; }
}

/* Header: keep links on one line; use the compact menu below 1340px */
.site-nav a { white-space: nowrap; }
.nav-wrap { width: min(1320px, 94%); gap: 2rem; }
@media (max-width: 1340px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--white); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease; box-shadow: 0 12px 24px rgba(11,29,58,.08);
  }
  .site-nav.is-open { max-height: 85vh; overflow-y: auto; }
  .site-nav a { padding: .9rem 4%; border-top: 1px solid var(--line); font-size: .98rem; }
  .site-nav a::after { display: none; }
  .nav-cta { margin: .8rem 4%; text-align: center; border: 0; }
}

/* Hero film */
.film {
  display: block; width: 100%; padding: 0; margin: 0; font: inherit; text-align: left;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; overflow: hidden;
  background: var(--navy-3); cursor: pointer;
  box-shadow: 0 30px 70px rgba(3, 10, 24, .55);
}
.film-poster {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.film:hover .film-poster { transform: scale(1.03); }
.film:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; border-radius: 18px; }
.film-pill {
  position: relative; z-index: 1; display: flex; align-items: center; gap: .8rem;
  padding: .9rem 1.1rem; background: var(--navy-3);
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: var(--white); font-size: .98rem; font-weight: 600;
}
.film-play {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--green); color: var(--navy); padding-left: 2px;
  transition: transform .2s, box-shadow .3s;
}
.film:hover .film-play, .film:focus-visible .film-play { transform: scale(1.08); box-shadow: 0 0 0 7px rgba(140, 198, 63, .22); }
.film-label { line-height: 1.3; }
.film-time {
  margin-left: auto; flex: none; font-size: .85rem; font-weight: 600; font-variant-numeric: tabular-nums;
  color: #9fb0c8;
}

.film-dialog {
  width: min(1100px, 94vw); max-height: 94vh; padding: 0; border: 0; border-radius: 16px; overflow: visible;
  background: var(--navy-3); color: var(--white); box-shadow: 0 40px 120px rgba(0, 0, 0, .6);
}
.film-dialog::backdrop { background: rgba(4, 11, 24, .82); backdrop-filter: blur(4px); }
.film-dialog[open] { animation: film-in .28s cubic-bezier(.2, .7, .2, 1); }
@keyframes film-in { from { opacity: 0; transform: translateY(12px) scale(.985); } }
.film-frame { border-radius: 16px 16px 0 0; overflow: hidden; background: #000; }
.film-frame video { display: block; width: 100%; height: auto; max-height: calc(94vh - 110px); }
.film-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: 1rem 1.25rem;
}
.film-title { margin: 0; font-weight: 700; font-size: 1.05rem; }
.film-note { margin: .15rem 0 0; font-size: .85rem; color: #9fb0c8; }
.film-cta { flex: none; padding: .7rem 1.2rem; font-size: .95rem; }
.film-close {
  position: absolute; top: -44px; right: 0; padding: .45rem .9rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(7, 20, 41, .6); color: var(--white);
  font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
}
.film-close:hover { background: var(--white); color: var(--navy); }
body.film-open { overflow: hidden; }

@media (max-width: 640px) {
  .film-pill { padding: .8rem .9rem; font-size: .92rem; }
  .film-play { width: 36px; height: 36px; }
  .film-bar { flex-direction: column; align-items: stretch; }
  .film-cta { width: 100%; }
  .film-dialog { width: 100vw; max-width: 100vw; border-radius: 0; margin: auto 0; }
  .film-frame { border-radius: 0; }
  .film-close { top: -48px; right: 12px; }
}


/* Wordmark: three stacked lines, AI in green */
.brand { gap: .75rem; }
.brand-text { display: flex; flex-direction: column; justify-content: center; line-height: 1; font-size: inherit; }
.bt-name { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--navy); line-height: .95; }
.bt-name b { color: var(--green-deep); font-weight: 800; }
.bt-sub { display: block; font-size: .6rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); line-height: 1.2; margin-top: 2px; }
.bt-sub + .bt-sub { margin-top: 0; }
.site-footer .bt-name { color: var(--white); }

/* Live example: pulse dot, hero button, nav accent */
.live-dot { position: relative; display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: live-ping 2s ease-out infinite; }
@keyframes live-ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(3); opacity: 0; } }
.btn-live { display: inline-flex; align-items: center; gap: .6rem; }
.site-nav a.nav-live { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--green-deep); background: rgba(140, 198, 63, .14); padding: .38rem .8rem; border-radius: 999px; }
.site-nav a.nav-live:hover { background: rgba(140, 198, 63, .26); color: var(--navy); }
.site-nav a.nav-live::after { display: none; }
.nav-live .live-dot { background: var(--green-deep); }
.nav-live .live-dot::after { background: var(--green-deep); }

/* Band under the hero */
.live-band { background: var(--navy-3); color: var(--white); border-top: 1px solid rgba(255, 255, 255, .08); padding: 2.6rem 0 2.4rem; position: relative; overflow: hidden; }
.live-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 120% at 85% 50%, rgba(140, 198, 63, .13), transparent 70%); pointer-events: none; }
.live-band-inner { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 1rem 3rem; align-items: center; }
.lb-eyebrow { display: flex; align-items: center; gap: .6rem; margin: 0 0 .7rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.lb-copy h2 { text-wrap: balance; margin: 0 0 .6rem; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; color: var(--white); }
.lb-copy p:last-child { margin: 0; color: #c3d0e2; max-width: 52ch; }
.lb-card { display: block; text-decoration: none; color: inherit; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; background: rgba(255, 255, 255, .04); padding: 1rem; transition: transform .25s, border-color .25s, background .25s; }
.lb-card:hover, .lb-card:focus-visible { transform: translateY(-3px); border-color: var(--green); background: rgba(255, 255, 255, .07); }
.lb-card:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.lb-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.lb-kpi { padding: .7rem .8rem; border-radius: 10px; background: rgba(7, 20, 41, .7); border: 1px solid rgba(255, 255, 255, .08); min-width: 0; }
.lb-kpi em { display: block; font-style: normal; font-size: .76rem; font-weight: 600; color: #9fb0c8; }
.lb-kpi b { display: block; font-size: 1.4rem; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.lb-kpi i { display: block; font-style: normal; font-size: .78rem; font-weight: 700; }
.lb-kpi .pos { color: var(--green); } .lb-kpi .neg { color: #ee8b83; }
.lb-go { display: flex; justify-content: space-between; align-items: center; margin-top: .85rem; padding: .7rem .9rem; border-radius: 10px; background: var(--green); color: var(--navy); font-weight: 700; font-size: .96rem; }
.lb-go span { transition: transform .2s; }
.lb-card:hover .lb-go span { transform: translateX(4px); }
.lb-agent { grid-column: 2; justify-self: start; color: #c3d0e2; font-size: .92rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.lb-agent:hover { color: var(--white); border-bottom-color: var(--green); }

/* Floating shortcut */
.live-pill { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; align-items: stretch; border-radius: 999px; background: var(--navy); box-shadow: 0 14px 34px rgba(7, 20, 41, .35); border: 1px solid rgba(255, 255, 255, .14); overflow: hidden; animation: pill-in .4s cubic-bezier(.2, .7, .2, 1); }
.live-pill[hidden] { display: none; }
@keyframes pill-in { from { opacity: 0; transform: translateY(14px); } }
.live-pill a { display: inline-flex; align-items: center; gap: .6rem; padding: .7rem .9rem .7rem 1.1rem; color: var(--white); text-decoration: none; font-weight: 700; font-size: .92rem; }
.live-pill a:hover { color: var(--green); }
.live-pill button { border: 0; border-left: 1px solid rgba(255, 255, 255, .14); background: transparent; color: #9fb0c8; font-size: 1.15rem; padding: 0 .85rem; cursor: pointer; }
.live-pill button:hover { color: var(--white); background: rgba(255, 255, 255, .08); }

@media (max-width: 900px) {
  .live-band-inner { grid-template-columns: 1fr; }
  .lb-agent { grid-column: 1; }
}
@media (max-width: 520px) {
  .lb-kpis { grid-template-columns: 1fr; }
  .lb-kpi { display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: .8rem; }
  .lb-kpi em { grid-column: 1; } .lb-kpi b { grid-column: 2; grid-row: 1 / span 2; font-size: 1.25rem; }
  .live-pill { right: 12px; left: 12px; justify-content: space-between; }
  .live-pill a { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .live-dot::after, .live-pill { animation: none; }
}
