:root {
  --font: system-ui, -apple-system, sans-serif;
  --night: #201335;
  --on-night: #f8f4ff;
  --lilac: #e2d4ff;
  --night-surface: radial-gradient(ellipse at 96% 0%, #48256a, transparent 68%), var(--night);
  --night-shadow: 0 19px 40px #27114723;
  --radius-panel: 22px;
  --panel-pad: clamp(24px, 4.1vw, 56px);
  --section-gap: clamp(58px, 7vw, 103px);
  --hero-inset: clamp(34px, 5.4vw, 78px);
}

.mobile-header { display: none; }
.wrap > header .site-nav > .nav-cta:hover,
.wrap > header .site-nav > .nav-cta[aria-current="page"] {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}
footer { align-items: baseline; padding: 26px 0 34px; }
footer .brand-sm { font-family: var(--font); font-weight: 730; }
.footer-links { gap: 6px 16px; }
.footer-links a { color: var(--muted); text-decoration: underline; text-underline-offset: .22em; }

:is(.hero, .page-hero) h1.h1--long {
  line-height: 1.05;
  letter-spacing: -.048em;
  font-weight: 730;
}
.hero h1:has(.title-accent):not(:has(.line)) { text-wrap: balance; }
h1 .title-accent { color: var(--accent); }
:is(.hero__lead .badge, .page-hero .kicker) {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font: 740 12px/1.4 var(--font);
  letter-spacing: .11em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.hero, .hero.hero--solo { padding-top: var(--hero-inset); }
.hero .hero__claim {
  font-size: clamp(18px, 1.52vw, 22px);
  line-height: 1.35;
  font-weight: 680;
  letter-spacing: -.023em;
  margin-bottom: 12px;
}
.hero .subtitle { font-size: 17px; line-height: 1.66; max-width: 57ch; margin-bottom: 23px; }
.hero .microcopy { font-family: var(--font); }
.section > .microcopy[data-eu-option] { font-family: var(--font); font-size: 14px; line-height: 1.65; }
main .btn:not(.btn--quiet) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 11px 19px;
  border-radius: 11px;
  font-weight: 690;
  white-space: normal;
  text-align: center;
}
.hero:has(+ .trust) { padding-bottom: clamp(34px, 4vw, 52px); }
.hero--proof > .hero__proof { margin: 24px 0 0; }
@media (min-width: 941px) {
  .hero--proof > .hero__proof { margin: 0; }
}

:is(.hero--proof > .hero__proof, .hero__aside > .card,
    .section.section--closing, .cta-final, .recall, .cta-band) {
  background: var(--night-surface);
  border: 1px solid #38264d;
  border-radius: var(--radius-panel);
  color: var(--on-night);
  box-shadow: var(--night-shadow);
}
:is(.hero--proof > .hero__proof, .hero__aside > .card) { padding: clamp(21px, 3.2vw, 46px); }
.hero--proof .hero__proof-stat {
  color: var(--on-night);
  font-size: clamp(17px, 1.85vw, 25px);
  line-height: 1.3;
}
.hero--proof .hero__proof-stat strong {
  display: block;
  font-size: clamp(46px, 6vw, 86px);
  margin: 0 0 6px;
  color: var(--lilac);
}
.hero--proof .hero__proof-detail { color: var(--lilac); margin-top: 12px; }
.hero--proof .hero__proof blockquote { border-top: 1px solid #ffffff3b; margin-top: 18px; padding-top: 14px; }
.hero__aside > .card :is(h3, p, p strong) { color: var(--on-night); }
.hero__aside > .card a { color: var(--lilac); }

.trust {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 17px 34px;
  margin: 0;
  padding: 24px 13px;
  border-block: 1px solid var(--border);
}
.trust__title { margin: 0; font-size: 12px; font-weight: 740; letter-spacing: .11em; }
.trust__logos { justify-content: space-evenly; gap: 16px 24px; }
.trust__logos img { max-height: 32px; object-fit: contain; }

main:has(> .hero) > .section {
  margin-top: var(--section-gap);
  padding-top: clamp(36px, 5vw, 64px);
  border-top: 1px solid var(--border);
}
main:has(> .hero) > .section:is(.section--lavender, #slack, .section--closing) { padding: var(--panel-pad); }
main:has(> .hero) > .section#alternative {
  border: 0;
  border-left: 2px solid #d7c3f3;
  padding: 0 0 0 clamp(16px, 3vw, 34px);
}
main:has(> .hero) > .section:has(.slack-copy) {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 3.2vw, 45px);
}
.slack-copy .eyebrow { display: flex; align-items: center; gap: 8px; }

:is(main:has(> .hero) > .section, .recall, .cta-final) h2 {
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.08;
  letter-spacing: -.045em;
  text-wrap: balance;
  max-width: 25ch;
  font-weight: 730;
}
:is(main:has(> .hero) > .section, .cta-final) h2 { margin: 0; }
main > .section .eyebrow { color: var(--accent); margin-bottom: 14px; font-size: 12px; letter-spacing: .11em; font-weight: 740; }
main > .section .lede { max-width: 67ch; margin-top: 15px; line-height: 1.66; }
main :is(p, .microcopy, .pageto) a:not(.btn),
.page-grid :where(.side-card, .main-copy) a:not(.btn) { text-decoration: underline; text-underline-offset: .22em; }

.section .cards { gap: 12px; margin-top: 26px; }
:is(.section .card, .docs-card, .side-card, .faq-list > details) { box-shadow: none; }
.section .card { padding: clamp(17px, 2.35vw, 30px); }
.section .card h3 { font-size: 18px; line-height: 1.27; letter-spacing: -.02em; font-weight: 700; }
.section .card p, .docs-card p { font-size: 15px; line-height: 1.6; }

.section--lavender, main > .section#slack, .bring, .download-proposal, .ai-docs-card {
  border: 1px solid #e5d9f6;
  border-radius: var(--radius-panel);
  background: linear-gradient(109deg, #f4edff, #ede3fd);
  box-shadow: none;
}
.bring { padding: var(--panel-pad); }
.section--lavender .card { border-color: #e5d9f6; }
.section .suivi-demo {
  max-width: none;
  margin: 27px 0 0;
  padding: clamp(9px, 2.9vw, 36px);
  background: radial-gradient(ellipse at 92% 0%, #ede2ff, transparent 70%), #f2edf8;
  border: 1px solid #e8def2;
  border-radius: var(--radius-panel);
}
.section .suivi-demo__label { margin-top: 14px; text-align: left; }
.section .suivi { box-shadow: 0 12px 28px #251b3517; }
.section .suivi__btn { background: var(--accent); }

.promo-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 26px; }
.promo-step {
  padding: 19px 22px 0 0;
  border: 0;
  border-top: 1px solid #cbb9e5;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.promo-step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.promo-step .promo-step__n {
  border: 0; background: none; padding: 0; margin: 0;
  font: 650 25px/1.1 var(--font); letter-spacing: -.06em; color: var(--accent);
}
.promo-step h3 { margin: 7px 0 5px; font-size: 16px; line-height: 1.33; font-weight: 690; }
.promo-step p { font-size: 14px; }
.claimq { text-align: left; background: #f2ecff; border-color: #e5d9f6; }
.claimq b { color: var(--text); }

:is(.section--closing, .cta-final, .recall) {
  margin-top: var(--section-gap);
  padding: clamp(28px, 5vw, 70px);
}
.cta-final { text-align: left; }
.cta-final .lede { margin: 15px 0 0; }
.cta-final .cta-row { justify-content: flex-start; margin-top: 23px; }
:is(.section--closing, .cta-final, .recall, .cta-band) h2 { color: var(--on-night); }
:is(.section--closing, .cta-final, .recall, .cta-band) :is(.lede, .microcopy, .price-note, .price-note b, .contact-box p) {
  color: var(--on-night);
}
:is(.section--closing, .cta-final, .cta-band) .btn,
:is(.section--closing, .cta-final, .cta-band) .btn:hover { background: var(--lilac); color: #31166a; }
:is(.section--closing, .cta-final, .cta-band) .btn:hover { background: #fff; }
:is(.section--closing, .cta-final, .cta-band) a:not(.btn) { color: var(--lilac); }
:is(.section--closing, .cta-final, .cta-band) .btn-ghost {
  background: transparent;
  border-color: #e2d4ff99;
}
:is(.section--closing, .cta-final, .cta-band) .btn-ghost:hover {
  background: #fff1;
  border-color: var(--lilac);
}
:is(.section--closing, .cta-final, .cta-band) :focus-visible { outline: 2px solid var(--lilac); outline-offset: 4px; }
.section--closing .contact-box {
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-top: 18px;
  background: none;
  justify-content: flex-start;
}
.section--closing .contact-box h3 { color: var(--on-night); }
main > .section.section--closing .eyebrow { color: var(--lilac); }
.recall h2 { margin: 0 auto; }
.recall .qual-company { max-width: none; }
.recall .lede { margin: 15px auto 22px; }
.recall form {
  margin-top: 24px;
  padding: clamp(14px, 2.8vw, 26px);
  background: var(--card);
  color: var(--text);
  border-radius: var(--radius);
}
.recall .success-card { margin-top: 24px; }
.recall input::placeholder { color: var(--muted); }
.cta-band :is(p, strong) { color: var(--on-night); }

.page-hero:not(.doc-hero, .download-intro) { padding-top: var(--hero-inset); }
.join-page .page-hero:not(.doc-hero, .download-intro) { padding-top: clamp(32px, 4.5vw, 48px); }
.page-hero .lead { line-height: 1.55; }
.pilot-form {
  padding: clamp(17px, 2.8vw, 32px);
  background: #f5f0fd;
  border: 1px solid #e6dbf5;
  border-radius: var(--radius-panel);
}
.page-grid .main-copy h2, .docs-section > h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -.034em;
  font-weight: 730;
}
.side-card, .doc-sidebar { background: #f5f0fd; border-color: #e6dbf5; }
.faq-list > details[open] { border-color: #cbb9e5; }
.faq-list > details[open] > summary { color: var(--accent); }
.docs-grid { gap: 12px; }
.docs-card:hover, .docs-card:focus-visible { background: #f5f0fd; }
.download-proposal { padding: var(--panel-pad); }

@media (max-width: 900px) {
  .trust { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .trust__logos { width: 100%; justify-items: center; }
  footer .footer-links { justify-content: flex-start; }
}

@media (max-width: 740px) {
  .wrap { padding-inline: 18px; }
  .join-page .page-hero h1 {
    font-size: min(clamp(36px, 5vw, 46px), 8.75cqi);
  }
  .wrap > header {
    position: relative;
    min-height: 66px;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 8px 0;
  }
  .wrap > header .brand img { width: 90px; height: auto; }
  .wrap > header .header-actions { display: none; }
  .mobile-header { display: flex; align-items: center; gap: 7px; }
  .mobile-header details { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
  .mobile-header > .nav-cta, .mobile-header > details > summary {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
    border: 1px solid var(--accent-bord); border-radius: 10px; color: var(--accent);
    font-size: 12px; font-weight: 650; padding: 0 10px;
  }
  .mobile-header > .nav-cta[aria-current="page"] { color: #fff; background: var(--accent); }
  .mobile-header > details > summary { width: 44px; padding: 0; list-style: none; cursor: pointer; }
  .mobile-header > details > summary::-webkit-details-marker { display: none; }
  details[open] > .mobile-header__panel {
    position: absolute; top: 100%; right: 0; z-index: 60; display: grid;
    width: min(290px, 100%); max-height: 72vh; overflow: auto; padding: 8px;
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: 0 4px 10px -2px #0002, 0 2px 4px -2px #0001;
  }
  .mobile-header__panel > a, .mobile-header__panel .nav-drop > summary {
    display: flex; align-items: center; width: 100%; min-height: 44px;
    padding: 0 10px; color: var(--text); border: 0; font-family: var(--font); font-size: 14px;
  }
  .mobile-header__panel .nav-drop__menu { position: static; min-width: 0; border: 0; box-shadow: none; padding: 0 0 0 12px; }
  .mobile-header__panel .nav-drop__menu a { display: flex; align-items: center; min-height: 44px; }
  .mobile-header__panel a[aria-current="page"] { font-weight: 700; color: var(--accent); }
  .trust { padding: 21px 0; }
  .trust__logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
  .trust__logos li { min-height: 0; }
  .trust__logos img { width: var(--w); max-width: 120px; max-height: 27px; }
  main:has(> .hero) > .section:has(.slack-copy) { grid-template-columns: minmax(0, 1fr); }
  .section .cards { grid-template-columns: minmax(0, 1fr); margin-top: 18px; gap: 9px; }
  .promo-flow { grid-template-columns: minmax(0, 1fr); margin-left: 4px; }
  .promo-step {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: baseline;
    gap: 4px 8px;
    padding: 0 0 19px 13px;
    border: 0;
    border-left: 1px solid #cbb9e5;
  }
  .promo-step:last-child { padding-bottom: 0; }
  .promo-step::before { top: 7px; left: -4px; }
  .promo-step .promo-step__n { grid-row: span 2; font-size: 19px; }
  .promo-step h3 { margin: 0; }
}
@media (max-width: 380px) {
  .wrap { padding-inline: 14px; }
  .wrap > header .brand img { width: 82px; }
}

.faq-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(24px, 4vw, 40px);
}
.faq-topics a {
  padding: 8px 14px;
  border: 1px solid #e6dbf5;
  border-radius: 999px;
  background: #f5f0fd;
  font-size: .875rem;
  font-weight: 600;
}
.faq-topics a:hover { text-decoration: underline; }
.faq-topics + .page-grid { max-width: 1020px; }
.faq-topics + .page-grid .faq-list summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
  border-radius: inherit;
}


.about-page .page-grid { display: block; }
.about-page .main-copy { max-width: none; counter-reset: chapter; }
.about-page .main-copy > .section {
  display: grid; grid-template-columns: minmax(200px, 4fr) minmax(0, 7fr);
  column-gap: clamp(28px, 6vw, 88px); padding: clamp(40px, 5vw, 64px) 0;
}
.about-page .main-copy > .section > * { grid-column: 2; max-width: var(--maxw-read); }
.about-page .main-copy > .section > h2 {
  grid-column: 1; grid-row: 1 / span 12; align-self: start; position: sticky; top: 28px;
  max-width: 15ch; margin: 0; text-wrap: balance;
}
.about-page .main-copy > .section > h2::before {
  counter-increment: chapter; content: counter(chapter, decimal-leading-zero);
  display: block; margin-bottom: 14px; font: 600 12.5px/1 var(--mono);
  letter-spacing: 1.6px; color: var(--accent);
}
.about-page .main-copy > .section > p { margin: 0 0 16px; }
.about-page .main-copy > .section > p:last-child { margin-bottom: 0; }
.about-page .section .claim {
  margin: 10px 0 18px; padding: 20px 24px; font-size: clamp(19px, 1.9vw, 23px);
  line-height: 1.32; letter-spacing: -.02em; font-weight: 650;
}
.about-page .page-hero .claim { font-size: clamp(18px, 1.8vw, 21px); letter-spacing: -.015em; }
.about-page .page-grid > aside {
  position: static; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 16px; margin-top: 8px;
}
.about-page .side-card { padding: clamp(20px, 2.6vw, 30px); }
.about-page .side-card + .side-card { margin-top: 0; }
.about-page .side-card h2, .about-page .side-card h3 {
  font-size: 12.5px; line-height: 1.2; font-weight: 600; text-transform: uppercase; letter-spacing: 1.6px; color: var(--accent); margin: 0 0 12px;
}
.about-page .side-card p { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.45; color: var(--text); letter-spacing: -.01em; }
.about-page .side-card li { font-size: 14.5px; }
.about-page .cta-band {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  column-gap: clamp(24px, 5vw, 72px); margin: var(--section-gap) 0 0; padding: var(--panel-pad);
}
.about-page .cta-band h2 { grid-column: 1; margin: 0 0 10px; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -.034em; font-weight: 730; }
.about-page .cta-band p { grid-column: 1; margin: 0; max-width: 52ch; }
.about-page .cta-band .btn { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 14px 22px; white-space: nowrap; }
@media (max-width: 900px) {
  .about-page .main-copy > .section { display: block; padding: 36px 0; }
  .about-page .main-copy > .section > h2 { position: static; max-width: none; margin-bottom: 18px; }
  .about-page .page-grid > aside { grid-template-columns: 1fr; }
  .about-page .cta-band { display: block; }
  .about-page .cta-band .btn { margin-top: 20px; white-space: normal; max-width: 100%; }
}
