/* Shared redesign stylesheet — Authorizations, BILL, Compliance Package Notebook, FAQ.
   Source: three high-fidelity design handoffs (Claude design tool, 2026-09-07),
   owner-approved and pushed as-is. Deliberately its OWN stylesheet, not an
   edit to page.css — this layout, spacing and nav/footer markup differ from
   the other pages (FAQ/start/thanks/landing), which still share
   site.css/page.css.

   Colors and layout are locked/high-fidelity per the handoffs. Three
   adaptations from the design references, both because they were HTML with
   inline styles, not this site's build:
   1. Icons — the references use the "Material Symbols Outlined" icon font
      for a handful of glyphs (check, arrow, two play icons). Self-hosting a
      whole icon font for four glyphs contradicts base.css's "self-hosted,
      no external requests ever" — small inline SVGs instead.
   2. Step numbers / mono captions — the references use JetBrains Mono, not
      self-hosted here. Using the system monospace stack instead of adding a
      new font file for a few two-digit numbers.
   3. Fonts — the references specified Manrope (headings) / Plus Jakarta Sans
      (body), matching the real product's fonts. Owner decided 2026-09-07 to
      run these three pages on the SAME two locked typefaces as the rest of
      the marketing site instead — var(--font-display) (Fraunces) and
      var(--font-body) (Instrument Sans) — so all `font-family: "Manrope"` /
      `"Plus Jakarta Sans"` below were swapped for the token variables.
      Layout, spacing and colors are untouched; this was a font-only pass.
      The FAQ handoff (delivered after this swap) flagged that Fraunces
      reads heavier than Manrope at the same weight — its headings ship at
      600/-0.01em rather than 800/-0.025em. Applied retroactively here so
      all four pages read consistently, not just FAQ.
   Every color value below is unchanged from the references, including the
   alarm red on the Authorizations audit-exposure stat — tokens.css
   deliberately keeps var(--color-error) undefined for marketing ("appears
   NOWHERE on the marketing site"); that page uses the literal #ba1a1a per
   the locked design instead of touching that shared file's intent for the
   other pages. */

.az-page {
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  min-height: 100vh;
}

/* ---------- Nav ---------- */

.az-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(254, 249, 238, .96);
  border-bottom: 1px solid rgba(183, 198, 214, .35);
}
.az-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.az-nav-logo { height: 34px; display: block; }
.az-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}
.az-nav-links a { color: var(--ink-muted); text-decoration: none; }
.az-nav-links a.is-active {
  color: var(--ink);
  border-bottom: 2px solid var(--terracotta-clay);
  padding: 4px 0;
}
.az-nav-actions { display: flex; align-items: center; gap: 10px; }
.az-btn-login {
  font-size: 14px;
  font-weight: 700;
  color: var(--olive-grove);
  padding: 10px 16px;
  border: 2px solid var(--sage-whisper);
  border-radius: 8px;
  text-decoration: none;
}
.az-btn-login:hover { background: rgba(110, 119, 92, .08); }
.az-btn-primary {
  font-size: 14px;
  font-weight: 700;
  color: var(--oat-milk);
  background: var(--terracotta-clay);
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.az-btn-primary:hover { filter: brightness(1.1); }

/* ---------- Hero ---------- */

.az-hero {
  background: linear-gradient(180deg, #eef2f5, #dfe6ec);
  border-bottom: 1px solid rgba(110, 119, 92, .2);
}
.az-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 32px 80px;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 64px;
  align-items: start;
}
/* Compliance Package Notebook / FAQ: no side card in the source page, single centered
   column. Width varies per page (780 vs 800), so it's a separate modifier
   rather than baked into .is-solo. */
.az-hero-inner.is-solo { grid-template-columns: minmax(0, 1fr); }
.az-hero-inner.w-780 { max-width: 780px; }
.az-hero-inner.w-800 { max-width: 800px; }
.az-hero-left { display: flex; flex-direction: column; gap: 28px; }
.az-eyebrow-row { display: flex; align-items: center; gap: 12px; }
.az-eyebrow-bar { width: 6px; height: 32px; border-radius: 9999px; background: var(--olive-grove); flex: none; }
.az-eyebrow-bar.is-sm { height: 24px; }
.az-eyebrow-bar.is-red { background: #ba1a1a; }
.az-eyebrow-bar.is-sage { background: var(--sage-whisper); }
.az-eyebrow {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--olive-grove);
}
.az-eyebrow.is-sm { font-size: 13px; letter-spacing: .05em; }

.az-h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

.az-lede {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-muted);
  text-wrap: pretty;
}

