/*
TemplateMo 618 The Catalyst
https://templatemo.com/tm-618-the-catalyst
Silver & Acid Light-Mode SaaS Landing Page

Adapted for Ateliere Civice: self-hosted assets, no external fonts, no burger menu.
*/

@font-face {
  font-family: "League Spartan";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/league-spartan/league-spartan-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "League Spartan";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/league-spartan/league-spartan-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "League Spartan";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/league-spartan/league-spartan-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "League Spartan";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/league-spartan/league-spartan-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "League Spartan";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/league-spartan/league-spartan-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "League Spartan";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/league-spartan/league-spartan-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "League Spartan";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/league-spartan/league-spartan-latin-ext-800-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "League Spartan";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/league-spartan/league-spartan-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "League Spartan";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/fonts/league-spartan/league-spartan-latin-ext-900-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "League Spartan";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/fonts/league-spartan/league-spartan-latin-900-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Indie Flower";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/indie-flower/IndieFlower-Regular.ttf") format("truetype");
}

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

:root,
html[data-site-theme="catalyst"] {
  color-scheme: light;
  --bg: #fafafa;
  --surface: #f0f0f0;
  --text: #111111;
  --text-muted: #666666;
  --text-dim: #999999;
  --accent: #d0f000;
  --accent-hover: #bddb00;
  --border: #e5e5e5;
  --border-light: #eeeeee;
  --white: #ffffff;
  --dark: #2a2a2a;
  --success: #22c55e;
  --warning-bg: #fef3c7;
  --warning-text: #92400e;
  --container: 1200px;
  --gap: 24px;
  --section-pad: clamp(72px, 9vw, 128px);
  --radius-card: 16px;
  --radius-control: 10px;
  --font-ui: "League Spartan", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  padding-top: 60px;
}

@supports (overflow-x: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 72%, var(--text));
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 2000;
  background: var(--text);
  color: var(--white);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.container,
main,
.site-header .nav-inner,
.site-footer .container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

main {
  padding-bottom: 32px;
}

.home-shell {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

.home-shell > section {
  width: 100%;
}

.home-shell .container {
  width: min(calc(100vw - 48px), var(--container));
  max-width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(250, 250, 250, 0.82);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
  min-height: 64px;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding-block: 12px;
}

.brand,
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--text);
  font-weight: 800;
  white-space: nowrap;
}

.brand__text {
  display: grid;
  min-width: 0;
}

.brand strong {
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  max-width: 26rem;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
}

.brand__mark,
.nav-logo-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--accent);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 var(--white);
}

.site-nav,
.nav-links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  min-width: 0;
  width: 100%;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 38px;
  max-width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 10px;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.site-nav a:hover,
.site-nav a:active {
  box-shadow: 4px 4px 1px #890;
}

.site-nav a.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text);
  box-shadow: inset 0 1px 0 var(--white);
}

.site-nav a.is-active:hover,
.site-nav a.is-active:active {
  box-shadow: 4px 4px 1px #890;
}

.nav-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-block;
}

.nav-icon::before {
  width: 100%;
  height: 100%;
  display: block;
  content: "";
  background: currentColor;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.nav-icon--home::before {
  mask-image: url("/icons/nav/home.svg");
  -webkit-mask-image: url("/icons/nav/home.svg");
}

.nav-icon--gallery::before {
  mask-image: url("/icons/nav/gallery.svg");
  -webkit-mask-image: url("/icons/nav/gallery.svg");
}

.nav-icon--video::before {
  mask-image: url("/icons/nav/video.svg");
  -webkit-mask-image: url("/icons/nav/video.svg");
}

.nav-icon--knowledge::before {
  mask-image: url("/icons/nav/knowledge.svg");
  -webkit-mask-image: url("/icons/nav/knowledge.svg");
}

.nav-icon--classes::before {
  mask-image: url("/icons/nav/classes.svg");
  -webkit-mask-image: url("/icons/nav/classes.svg");
}

.nav-icon--events::before {
  mask-image: url("/icons/nav/events.svg");
  -webkit-mask-image: url("/icons/nav/events.svg");
}

.nav-icon--logout::before {
  mask-image: url("/icons/nav/logout.svg");
  -webkit-mask-image: url("/icons/nav/logout.svg");
}

.nav-icon--forum::before {
  mask-image: url("/icons/nav/forum.svg");
  -webkit-mask-image: url("/icons/nav/forum.svg");
}

.nav-label {
  line-height: 1.15;
  white-space: nowrap;
}

.user-strip {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.user-strip__context {
  max-width: 13rem;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-strip__actions,
.button-row,
.hero-actions,
.cta-banner-actions,
.age-theme__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.user-strip form {
  margin: 0;
}

.button,
.btn-acid,
.btn-ghost,
.btn-dark-ghost,
.filter-chip,
.age-theme__apply,
.faq-ctrl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: var(--radius-control);
  border: 1px solid var(--border);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.15;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 12px 22px;
  text-align: center;
  white-space: normal;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, background 0.2s ease;
}

.button,
.btn-acid,
.filter-chip.is-active,
.age-theme__apply.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text);
}

.button:hover,
.btn-acid:hover,
.btn-ghost:hover,
.filter-chip:hover,
.age-theme__apply:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 1px #890;
  color: var(--text);
}

