/* Agent Allen marketing shell.
   Tokens live in assets/tokens.css (brand guide v3). Do not add a second palette. */

@import "../assets/tokens.css";

/* Base --------------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--aa-canvas);
  color: var(--aa-ink);
  font-family: var(--aa-font);
  font-size: var(--aa-body);
  font-weight: var(--aa-weight-regular);
  line-height: var(--aa-body-lh);
}

body.is-menu-open { overflow: hidden; }

main { flex: 1; }

img, video { max-width: 100%; }

p { margin: 0; }

h1, h2, h3 {
  margin: 0;
  color: var(--aa-ink);
  text-transform: none;
  font-weight: var(--aa-weight-bold);
}

h1, .h1 {
  font-size: var(--aa-hero);
  line-height: var(--aa-hero-lh);
  letter-spacing: var(--aa-hero-tracking);
}

h2, .h2 {
  font-size: var(--aa-h2);
  line-height: var(--aa-h2-lh);
  letter-spacing: var(--aa-h2-tracking);
}

h3, .h3 {
  font-size: var(--aa-h3);
  line-height: var(--aa-h3-lh);
  letter-spacing: var(--aa-h3-tracking);
}

.deck {
  font-size: var(--aa-deck);
  font-weight: var(--aa-weight-medium);
  line-height: var(--aa-deck-lh);
  color: var(--aa-muted);
}

.small {
  font-size: var(--aa-small);
  font-weight: var(--aa-weight-medium);
  line-height: var(--aa-small-lh);
  color: var(--aa-muted);
}

.eyebrow {
  font-size: var(--aa-eyebrow);
  font-weight: var(--aa-weight-medium);
  line-height: 1.4;
  color: var(--aa-muted);
  text-transform: none;
  letter-spacing: 0;
}

.micro {
  font-size: var(--aa-micro);
  font-weight: var(--aa-weight-bold);
  line-height: 1.4;
  color: var(--aa-meta);
}

.nums { font-variant-numeric: tabular-nums; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--aa-focus-ring);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  padding: 8px 14px;
  background: var(--aa-surface);
  color: var(--aa-ink);
  border-radius: var(--aa-radius-control);
  font-size: 14px;
  font-weight: var(--aa-weight-medium);
}

.skip-link:focus {
  top: 8px;
}

/* Layout ------------------------------------------------------------------- */

.container {
  width: min(var(--aa-column), calc(100% - (var(--aa-page-gutter) * 2)));
  margin-inline: auto;
}

.section { padding-block: var(--aa-section-y); }

.section--legal {
  padding-top: 72px;
  padding-bottom: 80px;
}

.section--legal .container {
  width: min(600px, calc(100% - (var(--aa-page-gutter) * 2)));
}

.section--legal .prose {
  max-width: 600px;
  margin-inline: auto;
}

.section--legal .section__head { gap: 16px; }

.section--legal h1 {
  text-align: center;
  font-size: 48px;
}

.section--legal .prose p {
  text-align: left;
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 1023px) {
  .section--legal {
    padding-top: 32px;
    padding-bottom: 80px;
  }

  .section--legal .container {
    width: calc(100% - 40px);
  }

  .section--legal .prose { max-width: none; }

  .section--legal h1 { font-size: 34px; }
}

.sheet {
  background: var(--aa-surface);
  border: 1px solid #ececec;
  border-radius: var(--aa-radius-sheet);
  box-shadow: var(--aa-sheet-shadow);
}

/* Buttons and links -------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 40px;
  padding: 0 20px;
  border: none;
  border-radius: var(--aa-radius-button);
  font-family: inherit;
  font-size: 14px;
  font-weight: var(--aa-weight-bold);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--aa-yellow);
  color: var(--aa-on-yellow);
}

.btn--primary:hover {
  background: #f3cc00;
  color: var(--aa-on-yellow);
}

.btn--primary:active {
  background: var(--aa-yellow-wash);
  box-shadow: inset 0 0 0 1.5px var(--aa-yellow-line);
}

.btn--ghost {
  background: var(--aa-surface);
  color: var(--aa-ink);
  border: 1px solid var(--aa-line);
}

.btn--ghost:hover { background: var(--aa-canvas); }

.btn--ghost-ink {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn--ghost-ink:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn--line {
  background: transparent;
  color: var(--aa-ink);
  border: 1.5px solid var(--aa-yellow);
  height: 44px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 600;
}

.btn--line:hover { background: var(--aa-yellow-wash); }

.btn--ink {
  background: var(--aa-ink);
  color: #fff;
  height: 44px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
}

.btn--ink:hover {
  background: #23262d;
  color: #fff;
}

.btn:disabled,
.btn[aria-disabled="true"] {
  background: var(--aa-disabled-bg);
  color: var(--aa-disabled-text);
  border-color: transparent;
  box-shadow: none;
  cursor: not-allowed;
}

.text-link {
  color: var(--aa-muted);
  font-weight: var(--aa-weight-medium);
  text-decoration: none;
}

.text-link:hover {
  color: var(--aa-ink);
  text-decoration: underline;
}

.section--legal .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* Header ------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 96px;
  display: flex;
  align-items: center;
  background: var(--aa-canvas);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled { border-bottom-color: var(--aa-line); }

.nav {
  position: relative;
  display: flex;
  align-items: center;
  width: min(var(--aa-column), calc(100% - (var(--aa-page-gutter) * 2)));
  height: 96px;
  margin-inline: auto;
}

.nav__logo {
  display: grid;
  place-items: center start;
  line-height: 0;
}

.nav__wordmark {
  grid-area: 1 / 1;
  display: block;
  width: 98px;
  height: 40px;
}

.nav__wordmark[hidden] { display: none !important; }

.nav__menu {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__links a {
  color: var(--aa-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 9999px;
}

.nav__links a:hover { color: var(--aa-ink); }

.nav__links a[aria-current="page"],
.nav__more.is-current > .nav__more-btn {
  color: var(--aa-ink);
  text-decoration: underline;
  text-decoration-color: var(--aa-yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.nav__flat { display: none; }

.nav__more { position: relative; }

.nav__more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--aa-ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.nav__more-btn::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.nav__more-menu {
  display: none;
  position: absolute;
  z-index: 70;
  top: calc(100% + 12px);
  left: 0;
  min-width: 200px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--aa-surface);
  border: 1px solid var(--aa-line);
  border-radius: 12px;
  box-shadow: var(--aa-sheet-shadow);
}

.nav__more.is-open .nav__more-menu,
.nav__more:focus-within .nav__more-menu { display: block; }

.nav__more-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
}

.nav__tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 24px;
}

.nav__tools .btn--line,
.nav__tools .btn--ink { height: 44px; }

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: var(--aa-radius-control);
  background: transparent;
  color: var(--aa-ink);
  cursor: pointer;
}

.nav__toggle-bars,
.nav__toggle-bars::before,
.nav__toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  position: relative;
}

.nav__toggle-bars::before,
.nav__toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav__toggle-bars::before { top: -6px; }
.nav__toggle-bars::after { top: 6px; }

.nav__toggle[aria-expanded="true"] .nav__toggle-bars { background: transparent; }

.nav__toggle[aria-expanded="true"] .nav__toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav__menu-cta { display: none; }

@media (max-width: 1023px) {
  .site-header {
    top: 8px;
    height: auto;
    display: block;
    background: transparent;
    border-bottom: 0;
  }

  .site-header.is-scrolled { border-bottom-color: transparent; }

  .nav {
    height: 64px;
    width: auto;
    margin: 0 8px;
    padding: 0 16px;
    background: var(--aa-surface);
    border: 1px solid var(--aa-line);
    border-radius: 12px;
    box-shadow: var(--aa-sheet-shadow);
  }

  .nav__wordmark { width: 78px; height: 32px; }

  .nav__more { display: none; }
  .nav__flat { display: list-item; }

  .nav__tools { margin-left: auto; }
  .nav__tools .btn { display: none; }

  .nav__toggle { display: inline-flex; }

  .nav__menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    z-index: 60;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    max-height: calc(100vh - 96px);
    margin-left: 0;
    padding: 8px 20px 20px;
    overflow: auto;
    background: var(--aa-surface);
    border-radius: 12px;
    box-shadow: var(--aa-sheet-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
  }

  .nav__menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__links a {
    display: flex;
    align-items: center;
    min-height: 56px;
    color: var(--aa-ink);
    font-size: 16px;
    font-weight: 600;
  }

  .nav__menu-cta {
    display: inline-flex;
    width: 100%;
    min-height: 48px;
    height: 48px;
    margin-top: 8px;
  }

  .nav__menu-cta + .nav__menu-cta { margin-top: 12px; }

  .nav__menu a.btn--ink,
  .nav__menu a.btn--ink:hover {
    color: #fff;
    text-decoration: none;
  }

  .btn { min-height: 48px; height: auto; }

  .nav__menu a.btn { height: 48px; min-height: 48px; }

  .btn--ghost,
  .btn--ghost-ink,
  .login-value .btn { min-height: 44px; }

  .feature-panel .btn,
  .split-block .btn,
  .ink-band .btn,
  .sheet .btn,
  .card-grid-3 .btn,
  form .btn,
  .live-demo__card .btn {
    width: 100%;
  }

  .login-value .btn { width: auto; }

  .cover__actions {
    flex-direction: row;
    gap: 12px;
  }

  .cover__actions .btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }

  .close,
  .close__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .close .btn,
  .close__cta .btn {
    width: 100%;
    max-width: 400px;
  }

  .eyebrow,
  .eyebrow-pill,
  .field label,
  .micro,
  .shot__id,
  .shot__desc { font-size: 14px; }
}

@media (max-width: 419px) {
  .cover__actions { flex-direction: column; }
  .cover__actions .btn { width: 100%; flex: none; }
}

@media (prefers-reduced-motion: reduce) {
  .nav__menu { transition: none; transform: none; }
}

/* Footer ------------------------------------------------------------------- */

