/* ==========================================================================
   YARE — yareapp.com
   Standalone static stylesheet · WCAG 2.2 AA · Dark obsidian + logo cyan
   ========================================================================== */

:root {
  --bg: #060a10;
  --bg-elevated: #0b121d;
  --bg-surface: #101928;
  --bg-input: #0a111c;
  --bg-black: #000000;

  --border: rgba(148, 179, 209, 0.18);
  --border-input: rgba(148, 179, 209, 0.42);
  --border-accent: rgba(62, 190, 226, 0.42);

  --text: #f1f5f9;
  --text-secondary: #c0cfe0;
  --text-muted: #93a9c0;

  --accent: #3ebee2;
  --accent-bright: #66d2f2;
  --accent-ink: #041019;
  --accent-soft: rgba(62, 190, 226, 0.12);
  --accent-glow: rgba(62, 190, 226, 0.22);

  --amber: #f4ce74;
  --amber-bg: rgba(244, 206, 116, 0.1);
  --amber-border: rgba(244, 206, 116, 0.42);

  --danger: #f58c9b;
  --danger-bg: rgba(245, 140, 155, 0.12);
  --danger-border: rgba(245, 140, 155, 0.45);

  --focus: #66d2f2;

  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --container: 1140px;
  --header-offset: 96px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 55% at 72% -10%, rgba(62, 190, 226, 0.11) 0%, transparent 64%),
    radial-gradient(ellipse 65% 45% at 8% 18%, rgba(30, 95, 145, 0.1) 0%, transparent 60%);
  background-repeat: no-repeat;
  overflow-x: clip;
}

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

a {
  color: var(--accent-bright);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.16s ease;
}

a:hover {
  color: #9be4fa;
}

:focus-visible {
  outline: 2.5px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link for keyboard & screen-reader users */
.skip-link {
  position: absolute;
  top: -120px;
  left: 16px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 32px;
  }
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 10, 16, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-topbar {
  border-bottom: 1px solid rgba(148, 179, 209, 0.1);
  background: rgba(3, 6, 11, 0.85);
}

.header-topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  padding-block: 7px;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.header-topbar-vet {
  color: var(--text-secondary);
  font-weight: 500;
}

.header-topbar-llc {
  color: var(--text-muted);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}

.brand-lockup:hover {
  color: var(--text);
}

.brand-wordmark {
  height: 32px;
  width: auto;
  border-radius: 5px;
  flex-shrink: 0;
  background: var(--bg-black);
}

.brand-name-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 0.84375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.28;
  color: var(--text);
}