.button--secondary,
.button--quiet,
.btn-ghost,
.filter-chip,
.age-theme__apply {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-dark-ghost {
  color: rgba(255, 255, 255, 0.74);
  border-color: rgba(255, 255, 255, 0.18);
  background: transparent;
}

.btn-dark-ghost:hover {
  transform: translateY(-2px);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
.hero h1 {
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 4.25rem;
  font-weight: 800;
  line-height: 1.04;
  overflow-wrap: break-word;
  text-wrap: balance;
  word-break: normal;
}

.hero-kicker {
  width: min(100%, 444px);
  max-width: 444px;
  margin: -20px auto 24px;
  color: var(--text);
  font-size: 125%;
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-align: justify;
  text-align-last: justify;
  text-transform: uppercase;
  overflow-wrap: normal;
}

h2,
.section-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
}

.hero {
  position: relative;
  text-align: center;
  min-width: 0;
}

.home-hero > .container {
  display: grid;
  justify-items: center;
  min-width: 0;
  text-align: center;
  padding-top:80px;
}

.hero-badge,
.eyebrow,
.section-tag,
.metrics-label,
.meta,
.cta-banner-tag,
.age-theme__audience,
.age-theme__palette-kicker {
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-bottom: 28px;
  min-width: 0;
  padding: 6px 16px 6px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 1px 0 var(--white);
  text-transform: none;
  letter-spacing: 0;
}

.hero-badge-dot,
.section-tag::before,
.cta-banner-tag::before {
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--success);
}

.hero-sub {
  width: min(100%, 640px);
  max-width: 640px;
  margin: 30px auto 50px;
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.home-hero__trust {
  width: min(100%, 640px);
  max-width: 640px;
  margin: 0 auto 32px;
  color: var(--text-muted);
  overflow-wrap: break-word;
}

.hero-actions {
  width: min(100%, 640px);
  justify-content: center;
  margin-bottom: 64px;
  min-width: 0;
}

.hero-dashboard {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  min-width: 0;
}

.dashboard-frame,
.card,
.info-card,
.video-card,
.comparison-card,
.thread-card,
.login-panel,
.age-theme,
.theme-home-preview,
.themes-header__note {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: inset 0 1px 0 var(--white);
}

.dashboard-frame {
  min-width: 0;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  box-shadow: inset 0 1px 0 var(--white), 0 20px 60px -10px rgba(0, 0, 0, 0.08);
}

.dashboard-toolbar,
.dash-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}

.dashboard-dots {
  display: flex;
  gap: 7px;
}

.dashboard-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--border);
}

.dashboard-toolbar-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
}

.dashboard-toolbar-tabs span,
.dash-filter,
.dash-status,
.status-pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
}

.dashboard-toolbar-tabs .active {
  background: var(--white);
  color: var(--text);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.dashboard-toolbar-spacer {
  width: 50px;
}

.dashboard-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 20px;
}

.dash-stat-card,
.dashboard-table-area,
.bento-card-visual,
.home-impact__story,
.age-theme__palette-detail,
.age-theme__stage,
.age-theme__details section,
.theme-home-preview__nav span,
.theme-home-preview__hero,
.theme-home-preview__workflow span,
.theme-home-preview__proof span,
.theme-home-preview__status {
  border: 1px solid var(--border-light);
  border-radius: 12px;
  background: var(--white);
}

.dash-stat-card {
  padding: 20px;
  text-align: left;
}

.dash-stat-label {
  margin-bottom: 8px;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dash-stat-value {
  margin-bottom: 6px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.dash-stat-change {
  margin: 0;
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
}

.dashboard-table-area {
  grid-column: 1 / -1;
  overflow: hidden;
}

.dash-table-row {
  display: grid;
  grid-template-columns: minmax(12rem, 2fr) repeat(3, minmax(6rem, 1fr));
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 13px;
  text-align: left;
}

.dash-table-row:last-child {
  border-bottom: 0;
}

.dash-cell-name {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
}

.dash-cell-icon,
.bento-card-icon,
.theme-home-preview__workflow strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--accent);
  color: var(--text);
  font-weight: 900;
}

.member-dashboard {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
  padding: 48px 0 32px;
}

.dashboard-home-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  align-items: stretch;
  gap: 20px;
  margin-bottom: 20px;
  text-align: left;
}

.dashboard-home-header__main,
.dashboard-home-header__status,
.dashboard-summary-card,
.dashboard-action-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: inset 0 1px 0 var(--white);
}

.dashboard-home-header__main {
  padding: 30px;
}

.dashboard-home-header__main h1 {
  margin-bottom: 12px;
  font-size: 3.2rem;
  line-height: 1;
}

.dashboard-home-header__main p:not(.eyebrow) {
  max-width: 58rem;
  margin: 0;
  color: var(--text-muted);
}

.dashboard-home-header__status {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
  background: var(--white);
}

.dashboard-home-header__status span,
.dashboard-summary-card span,
.dashboard-action-item__tag {
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dashboard-home-header__status strong {
  font-size: 1.35rem;
  line-height: 1.1;
}

.dashboard-home-header__status small {
  justify-self: start;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--accent);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  padding: 5px 10px;
}

.dashboard-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.dashboard-summary-card {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  background: var(--white);
}

.dashboard-summary-card strong {
  font-size: 1.25rem;
  line-height: 1.1;
}

.dashboard-action-panel {
  padding: 24px;
}

.dashboard-action-panel__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.dashboard-action-panel__header h2 {
  margin: 0;
  font-size: 1.6rem;
}

.dashboard-action-panel__header p:last-child {
  margin: 0;
  color: var(--text-muted);
  font-weight: 800;
}