.site-footer {
  background: var(--aa-ink);
  padding: 80px 0 40px;
  color: rgba(255, 255, 255, 0.7);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

.footer__brand { max-width: 300px; }

.footer__logo {
  display: block;
  width: 98px;
  height: 40px;
}

.footer__tagline {
  margin: 24px 0 0;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  font-weight: var(--aa-weight-medium);
  line-height: 1.4;
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  color: var(--aa-yellow);
  background: transparent;
  transition: background 200ms ease, border-color 200ms ease;
}

.footer__social-btn:hover,
.footer__social-btn:focus-visible {
  background: rgba(255, 215, 1, 0.12);
  border-color: var(--aa-yellow);
}

.footer__groups {
  display: flex;
  gap: 176px;
}

.footer__label {
  margin: 0 0 14px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.footer__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.footer__col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  font-weight: var(--aa-weight-medium);
  line-height: 1.4;
  text-decoration: none;
}

.footer__col a:hover,
.footer__col a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--aa-yellow);
  text-underline-offset: 3px;
}

.footer__rule {
  height: 1px;
  margin: 64px 0 24px;
  background: rgba(255, 255, 255, 0.12);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer__copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.4;
}

.footer__pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 9999px;
  background: #212324;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}

.footer__pill strong {
  margin-left: 0.3em;
  color: #fff;
  font-weight: 600;
}

