:root {
  --a2e-blue: #245c96;
  --a2e-blue-dark: #1d4a79;
  --a2e-green: #107c41;
  --a2e-red: #d84a43;
  --a2e-ink: #171b24;
  --a2e-muted: #666d78;
  --a2e-line: #d8dbe1;
  --a2e-soft: #f4f3ef;
  --a2e-panel: #e8eff7;
  --a2e-white: #fff;
  --a2e-shadow: 0 18px 50px rgba(23, 27, 36, .09);
  --a2e-radius: 18px;
  --a2e-font: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--a2e-ink);
  background: var(--a2e-soft);
  font-family: var(--a2e-font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--a2e-blue-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select { font: inherit; }
button, .button { cursor: pointer; }
button:disabled, .button[aria-disabled="true"] { cursor: not-allowed; opacity: .58; }

.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(216, 219, 225, .92);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
}
.site-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--a2e-ink); text-decoration: none; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand strong { font-size: 1.2rem; letter-spacing: -.03em; }
.brand--static { cursor: default; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }

.account-header-profile { display: inline-flex; align-items: center; justify-content: flex-end; gap: 11px; min-width: 0; }
.account-header-profile > span:last-child { min-width: 0; display: grid; text-align: right; }
.account-header-profile strong { font-size: .94rem; line-height: 1.2; }
.account-header-profile small { max-width: 300px; color: var(--a2e-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-avatar { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border: 1px solid #bfd0e1; border-radius: 50%; background: var(--a2e-panel); color: var(--a2e-blue-dark); }
.profile-avatar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--a2e-blue);
  color: var(--a2e-white);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.button:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(8, 127, 184, .18); }
.button--secondary { border-color: var(--a2e-line); background: var(--a2e-white); color: var(--a2e-ink); }
.button--green { background: var(--a2e-green); }
.button--danger { border-color: #f0cbc7; background: #fff7f6; color: #9e332c; }
.button--wide { width: 100%; }

.page-hero { padding: 72px 0 34px; }
.page-hero__eyebrow { margin: 0 0 12px; color: var(--a2e-blue-dark); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
.page-hero h1 { max-width: 850px; margin: 0; font-size: clamp(2.2rem, 6vw, 4.5rem); line-height: 1.02; letter-spacing: -.055em; }
.page-hero p { max-width: 720px; margin: 22px 0 0; color: var(--a2e-muted); font-size: 1.08rem; }

.surface { border: 1px solid var(--a2e-line); border-radius: var(--a2e-radius); background: var(--a2e-white); box-shadow: var(--a2e-shadow); }
.section { padding: 30px 0 80px; }
.section-title { margin: 0 0 8px; font-size: clamp(1.55rem, 3vw, 2.2rem); letter-spacing: -.035em; }
.section-lead { margin: 0; color: var(--a2e-muted); }
.status-message { min-height: 24px; margin-top: 14px; color: var(--a2e-muted); }
.status-message[data-tone="error"] { color: #a62f28; }
.status-message[data-tone="success"] { color: var(--a2e-green); }

.account-card { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); overflow: hidden; }
.account-card__identity { padding: clamp(28px, 5vw, 54px); }
.account-card__side { padding: clamp(28px, 5vw, 48px); background: linear-gradient(145deg, #eef8fd, #f7fbfd); border-left: 1px solid var(--a2e-line); }
.identity-mark { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; background: #e5f4fb; color: var(--a2e-blue-dark); font-size: 1.7rem; font-weight: 800; }
.account-email { margin: 24px 0 6px; font-size: clamp(1.45rem, 3vw, 2.2rem); letter-spacing: -.035em; overflow-wrap: anywhere; }
.account-caption { margin: 0; color: var(--a2e-muted); }
.subscription-label { margin: 0 0 8px; color: var(--a2e-muted); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.subscription-status { margin: 0 0 20px; font-size: 1.45rem; font-weight: 800; }
.subscription-meta { display: grid; gap: 12px; margin: 0 0 28px; }
.subscription-meta div { padding-top: 12px; border-top: 1px solid var(--a2e-line); }
.subscription-meta dt { color: var(--a2e-muted); font-size: .82rem; }
.subscription-meta dd { margin: 3px 0 0; font-weight: 700; }

.account-body { background: var(--a2e-soft); }
.account-main { padding-bottom: 60px; }
.account-intro { padding: 62px 0 28px; }
.account-intro h1 { margin: 0; font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -.055em; }
.account-intro > .container > p:last-child:not(.status-message) { max-width: 680px; margin: 16px 0 0; color: var(--a2e-muted); font-size: 1.05rem; }
.account-dashboard { padding-top: 10px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 20px; align-items: stretch; }
.dashboard-card { padding: clamp(24px, 4vw, 36px); }
.dashboard-card--subscription { background: linear-gradient(145deg, #fff, #f1f6fb); border-color: #c7d6e5; }
.dashboard-card__head { display: flex; align-items: center; gap: 16px; }
.dashboard-card__head p, .dashboard-label { margin: 0 0 4px; color: var(--a2e-muted); font-size: .76rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.dashboard-card__head h2, .dashboard-card--identity h2 { margin: 0; font-size: clamp(1.45rem, 3vw, 2.05rem); letter-spacing: -.035em; }
.dashboard-icon { width: 52px; height: 52px; display: grid; place-items: center; flex: 0 0 52px; border-radius: 15px; background: var(--a2e-green); color: white; font-size: 1.4rem; font-weight: 900; }
.dashboard-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 28px 0; }
.dashboard-meta div { padding: 14px 16px; border: 1px solid rgba(185, 219, 200, .9); border-radius: 12px; background: rgba(255,255,255,.74); }
.dashboard-meta dt { color: var(--a2e-muted); font-size: .78rem; }
.dashboard-meta dd { margin: 3px 0 0; font-weight: 750; }
.dashboard-email { margin: 6px 0 0; color: var(--a2e-blue-dark); font-weight: 700; overflow-wrap: anywhere; }
.dashboard-note { min-height: 48px; margin: 24px 0; color: var(--a2e-muted); }
.dashboard-table-card { grid-column: 1 / -1; padding: clamp(22px, 4vw, 34px); }
.dashboard-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.dashboard-section-head h2 { margin: 0; font-size: clamp(1.35rem, 3vw, 1.85rem); letter-spacing: -.035em; }
.dashboard-count { min-width: 34px; height: 34px; display: grid; place-items: center; border-radius: 999px; background: #e9f5fb; color: var(--a2e-blue-dark); font-weight: 800; }
.dashboard-table-wrap { overflow-x: auto; }
.dashboard-table { width: 100%; border-collapse: collapse; min-width: 670px; }
.dashboard-table th { padding: 11px 14px; border-bottom: 1px solid var(--a2e-line); color: var(--a2e-muted); font-size: .75rem; letter-spacing: .04em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.dashboard-table td { padding: 14px; border-bottom: 1px solid #e8eef2; color: #34475a; }
.dashboard-table tbody tr:last-child td { border-bottom: 0; }
.dashboard-empty { margin: 0; padding: 22px 14px 6px; color: var(--a2e-muted); text-align: center; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.plan { position: relative; display: flex; flex-direction: column; min-height: 360px; padding: 28px; }
.plan[data-selected="true"] { border-color: var(--a2e-blue); box-shadow: 0 18px 50px rgba(8, 127, 184, .16); }
.plan__badge { align-self: flex-start; margin-bottom: 28px; padding: 6px 10px; border-radius: 999px; background: #e8f5fb; color: var(--a2e-blue-dark); font-size: .76rem; font-weight: 800; }
.plan h2 { margin: 0 0 8px; font-size: 1.45rem; }
.plan__price { margin: 0 0 20px; font-size: 2rem; font-weight: 850; letter-spacing: -.04em; }
.plan__old-price { margin: -14px 0 18px; color: var(--a2e-muted); font-size: .82rem; text-decoration: line-through; }
.plan__badge--green { background: #e8f7ef; color: #17613b; }
.plan__text { margin: 0 0 24px; color: var(--a2e-muted); }
.plan .button { margin-top: auto; }
.checkout-note { margin-top: 24px; padding: 22px; border: 1px solid #ecd9a6; border-radius: 14px; background: #fff9e9; color: #684f11; }

.result-card { max-width: 720px; margin: 0 auto; padding: clamp(30px, 6vw, 58px); text-align: center; }
.result-icon { width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 22px; border-radius: 50%; background: #edf6fb; color: var(--a2e-blue-dark); font-size: 2rem; font-weight: 800; }
.result-card h1 { margin: 0 0 12px; font-size: clamp(2rem, 5vw, 3.3rem); letter-spacing: -.05em; }
.result-card p { color: var(--a2e-muted); }
.result-actions { display: flex; justify-content: center; gap: 10px; margin-top: 28px; flex-wrap: wrap; }

.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.legal-nav { position: sticky; top: 98px; padding: 20px; }
.legal-nav strong { display: block; margin-bottom: 10px; }
.legal-nav a { display: block; padding: 8px 0; color: var(--a2e-muted); text-decoration: none; }
.legal-nav a:hover { color: var(--a2e-blue-dark); }
.legal-layout--single { grid-template-columns: minmax(0, 1fr); max-width: 920px; }
.legal-document { padding: clamp(28px, 5vw, 58px); }
.legal-document section + section { padding-top: 36px; margin-top: 36px; border-top: 1px solid var(--a2e-line); }
.legal-document h2 { margin: 0 0 16px; font-size: clamp(1.55rem, 3vw, 2.15rem); letter-spacing: -.035em; }
.legal-document h3 { margin: 26px 0 8px; }
.legal-document p, .legal-document li { color: #405166; }
.legal-document code { padding: 2px 6px; border-radius: 5px; background: #eef3f6; }

.site-footer { border-top: 1px solid var(--a2e-line); background: var(--a2e-white); }
.site-footer__inner { min-height: 118px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer__meta { color: var(--a2e-muted); font-size: .9rem; }
.site-footer__links { display: flex; gap: 16px; flex-wrap: wrap; }

.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.account-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-width: 0; }
.account-home-link, .account-logout-link, .account-header-profile { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 7px 14px; border: 1px solid var(--a2e-line); border-radius: 12px; background: #fff; color: var(--a2e-ink); font-family: var(--a2e-font); font-size: .9rem; font-weight: 750; line-height: 1.15; text-decoration: none; }
.account-home-link:hover, .account-logout-link:hover, a.account-header-profile:hover { border-color: #aebfd0; background: var(--a2e-panel); color: var(--a2e-blue-dark); }
.account-header-profile { max-width: 300px; padding: 3px 12px 3px 4px; background: #f1f5f9; }
.account-header-profile strong { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-main { padding: 46px 0 72px; }
.account-dashboard { padding: 0; }
.account-status-message { grid-column: 1 / -1; min-height: 0; margin: 0; }
.account-dashboard .dashboard-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
.account-dashboard .dashboard-card--subscription { width: 100%; }
.account-dashboard .dashboard-meta { grid-template-columns: minmax(0, 1fr); margin-bottom: 0; }

@media (max-width: 860px) {
  .account-card, .legal-layout, .dashboard-grid { grid-template-columns: 1fr; }
  .account-card__side { border-left: 0; border-top: 1px solid var(--a2e-line); }
  .legal-nav { position: static; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 24px, 1120px); }
  .site-header__inner { min-height: 64px; }
  .header-actions .button { min-height: 40px; padding: 8px 11px; font-size: .88rem; }
  .page-hero { padding-top: 48px; }
  .site-footer__inner { padding: 26px 0; align-items: flex-start; flex-direction: column; }
  .brand strong { display: none; }
  .account-header-profile small { max-width: 205px; }
  .dashboard-meta { grid-template-columns: 1fr; }
  .account-header-actions { gap: 6px; }
  .account-home-link { padding: 8px 10px; }
  .account-home-link span:last-child { display: none; }
  .account-header-profile { display: none; }
  .account-logout-link { padding: 8px 10px; }
}

/* Account and checkout pages */
.account-header__label {
  margin-right: auto;
  padding-left: 22px;
  border-left: 1px solid var(--a2e-line);
  color: var(--a2e-muted);
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.account-header-profile { color: var(--a2e-ink); text-decoration: none; }
.account-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
.account-summary-card,
.account-payments-card {
  min-width: 0;
  padding: clamp(24px, 3vw, 34px);
}
.account-summary-card {
  display: flex;
  flex-direction: column;
}
.account-summary-card--subscription {
  border-color: #c7d6e5;
  background: linear-gradient(145deg, #fff 0%, #f1f6fb 100%);
}
.account-summary-card--session {
  border-color: #c7d6e5;
  background: linear-gradient(145deg, #fff 0%, #edf3f9 100%);
}
.account-card-heading,
.checkout-card-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}
.account-card-heading > div,
.checkout-card-heading > div { min-width: 0; }
.account-card-heading h2,
.checkout-card-heading h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.5vw, 1.82rem);
  line-height: 1.15;
  letter-spacing: -.035em;
}
.account-card-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #e7f4fa;
  color: var(--a2e-blue-dark);
}
.account-card-icon--green { background: #e9f3ed; color: var(--a2e-green); }
.account-card-icon svg,
.checkout-secure-note svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.account-state-badge {
  margin-left: auto;
  padding: 6px 10px;
  border: 1px solid #acd8bf;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: #17613b;
  font-size: .74rem;
  font-weight: 800;
  white-space: nowrap;
}
.account-summary-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}
.account-summary-meta div {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(185, 219, 200, .9);
  border-radius: 12px;
  background: rgba(255,255,255,.78);
}
.account-summary-meta dt { color: var(--a2e-muted); font-size: .78rem; }
.account-summary-meta dd { margin: 4px 0 0; font-weight: 800; overflow-wrap: anywhere; }
.account-summary-card > .button { margin-top: auto; }
.account-summary-card--session .dashboard-count { margin-left: auto; }
.account-session-table-wrap { margin-top: 25px; }
.account-session-table { min-width: 610px; }
.account-session-table th,
.account-session-table td { padding-left: 10px; padding-right: 10px; }
.account-payments-card { grid-column: 1 / -1; }
.account-payments-heading { margin-bottom: 24px; }
.account-payment-table { min-width: 760px; }
.account-payment-note {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--a2e-line);
  color: var(--a2e-muted);
  font-size: .88rem;
}
.account-payment-note a { flex: 0 0 auto; font-weight: 700; }

.checkout-body { background: var(--a2e-soft); }
.checkout-main { padding-bottom: 72px; }
.checkout-intro-section { padding: 46px 0 24px; }
.checkout-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  color: var(--a2e-muted);
  font-size: .84rem;
}
.checkout-breadcrumbs a { color: var(--a2e-muted); text-decoration: none; }
.checkout-intro-section h1 {
  margin: 0;
  font-size: clamp(2.15rem, 5vw, 3.8rem);
  line-height: 1.03;
  letter-spacing: -.055em;
}
.checkout-intro-section > .container > p:last-child {
  max-width: 690px;
  margin: 15px 0 0;
  color: var(--a2e-muted);
  font-size: 1.03rem;
}
.checkout-section { padding-top: 8px; }
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(330px, .84fr);
  gap: 22px;
  align-items: start;
}
.checkout-plans-card,
.checkout-order-card { min-width: 0; padding: clamp(24px, 3vw, 34px); }
.checkout-card-heading { justify-content: space-between; margin-bottom: 24px; }
.checkout-card-heading .account-card-icon { order: 2; }
.checkout-plan-grid { display: grid; gap: 12px; }
.checkout-plan-card {
  position: relative;
  width: 100%;
  min-height: 108px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 22px 22px;
  border: 1px solid var(--a2e-line);
  border-radius: 14px;
  background: #fff;
  color: var(--a2e-ink);
  text-align: left;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease, transform .16s ease;
}
.checkout-plan-card:hover { transform: translateY(-1px); border-color: #a9cfdf; box-shadow: 0 10px 26px rgba(23,43,61,.08); }
.checkout-plan-card[aria-checked="true"] {
  border-color: var(--a2e-blue);
  background: #f1f5fa;
  box-shadow: 0 0 0 2px rgba(36,92,150,.1);
}
.checkout-plan-card[aria-checked="true"]::after {
  content: "✓";
  position: absolute;
  top: 10px;
  right: 12px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--a2e-blue);
  color: #fff;
  font-size: .76rem;
  font-weight: 900;
}
.checkout-plan-copy { display: grid; gap: 5px; min-width: 0; }
.checkout-plan-copy strong { font-size: 1.12rem; }
.checkout-plan-copy small { color: var(--a2e-muted); font-size: .86rem; }
.checkout-plan-price { display: flex; align-items: flex-start; gap: 5px; padding-right: 15px; color: #365f88; white-space: nowrap; }
.checkout-plan-price strong { font-size: 34px; line-height: .92; font-weight: 800; letter-spacing: -.05em; }
.checkout-plan-price small { margin-top: 4px; font-size: 15px; font-weight: 750; }
.checkout-plan-badge {
  position: absolute;
  top: -9px;
  left: 20px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #e7f4fa;
  color: var(--a2e-blue-dark);
  font-size: .7rem;
  font-weight: 800;
}
.checkout-plan-badge--green { background: #e6f6ed; color: #17613b; }
.checkout-order-card { position: sticky; top: 94px; }
.checkout-account-line {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f2f7fa;
  color: var(--a2e-muted);
  font-size: .86rem;
  overflow-wrap: anywhere;
}
.checkout-account-line strong { color: var(--a2e-ink); }
.checkout-summary { margin: 0 0 23px; }
.checkout-summary div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid #e8eef2;
}
.checkout-summary dt { color: var(--a2e-muted); }
.checkout-summary dd { margin: 0; font-weight: 750; text-align: right; }
.checkout-field { display: grid; gap: 7px; margin-bottom: 17px; }
.checkout-field > span { font-size: .84rem; font-weight: 750; }
.checkout-field input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--a2e-line);
  border-radius: 9px;
  background: #fff;
  color: var(--a2e-ink);
}
.checkout-field input:focus { outline: 2px solid rgba(8,127,184,.16); border-color: var(--a2e-blue); }
.checkout-field small { color: var(--a2e-muted); }
.checkout-consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; color: #425368; font-size: .84rem; }
.checkout-consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--a2e-blue); }
.checkout-status-message { margin: 14px 0 0; font-size: .86rem; }
.checkout-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0;
  padding-top: 18px;
  border-top: 1px solid var(--a2e-line);
}
.checkout-total span { color: var(--a2e-muted); font-weight: 700; }
.checkout-total strong { font-size: 1.85rem; line-height: 1; letter-spacing: -.04em; white-space: nowrap; }
.checkout-secure-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-top: 18px;
  color: var(--a2e-muted);
  font-size: .78rem;
}
.checkout-secure-note svg { width: 22px; height: 22px; color: var(--a2e-green); }

@media (max-width: 900px) {
  .account-overview-grid,
  .checkout-layout { grid-template-columns: 1fr; }
  .account-payments-card { grid-column: auto; }
  .checkout-order-card { position: static; }
}
@media (max-width: 700px) {
  .account-header__label { display: none; }
  .account-payment-note { flex-direction: column; }
  .account-summary-meta { grid-template-columns: 1fr; }
  .checkout-plan-card { grid-template-columns: 1fr; gap: 7px; }
  .checkout-plan-price { padding-right: 0; }
}
@media (max-width: 620px) {
  .account-main { padding-top: 26px; }
  .account-summary-card,
  .account-payments-card,
  .checkout-plans-card,
  .checkout-order-card { padding: 20px; }
  .account-header-actions .account-header-profile { display: none; }
  .checkout-intro-section { padding-top: 32px; }
  .checkout-breadcrumbs { margin-bottom: 20px; }
}

/* Shared footer used on every public page. */
.a2e-global-footer {
  margin-top: auto;
  border-top: 1px solid var(--a2e-line);
  background: #fff;
  color: var(--a2e-ink);
}
.a2e-footer-container { width: min(1224px, calc(100% - 40px)); margin: 0 auto; }
.a2e-global-footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(460px, 1.45fr);
  gap: 64px;
  padding: 52px 0 38px;
}
.a2e-global-footer__brand .brand { margin-bottom: 14px; }
.a2e-global-footer__brand p { max-width: 330px; margin: 0; color: var(--a2e-muted); font-size: .92rem; }
.a2e-global-footer__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.a2e-global-footer__nav > div { display: grid; align-content: start; gap: 9px; }
.a2e-global-footer__nav strong { margin-bottom: 3px; color: var(--a2e-ink); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.a2e-global-footer__nav a { color: var(--a2e-muted); font-size: .88rem; text-decoration: none; }
.a2e-global-footer__nav a:hover { color: var(--a2e-blue-dark); }
.a2e-global-footer__bottom {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--a2e-line);
  color: var(--a2e-muted);
  font-size: .84rem;
}
.a2e-global-footer__bottom a { font-weight: 750; text-decoration: none; }
@media (max-width: 780px) {
  .a2e-global-footer__grid { grid-template-columns: 1fr; gap: 34px; padding-top: 38px; }
  .a2e-global-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .a2e-footer-container { width: min(100% - 28px, 1224px); }
  .a2e-global-footer__nav { grid-template-columns: 1fr; }
  .a2e-global-footer__bottom { padding: 18px 0; align-items: flex-start; flex-direction: column; }
}