.dashboard-action-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dashboard-action-item {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 220px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  background: var(--white);
  color: var(--text);
  padding: 22px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.dashboard-action-item:hover,
.dashboard-action-item:focus-visible {
  border-color: var(--accent-hover);
  transform: translateY(-2px);
}

.dashboard-action-item strong {
  max-width: 18rem;
  font-size: 1.35rem;
  line-height: 1.05;
}

.dashboard-action-item span:not(.dashboard-action-item__tag) {
  color: var(--text-muted);
  line-height: 1.35;
}

.dashboard-action-item em {
  align-self: end;
  color: var(--text);
  font-style: normal;
  font-weight: 900;
}

.metrics,
.engine,
.pricing,
.home-section,
.cta-banner {
  padding: var(--section-pad) 0;
}

.metrics-label {
  margin-bottom: 48px;
  text-align: center;
}

.metrics-grid,
.bento-grid,
.pricing-grid,
.card-grid,
.video-grid,
.home-learning__grid,
.home-studio__board,
.home-progress__track,
.age-theme-grid,
.age-theme__details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.metric-item {
  padding: 42px 20px;
  text-align: center;
}

.metric-number {
  margin-bottom: 12px;
  font-size: 4.75rem;
  font-weight: 900;
  line-height: 1;
  overflow-wrap: break-word;
}

.metric-unit {
  color: var(--text-muted);
  font-size: 0.42em;
  font-weight: 700;
}

.metric-highlight,
.pricing-billed.yearly-active {
  border-radius: 6px;
  background: var(--accent);
  color: var(--text);
  padding-inline: 6px;
}

.metric-desc,
.section-header p,
.bento-card p,
.info-card p,
.video-card p,
.comparison-card p,
.thread-card p,
.login-panel p,
.page-header p,
.age-theme p,
.themes-header__note {
  color: var(--text-muted);
}

.section-header,
.page-header {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.page-header h1 {
  max-width: 100%;
  font-size: 3.25rem;
  line-height: 1.08;
}

.section-tag,
.cta-banner-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
}

.section-tag::before,
.cta-banner-tag::before {
  display: inline-block;
  background: var(--accent);
  border-radius: 2px;
}

.card,
.bento-card,
.pricing-card,
.info-card,
.video-card,
.comparison-card,
.thread-card,
.login-panel,
.age-theme {
  padding: 28px;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover,
.info-card:hover,
.video-card:hover,
.comparison-card:hover {
  transform: translateY(-2px);
}

.bento-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.bento-card-icon {
  margin-bottom: 20px;
}

.bento-card-visual {
  min-height: 112px;
  margin-top: auto;
  padding: 16px;
}

.mini-bars {
  display: flex;
  align-items: end;
  gap: 8px;
}

.mini-bars span {
  width: 100%;
  min-height: 34px;
  border-radius: 5px 5px 0 0;
  background: var(--border);
}

.mini-bars span:nth-child(2) {
  min-height: 56px;
}

.mini-bars span:nth-child(3) {
  min-height: 44px;
}

.mini-bars .highlight {
  min-height: 82px;
  background: var(--accent);
}

.mini-pipeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mini-pipeline span {
  display: grid;
  min-height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
}

.mini-pipeline span:first-child {
  background: var(--accent);
  color: var(--text);
}

.mini-code {
  font-family: var(--font-mono);
  font-size: 13px;
  text-align: left;
}

.home-audience__grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: 860px;
  margin-inline: auto;
}

.home-theme-panel__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.home-theme-panel__steps em {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--text-muted);
  font-style: normal;
  font-weight: 800;
  padding: 6px 10px;
}

.pricing-card h3 {
  margin-bottom: 12px;
}

.home-learning__item img,
.video-card img,
.comparison-card img,
.home-impact__story img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

.home-learning__item img {
  margin-bottom: 18px;
}

.home-impact__story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 24px;
  max-width: 920px;
  margin-inline: auto;
  padding: 20px;
}

.before-after-callout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 920px;
  margin: 0 auto 20px;
}

.before-after-callout article {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: inset 0 1px 0 var(--white);
  padding: 24px;
}

.before-after-callout strong {
  display: block;
  margin: 8px 0 8px;
  font-family: "Indie Flower", var(--font-ui);
  font-size: 2.35rem;
  font-weight: 400;
  line-height: 0.95;
  text-transform: none;
}

.before-after-callout s {
  text-decoration-color: var(--accent);
  text-decoration-thickness: 0.16em;
  text-decoration-skip-ink: none;
}

.before-after-callout p {
  margin: 0;
  color: var(--text-muted);
}

.before-after-label {
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-pilot {
  background: var(--white);
  border-block: 1px solid var(--border);
}

.home-pilot__grid {
  margin-bottom: 28px;
}

.home-pilot__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.cta-banner-inner {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--dark);
  color: var(--white);
  padding: clamp(52px, 8vw, 92px) clamp(28px, 5vw, 72px);
  text-align: center;
}

.cta-banner-inner::before {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  content: "";
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.08;
  filter: blur(80px);
}

.cta-banner h2 {
  max-width: 640px;
  margin-inline: auto;
  color: var(--white);
}

.cta-banner p {
  position: relative;
  max-width: 520px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.58);
}

.cta-banner-actions {
  position: relative;
  justify-content: center;
  margin-top: 28px;
}

.page-header {
  padding-top: 36px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.gallery-list,
.thread-list {
  display: grid;
  gap: 20px;
}

.comparison-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 20px;
}

.comparison-card__media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.comparison-card figure {
  position: relative;
  margin: 0;
}

.comparison-card figcaption {
  position: absolute;
  bottom: 10px;
  left: 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  padding: 4px 10px;
}

.video-card {
  overflow: hidden;
  padding: 0;
}

.video-card img {
  height: 230px;
  border: 0;
  border-radius: 16px 16px 0 0;
}

.video-card__body {
  padding: 24px;
}

.locked-note,
.thread-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.locked-note {
  margin-top: 18px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  color: var(--text-muted);
  font-weight: 700;
}

.locked-note a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
}

.thread-card__activity {
  flex: 0 0 150px;
  margin: 0;
  text-align: right;
}

.thread-card__activity strong {
  color: var(--text);
  font-size: 32px;
  line-height: 1;
}

.login-panel {
  max-width: 560px;
  margin: 54px auto;
  text-align: center;
}

.login-panel--wide {
  max-width: 880px;
  text-align: left;
}

.login-panel__intro {
  max-width: 48rem;
}

.auth-page {
  padding: 54px 20px;
}

.login-form {
  display: flex;
  justify-content: flex-start;
  margin-top: 24px;
}

.credential-login-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  max-width: 460px;
  padding-top: 4px;
}