.footer__pill:hover,
.footer__pill:focus-visible { color: #fff; }

@media (max-width: 1023px) {
  .site-footer { padding: 56px 20px 32px; }

  .footer__top,
  .footer__groups,
  .footer__bottom {
    flex-direction: column;
    gap: 32px;
  }

  .footer__logo { width: 78px; height: 32px; }

  .footer__bottom {
    align-items: center;
    gap: 12px;
    text-align: center;
  }

  .footer__col a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  .footer__col ul { gap: 0; }

  .footer__rule { margin: 32px 0 24px; }
}

/* Home cover --------------------------------------------------------------- */

.cover {
  position: relative;
  background: var(--aa-ink);
  color: #fff;
  min-height: calc(max(640px, 80vh) - 88px);
}

.cover h1,
.cover .h1 { color: #fff; }

.cover .eyebrow,
.cover .deck { color: #c4c8ce; }

.cover .deck { max-width: 36em; }

.cover__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  min-height: calc(max(640px, 80vh) - 88px);
  padding-top: 48px;
  padding-bottom: 48px;
  padding-right: 368px;
}

.cover--short,
.cover--short .cover__copy { min-height: 560px; }

.cover__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cover__mascot {
  position: absolute;
  z-index: 1;
  right: max(var(--aa-page-gutter), calc((100% - var(--aa-column)) / 2));
  bottom: 40px;
  width: 320px;
}

.cover__video,
.cover__still {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--aa-radius-sheet);
  background: transparent;
}

.cover__still { display: none; }

@media (prefers-reduced-motion: reduce) {
  .cover__video { display: none; }
  .cover__still { display: block; }
}

@media (max-width: 1023px) {
  .cover,
  .cover--short,
  .cover--short .cover__copy { min-height: 0; }

  .cover__copy {
    min-height: 0;
    padding: 48px 0 0;
  }

  .cover__mascot {
    position: relative;
    right: auto;
    bottom: auto;
    width: 200px;
    margin: 24px var(--aa-page-gutter) 32px auto;
  }
}


/* Home sections ------------------------------------------------------------ */

.section__head {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section__head + .modules,
.section__head + .split,
.section__head + .ways,
.section__head + .price-sheet {
  margin-top: 40px;
}

.lede,
.prose { max-width: 40em; }

.measure { max-width: 40em; }

.lede { max-width: 36em; }

.points {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 40em;
}

.points li {
  padding: 8px 0;
  border-bottom: 1px solid var(--aa-line);
}

.points li:last-child { border-bottom: 0; }

.modules {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.module {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 44px;
  padding: 24px;
  background: var(--aa-surface);
  border: 1px solid #ececec;
  border-radius: var(--aa-radius-sheet);
  box-shadow: var(--aa-sheet-shadow);
  color: var(--aa-ink);
  text-decoration: none;
}

.module p { color: var(--aa-ink); }

.module:hover {
  background: var(--aa-canvas);
  border-color: var(--aa-yellow-line);
  box-shadow: inset 0 0 0 0.5px var(--aa-yellow-line);
  text-decoration: none;
}

.split {
  display: grid;
  gap: 40px;
  align-items: center;
}

.split__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  max-width: 100%;
}

.split__media {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  max-width: 100%;
}

.figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.caption {
  margin: 0;
  font-size: 14px;
  font-weight: var(--aa-weight-medium);
  line-height: var(--aa-small-lh);
  color: var(--aa-muted);
}

.ways {
  display: grid;
  gap: 24px;
}

.way {
  padding: 24px;
  background: var(--aa-surface);
  border: 1px solid var(--aa-line);
  border-radius: var(--aa-radius-sheet);
}

.way h3 + p { margin-top: 12px; }

.price-sheet {
  max-width: 36em;
  margin-inline: auto;
  padding: 40px 32px;
  text-align: center;
  background: var(--aa-surface);
  border: 1px solid var(--aa-line);
  border-radius: var(--aa-radius-sheet);
}

.price-sheet .prose {
  margin: 24px auto 0;
}

.price-sheet__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 24px;
  margin-top: 24px;
}

.sku-note {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 32px;
  text-align: left;
}

.close {
  max-width: 36em;
  margin-inline: auto;
  text-align: center;
}

.close .deck {
  margin: 24px auto 0;
}

.close__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.close__portrait {
  display: block;
  width: 96px;
  height: auto;
  margin: 0 auto 24px;
  border-radius: var(--aa-radius-sheet);
}

/* Features ----------------------------------------------------------------- */

.page-hero { padding: 80px 0 40px; }

.page-hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.page-hero .lede { max-width: 36em; }

.page-hero .modules {
  align-self: stretch;
  width: 100%;
}

.canvas-hero { padding-top: 80px; }

.canvas-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.canvas-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.subnav {
  background: var(--aa-surface);
  border-bottom: 1px solid var(--aa-line);
}

.subnav__scroller { position: relative; }

.subnav__list {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0 32px 0 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav__list::-webkit-scrollbar { display: none; }

.subnav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--aa-muted);
  font-size: 14px;
  font-weight: var(--aa-weight-medium);
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.subnav a:hover { color: var(--aa-ink); }

.subnav a[aria-current="true"] {
  color: var(--aa-ink);
  font-weight: var(--aa-weight-bold);
  text-decoration: none;
}

.subnav__scroller::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--aa-surface));
}

.module-section { scroll-margin-top: 112px; }

@media (max-width: 767px) {
  .page-hero { padding: 48px 0 32px; }
  .canvas-hero { padding-top: 48px; }
  .canvas-hero__actions { flex-direction: column; align-items: stretch; }
  .canvas-hero__actions .btn--primary { width: 100%; }
}

@media (min-width: 1024px) {
  .subnav {
    position: sticky;
    top: 96px;
    z-index: 30;
  }

  .subnav__list {
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
    padding-right: 0;
  }

  .subnav__scroller::after { display: none; }
}

[data-aa-base] { font-variant-numeric: tabular-nums; }

@media (min-width: 768px) {
  .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ways { grid-template-columns: 1fr 1fr; }
  .figure--small { max-width: 82%; }
}

@media (min-width: 1024px) {
  .modules { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr 1fr; gap: 48px; }
  .split--shot-first .split__copy { order: 2; }
  .split--shot-first .split__media { order: 1; }
  .split--stack { align-items: start; }
}

@media (max-width: 767px) {
  .close .btn { width: 100%; }
}

/* Product shots ------------------------------------------------------------ */

.shot {
  min-width: 0;
  max-width: 100%;
}

.shot.is-image {
  background: #f8f8f8;
  border: 1px solid var(--aa-line);
  border-radius: var(--aa-radius-sheet);
  box-shadow: var(--aa-sheet-shadow);
  overflow: hidden;
}

.shot.is-image img,
.shot.is-image video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f8f8f8;
}

.shot.is-video {
  aspect-ratio: 1272 / 674;
}

.shot.is-natural.is-image {
  height: auto;
  aspect-ratio: auto;
}

.shot.is-natural.is-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.shot.is-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 280px;
  padding: 24px;
  text-align: center;
  background: #f2f3f5;
  border: 1px dashed var(--aa-line);
  border-radius: var(--aa-radius-sheet);
  box-shadow: none;
}

.shot__id {
  margin: 0;
  font-size: 11px;
  font-weight: var(--aa-weight-bold);
  line-height: 1.4;
  color: #888888;
}

.shot__desc {
  margin: 0;
  max-width: 42ch;
  font-size: 13px;
  font-weight: var(--aa-weight-medium);
  line-height: 1.45;
  color: var(--aa-muted);
}

/* Forms (shared, used when the demo page arrives) ------------------------- */

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: var(--aa-small);
  font-weight: var(--aa-weight-medium);
  line-height: 1.4;
  color: #888888;
}

.field input,
.field select,
.field textarea {
  box-sizing: border-box;
  width: 100%;
  height: var(--aa-control-height);
  padding: 0 12px;
  border: 1px solid var(--aa-search-border);
  border-radius: var(--aa-radius-control);
  background: var(--aa-surface);
  color: var(--aa-ink);
  font-family: inherit;
  font-size: var(--aa-body);
  font-weight: var(--aa-weight-regular);
}

.field textarea {
  height: auto;
  min-height: 120px;
  padding: 12px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--aa-placeholder); }

.field input[aria-invalid="true"]:not(:focus-visible) {
  border-color: var(--aa-critical);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--aa-yellow-line);
  box-shadow: 0 0 0 3px var(--aa-focus-ring);
}

.field__error {
  font-size: 14px;
  font-weight: var(--aa-weight-medium);
  line-height: var(--aa-small-lh);
  color: var(--aa-critical);
}

@media (max-width: 1023px) {
  .field input,
  .field select { height: 48px; }
}

/* Pricing ------------------------------------------------------------------ */

.aa-hero { padding: 80px 0 var(--aa-section-y); }

.aa-hero__copy {
  max-width: 36em;
  margin-inline: auto;
  text-align: center;
}

.aa-hero__copy .deck { margin-top: 24px; }

