@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');
/* The design tokens come with this sheet, so every public page has the fonts, the lavender tints and the gold tokens
   without listing them itself (the Plans page fell back to Times when it loaded main.css alone, Nov 7, 2026). */
@import url('a1-design-tokens.css');

/*
========================================
File      : modules/a1_portal/assets/css/main.css
The shared stylesheet of the public marketing pages: the plans, security, connected accounts, privacy, terms,
comparison, industry, switch and 404 pages, the blog and the home page's shared parts (header, footer, buttons).
Palette rules: white and the lavender tints are the only surfaces; gold is the accent (rules, button faces, glows) and
never a pale wash (scripts/check-reuse.mjs rule R22). Sections are full-width bands that alternate white and lavender.
========================================
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #ffffff; /* page background */
  --surface: #ffffff; /* card surface */
  --surface-2: var(--a1-surface-alt, #f3effd); /* secondary surface */
  --text: var(--a1-ink, #24183a); /* body text */
  --heading: var(--a1-ink, #24183a); /* headings */
  --muted: var(--a1-muted, #5d5574); /* muted text */
  --primary: var(--a1-gold, #d4af57); /* primary accent */
  --accent: var(--a1-lavender, #e2dafa); /* secondary accent */
  --border: var(--a1-border, #e6e0f1); /* border */
  --border-strong: var(--a1-section-edge, #c6b8ee); /* the firm edge of a section */
  --shadow: var(--a1-shadow, 0 16px 34px rgba(36, 24, 58, 0.10)); /* card shadow */
  --shadow-soft: var(--a1-shadow-soft, 0 8px 20px rgba(36, 24, 58, 0.07));
  --radius: 14px 5px; /* edged corners: two round, two nearly square, like the buttons */
  --fs-hero: clamp(32px, 4.4vw, 46px); /* hero h1 */
  --fs-h2: clamp(26px, 3.2vw, 34px); /* h2 */
  --fs-h3: clamp(18px, 2.2vw, 22px); /* h3 */
  --fs-body: 16px; /* body size */
  --fs-small: 14px; /* small text */
  --leading-tight: 1.1; /* tight leading */
  --leading-normal: 1.6; /* normal leading */
  --leading-loose: 1.7; /* loose leading */
  /* Spacing: medium inside a section, wide between sections (the band padding), compact inside a control. */
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --band-pad: clamp(56px, 7vw, 96px); /* the room above and below a band's content */
  --band-gap: clamp(28px, 3.5vw, 44px); /* between a band's heading and its content */
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--a1-ui-font, "Plus Jakarta Sans", system-ui, sans-serif);
  font-size: var(--fs-body);
  line-height: var(--leading-normal);
  color: var(--text);
  background: var(--bg);
  /* The fixed shared header: main.js measures it and sets --a1-header-offset. */
  padding-top: var(--a1-header-offset, 146px);
}

a {
  color: inherit;
  text-decoration: none;
}

/* A link inside running text is marked, so a reader can tell it from the words around it (the support and security pages
   showed 'Open the knowledge base' and the policy links as plain text, Nov. 28, 2026). Buttons and styled links keep their class. */
main :is(p, li) a:not([class]) {
  color: var(--a1-purple-ink, #551a7d);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(185, 137, 25, 0.55);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.18s ease, color 0.18s ease;
}

main :is(p, li) a:not([class]):is(:hover, :focus-visible) {
  text-decoration-color: currentColor;
}

@media (prefers-reduced-motion: reduce) {
  main :is(p, li) a:not([class]) { transition: none; }
}

h1, h2, h3, h4 {
  font-family: var(--a1-title-font, "Fraunces", Georgia, serif);
  margin: 0 0 var(--space-2);
  color: var(--heading);
  letter-spacing: 0.01em;
  /* A heading and an intro span the whole content width and wrap only at its edge: no max-width in ch or rem on a
     heading, a lede or an intro paragraph anywhere on the public pages (the Articles title wrapped after two words,
     Nov 7, 2026). Only the long body paragraphs of an article keep a reading measure (articles.css .post-body). */
  max-width: none;
}

h1 {
  font-size: var(--fs-hero);
  line-height: var(--leading-tight);
}

h2 {
  font-size: var(--fs-h2);
  line-height: 1.15;
}

h3 {
  font-size: var(--fs-h3);
  line-height: 1.2;
}

p {
  margin: 0 0 var(--space-2);
  font-size: var(--fs-body);
  line-height: var(--leading-normal);
  color: var(--text);
  text-wrap: pretty;
}

li {
  line-height: var(--leading-normal);
}

.page {
  position: relative;
  overflow-x: hidden;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: calc(var(--a1-header-height, 90px) + 72px);
}

/* ---------- Eyebrow: the small caps line over a heading. Plain text, never a pill. ---------- */
.eyebrow {
  display: block;
  width: fit-content;
  margin: 0 0 var(--space-2);
  color: var(--a1-gold-text, #725409);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.band-tinted .eyebrow,
.band-deep .eyebrow {
  color: var(--a1-purple-ink, #551a7d);
}

.band-deep .eyebrow {
  color: #e8c96a;
}

.lede {
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: var(--leading-loose);
  margin: 0;
}

/* ---------- Bands: every section of a public page is a full-width band. ----------
   White and lavender bands alternate (.band-tinted), a deep violet band closes a page (.band-deep). A tinted band has a
   firm edge above and below and a gold hairline along its top, so the eye sees where one section ends and the next begins.
   The spacing is wide between bands (--band-pad) and medium inside one (--band-gap). */
.band {
  position: relative;
  padding: var(--band-pad) 0;
  background: var(--bg);
}

.band-tinted {
  background: var(--a1-page, #f0ebfc);
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

.band-tinted::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--a1-gold-metallic-rule, linear-gradient(90deg, #b8891c, #f6e6b4 50%, #a87c11));
}

.band-deep {
  background: linear-gradient(160deg, #2a1546 0%, var(--a1-ink, #24183a) 100%);
  color: #fff;
}

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

.band-deep p,
.band-deep .lede {
  color: rgba(255, 255, 255, 0.78);
}

/* The hero band: the page title, its eyebrow and its intro, and nothing else above it. */
.band-hero {
  padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 5vw, 64px);
}

.band-hero h1 {
  margin: 0 0 var(--space-3);
}

/* The heading of a band: the eyebrow, the title and at most one intro line, left aligned and full width. */
.section-head {
  margin-bottom: var(--band-gap);
}

.section-head h2 {
  margin: 0 0 var(--space-2);
  text-wrap: balance;
}

.section-head p {
  margin: 0;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: var(--leading-loose);
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

/* ---------- In-page section rail: a long page keeps its sections one click away. ----------
   A sticky row under the site header with one link per band; the link of the band in view is marked (main.js). */
.a1-section-nav {
  position: sticky;
  top: var(--a1-header-height, 90px);
  z-index: 20;
  background: var(--a1-nav-surface, #e2dafa);
  border-top: 1px solid var(--a1-nav-edge, #bfaff0);
  border-bottom: 1px solid var(--a1-nav-edge, #bfaff0);
}

.a1-section-nav-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 8px 0;
}

.a1-section-nav a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: var(--a1-button-radius-sm, 8px 3px);
  color: var(--a1-purple-ink, #551a7d);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.a1-section-nav a:hover {
  background: rgba(255, 255, 255, 0.6);
}

/* The chosen entry on a navigation surface is a white card. */
.a1-section-nav a[aria-current="true"] {
  background: #fff;
  border-color: var(--a1-nav-edge, #bfaff0);
  box-shadow: var(--shadow-soft);
}

/* ---------- Buttons: the logo's gold, a bright top edge, a deep lower edge and a dark outline. ---------- */
.cta-row {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin: var(--space-3) 0 var(--space-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: var(--a1-button-radius, 11px 4px);
  border: 1px solid var(--a1-button-edge, #cbbfec);
  background: var(--a1-button-face, linear-gradient(180deg, #ffffff 0%, #e2dafa 130%));
  color: var(--heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--a1-button-bevel, inset 0 1px 0 #fff), 0 8px 18px rgba(36, 24, 58, 0.10);
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--a1-section-edge, #c6b8ee);
  box-shadow: var(--a1-button-bevel, inset 0 1px 0 #fff), 0 14px 28px rgba(36, 24, 58, 0.14);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--a1-lavender-deep, #b7b1f2);
  outline-offset: 2px;
}

.btn-primary,
.btn-primary:visited {
  background: var(--a1-button-gold-face, linear-gradient(180deg, #f6d878 0%, #dcae3c 48%, #a97a12 100%));
  color: var(--a1-gold-ink, #1b1304);
  border-color: var(--a1-button-gold-outline, #6e4f08);
  box-shadow: var(--a1-button-gold-bevel, inset 0 1px 0 rgba(255, 255, 255, 0.6)), 0 10px 22px rgba(154, 107, 18, 0.22), 0 0 0 4px var(--a1-button-gold-ring, rgba(222, 186, 92, 0.42));
}

.btn-primary:hover {
  background: var(--a1-button-gold-face-hover, linear-gradient(180deg, #fbe28a 0%, #e4b944 48%, #b5841a 100%));
  border-color: var(--a1-button-gold-outline, #6e4f08);
  box-shadow: var(--a1-button-gold-bevel, inset 0 1px 0 rgba(255, 255, 255, 0.6)), 0 16px 30px rgba(154, 107, 18, 0.28), 0 0 0 5px var(--a1-button-gold-ring, rgba(222, 186, 92, 0.42));
}

.btn:active {
  transform: translateY(1px);
}

/* The glow of the primary action breathes slowly, and settles for people who turn motion off. */
@media (prefers-reduced-motion: no-preference) {
  .btn-primary {
    position: relative;
    box-shadow: var(--a1-button-gold-bevel, inset 0 1px 0 rgba(255, 255, 255, 0.6)), 0 10px 22px rgba(154, 107, 18, 0.22), 0 0 0 4px rgba(222, 186, 92, 0.42);
  }

  /* The wider glow is a halo on ::after that fades in and out, so only opacity changes per frame. */
  .btn-primary::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    box-shadow: 0 12px 26px rgba(154, 107, 18, 0.30), 0 0 0 6px rgba(222, 186, 92, 0.24);
    opacity: 0;
    pointer-events: none;
    animation: gold-breathe 3.6s ease-in-out infinite;
  }

  @keyframes gold-breathe {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
  }
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: var(--a1-button-radius, 11px 4px);
  border: 1px solid var(--a1-button-edge, #cbbfec);
  background: var(--a1-button-face, linear-gradient(180deg, #ffffff 0%, #e2dafa 130%));
  color: var(--heading);
  font-weight: 800;
  font-size: 15px;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  z-index: 1000;
}

.back-to-top:hover {
  box-shadow: 0 16px 40px rgba(85, 26, 125, 0.22);
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .section-head,
  .band-hero .container {
    animation: fade-up 0.7s ease both;
  }

  .pricing-grid .price-card {
    animation: fade-up 0.6s ease both;
  }
}

/* ---------- Grids and cards ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 24px);
}

/* Two cards per row, and an odd card out takes the whole last row, so no row ends with an empty cell. */
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.two > .card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .grid.two {
    grid-template-columns: 1fr;
  }
}

/* A card contrasts with what it sits on: white with a firm edge on a tinted band, tinted on a white one. */
.card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: clamp(18px, 2.4vw, 24px);
  box-shadow: var(--shadow-soft), inset 0 1px 0 #fff;
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}

.band:not(.band-tinted) .card {
  background: var(--a1-section-face, linear-gradient(180deg, #f3effd 0%, #e2dafa 100%));
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--a1-lavender-deep, #b7b1f2);
}

/* ---------- Plans ---------- */
.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Monthly or annual: one control with two states; the chosen state is the white card on the tinted surface. */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 var(--band-gap);
  padding: 4px;
  border-radius: var(--a1-button-radius, 11px 4px);
  border: 1px solid var(--a1-nav-edge, #bfaff0);
  background: var(--a1-nav-surface, #e2dafa);
}

.billing-toggle .billing-opt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--a1-button-radius-sm, 8px 3px);
  background: transparent;
  color: var(--a1-purple-ink, #551a7d);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.billing-toggle .billing-opt.active {
  background: #fff;
  border-color: var(--a1-nav-edge, #bfaff0);
  box-shadow: var(--shadow-soft);
}

/* The saving is plain accent text beside the label, never a chip. */
.billing-toggle .billing-save {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--a1-gold-text, #725409);
}

.plan-name {
  font-size: clamp(20px, 2.4vw, 26px);
  margin: 0 0 6px;
  color: var(--heading);
}

.plan-name.accent {
  color: var(--a1-purple-ink, #551a7d);
  font-size: clamp(22px, 2.6vw, 28px);
}

.price-card h3 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 52px;
  margin: 2px 0 12px;
  color: var(--heading);
}

.price-card .plan-price-amount {
  display: inline-block;
  font-size: clamp(30px, 4vw, 38px);
  color: var(--heading);
  font-weight: 700;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.price-card .plan-price-period {
  color: var(--muted);
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 600;
}

.surcharge-note {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

.price-card > .muted {
  min-height: 76px;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 22px;
  color: var(--text);
  display: grid;
  grid-template-rows: repeat(3, minmax(42px, auto));
  gap: 10px;
  flex: 1;
}

.price-card li {
  position: relative;
  margin: 0;
  padding-left: 22px;
  line-height: 1.4;
}

.price-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--a1-positive, #1f7a5c);
  font-weight: 700;
}

.price-card.highlight {
  border-color: var(--a1-gold, #d4af57);
  box-shadow: 0 0 0 4px rgba(222, 186, 92, 0.18), var(--shadow);
}

.price-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* ---------- Plan comparison: one <details> per category. ----------
   The closed bar is a navigation surface (lavender with the firm edge); the open body is a white card holding the shared
   table (partials/pricing_matrix.php). */
.plan-matrix-group {
  display: grid;
  gap: var(--space-3);
}

.matrix-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: var(--space-2);
}

.matrix-toggle-all {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: var(--a1-button-radius-sm, 8px 3px);
  border: 1px solid var(--a1-nav-edge, #bfaff0);
  background: var(--a1-nav-surface, #e2dafa);
  cursor: pointer;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.matrix-toggle-all:hover {
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.matrix-toggle-all .chev,
.matrix-section-summary::after {
  position: absolute;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--a1-purple-ink, #551a7d);
  border-bottom: 2px solid var(--a1-purple-ink, #551a7d);
  transition: transform 0.2s ease;
}

.matrix-toggle-all .chev {
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.matrix-toggle-all .chev-1 { top: 40%; }
.matrix-toggle-all .chev-2 { top: 60%; }

.matrix-toggle-all.is-open .chev {
  transform: translate(-50%, -30%) rotate(225deg);
}

.matrix-section {
  border: 1px solid var(--a1-nav-edge, #bfaff0);
  border-radius: var(--radius);
  background: var(--a1-nav-surface, #e2dafa);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.matrix-section[open] {
  box-shadow: var(--shadow-soft);
}

.matrix-section-summary {
  list-style: none;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 14px 56px 14px 22px;
  cursor: pointer;
  color: var(--a1-purple-ink, #551a7d);
  transition: background 0.2s ease;
}

.matrix-section-summary::-webkit-details-marker {
  display: none;
}

.matrix-section-summary:hover {
  background: rgba(255, 255, 255, 0.45);
}

.matrix-section-summary::after {
  content: "";
  right: 24px;
  top: 50%;
  transform: translateY(-65%) rotate(45deg);
}

.matrix-section[open] .matrix-section-summary::after {
  transform: translateY(-35%) rotate(225deg);
}

.matrix-section-title {
  font-family: var(--a1-title-font, "Fraunces", Georgia, serif);
  font-size: 19px;
  line-height: 1.15;
}

.matrix-section-count {
  color: var(--muted);
  font-family: var(--a1-ui-font, system-ui, sans-serif);
  font-size: 0.78em;
  font-weight: 500;
}

/* The open card: white, inside the lavender bar, with the table's own box taking the full width. */
.matrix-section-body {
  padding: var(--space-3);
  background: #fff;
  border-top: 1px solid var(--a1-nav-edge, #bfaff0);
}

.matrix-section-body .a1-table-box {
  box-shadow: none;
}

.matrix-feature {
  display: block;
  font-weight: 600;
  color: var(--heading);
}

/* The explanation of a feature sits under its name in the text column, so there is nothing to hover. */
.matrix-feature-tip {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.matrix-link {
  color: var(--a1-purple-ink, #551a7d);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Forms ---------- */
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.input-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

label {
  font-weight: 600;
  color: var(--a1-label, #551a7d);
}

/* Empty, filled and focused are three states: a tinted empty field, a white filled field and a lavender ring. */
input,
textarea,
select {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--a1-button-radius, 11px 4px);
  padding: 12px 12px;
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:not(:placeholder-shown),
textarea:not(:placeholder-shown) {
  background: #fff;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--a1-purple-soft, #7c5ccf);
  box-shadow: 0 0 0 3px var(--a1-button-ring, rgba(183, 166, 236, 0.4));
}

.input-group.error input,
.input-group.error textarea,
.input-group.error select {
  border-color: var(--a1-negative, #b3364d);
  box-shadow: 0 0 0 3px rgba(179, 54, 77, 0.18);
}

.error-text {
  color: var(--a1-negative, #b3364d);
  font-size: 13px;
  margin-top: 4px;
  display: block;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 4px), calc(100% - 13px) calc(50% - 4px);
  background-size: 8px 8px, 8px 8px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

textarea {
  resize: vertical;
  max-height: 40vh;
}

.required {
  color: var(--a1-negative, #b3364d);
  margin-left: 4px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 12px;
}

.checklist li::before {
  content: "\2713";
  color: var(--a1-positive, #1f7a5c);
  margin-right: 8px;
}

.small {
  font-size: 12px;
}

.micro {
  font-size: 11px;
  margin: 6px 0 0;
}

/* ---------- The shared footer (views/partials/footer.php): a deep violet band that closes every public page. ---------- */
.a1-footer {
  background: linear-gradient(160deg, #2a1546 0%, var(--a1-ink, #24183a) 100%);
  color: rgba(255, 255, 255, 0.72);
  padding: var(--band-pad) 0 var(--space-5);
  border-top: 2px solid var(--a1-gold, #d4af57);
}

.a1-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.a1-footer-brand img {
  height: 30px;
  width: auto;
  margin-bottom: var(--space-3);
}

.a1-footer-brand p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 15px;
  margin: 0;
}

.a1-footer h3 {
  color: #fff;
  font-family: var(--a1-ui-font, system-ui, sans-serif);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 var(--space-3);
}

.a1-footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.a1-footer-col a:hover,
.a1-footer-bottom a:hover {
  color: var(--a1-gold, #d4af57);
}

.a1-footer-note {
  padding: var(--space-4) 0 0;
}

.a1-footer-note p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin: 0;
}

.a1-footer-note a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.a1-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-4);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.56);
}

.a1-footer-bottom nav {
  display: flex;
  gap: var(--space-4);
}

.a1-footer-bottom nav a {
  /* At least 32 pixels each way, so a short link such as 'Help' is easy to press. */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 900px) {
  .a1-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .a1-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --band-pad: clamp(40px, 9vw, 56px);
  }

  .billing-toggle {
    display: flex;
    width: fit-content;
    max-width: 100%;
  }
}