.credential-login-form label {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.credential-login-form input {
  width: 100%;
  min-height: 44px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  background: var(--white);
  color: var(--text);
  font: inherit;
  padding: 10px 12px;
}

.credential-login-form input:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(212, 255, 0, 0.55);
  outline-offset: 2px;
}

.login-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.login-actions .button {
  flex: 0 1 auto;
}

.credential-login-form > .button {
  justify-self: start;
}

.turnstile-placeholder {
  display: grid;
  min-height: 76px;
  margin: 4px 0 12px;
  place-items: center;
  border: 1px dashed color-mix(in srgb, var(--text-muted) 55%, var(--border));
  border-radius: var(--radius-control);
  background: var(--white);
  color: var(--text-muted);
  font-weight: 700;
  padding: 14px;
  text-align: center;
}

.auth-accordion {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.auth-accordion--page {
  width: min(100%, 880px);
  margin: 0 auto;
}

.auth-disclosure {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: inset 0 1px 0 var(--white);
  overflow: hidden;
}

.auth-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  color: var(--text);
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  list-style: none;
}

.auth-disclosure summary::-webkit-details-marker {
  display: none;
}

.auth-disclosure summary:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--accent) 72%, var(--text));
}

.auth-disclosure summary::after {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  content: "";
  border: 1px solid var(--border);
  border-radius: 999px;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat;
  color: var(--text);
  opacity: 0.72;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    opacity 0.18s ease,
    transform 0.18s ease;
}

.auth-disclosure summary:hover::after,
.auth-disclosure summary:focus-visible::after {
  border-color: currentColor;
  background-color: var(--bg);
  opacity: 1;
}

.auth-disclosure[open] summary::after {
  background:
    linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat;
  transform: rotate(180deg);
}

.auth-disclosure summary small {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.auth-disclosure__body {
  padding: 0 20px 20px;
}

.auth-disclosure__notice {
  margin: 0 0 20px;
}

.signup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding-top: 4px;
}

.signup-form[hidden] {
  display: none;
}

.signup-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.signup-form input {
  width: 100%;
  min-height: 44px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  background: var(--white);
  color: var(--text);
  font: inherit;
  padding: 10px 12px;
}

.signup-form input:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(212, 255, 0, 0.55);
  outline-offset: 2px;
}

.signup-form .signup-consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin: 4px 0 10px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.signup-form .signup-consent input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 2px 0 0;
}

.signup-form .button {
  align-self: end;
  justify-self: start;
}

.pilot-shell {
  padding-bottom: 56px;
}

.petition-shell {
  padding-bottom: 56px;
}

.pilot-hero {
  max-width: 860px;
}

.petition-hero {
  max-width: 1080px;
}

.pilot-offer {
  margin-bottom: 24px;
}

.petition-case {
  margin-bottom: 24px;
}

.petition-card {
  position: relative;
}

.petition-card__number {
  display: inline-grid;
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--accent);
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 1px 0 var(--white), 0 2px 0 rgba(0, 0, 0, 0.12);
}

.petition-card h3 {
  max-width: calc(100% - 64px);
}

.petition-card > p:not(.meta) {
  font-size: 1.08rem;
  line-height: 1.65;
}

.pilot-panel {
  margin-top: 24px;
}

.petition-panel {
  margin-top: 24px;
}

.petition-panel .login-panel__intro {
  max-width: 72rem;
  font-size: 1.3rem;
  line-height: 1.55;
}

.pilot-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin-top: 24px;
}

.petition-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin-top: 24px;
}

.pilot-form label {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.petition-form label {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.pilot-form input,
.pilot-form select,
.pilot-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  background: var(--white);
  color: var(--text);
  padding: 10px 12px;
}

.petition-form input,
.petition-form select,
.petition-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  background: var(--white);
  color: var(--text);
  padding: 10px 12px;
}

.pilot-form textarea {
  min-height: 132px;
  resize: vertical;
}

.petition-form textarea {
  min-height: 132px;
  resize: vertical;
}

.pilot-form input:focus,
.pilot-form select:focus,
.pilot-form textarea:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(212, 255, 0, 0.55);
  outline-offset: 2px;
}

.petition-form input:focus,
.petition-form select:focus,
.petition-form textarea:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(212, 255, 0, 0.55);
  outline-offset: 2px;
}

.pilot-form textarea,
.pilot-consent,
.pilot-form .button {
  grid-column: 1 / -1;
}

.petition-form textarea,
.petition-consent,
.petition-form .button {
  grid-column: 1 / -1;
}

.pilot-consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin-top: 6px;
}

.petition-consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin-top: 6px;
  color: var(--text-muted);
  line-height: 1.35;
}

.pilot-consent input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.petition-consent input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.lead-form__trap {
  display: none;
}

.manifest-shell {
  width: min(calc(100vw - 48px), var(--container));
  margin: 0 auto;
  padding: 44px 0 64px;
}

.manifest-hero {
  display: grid;
  gap: 22px;
  max-width: 980px;
  margin: 0 auto 32px;
  text-align: center;
}

.manifest-hero h1 {
  max-width: 920px;
  margin: 0 auto;
  font-size: 6rem;
  line-height: 0.94;
}

.manifest-hero__lede {
  max-width: 820px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.45rem;
  line-height: 1.45;
}

.manifest-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.manifest-letter,
.manifest-principles,
.manifest-closing {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: inset 0 1px 0 var(--white);
}

.manifest-letter {
  display: grid;
  grid-template-columns: minmax(110px, 0.24fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 42px;
  padding: 36px;
}

.manifest-letter__mark {
  display: grid;
  width: 104px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--accent);
  color: var(--text);
  font-size: 2rem;
  font-weight: 900;
  box-shadow: inset 0 1px 0 var(--white), 0 4px 0 rgba(0, 0, 0, 0.1);
}

.manifest-letter h2,
.manifest-principles h2,
.manifest-closing h2 {
  margin-bottom: 16px;
  font-size: 3.8rem;
  line-height: 1;
}