.aa-price {
  max-width: 560px;
  margin-inline: auto;
  padding: 32px;
  text-align: center;
}

.aa-price .eyebrow { margin: 0; }

.aa-price__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 8px 12px;
  margin-top: 12px;
}

.aa-price__amount {
  font-size: 56px;
  font-weight: var(--aa-weight-bold);
  line-height: 1.1;
  letter-spacing: var(--aa-hero-tracking);
  color: var(--aa-ink);
  font-variant-numeric: tabular-nums;
}

.aa-price__period {
  font-size: 18px;
  font-weight: var(--aa-weight-medium);
  line-height: 1.45;
  color: var(--aa-muted);
}

.aa-price .prose { margin: 24px auto 0; }

.aa-price__cta { margin-top: 24px; }

.aa-price .small { margin-top: 16px; }

.aa-inclusions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 32px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  max-width: 40em;
  font-size: 16px;
  font-weight: var(--aa-weight-regular);
  line-height: 1.5;
}

.page-pricing .aa-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 40em;
  margin-top: 40px;
}

.aa-rate {
  margin: 8px 0 0;
  padding: 16px 20px;
  font-size: 20px;
  font-weight: var(--aa-weight-bold);
  line-height: 1.25;
  letter-spacing: var(--aa-h3-tracking);
  color: var(--aa-ink);
  background: var(--aa-surface);
  border: 1px solid var(--aa-line);
  border-radius: var(--aa-radius-sheet);
  box-shadow: var(--aa-sheet-shadow);
}

.aa-estimate {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 640px;
  margin-top: 40px;
  padding: 32px;
}

.aa-estimate .field { width: 100%; }

.aa-estimate__out {
  margin: 0;
  font-size: 20px;
  font-weight: var(--aa-weight-bold);
  line-height: 1.25;
  letter-spacing: var(--aa-h3-tracking);
  color: var(--aa-ink);
}

.aa-enterprise { margin: 8px 0 0; }

.aa-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 40em;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  font-weight: var(--aa-weight-regular);
  line-height: 1.5;
}

.aa-points .figure { margin-top: 12px; }

.aa-faq {
  max-width: 40em;
  margin-top: 40px;
  border-top: 1px solid var(--aa-line);
}

.aa-faq__item { border-bottom: 1px solid var(--aa-line); }

.aa-faq__q {
  margin: 0;
  font-size: 16px;
  font-weight: var(--aa-weight-regular);
  line-height: 1.4;
  letter-spacing: 0;
}

.aa-faq__btn {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 44px;
  padding: 16px 0;
  border: none;
  background: transparent;
  color: var(--aa-ink);
  font-family: inherit;
  font-size: 16px;
  font-weight: var(--aa-weight-bold);
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.aa-faq__btn::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--aa-surface);
  box-shadow: var(--aa-sheet-shadow);
  color: var(--aa-ink);
  font-weight: var(--aa-weight-medium);
  transition: transform 200ms ease;
}

.aa-faq__btn[aria-expanded="true"]::after { transform: rotate(45deg); }

.aa-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  max-width: 40em;
  padding: 0;
  transition: grid-template-rows 240ms ease-out;
}

.aa-faq__clip {
  overflow: hidden;
  min-height: 0;
}

.aa-faq__item.is-open .aa-faq__a { grid-template-rows: 1fr; }

.aa-faq__item.is-open .aa-faq__clip { padding-bottom: 16px; }

.aa-faq__more { margin-top: 24px; }

/* FAQ page ---------------------------------------------------------------- */

.page-faq .section {
  padding-top: 72px;
  padding-bottom: 80px;
}

.page-faq .deck { margin-top: 16px; }

.page-faq__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-faq__actions .btn {
  height: 48px;
  min-height: 48px;
}

.page-faq .aa-faq {
  max-width: none;
  margin-top: 0;
}

.page-faq .aa-faq__btn {
  align-items: flex-start;
  white-space: normal;
}

.page-faq .aa-faq__btn::after { flex: none; }

.page-faq .aa-faq__item.is-open .aa-faq__clip {
  padding: 8px 0 24px;
  font-size: 16px;
  font-weight: var(--aa-weight-regular);
  line-height: 1.5;
}

.page-faq .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (max-width: 1023px) {
  .page-faq__actions .btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    height: auto;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 375px) {
  .page-faq__actions { flex-direction: column; }
  .page-faq__actions .btn { width: 100%; flex: none; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .js-reveal .page-faq [data-reveal].is-pending {
    opacity: 0;
    transform: translateY(64px);
  }
}

/* Pricing page layout. Scoped so shared splits, the FAQ accordion, and form fields stay as they are. */

.page-pricing .aa-hero { padding: 72px 0 40px; }

.page-pricing .aa-hero__copy { max-width: 680px; }

.page-pricing .eyebrow { font-size: 14px; }

.page-pricing .aa-price {
  max-width: 420px;
  width: 100%;
}

.page-pricing .aa-price__cta {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--aa-line);
}

.page-pricing .btn--primary {
  min-height: 48px;
  height: 48px;
}

.page-pricing .aa-price .btn { width: 100%; }

.page-pricing .aa-inclusions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  max-width: none;
  width: 100%;
  margin: 24px 0 0;
}

.page-pricing .aa-inclusions > li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  margin: 0;
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--aa-ink);
  font-size: 16px;
  font-weight: var(--aa-weight-regular);
  line-height: 1.4;
}

.page-pricing .aa-inclusions > li > span {
  min-width: 0;
}

.page-pricing .aa-inclusions > li:nth-child(odd) {
  background: var(--aa-surface);
}

.page-pricing .aa-inclusions__mark {
  flex: none;
  color: var(--aa-ink);
}

.page-pricing .aa-inclusions > li:nth-child(5n+1) { transition-delay: 0ms !important; }
.page-pricing .aa-inclusions > li:nth-child(5n+2) { transition-delay: 100ms !important; }
.page-pricing .aa-inclusions > li:nth-child(5n+3) { transition-delay: 200ms !important; }
.page-pricing .aa-inclusions > li:nth-child(5n+4) { transition-delay: 300ms !important; }
.page-pricing .aa-inclusions > li:nth-child(5n+5) { transition-delay: 400ms !important; }

.page-pricing .aa-sheets {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-pricing .aa-sheet {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  padding: 24px;
}

.page-pricing .aa-sheet h2 {
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: var(--aa-h2-tracking);
}

.page-pricing .aa-rate {
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 18px;
  font-weight: var(--aa-weight-bold);
  line-height: 1.25;
  letter-spacing: var(--aa-h3-tracking);
}

.page-pricing .aa-estimate-split > * { min-width: 0; }

.page-pricing .aa-estimate-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.page-pricing .aa-estimate {
  width: 100%;
  max-width: none;
  margin-top: 0;
  padding: 24px;
}

.page-pricing .aa-estimate .field label { font-size: 14px; }

.page-pricing .aa-estimate .field input {
  height: 48px;
  font-size: 16px;
}

.page-pricing .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
}