.az-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.az-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 9999px;
  background: var(--olive-grove);
  color: var(--oat-milk);
  font-size: 14px;
  font-weight: 700;
}
.az-pill svg { color: var(--sage-whisper); flex: none; }

.az-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.az-btn-outline {
  font-size: 15px;
  font-weight: 700;
  color: var(--olive-grove);
  padding: 12px 22px;
  border: 2px solid var(--sage-whisper);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.az-btn-outline:hover { background: rgba(110, 119, 92, .08); }
.az-cta-row .az-btn-primary { font-size: 15px; padding: 14px 24px; }

/* Audit-risk card (Authorizations only) */
.az-hero-right { display: flex; flex-direction: column; gap: 24px; margin-top: 24px; }
.az-audit-card {
  background: #fff;
  border: 1px solid var(--outline-variant);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--elevation-2);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.az-audit-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.az-audit-stat { display: flex; flex-direction: column; gap: 4px; }
.az-audit-figure {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  color: #ba1a1a;
}
.az-audit-caption { font-size: 12px; color: var(--ink-muted); line-height: 1.4; }
.az-audit-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
  border-top: 1px solid rgba(183, 198, 214, .4);
  padding-top: 16px;
  text-wrap: pretty;
}
.az-half-line {
  margin: 0 4px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  text-wrap: pretty;
}
.az-half-line strong { color: var(--terracotta-clay); font-weight: 600; }

/* Media card (BILL): character illustration + caption, same card shell as
   the audit card but simpler contents. */
.az-media-card {
  background: #fff;
  border: 1px solid var(--outline-variant);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--elevation-2);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.az-media-card img { width: 100%; height: auto; display: block; border-radius: 10px; }
.az-media-caption {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
  border-top: 1px solid rgba(183, 198, 214, .4);
  padding-top: 16px;
  text-wrap: pretty;
}

/* ---------- Process ---------- */

.az-process { border-bottom: 1px solid rgba(183, 198, 214, .35); }
.az-process-inner { max-width: 1200px; margin: 0 auto; padding: 88px 32px; }
.az-process-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 64px;
  align-items: start;
}
.az-process-label {
  position: sticky;
  top: 104px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.az-h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}
.az-process-copy { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-muted); text-wrap: pretty; }

.az-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.az-step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--outline-variant);
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: var(--elevation-1);
}
.az-step-n {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--terracotta-clay);
  padding-top: 4px;
}
.az-step-body { display: flex; flex-direction: column; gap: 6px; }
.az-step-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
.az-step-body p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-muted); }

/* ---------- Walkthrough ---------- */

.az-walkthrough {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 32px 96px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  text-align: center;
}
.az-walkthrough-intro { display: flex; flex-direction: column; gap: 14px; align-items: center; max-width: 620px; }
.az-video-panel {
  width: 100%;
  max-width: 960px;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--elevation-2);
  border: 1px solid rgba(110, 119, 92, .3);
  background: #000;
  display: block;
}
/* Compliance Package Notebook: two videos side by side rather than one centered panel. */
.az-video-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(360px, 1fr));
  gap: 24px;
  justify-content: center;
}
.az-video-grid .az-video-panel { max-width: none; }

/* ---------- FAQ accordion ---------- */

.az-faq-section { max-width: 800px; margin: 0 auto; padding: 64px 32px 32px; }
.az-faq-list { display: flex; flex-direction: column; gap: 12px; }
.az-faq-item {
  background: #fff;
  border: 1px solid var(--outline-variant);
  border-radius: 12px;
  box-shadow: var(--elevation-1);
  padding: 4px 24px;
}
.az-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}
.az-faq-item summary::-webkit-details-marker { display: none; }
.az-faq-item summary .az-faq-chevron {
  flex: none;
  color: var(--terracotta-clay);
  transition: transform 0.2s ease;
}
.az-faq-item[open] summary .az-faq-chevron { transform: rotate(180deg); }
.az-faq-item p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-muted);
}
.az-faq-item p + p { margin-top: -12px; }

/* ---------- Cross-link cards ---------- */