.brand-title-accent {
  display: block;
  color: var(--accent-bright);
  font-size: 0.75rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-link {
  display: none;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(148, 179, 209, 0.1);
}

@media (min-width: 640px) {
  .brand-title {
    font-size: 0.9375rem;
  }

  .brand-title-accent {
    display: inline;
    font-size: inherit;
  }
}

@media (min-width: 900px) {
  .brand-wordmark {
    height: 36px;
  }

  .brand-title {
    font-size: 1rem;
  }

  .nav-link {
    display: inline-flex;
    align-items: center;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  font-family: var(--font-body);
  font-size: 0.96875rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 24px rgba(62, 190, 226, 0.24);
}

.btn-primary:hover {
  background-color: var(--accent-bright);
  color: var(--accent-ink);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(62, 190, 226, 0.34);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: rgba(16, 25, 40, 0.85);
  color: var(--text);
  border-color: var(--border-input);
}

.btn-secondary:hover {
  background-color: rgba(24, 38, 60, 0.95);
  border-color: var(--accent);
  color: var(--text);
}

.btn-nav {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 0.8125rem;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .btn-nav {
    padding: 8px 15px;
    font-size: 0.875rem;
  }
}

.btn-full {
  width: 100%;
  min-height: 50px;
  font-size: 1rem;
}

.btn-soon {
  background-color: #162336;
  color: var(--accent-bright);
  border-color: var(--border-accent);
  box-shadow: none;
}

.btn-soon:hover {
  background-color: #1b2c43;
  color: #9be4fa;
  border-color: var(--accent-bright);
  transform: none;
  box-shadow: none;
}

.btn[disabled] {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding-block: 44px 56px;
}

@media (min-width: 960px) {
  .hero {
    padding-block: 68px 84px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 52px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  color: var(--accent-bright);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  flex-shrink: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--text);
  margin: 0;
}

.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-accent {
  color: var(--accent-bright);
}

.hero-sub {
  margin: 0 0 28px;
  max-width: 58ch;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.65;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-note {
  margin: 18px 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Signature hero visual card: official logo + structural build layers */
.hero-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(62, 190, 226, 0.08);
}

.hero-logo-stage {
  background: var(--bg-black);
  padding: 22px 20px 14px;
  border-bottom: 1px solid rgba(62, 190, 226, 0.16);
}

.hero-logo-stage img {
  width: 100%;
  max-width: 440px;
  height: auto;
  margin-inline: auto;
}

.architecture-box {
  padding: 22px 22px 24px;
}

.architecture-title {
  margin: 0 0 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

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

.layer-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(16, 25, 40, 0.72);
  border: 1px solid var(--border);
}

.layer-item-foundation {
  background: rgba(62, 190, 226, 0.1);
  border-color: var(--border-accent);
}

.layer-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(148, 179, 209, 0.14);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 800;
}

.layer-item-foundation .layer-num {
  background: var(--accent);
  color: var(--accent-ink);
}

.layer-name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.layer-desc {
  display: block;
  margin-top: 2px;
  font-size: 0.84375rem;
  line-height: 1.45;
  color: var(--text-muted);
}

/* ==========================================================================
   Content Sections
   ========================================================================== */

.section {
  padding-block: 56px;
  border-top: 1px solid rgba(148, 179, 209, 0.11);
  scroll-margin-top: var(--header-offset);
}

@media (min-width: 900px) {
  .section {
    padding-block: 80px;
  }
}

.section-alt {
  background: linear-gradient(180deg, rgba(11, 18, 29, 0.58) 0%, rgba(6, 10, 16, 0.18) 100%);
}

.section-header {
  max-width: 740px;
  margin-bottom: 36px;
}

.section-label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.section h2 {
  font-size: clamp(1.625rem, 3.1vw, 2.35rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.section-lead {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--text-secondary);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 680px) {
  .card-grid-2,
  .card-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .card-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-accent {
  background: linear-gradient(160deg, rgba(62, 190, 226, 0.11) 0%, rgba(11, 18, 29, 0.96) 65%);
  border-color: var(--border-accent);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid rgba(62, 190, 226, 0.28);
  color: var(--accent-bright);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.card h3 {
  font-size: 1.09375rem;
  font-weight: 700;
  line-height: 1.32;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Audience Grid + Life-Stage Bar */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 680px) {
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .audience-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .audience-card-wide {
    grid-column: span 3;
  }

  .audience-card-third {
    grid-column: span 2;
  }
}

.life-stages {
  margin-top: 22px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}

.life-stages-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.stage-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stage-pills li {
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(148, 179, 209, 0.1);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

/* What's Inside 7-item Bento Grid */
.inside-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 680px) {
  .inside-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .inside-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .inside-span-3 {
    grid-column: span 3;
  }

  .inside-span-2 {
    grid-column: span 2;
  }

  .inside-span-6 {
    grid-column: span 6;
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .inside-span-6 .card-icon {
    margin-bottom: 0;
    flex-shrink: 0;
  }
}

/* ==========================================================================
   Founder Note
   ========================================================================== */

.founder-card {
  max-width: 820px;
  margin-inline: auto;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #0d1624 0%, #080e18 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.42);
}

@media (min-width: 768px) {
  .founder-card {
    padding: 44px 48px;
  }
}

.founder-figure {
  margin: 0;
}

.founder-quote {
  margin: 10px 0 22px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.3vw, 1.625rem);
  font-weight: 600;
  line-height: 1.48;
  letter-spacing: -0.012em;
  color: var(--text);
}

.founder-sig {
  font-size: 0.96875rem;
  font-weight: 700;
  color: var(--accent-bright);
  letter-spacing: 0.01em;
}

/* ==========================================================================
   Waitlist Section & Form
   ========================================================================== */

.waitlist-shell {
  max-width: 620px;
  margin-inline: auto;
  padding: 32px 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border-accent);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 40px rgba(62, 190, 226, 0.08);
}

@media (min-width: 640px) {
  .waitlist-shell {
    padding: 42px 40px;
  }
}

.waitlist-shell .section-header {
  margin-bottom: 26px;
}

.waitlist-form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.field-tag {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.field-req {
  color: var(--accent-bright);
  font-weight: 700;
}

.field input[type="email"],
.field input[type="text"] {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-input);
  border: 1.5px solid var(--border-input);
  border-radius: var(--radius-sm);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.field input::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.field input:hover {
  border-color: rgba(148, 179, 209, 0.65);
}

.field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(62, 190, 226, 0.18);
  outline: none;
}

.field input:focus-visible {
  outline: 2.5px solid var(--focus);
  outline-offset: 2px;
}

.checkbox-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  padding: 4px 0;
}

.checkbox-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin: 1px 0 0;
  border-radius: 6px;
  border: 1.5px solid var(--border-input);
  background-color: var(--bg-input);
  display: grid;
  place-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.checkbox-row input[type="checkbox"]::before {
  content: "";
  width: 12px;
  height: 7px;
  border-left: 2.4px solid var(--accent-ink);
  border-bottom: 2.4px solid var(--accent-ink);
  transform: rotate(-45deg) translate(1px, -1px) scale(0);
  transition: transform 0.12s ease;
}

.checkbox-row input[type="checkbox"]:hover {
  border-color: var(--accent);
}

.checkbox-row input[type="checkbox"]:checked {
  background-color: var(--accent);
  border-color: var(--accent);
}

.checkbox-row input[type="checkbox"]:checked::before {
  transform: rotate(-45deg) translate(1px, -1px) scale(1);
}

.checkbox-row label {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-secondary);
  cursor: pointer;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  line-height: 1.55;
}

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

.form-status-info {
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  color: var(--text);
}

.form-status-error {
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  color: #ffd5dc;
}

.form-fineprint {
  margin: 4px 0 0;
  font-size: 0.84375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border);
  background: #04070c;
  padding-block: 40px 52px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(148, 179, 209, 0.12);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
}

.footer-links a {
  color: var(--accent-bright);
  padding-block: 4px;
}

.footer-contact {
  color: var(--text-secondary);
}

.footer-disclaimer {
  margin: 20px 0 0;
  max-width: 78ch;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ==========================================================================
   Legal & Secondary Pages (privacy.html, terms.html, 404.html)
   ========================================================================== */

.legal-main {
  padding-block: 44px 72px;
}

.legal-container {
  max-width: 780px;
}

.draft-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  color: var(--amber);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
}

.legal-container h1 {
  font-size: clamp(1.875rem, 3.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.legal-updated {
  margin: 0 0 28px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal-container h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-bright);
  margin: 34px 0 10px;
}

.legal-container p {
  margin: 0 0 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-container ul {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--text-secondary);
}

.legal-container li {
  margin-bottom: 8px;
  line-height: 1.65;
}

.legal-container strong {
  color: var(--text);
}

.legal-callout {
  margin: 18px 0;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.legal-callout p:last-child,
.legal-callout ul:last-child {
  margin-bottom: 0;
}

.error-main {
  min-height: calc(100vh - 260px);
  display: flex;
  align-items: center;
  padding-block: 64px;
}

.error-card {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.error-code {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-bright);
  margin-bottom: 12px;
}

.error-card h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 12px;
}

.error-card p {
  margin: 0 0 28px;
  color: var(--text-secondary);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ==========================================================================
   Reduced Motion (WCAG 2.2 AA)
   ========================================================================== */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .btn-primary:hover {
    transform: none;
  }
}