.page-pricing .ink-band { padding-inline: 0; }

.page-pricing .aa-enterprise-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-pricing .aa-enterprise-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.page-pricing .aa-enterprise-sheet {
  padding: 24px;
  background: var(--aa-surface);
}

.page-pricing .aa-enterprise-sheet .btn {
  width: 100%;
}

.page-pricing .aa-billing.section-header-split { align-items: start; }

.page-pricing .aa-billing__side { min-width: 0; }

.page-pricing .aa-points {
  max-width: none;
  margin: 0;
  gap: 0;
}

.page-pricing .aa-points li {
  padding: 16px 0;
}

.page-pricing .aa-points li + li {
  border-top: 1px solid var(--aa-line);
}

.page-pricing .aa-billing .figure {
  width: 100%;
  margin-top: 24px;
}

.page-pricing .faq-split__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.page-pricing .aa-faq {
  max-width: none;
  margin-top: 0;
}

.page-pricing .aa-faq__more { margin-top: 0; }

.page-pricing .close { max-width: none; }

.page-pricing .close .deck {
  max-width: 560px;
}

@media (min-width: 1024px) {
  .page-pricing .aa-price { padding: 32px; }

  .page-pricing .aa-inclusions {
    grid-auto-flow: column;
    grid-template-rows: repeat(9, minmax(52px, auto));
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 24px;
    row-gap: 0;
    margin-top: 40px;
  }

  .page-pricing .aa-inclusions > li { min-height: 52px; }

  .page-pricing .aa-inclusions > li:nth-child(n+10):nth-child(odd) {
    background: transparent;
  }

  .page-pricing .aa-inclusions > li:nth-child(n+10):nth-child(even) {
    background: var(--aa-surface);
  }

  .page-pricing .aa-sheets {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
  }

  .page-pricing .aa-sheet { padding: 32px; }

  .page-pricing .aa-rate { font-size: 20px; }

  .page-pricing .aa-estimate-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
    align-items: start;
  }

  .page-pricing .aa-estimate {
    max-width: 500px;
    padding: 32px;
  }

  .page-pricing .aa-enterprise-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
  }

  .page-pricing .aa-enterprise-sheet { padding: 32px; }
}

@media (max-width: 1023px) {
  .page-pricing .aa-price { padding: 24px; }

  .page-pricing .close__cta {
    width: 100%;
    max-width: 400px;
    align-items: stretch;
  }

  .page-pricing .close .btn {
    width: 100%;
    max-width: none;
  }
}

/* Live demo --------------------------------------------------------------- */

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0;
  padding: 4px 12px;
  border: 1px solid var(--aa-line);
  border-radius: 9999px;
  background: var(--aa-surface);
  color: var(--aa-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.eyebrow-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aa-ink);
  flex: none;
}

.live-demo {
  background: var(--aa-ink);
  color: #fff;
  padding: 64px 0 80px;
}

.live-demo h1 {
  color: #fff;
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.live-demo__grid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.live-demo__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 460px;
}

.live-demo__copy .deck,
.live-demo__copy p {
  color: #c4c8ce;
}

.live-demo__copy .deck {
  font-size: 18px;
  line-height: 1.5;
}

.live-demo__copy .text-link {
  color: #fff;
  font-weight: var(--aa-weight-medium);
}

.live-demo__copy .text-link:hover {
  color: #fff;
}

.live-demo__portrait {
  display: block;
  width: 160px;
  max-width: 100%;
  height: auto;
  margin-top: 8px;
  border-radius: var(--aa-radius-sheet);
}

.live-demo__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  padding: 24px;
}

.live-demo__card h2 {
  font-size: 20px;
  font-weight: var(--aa-weight-bold);
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--aa-ink);
}

.live-demo__card p {
  color: var(--aa-muted);
  font-size: 16px;
  line-height: 1.55;
}

.live-demo__card .btn {
  width: 100%;
  min-height: 48px;
  height: auto;
}

.live-demo__card [hidden],
.setup__form[hidden],
.setup__thanks[hidden] {
  display: none !important;
}

.live-demo__live {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.login-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.login-row__label {
  font-size: 11px;
  font-weight: var(--aa-weight-bold);
  line-height: 1.4;
  color: var(--aa-meta);
}

.login-value {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 4px 4px 4px 12px;
  border: 1px solid var(--aa-line);
  border-radius: var(--aa-radius-control);
  background: var(--aa-surface);
}

.login-value input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--aa-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.login-value input:focus-visible {
  outline: none;
  box-shadow: none;
}

.login-value .btn {
  width: auto;
  flex: none;
  min-height: 44px;
  height: 44px;
  padding: 0 16px;
}

.try-first__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.try-first__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
}

.try-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 20px 24px;
}

.try-card p {
  color: var(--aa-muted);
  font-size: 16px;
  line-height: 1.55;
}

.setup__grid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
}

.setup__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
}

.setup__sheet {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 24px;
}

.setup__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.setup__send {
  width: 100%;
  min-height: 48px;
  height: auto;
}