.manifest-letter p:not(.eyebrow),
.manifest-principles p,
.manifest-closing p {
  color: var(--text-muted);
  font-size: 1.14rem;
  line-height: 1.65;
}

.manifest-letter p + p {
  margin-top: 14px;
}

.manifest-whatifs {
  margin-bottom: 42px;
}

.manifest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.manifest-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 310px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  padding: 24px;
  box-shadow: inset 0 1px 0 var(--white);
}

.manifest-card span {
  display: inline-grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--accent);
  color: var(--text);
  font-weight: 900;
}

.manifest-card h3 {
  font-size: 1.35rem;
  line-height: 1.15;
}

.manifest-card p {
  color: var(--text-muted);
  line-height: 1.55;
}

.manifest-principles {
  margin-bottom: 42px;
  padding: 36px;
}

.manifest-pledge {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin-bottom: 28px;
}

.manifest-pledge p:first-child {
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 800;
}

.manifest-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
}

.manifest-steps li {
  display: grid;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  background: var(--white);
  padding: 16px;
}

.manifest-steps strong {
  font-size: 1.05rem;
}

.manifest-steps span {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.45;
}

.manifest-closing {
  max-width: 920px;
  margin: 0 auto;
  padding: 36px;
  text-align: center;
}

.manifest-closing p:not(.eyebrow) {
  max-width: 760px;
  margin: 0 auto;
}

.notice {
  border: 1px solid var(--warning-text);
  border-radius: 10px;
  background: var(--warning-bg);
  color: var(--warning-text);
  padding: 12px;
}

.notice--list {
  display: grid;
  gap: 6px;
  margin: 12px 0;
  padding-left: 28px;
}

.dev-link-list,
.validation-list {
  display: grid;
  gap: 18px;
}

.dev-link-list__item,
.validation-list__item {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.dev-link-list__item:first-child,
.validation-list__item:first-child {
  border-top: 0;
  padding-top: 0;
}

.dev-link-list__item h2,
.validation-list__item h2 {
  margin-bottom: 4px;
  font-size: 1.35rem;
}

.dev-link-list__item a {
  overflow-wrap: anywhere;
}

.validation-list__item dl {
  display: grid;
  grid-template-columns: minmax(8rem, max-content) minmax(0, 1fr);
  gap: 6px 14px;
  margin-top: 14px;
}

.validation-list__item dt {
  color: var(--text);
  font-weight: 800;
}

.validation-list__item dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.validation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-role-grid {
  margin-bottom: 24px;
}

.admin-panel {
  display: grid;
  gap: 18px;
}

.admin-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-metric {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-control);
  background: var(--white);
  padding: 14px;
}

.admin-metric span,
.admin-table__row small {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

.admin-metric strong {
  display: block;
  margin-top: 6px;
  font-size: 2rem;
  line-height: 1;
}

.admin-table {
  display: grid;
  gap: 10px;
}

.admin-table__row {
  display: grid;
  grid-template-columns: minmax(13rem, 1.4fr) minmax(8rem, 0.75fr) minmax(8rem, 0.75fr) minmax(7rem, 0.65fr) minmax(10rem, 0.9fr);
  align-items: start;
  gap: 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-control);
  background: var(--white);
  padding: 14px;
}

.admin-table--requests .admin-table__row {
  grid-template-columns: minmax(13rem, 1.3fr) minmax(8rem, 0.75fr) minmax(7rem, 0.65fr) minmax(12rem, 1fr) minmax(8rem, 0.75fr);
}

.admin-table__head {
  background: var(--surface);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-table__row strong {
  display: block;
  line-height: 1.15;
}

.admin-table__note {
  grid-column: 1 / -1;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.role-pill-list,
.admin-action-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
}

.admin-action-list {
  display: grid;
  list-style: none;
}

.admin-action-list li {
  border: 1px solid var(--border-light);
  border-radius: 10px;
  background: var(--white);
  font-weight: 800;
  padding: 10px 12px;
}

.issue-shell {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
  padding: 48px 0 32px;
}

.issue-hero {
  margin-bottom: 22px;
}

.issue-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.65fr);
  gap: 20px;
  align-items: start;
}

.issue-form,
.issue-list-panel,
.issue-detail,
.issue-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: inset 0 1px 0 var(--white);
}

.issue-form,
.issue-list-panel,
.issue-panel {
  padding: 24px;
}

.issue-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px 16px;
}

.issue-form__header,
.issue-form textarea,
.issue-form__hint,
.issue-map-card,
.issue-upload-card,
.issue-check,
.issue-photo-note,
.issue-form .button {
  grid-column: 1 / -1;
}

.issue-form__header p:not(.eyebrow),
.issue-map-card p,
.issue-upload-card p,
.issue-photo-note p,
.issue-list__item small,
.issue-detail__header p,
.issue-panel p,
.issue-privacy-note {
  color: var(--text-muted);
}

.issue-form label,
.issue-inline-form label {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.issue-form input,
.issue-form select,
.issue-form textarea,
.issue-inline-form select,
.issue-inline-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  background: var(--white);
  color: var(--text);
  padding: 10px 12px;
}

.issue-form textarea,
.issue-inline-form textarea {
  resize: vertical;
}

.issue-form__hint {
  margin: -6px 0 4px;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 700;
}

.issue-check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--text-muted);
  line-height: 1.35;
}

.issue-check input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.issue-map-card,
.issue-upload-card,
.issue-photo-note {
  display: grid;
  gap: 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-control);
  background: var(--white);
  padding: 16px;
}

.issue-upload-card {
  grid-template-columns: minmax(0, 0.7fr) minmax(260px, 0.55fr);
  align-items: stretch;
}

.issue-upload-card__copy {
  display: grid;
  align-content: start;
  gap: 8px;
}