.az-links-section { max-width: 800px; margin: 0 auto; padding: 16px 32px 64px; }
.az-links-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.az-link-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--outline-variant);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--elevation-1);
  text-decoration: none;
}
.az-link-card .az-eyebrow { font-size: 13px; letter-spacing: .05em; }
.az-link-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
.az-link-card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-muted); }

.az-backlink {
  display: block;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 32px 64px;
  font-size: 14px;
  font-weight: 700;
  color: var(--olive-grove);
  text-decoration: none;
}
.az-backlink:hover { color: var(--terracotta-clay); }

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

.az-footer { background: var(--olive-grove); color: rgba(255, 255, 255, .7); }
.az-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 32px 40px;
  display: grid;
  /* Four link columns since Legal was added. The brand block keeps a wider
     share so "Compliance Package Notebook" still breaks over two lines at
     most rather than one word per line. */
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.az-footer-brand { display: flex; flex-direction: column; gap: 16px; }
.az-footer-logo { height: 32px; width: auto; align-self: flex-start; }
.az-footer-brand p { margin: 0; font-size: 13px; line-height: 1.6; max-width: 300px; }
.az-footer-col { display: flex; flex-direction: column; gap: 12px; }
.az-footer-col h4 {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--misty-sky);
}
.az-footer-col a { font-size: 14px; color: rgba(255, 255, 255, .85); text-decoration: none; }
.az-footer-col a:hover { color: #fff; }

/* ---------- Legal pages (privacy policy, and terms when it lands) ----------
   Long-form prose, which nothing else on this site is. Measure is capped at
   about 70 characters because these pages get read start to finish rather
   than scanned, and a full-width line of 14px text is punishing to follow. */

.az-legal-version {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--color-on-surface-variant, #53433d);
}
.az-legal {
  max-width: 800px;
  margin: 0 auto;
  padding: 8px 32px 64px;
}
.az-legal h2 {
  margin: 40px 0 12px;
  font-family: var(--font-display, Fraunces, Georgia, serif);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--color-on-surface, #1d1c15);
}
.az-legal h2:first-child { margin-top: 8px; }
.az-legal p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-on-surface-variant, #53433d);
}
.az-legal a { color: var(--color-primary, #8a4b30); }
.az-legal em { font-style: italic; }

/* Bulleted clauses (the security statement). Each item opens with a bold
   label, so the marker is set in the brand terracotta and the text hangs off
   it rather than sitting under it. */
.az-legal-list {
  margin: 0 0 14px;
  padding: 0 0 0 20px;
  list-style: none;
}
.az-legal-list li {
  position: relative;
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-on-surface-variant, #53433d);
}
.az-legal-list li::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta-clay, #c47a5c);
}
.az-legal-list strong { color: var(--color-on-surface, #1d1c15); }

/* The table is the one part that cannot simply reflow — three columns of
   prose. It scrolls sideways on a phone rather than crushing each column to
   two words wide. */
.az-legal-tablewrap { overflow-x: auto; margin: 0 0 14px; }
.az-legal-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}
.az-legal-table th,
.az-legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--color-outline-variant, #d8c2ba);
}
.az-legal-table th {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-on-surface, #1d1c15);
}
.az-legal-table td { color: var(--color-on-surface-variant, #53433d); }

.az-legal-rule {
  margin: 40px 0 20px;
  border: 0;
  border-top: 1px solid var(--color-outline-variant, #d8c2ba);
}
.az-legal-entity { font-size: 13px; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .az-nav-links { display: none; }
  .az-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 56px 20px 48px; }
  .az-hero-right { margin-top: 0; }
  .az-process-inner { padding: 56px 20px; }
  .az-process-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .az-process-label { position: static; }
  .az-walkthrough { padding: 56px 20px 64px; }
  .az-video-grid { grid-template-columns: minmax(0, 1fr); }
  .az-faq-section { padding: 48px 20px 24px; }
  .az-faq-item { padding: 4px 18px; }
  .az-links-section { padding: 12px 20px 48px; }
  .az-links-grid { grid-template-columns: minmax(0, 1fr); }
  .az-backlink { padding: 0 20px 48px; }
  .az-footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 40px 20px 32px; }
  .az-legal { padding: 8px 20px 56px; }
  .az-legal h2 { font-size: 21px; margin-top: 32px; }
}