.setup__thanks {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.setup__thanks:focus { outline: none; }

@media (max-width: 1023px) {
  .live-demo { padding: 32px 0 56px; }

  .live-demo h1 {
    font-size: 34px;
    line-height: 1.2;
  }

  .live-demo__copy {
    align-items: center;
    max-width: none;
    text-align: center;
  }

  .setup .field label { font-size: 14px; }

  .setup .field input,
  .setup .field select,
  .setup .field textarea {
    height: 48px;
    font-size: 16px;
  }

  .setup .field textarea {
    height: auto;
    min-height: 120px;
  }
}

@media (max-width: 767px) {
  .live-demo__portrait { display: none; }
}

@media (min-width: 1024px) {
  .live-demo__grid {
    display: grid;
    grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }

  .live-demo__card {
    margin-top: 0;
    padding: 32px;
  }

  .try-first__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .try-card { padding: 24px 32px; }

  .setup__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    gap: 56px;
    align-items: start;
  }

  .setup__sheet { padding: 32px; }

  .setup__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* Shared layout primitives ----------------------------------------------- */

.section-header-centred {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.section-header-split {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.feature-panel {
  width: 100%;
  padding: 24px;
  background: var(--aa-surface);
}

.feature-panel + .feature-panel { margin-top: 24px; }

.feature-panel h2,
.feature-panel h3 {
  font-size: var(--aa-panel);
  line-height: var(--aa-panel-lh);
}

.feature-panel__grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-panel__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.feature-panel__visual img,
.feature-panel__visual video,
.split-block__visual img,
.split-block__visual video {
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.feature-panel .btn { margin-top: auto; }

.card-grid-3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.card-grid-3 > * {
  flex: 1 1 100%;
  padding: 20px 24px;
}

.split-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ink-band {
  background: var(--aa-ink);
  color: #fff;
  padding: 56px 20px;
}

.ink-band h1,
.ink-band h2 { color: #fff; }

.ink-band p { color: #c4c8ce; }

.faq-split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-split__intro h2 { font-size: var(--aa-h2); }

@media (min-width: 1024px) {
  .section-header-split {
    display: grid;
    grid-template-columns: minmax(0, 52%) minmax(0, 40%);
    justify-content: space-between;
    align-items: end;
    gap: 56px;
  }

  .section-header-split h2 { max-width: 560px; }

  .feature-panel { padding: 56px; }

  .feature-panel + .feature-panel { margin-top: 40px; }

  .feature-panel__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
  }

  .feature-panel__visual { align-items: stretch; min-width: 420px; }

  .card-grid-3 { gap: 24px; }

  .card-grid-3 > * {
    flex: 0 1 calc((100% - 48px) / 3);
    padding: 24px 32px;
  }

  .split-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
  }

  .ink-band { padding: 80px 0; }

  .faq-split {
    display: grid;
    grid-template-columns: 42% 50%;
    justify-content: space-between;
    align-items: start;
    gap: 56px;
  }

  .faq-split__intro {
    position: sticky;
    top: 120px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .feature-panel__pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}

/* Motion ------------------------------------------------------------------- */

.js-reveal [data-reveal].is-pending,
.js-reveal [data-reveal-group] > .is-pending {
  opacity: 0;
  transform: translateY(64px);
}

.js-reveal [data-reveal],
.js-reveal [data-reveal-group] > * {
  transition: opacity 900ms cubic-bezier(0.16, 1, 0.3, 1), transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js-reveal [data-hero-appear] {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
}

.js-reveal [data-hero-appear].is-hero-in {
  opacity: 1;
  transform: none;
  transition: opacity 550ms cubic-bezier(0.16, 1, 0.3, 1) 80ms, transform 550ms cubic-bezier(0.16, 1, 0.3, 1) 80ms;
}

@media (min-width: 1024px) {
  [data-stack].is-stacking > * {
    position: sticky;
    top: calc(120px + var(--i, 0) * 14px);
    z-index: 1;
    height: min(560px, calc(100vh - 160px));
    overflow: hidden;
    box-sizing: border-box;
    background: var(--aa-surface);
    transform-origin: top center;
  }

  [data-stack].is-stacking > :nth-child(1) { --i: 0; z-index: 1; }
  [data-stack].is-stacking > :nth-child(2) { --i: 1; z-index: 2; }
  [data-stack].is-stacking > :nth-child(3) { --i: 2; z-index: 3; }
}

@media (hover: hover) {
  .btn {
    transition: transform 200ms ease-out, background 200ms ease-out;
  }

  .btn:hover,
  .btn:active { transform: scale(0.97); }

  .nav__links a:hover { background: rgba(15, 17, 21, 0.04); }

  .nav__more:hover .nav__more-menu { display: block; }
}

@media (max-width: 1023px) {
  .js-reveal [data-reveal].is-pending,
  .js-reveal [data-reveal-group] > .is-pending {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal],
  .js-reveal [data-reveal-group] > *,
  .js-reveal [data-hero-appear],
  .aa-faq__a,
  .aa-faq__btn::after {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .btn:active { transform: none; }
}

/* Home --------------------------------------------------------------------- */

.page-home .section { padding-block: 40px; }

.home-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 14px;
  border: 1px solid var(--aa-yellow);
  border-radius: 9999px;
  background: var(--aa-yellow-wash);
  color: var(--aa-ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.home-pill--line {
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}

.home-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--aa-ink);
}

.home-pill__dot--yellow { background: var(--aa-yellow); }

.home-hero {
  --hero-pill-bg: #ffe47d;
  padding: 0;
  overflow-x: clip;
}

.home-hero .container {
  width: min(var(--aa-column), calc(100% - 40px));
}

.home-hero__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 40px 0 0;
  text-align: center;
}

.home-hero__pill {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 9999px;
  background: var(--hero-pill-bg);
  color: #0f1115;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-transform: none;
}

.home-hero__copy h1 {
  width: 100%;
  max-width: 500px;
  margin: 16px 0 0;
  color: var(--aa-ink);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.05em;
}

.home-hero .hero-underline {
  text-decoration: underline;
  text-decoration-color: #ffd701;
  text-decoration-thickness: 6px;
  text-underline-offset: 0.12em;
  text-decoration-skip-ink: none;
}

.home-hero__sub {
  max-width: 500px;
  margin: 20px 0 0;
  color: #454745;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: 32px;
}

.home-hero__actions .btn {
  height: 48px;
  min-height: 48px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 600;
}

.home-hero__actions .btn--ghost {
  background: transparent;
  border: 1.5px solid #ffd701;
  color: var(--aa-ink);
}

.home-hero__actions .btn--primary {
  padding: 0 26px;
  background: #ffd701;
  color: var(--aa-ink);
  font-weight: 700;
}

.home-ticks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.home-ticks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--aa-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.home-ticks__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 9999px;
  background: #ffd701;
}

.home-hero__visual {
  position: relative;
  width: 100%;
  min-width: 0;
  margin-top: 24px;
  padding-bottom: 36px;
}

.home-hero__frame {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.14);
}

.home-hero__frame picture,
.home-hero__frame img {
  display: block;
  width: 100%;
  height: auto;
}

.home-hero__koala {
  position: absolute;
  z-index: 2;
  right: -4px;
  bottom: 8px;
  width: 40%;
  margin: 0;
  pointer-events: none;
}

.home-hero__koala img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .home-system__intro { margin-top: 64px; }

.page-home .home-system__modules { margin-top: 40px; }

.page-home .home-system__modules > .module {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--aa-line);
  border-radius: 12px;
  box-shadow: var(--aa-sheet-shadow);
  color: inherit;
  text-decoration: none;
}

.home-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 9999px;
  background: var(--aa-yellow);
}

.page-home .home-system__modules h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.page-home .home-system__modules p {
  margin: 8px 0 0;
  color: var(--aa-muted);
  font-size: 16px;
  line-height: 1.45;
}

.page-home .feature-panel__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.page-home .feature-panel h3 {
  margin: 16px 0 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.page-home .feature-panel .deck {
  max-width: 36em;
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.45;
}

.page-home .home-points {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.page-home .home-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0;
  border: 0;
  color: var(--aa-ink);
  font-size: 16px;
  line-height: 1.4;
}

.home-points__mark {
  display: inline-flex;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 9999px;
  background: var(--aa-yellow);
}

.page-home .feature-panel .btn {
  width: 100%;
  min-height: 48px;
  margin-top: 28px;
}

.home-panel__stage { position: relative; width: 100%; }

.home-panel__tile {
  padding: 24px;
  background: var(--aa-canvas);
  border-radius: 12px;
}

.page-home .home-panel__tile .shot.is-image {
  background: #fff;
  border-radius: 8px;
}

.page-home .home-panel__tile .shot.is-image img,
.page-home .home-panel__tile .shot.is-image video,
.page-home .home-panel__overlap .shot.is-image img {
  width: auto;
  max-width: 100%;
  height: auto;
  background: #fff;
}

.home-panel__overlap {
  position: relative;
  width: 55%;
  max-width: 348px;
  margin-top: -12px;
  margin-left: 12px;
}

.page-home .home-panel__overlap .shot.is-image {
  background: #fff;
  border-radius: 8px;
}

.chat-tile {
  padding: 32px;
  background: var(--aa-canvas);
  border-radius: 12px;
}

.chat-tile__card {
  max-width: 440px;
  margin-inline: auto;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--aa-line);
  border-radius: 12px;
  box-shadow: var(--aa-sheet-shadow);
}

.chat-tile__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--aa-line);
}