.issue-dropzone {
  display: grid;
  place-items: center;
  min-height: 160px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  padding: 18px;
  text-align: center;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.issue-dropzone span,
.issue-dropzone strong,
.issue-dropzone small {
  display: block;
}

.issue-dropzone span {
  font-size: 1.15rem;
  font-weight: 900;
}

.issue-dropzone strong {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.issue-dropzone small {
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.issue-upload-card.is-dragging .issue-dropzone,
.issue-dropzone:focus-visible {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 24%, var(--white));
  outline: none;
  transform: translateY(-1px);
}

.issue-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.issue-upload-status {
  grid-column: 1 / -1;
  min-height: 1.2em;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 800;
}

.issue-upload-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 10px;
}

.issue-upload-thumb {
  position: relative;
  overflow: hidden;
  min-height: 104px;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  background: var(--white);
}

.issue-upload-thumb__preview {
  display: block;
  width: 100%;
  height: 104px;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  padding: 0;
}

.issue-upload-thumb__preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.issue-upload-thumb__remove {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.issue-upload-thumb__caption {
  overflow: hidden;
  padding: 7px 8px 8px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.issue-upload-thumb.is-uploading {
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 900;
  padding: 10px;
  text-align: center;
}

.issue-photobox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: rgb(17 17 17 / 82%);
  padding: 24px;
}

.issue-photobox[hidden] {
  display: none;
}

.issue-photobox__image {
  max-width: min(100%, 1100px);
  max-height: min(86vh, 900px);
  border-radius: var(--radius-control);
  box-shadow: 0 24px 70px rgb(0 0 0 / 35%);
  object-fit: contain;
}

.issue-photobox__close {
  position: fixed;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
}

.issue-map {
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  background: var(--white);
}

.issue-map--detail {
  min-height: 320px;
}

.issue-list-panel {
  display: grid;
  gap: 16px;
}

.issue-list {
  display: grid;
  gap: 10px;
}

.issue-list__item {
  display: grid;
  gap: 6px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-control);
  background: var(--white);
  padding: 14px;
}

.issue-list__item span,
.issue-tracking span,
.issue-list__item em {
  color: var(--text-dim);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.issue-list__item strong {
  font-size: 1.2rem;
  line-height: 1.1;
}

.issue-detail {
  padding: 28px;
}

.issue-detail__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 20px;
}

.issue-detail__header h1 {
  margin-bottom: 12px;
  font-size: 3rem;
  line-height: 1;
}

.issue-tracking {
  display: grid;
  align-content: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  background: var(--white);
  padding: 20px;
}

.issue-tracking strong {
  font-size: 1.45rem;
  line-height: 1;
}

.issue-tracking small {
  justify-self: start;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-muted);
  font-weight: 800;
  padding: 6px 10px;
}

.issue-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 18px;
}

.issue-panel {
  display: grid;
  gap: 12px;
}

.issue-panel--map,
.issue-action-panel {
  grid-column: 1 / -1;
}

.issue-meta {
  display: grid;
  grid-template-columns: minmax(7rem, max-content) minmax(0, 1fr);
  gap: 8px 12px;
  margin: 0;
}

.issue-meta dt {
  color: var(--text);
  font-weight: 900;
}

.issue-meta dd {
  margin: 0;
  color: var(--text-muted);
}

.issue-action-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.issue-inline-form {
  display: grid;
  gap: 10px;
}

.issue-forward-form {
  align-content: start;
}

.issue-comment-list {
  display: grid;
  gap: 10px;
}

.issue-comment {
  display: grid;
  gap: 6px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-control);
  background: var(--white);
  padding: 12px;
}