.chat-tile__head img,
.chat-tile__reply img {
  border-radius: 9999px;
}

.chat-tile__head p {
  margin: 0;
  color: var(--aa-ink);
  font-size: 15px;
  font-weight: 600;
}

.chat-tile__user {
  width: fit-content;
  max-width: 100%;
  margin: 16px 0 0 auto;
  padding: 10px 14px;
  border-radius: 16px 16px 4px 16px;
  background: var(--aa-yellow);
  color: var(--aa-ink);
  font-size: 15px;
  line-height: 1.4;
}

.chat-tile__reply {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
}

.chat-tile__reply p {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--aa-line);
  border-radius: 16px 16px 16px 4px;
  color: var(--aa-ink);
  font-size: 15px;
  line-height: 1.45;
}

.chat-tile__input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 6px 6px 6px 14px;
  border: 1px solid var(--aa-line);
  border-radius: 9999px;
  color: var(--aa-muted);
  font-size: 14px;
}

.chat-tile__send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: var(--aa-yellow);
}

.chat-tile__caption {
  margin: 12px 0 0;
  color: var(--aa-muted);
  font-size: 14px;
  text-align: center;
}

.home-connected__grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.home-connected__copy h2 {
  margin: 16px 0 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.home-connected__copy .deck {
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.5;
}

.home-connected__copy .btn {
  width: 100%;
  min-height: 48px;
  margin-top: 28px;
}

.logo-wall {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--aa-line);
  border-radius: 12px;
  box-shadow: 0 4px 50px rgba(14, 15, 12, 0.05);
}

.logo-wall__spin {
  position: absolute;
  inset: -30% -10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 55px;
  transform: rotate(-7deg) scale(1.2);
}

.logo-row {
  display: flex;
  width: max-content;
  animation: logo-drift 40s linear infinite;
}

.logo-row--back { animation-direction: reverse; }

.logo-row__set { display: flex; }

.logo-tile {
  display: inline-flex;
  flex: 0 0 86px;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  margin-right: 55px;
  padding: 8px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(14, 15, 12, 0.08);
  color: var(--aa-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.logo-tile img { display: block; width: 40px; height: 40px; }

@keyframes logo-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.founder {
  background: var(--aa-ink);
  padding: 64px 20px;
  color: #fff;
}

.founder .container { width: 100%; }

.founder__grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.founder__mark { display: block; width: 132px; height: auto; }

.founder__copy h2 {
  margin: 32px 0 0;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
}

.founder__quote {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.5;
}

.founder__cta {
  width: 100%;
  height: 48px;
  min-height: 48px;
  margin-top: 32px;
  font-size: 16px;
  font-weight: 700;
}

.founder__stats {
  display: flex;
  gap: 64px;
  margin-top: 40px;
}

.founder__stats p { margin: 0; }

.founder__stats strong {
  display: block;
  color: #fff;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
}

.founder__stats span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  line-height: 1.3;
}

.founder__photo {
  display: block;
  overflow: hidden;
  border: 3px solid var(--aa-yellow);
  border-radius: 16px;
  box-shadow: 0 2px 50px rgba(14, 15, 12, 0.1);
}

.founder__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 559 / 704;
  object-fit: cover;
}

.home-faq { padding: 40px 0; }

.home-faq__grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.home-faq__intro h2 {
  margin: 16px 0 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.home-faq__intro .deck {
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 27px;
}

.home-faq__item h3 { margin: 0; }

.home-faq__item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 56px;
  padding: 24px 0;
  border: 0;
  border-bottom: 1px solid rgba(14, 15, 12, 0.12);
  background: none;
  color: var(--aa-ink);
  font: inherit;
  font-size: 18px;
  font-weight: 500;
  line-height: 27px;
  text-align: left;
  cursor: pointer;
}

.home-faq__icon {
  display: inline-flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(14, 15, 12, 0.1);
  color: var(--aa-ink);
  font-size: 14px;
  line-height: 1;
}

.home-faq__icon::before { content: "+"; }

.home-faq__item button[aria-expanded="true"] .home-faq__icon::before { content: "−"; }

.home-faq__a {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 240ms ease;
}

.js .home-faq__a { grid-template-rows: 0fr; }

.js .home-faq__a.is-open { grid-template-rows: 1fr; }

.home-faq__a-inner { overflow: hidden; }

.home-faq__a p {
  max-width: 440px;
  margin: 0;
  padding: 0 48px 24px 0;
  color: var(--aa-muted);
  font-size: 16px;
  line-height: 1.45;
}

.home-posts__title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.home-posts__grid {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

.home-post {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.home-post__tile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  border-radius: 12px;
  transition: transform 200ms ease;
}

.home-post__tile--wash { background: var(--aa-yellow-wash); }

.home-post__tile--canvas {
  background: var(--aa-canvas);
  border: 1px solid var(--aa-line);
}

.home-post__tile img {
  width: 56px;
  height: 56px;
  border-radius: 9999px;
}

.home-post__name {
  display: -webkit-box;
  margin-top: 16px;
  overflow: hidden;
  color: var(--aa-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.home-post__date {
  margin-top: 6px;
  color: var(--aa-muted);
  font-size: 13px;
}

.home-post:hover .home-post__tile,
.home-post:focus-visible .home-post__tile { transform: translateY(-2px); }

.home-post:hover .home-post__name,
.home-post:focus-visible .home-post__name {
  text-decoration: underline;
  text-decoration-color: var(--aa-yellow);
  text-underline-offset: 3px;
}

.home-posts__more { margin: 40px 0 0; text-align: center; }

.home-posts__more .btn {
  width: 100%;
  height: 48px;
  min-height: 48px;
  font-size: 16px;
  font-weight: 600;
}

@media (max-width: 360px) {
  .home-hero__actions { flex-direction: column; align-items: stretch; }
  .home-hero__actions .btn { width: 100%; }
}

@media (min-width: 1024px) {
  .home-hero .container {
    width: min(var(--aa-column), calc(100% - (var(--aa-page-gutter) * 2)));
  }

  .home-hero__grid {
    display: grid;
    grid-template-columns: 500px minmax(0, 1fr);
    gap: 48px;
    align-items: center;
  }

  .home-hero__copy {
    align-items: flex-start;
    width: 500px;
    padding: 54px 0;
    text-align: left;
  }

  .home-hero__pill {
    padding: 10px 18px;
    font-size: 16px;
  }

  .home-hero__copy h1 {
    width: 500px;
    font-size: 49px;
    line-height: 1.14;
  }

  .home-hero__sub {
    font-size: 15px;
    line-height: 21px;
    white-space: nowrap;
  }

  .home-hero__actions { justify-content: flex-start; }

  .home-hero__actions .btn { height: 52px; min-height: 52px; }

  .home-ticks {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .home-ticks li { flex-shrink: 0; }

  .home-hero__visual {
    margin-top: 0;
    padding-bottom: 64px;
  }

  .home-hero__frame { border-radius: 12px; }

  .home-hero__koala {
    width: 45%;
    right: -12px;
    bottom: 4px;
  }

  .page-home .home-system__modules > .module { flex: 0 1 calc((100% - 48px) / 3); }

  .page-home .feature-panel .btn { width: auto; min-height: 44px; }
  .page-home .feature-panel__visual { min-width: 0; }

  .home-panel__overlap {
    position: absolute;
    left: -24px;
    bottom: -24px;
    margin: 0;
  }

  .home-connected__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }

  .home-connected__copy h2 { font-size: 42px; }

  .home-connected__copy .btn { width: auto; }

  .logo-wall { height: 400px; }

  .founder { padding: 80px 0; }

  .founder .container { width: min(var(--aa-column), calc(100% - (var(--aa-page-gutter) * 2))); }

  .founder__grid {
    flex-direction: row;
    align-items: stretch;
    gap: 64px;
  }

  .founder__copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
  }

  .founder__copy h2 { font-size: 43px; }

  .founder__quote { font-size: 18px; }

  .founder__cta { width: auto; height: 52px; min-height: 52px; }

  .founder__visual { flex: 0 1 504px; }

  .home-faq { padding: 111px 0 44px; }

  .home-faq__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
  }

  .home-faq__intro h2 { font-size: 43px; }

  .home-posts__title { font-size: 43px; }

  .home-posts__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .home-posts__more .btn { width: auto; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .founder { padding: 80px 40px; }
  .founder .container { width: 100%; }

  .home-hero__grid { grid-template-columns: min(500px, 46%) minmax(0, 1fr); }

  .home-hero__copy { width: auto; max-width: 500px; }

  .home-hero__copy h1 {
    width: 100%;
    font-size: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-row { animation: none; }
  .home-faq__a,
  .home-post__tile { transition: none; }
}

/* About -------------------------------------------------------------------- */

.page-about .about-hero {
  padding: 72px 0 0;
  background: var(--aa-canvas);
}

.page-about .about-hero__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.page-about .about-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.page-about .about-hero h1 { font-size: 34px; }

.page-about .about-hero .deck {
  max-width: 36em;
  margin: 0;
}

.page-about .about-hero__mascot {
  display: block;
  width: min(260px, 100%);
  min-width: 0;
  margin: 0;
  line-height: 0;
}

.page-about .about-hero__mascot img {
  display: block;
  width: 100%;
  height: auto;
}

.page-about .about-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.page-about .about-who .section-header-split { align-items: flex-start; }

.page-about .ink-band { padding-inline: 0; }

.page-about .about-built {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 32px;
}

.page-about .about-built__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  text-align: left;
}

.page-about .about-close { padding: 24px; }

.page-about .about-close h2 {
  color: var(--aa-ink);
  font-size: 32px;
  line-height: var(--aa-panel-lh);
}

.page-about .about-close__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.page-about .about-close .btn {
  width: 100%;
  height: 48px;
  min-height: 48px;
}

@media (min-width: 1024px) {
  .page-about .about-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    gap: 52px;
    align-items: end;
    text-align: left;
  }

  .page-about .about-hero__copy {
    align-items: flex-start;
    padding-bottom: 80px;
  }

  .page-about .about-hero h1 { font-size: var(--aa-hero); }

  .page-about .about-hero__mascot {
    width: min(420px, 100%);
    justify-self: end;
  }

  .page-about .about-built {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
  }

  .page-about .about-close__cta {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .page-about .about-close .btn { width: auto; }
}

/* Shared labels, optional tag, contact and demo band ---------------------- */

.eyebrow-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-optional {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid var(--aa-yellow-line);
  border-radius: 9999px;
  background: var(--aa-yellow-wash);
  color: var(--aa-ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.mark-mcp {
  padding: 0 4px;
  border-radius: 4px;
  background: var(--aa-yellow-wash);
}

.stack-note {
  max-width: 40em;
  margin: 0 0 28px;
  color: var(--aa-muted);
  font-size: 16px;
  line-height: 1.5;
}

.home-hero__note {
  max-width: 500px;
  margin: 12px 0 0;
  color: #454745;
  font-size: 15px;
  line-height: 1.45;
}

.demo-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.demo-band h2 { margin: 0; }

.contact-wrap {
  width: min(1040px, calc(100% - 48px));
  margin-inline: auto;
  padding: 96px 0 80px;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 48px;
  padding: 48px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  box-shadow: var(--aa-sheet-shadow);
}

.contact-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.contact-copy h1 {
  font-size: 36px;
  line-height: 1.15;
}

.contact-copy .deck {
  margin: 0;
  color: var(--aa-muted);
}

.contact-details {
  width: 100%;
  margin-top: 8px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid #ececec;
}

.contact-detail__label {
  color: #888888;
  font-size: 13px;
  font-weight: var(--aa-weight-medium);
  line-height: 1.4;
}

.contact-detail__value {
  color: var(--aa-ink);
  font-size: 16px;
  line-height: 1.45;
}

.contact-detail__todo {
  color: #9a6700;
  font-weight: var(--aa-weight-medium);
}

.contact-form-wrap { min-width: 0; }

.contact-form {
  display: grid;
  gap: 16px;
  align-content: start;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form .btn {
  width: auto;
  justify-self: start;
}

.contact-form .small { margin: 0; }

@media (max-width: 800px) {
  .contact-wrap {
    width: min(1040px, calc(100% - 32px));
    padding-top: 48px;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 24px;
  }

  .contact-copy h1 { font-size: 32px; }

  .contact-form__row { grid-template-columns: 1fr; }
}