.issue-comment span,
.issue-comment small {
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.issue-comment p {
  margin: 0;
  color: var(--text);
}

.is-hidden {
  display: none;
}

.footer {
  margin-top: 56px;
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-unified {
  display: flex;
  align-items: flex-end;
  justify-content: stretch;
  gap: 28px;
}

.footer-identity {
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.footer-brand-desc,
.footer-copy {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-brand-desc {
  max-width: 520px;
  margin: 0;
  line-height: 1.35;
}

.footer-brand-desc strong {
  color: var(--text);
  font-weight: 900;
}

.footer-copy {
  flex: 1 1 0;
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

.footer-col-title {
  margin-bottom: 16px;
  font-size: 13px;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 700;
}

.footer-copy a {
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.footer-copy a:hover,
.footer-copy a:focus-visible {
  text-decoration: underline;
}

.cookie-notice {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(calc(100vw - 40px), 680px);
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.14);
  padding: 18px;
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice strong {
  display: block;
  margin-bottom: 4px;
}

.cookie-notice p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.35;
}

.themes-shell {
  max-width: var(--container);
}

.age-theme-grid {
  grid-template-columns: 1fr;
}

.age-theme {
  display: grid;
  gap: 20px;
}

.age-theme__header {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(14rem, 0.45fr) minmax(18rem, 0.75fr);
  gap: 18px;
  align-items: start;
}

.age-theme__apply-panel {
  display: grid;
  gap: 10px;
}

.age-theme__palette {
  display: grid;
  gap: 8px;
}

.age-theme__swatch {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  padding: 8px;
  text-align: left;
}

.age-theme__swatch-color {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--text);
}

.age-theme__swatch--primary .age-theme__swatch-color {
  background: #d0f000;
}

.age-theme__swatch--secondary .age-theme__swatch-color {
  background: #e5e5e5;
}

.age-theme__swatch--accent .age-theme__swatch-color {
  background: #2a2a2a;
}

.age-theme__swatch--background .age-theme__swatch-color {
  background: #fafafa;
}

.age-theme__swatch--surface .age-theme__swatch-color {
  background: #f0f0f0;
}

.age-theme__swatch--ink .age-theme__swatch-color {
  background: #182126;
}

.age-theme__swatch-state {
  color: var(--success);
  font-size: 12px;
  font-weight: 800;
}

.age-theme__palette-detail,
.age-theme__stage,
.age-theme__details section {
  padding: 18px;
}

.age-theme__palette-detail dl,
.theme-home-preview,
.theme-home-preview__hero,
.theme-home-preview__workflow span,
.theme-home-preview__status {
  display: grid;
  gap: 10px;
}

.age-theme__palette-detail dl {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.age-theme__palette-detail dt {
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.age-theme__palette-detail dd {
  margin: 0;
  color: var(--text);
  font-weight: 800;
}

.theme-home-preview__nav,
.theme-home-preview__workflow,
.theme-home-preview__proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.theme-home-preview__hero {
  grid-template-columns: minmax(0, 1fr) minmax(10rem, 0.35fr);
  padding: 18px;
}

.theme-home-preview__hero aside {
  border-radius: 12px;
  background: var(--dark);
  color: var(--white);
  padding: 16px;
}

.theme-home-preview__workflow span,
.theme-home-preview__proof span,
.theme-home-preview__status,
.theme-home-preview__nav span {
  padding: 12px;
}

.theme-home-preview__status {
  border-left: 6px solid var(--success);
}

.age-theme__button,
.age-theme__link {
  border: 1px solid var(--border);
  border-radius: 10px;
  font-weight: 800;
  padding: 10px 14px;
}

.age-theme__button {
  background: var(--accent);
}

.age-theme__link {
  background: var(--white);
}

.reveal,
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media print {
  @page {
    margin: 14mm;
  }

  *,
  *::before,
  *::after {
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    padding-top: 0;
    background: #ffffff;
    color: #111111;
  }

  .site-header,
  .site-footer,
  .cookie-notice,
  .manifest-actions {
    display: none !important;
  }

  .manifest-shell {
    width: 100%;
    padding: 0;
  }

  .manifest-hero,
  .manifest-letter,
  .manifest-whatifs,
  .manifest-principles,
  .manifest-closing {
    break-inside: avoid;
    margin-bottom: 12mm;
  }

  .manifest-hero {
    gap: 8mm;
    text-align: left;
  }

  .manifest-hero h1 {
    max-width: none;
    font-size: 42pt;
    line-height: 0.96;
  }

  .manifest-hero__lede,
  .manifest-letter p:not(.eyebrow),
  .manifest-principles p,
  .manifest-closing p {
    font-size: 11pt;
    line-height: 1.45;
  }

  .manifest-letter,
  .manifest-principles,
  .manifest-closing,
  .manifest-card,
  .manifest-steps li {
    border-color: #bbbbbb;
    background: #ffffff;
  }

  .manifest-letter {
    grid-template-columns: 52pt 1fr;
    gap: 16pt;
    padding: 0;
    border: 0;
  }

  .manifest-letter__mark,
  .manifest-card span {
    border-color: #111111;
    background: #d0f000 !important;
    color: #111111;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .manifest-letter__mark {
    width: 48pt;
    border-radius: 8pt;
    font-size: 17pt;
  }

  .manifest-letter h2,
  .manifest-principles h2,
  .manifest-closing h2,
  .section-title {
    font-size: 25pt;
    line-height: 1;
  }

  .manifest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8mm;
  }

  .manifest-card {
    min-height: 0;
    padding: 10pt;
    break-inside: avoid;
  }

  .manifest-card h3 {
    font-size: 14pt;
  }

  .manifest-card p,
  .manifest-steps span {
    font-size: 9.5pt;
  }

  .manifest-principles,
  .manifest-closing {
    padding: 0;
    border: 0;
    text-align: left;
  }

  .manifest-steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6pt;
  }

  .manifest-steps li {
    padding: 8pt;
  }
}

@media (max-width: 1120px) {
  body {
    padding-top: 88px;
  }

  .home-shell .container {
    width: min(calc(100vw - 40px), var(--container));
  }

  h1,
  .hero h1 {
    max-width: 44rem;
    font-size: 3.5rem;
  }

  .dashboard-home-header__main h1 {
    font-size: 2.8rem;
  }

  .hero-kicker {
    width: min(100%, 368px);
    max-width: 368px;
    margin-top: -18px;
    font-size: 108%;
    letter-spacing: 0.13em;
  }

  h2,
  .section-title {
    font-size: 2.5rem;
  }

  .metric-number {
    font-size: 4rem;
  }

  .nav-inner {
    grid-template-columns: max-content minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 56px;
    padding-block: 9px;
  }

  .brand {
    justify-content: flex-start;
  }

  .brand strong {
    font-size: 16px;
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    background: transparent;
    border-color: transparent;
    gap: 5px;
    min-height: 34px;
    font-size: 12px;
    padding: 8px 8px 5px;
  }

  .nav-icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .user-strip__actions {
    gap: 8px;
  }

  .user-strip__actions .button {
    min-height: 34px;
    padding: 8px 11px;
  }

  .user-strip {
    justify-content: flex-end;
  }

  .dashboard-body,
  .dashboard-home-header,
  .dashboard-summary-grid,
  .dashboard-action-list,
  .manifest-grid,
  .manifest-steps,
  .issue-workspace,
  .issue-upload-card,
  .issue-detail__header,
  .issue-detail__grid,
  .issue-action-panel,
  .metrics-grid,
  .bento-grid,
  .pricing-grid,
  .card-grid,
  .video-grid,
  .age-theme__header,
  .age-theme__details {
    grid-template-columns: 1fr;
  }

  .dashboard-action-panel__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .manifest-letter {
    grid-template-columns: 1fr;
  }

  .footer-unified {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-identity,
  .footer-copy {
    flex: none;
  }

  .footer-copy {
    text-align: left;
    white-space: normal;
  }

  .comparison-card,
  .home-impact__story,
  .theme-home-preview__hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  body {
    padding-top: 146px;
  }

  .nav-inner {
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 8px;
    padding-block: 10px;
    min-width: 0;
    max-width: 100%;
  }

  .brand,
  .user-strip {
    justify-content: center;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(3, calc((100% - 8px) / 3));
    grid-auto-flow: row;
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
    gap: 4px;
  }

  .site-nav a {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: flex-start;
    min-width: 0;
    min-inline-size: 0;
    gap: 5px;
    padding-inline: 6px;
    overflow: hidden;
  }

  .nav-label {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 680px) {
  body {
    padding-top: 146px;
  }

  h1,
  .hero h1 {
    max-width: 18rem;
    font-size: 2.75rem;
    line-height: 1.08;
  }

  .dashboard-home-header__main h1 {
    font-size: 2.2rem;
  }

  h2,
  .section-title {
    font-size: 2rem;
  }

  .hero-sub {
    width: min(100%, 38rem);
    max-width: 38rem;
    font-size: 1rem;
  }

  .hero-kicker {
    width: min(100%, 288px);
    max-width: 288px;
    margin-top: -16px;
    font-size: 90%;
    letter-spacing: 0.09em;
  }

  .metric-number {
    font-size: 3.25rem;
  }

  .container,
  main,
  .member-dashboard,
  .issue-shell,
  .site-footer .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header .nav-inner {
    width: 100%;
    max-width: 100%;
    padding-inline: 8px;
  }

  .home-shell {
    width: 100%;
  }

  .home-shell .container {
    width: min(calc(100vw - 28px), var(--container));
  }

  .manifest-shell {
    width: min(calc(100% - 28px), var(--container));
    padding-top: 28px;
  }

  .manifest-hero {
    text-align: left;
  }

  .manifest-hero h1 {
    font-size: 3.1rem;
  }

  .manifest-hero__lede {
    font-size: 1.12rem;
  }

  .manifest-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .manifest-actions .button {
    width: 100%;
  }

  .manifest-letter,
  .manifest-principles,
  .manifest-closing {
    padding: 22px;
  }

  .manifest-letter__mark {
    width: 72px;
    border-radius: 14px;
    font-size: 1.45rem;
  }

  .brand small,
  .user-strip__context {
    display: none;
  }

  .nav-inner {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .brand,
  .user-strip {
    justify-content: center;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(3, calc((100% - 4px) / 3));
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 2px;
  }

  .site-nav a {
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-height: 44px;
    font-size: 11px;
    line-height: 1.05;
    padding: 5px 2px;
    text-align: center;
  }

  .nav-icon {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
  }

  .nav-label {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-actions,
  .cta-banner-actions,
  .user-strip__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .hero-actions .btn-acid,
  .hero-actions .btn-ghost {
    width: 100%;
  }

  .login-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .login-actions .button {
    width: 100%;
  }

  .auth-disclosure summary {
    padding: 14px 16px;
    font-size: 1.05rem;
  }

  .auth-disclosure__body {
    padding: 0 16px 18px;
  }

  .cookie-notice {
    left: 14px;
    right: 14px;
    bottom: 14px;
    grid-template-columns: 1fr;
    width: auto;
  }

  .cookie-notice .button {
    width: 100%;
  }

  .pilot-form {
    grid-template-columns: 1fr;
  }

  .petition-form {
    grid-template-columns: 1fr;
  }

  .issue-form {
    grid-template-columns: 1fr;
  }

  .issue-detail,
  .issue-form,
  .issue-list-panel,
  .issue-panel {
    padding: 18px;
  }

  .issue-detail__header h1 {
    font-size: 2.2rem;
  }

  .admin-metric-grid,
  .admin-table__row,
  .admin-table--requests .admin-table__row {
    grid-template-columns: 1fr;
  }

  .home-pilot__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-pilot__actions .button {
    width: 100%;
  }

  .dashboard-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-toolbar-spacer {
    display: none;
  }

  .dash-table-row {
    grid-template-columns: 1fr;
  }

  .comparison-card__media,
  .before-after-callout,
  .theme-home-preview__nav,
  .theme-home-preview__workflow,
  .theme-home-preview__proof,
  .age-theme__palette-detail dl {
    grid-template-columns: 1fr;
  }

  .locked-note,
  .thread-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .thread-card__activity {
    flex-basis: auto;
    text-align: left;
  }

  .home-learning__item img,
  .video-card img,
  .comparison-card img,
  .home-impact__story img {
    height: 180px;
  }
}

@media (max-width: 420px) {
  body {
    padding-top: 178px;
  }

  .home-shell .container {
    width: min(calc(100vw - 24px), var(--container));
  }

  .site-header .nav-inner {
    padding-inline: 6px;
  }

  .brand {
    gap: 6px;
  }

  .brand__mark,
  .nav-logo-mark {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
    font-size: 10px;
  }

  .brand strong {
    font-size: 14px;
  }

  h1,
  .hero h1 {
    max-width: 15.5rem;
    font-size: 2.25rem;
  }

  .hero-kicker {
    width: min(100%, 248px);
    max-width: 248px;
    margin-top: -15px;
    font-size: 80%;
    letter-spacing: 0.055em;
    text-align: justify;
    text-align-last: justify;
  }

  .site-nav {
    grid-template-columns: repeat(3, calc((100% - 4px) / 3));
    gap: 2px;
  }

  .site-nav a {
    gap: 2px;
    min-height: 42px;
    font-size: 10px;
    padding: 4px 1px;
  }

  .nav-icon {
    width: 13px;
    height: 13px;
    flex-basis: 13px;
  }

  .site-nav a.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text);
    box-shadow: inset 0 1px 0 var(--white);
  }

  .metric-number {
    font-size: 2.75rem;
  }
}

@media (max-width: 360px) {
  body {
    padding-top: 164px;
  }

  .site-header .nav-inner {
    gap: 5px;
    padding-block: 7px;
    padding-inline: 4px;
  }

  .brand__mark,
  .nav-logo-mark {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .brand strong {
    font-size: 13px;
  }

  .site-nav a {
    min-height: 38px;
    font-size: 9px;
    padding: 3px 1px;
  }

  .nav-icon {
    width: 12px;
    height: 12px;
    flex-basis: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
