:root {
  color-scheme: light;
  --crucible-forest: #082f2c;
  --crucible-deep: #052421;
  --institutional-green: #0f4a43;
  --crucible-gold: #c2a35c;
  --gold-light: #ddc783;
  --warm-ivory: #f2eee4;
  --paper: #fbfaf6;
  --ink: #17211f;
  --muted-ink: #61706a;
  --rule: #cbd1c8;
  --rule-dark: #9ba9a1;
  --status-ready: #176957;
  --status-review: #a86f18;
  --status-blocked: #a43b32;
  --status-neutral: #64716d;
  --status-ready-soft: #e3eee9;
  --status-review-soft: #f3e9d2;
  --status-blocked-soft: #f3dfdc;
  --radius-panel: 4px;
  --font-interface: Aptos, Inter, "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
  font-family: var(--font-interface);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--crucible-deep); }
body { margin: 0; color: var(--ink); background: var(--warm-ivory); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--crucible-gold);
  border-radius: 2px;
  background: var(--paper);
  color: var(--crucible-deep);
  font-weight: 700;
}
.skip-link:focus { top: 16px; }

.application-page { background: var(--crucible-deep); }
.app-shell {
  width: min(100%, 1600px);
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--warm-ivory);
  border-inline: 1px solid rgba(221, 199, 131, .22);
}

.app-masthead {
  color: #fff;
  background: var(--crucible-forest);
  border-bottom: 1px solid var(--crucible-gold);
}
.masthead-grid {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(20px, 3vw, 48px);
}
.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 17px;
  margin-right: auto;
  text-decoration: none;
}
.brand-logo { display: block; width: 184px; height: auto; }
.product-name {
  padding-left: 17px;
  border-left: 1px solid rgba(221, 199, 131, .7);
  color: #f3eddf;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .17em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}
.masthead-utilities { display: flex; align-items: center; gap: 24px; }
.source-state { color: #dbe4df; font-size: 12px; letter-spacing: .02em; white-space: nowrap; }
.source-state::before {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 9px;
  border-radius: 50%;
  background: #65b597;
  box-shadow: 0 0 0 2px rgba(101, 181, 151, .16);
}
.source-state.stale::before { background: var(--gold-light); box-shadow: none; }
.account-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-inline: 13px;
  border-left: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.account-link:hover { color: var(--gold-light); }

.workspace-nav {
  min-height: 45px;
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  padding: 0 clamp(20px, 3vw, 48px);
  border-top: 1px solid rgba(255, 255, 255, .11);
  background: var(--crucible-deep);
}
.workspace-nav button {
  min-width: 104px;
  min-height: 44px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .1);
  border-radius: 0;
  padding: 0 18px;
  background: transparent;
  color: #cad6d1;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
  transition: color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}
.workspace-nav button:first-child { border-left: 1px solid rgba(255, 255, 255, .1); }
.workspace-nav button:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.workspace-nav button[aria-current="page"] {
  color: #fff;
  background: var(--institutional-green);
  box-shadow: inset 0 -3px 0 var(--crucible-gold);
}

#main-content { min-height: 66vh; padding: 0 clamp(20px, 3vw, 48px) 38px; }
.eyebrow {
  margin: 0 0 8px;
  color: var(--institutional-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  align-items: end;
  padding: 29px 0 23px;
  border-bottom: 1px solid var(--rule-dark);
}
.brief-copy { grid-column: span 8; }
.hero h1 {
  max-width: 860px;
  margin: 0;
  color: var(--crucible-deep);
  font-family: var(--font-display);
  font-size: clamp(27px, 3vw, 43px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.08;
}
.hero-copy { max-width: 760px; margin: 11px 0 0; color: var(--muted-ink); font-size: 14px; line-height: 1.55; }
.hero-meta {
  grid-column: span 4;
  justify-self: end;
  padding-left: 20px;
  border-left: 1px solid var(--rule);
  color: var(--muted-ink);
  font-size: 12px;
  line-height: 1.65;
  text-align: right;
}
.hero-meta strong { color: var(--ink); text-transform: uppercase; letter-spacing: .08em; font-size: 10px; }
.hero-meta a { color: var(--institutional-green); font-weight: 700; text-underline-offset: 3px; }

.sync-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--rule-dark);
  border-left: 4px solid var(--status-ready);
  border-radius: 2px;
  background: var(--paper);
}
.sync-banner.stale, .sync-banner.degraded { border-left-color: var(--status-review); background: var(--status-review-soft); }
.sync-banner.unavailable { border-left-color: var(--status-blocked); background: var(--status-blocked-soft); }
.sync-banner .eyebrow { margin-bottom: 3px; }
.sync-banner h2 { margin: 0; font-size: 15px; line-height: 1.3; }
.sync-explanation, .sync-last { margin: 4px 0 0; color: #4e5c57; font-size: 12px; line-height: 1.5; }
.sync-last strong { color: var(--ink); }
.sync-repair-line { margin: 4px 0 0; color: #4e5c57; font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.sync-actions { min-width: 205px; display: grid; gap: 6px; justify-items: end; }
.sync-button, .retry-button {
  min-height: 44px;
  border: 1px solid var(--crucible-deep);
  border-radius: 2px;
  padding: 0 16px;
  background: var(--crucible-deep);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .025em;
}
.sync-button:hover, .retry-button:hover { background: var(--institutional-green); }
.sync-button:disabled { opacity: .55; cursor: wait; }
.sync-feedback { min-height: 16px; max-width: 270px; margin: 0; color: #4e5c57; font-size: 11px; line-height: 1.35; text-align: right; }

.status-ledger { margin: 18px 0; border: 1px solid var(--rule-dark); background: var(--paper); }
.metric-strip { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { min-height: 72px; padding: 13px 16px; border-left: 1px solid var(--rule); }
.metric:first-child { border-left: 0; }
.metric span { display: block; color: var(--muted-ink); font-size: 10px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.metric strong { display: block; margin-top: 4px; color: var(--crucible-deep); font-family: var(--font-display); font-size: 26px; font-weight: 500; line-height: 1; }

.workspace-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}
.layout-grid { align-items: start; }
.panel { border: 1px solid var(--rule-dark); border-radius: var(--radius-panel); background: var(--paper); }
.work-register { grid-column: span 8; }
.next-unlock { grid-column: span 4; }
.panel-header, .register-header {
  min-height: 51px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule-dark);
  background: #e5e9df;
}
.panel-header h2, .register-header h2 { margin: 0; color: var(--crucible-deep); font-size: 13px; letter-spacing: .03em; }
.panel-header p, .register-header p { margin: 0; color: var(--muted-ink); font-size: 11px; }

.action-list { list-style: none; margin: 0; padding: 0; }
.register-row { transition: background-color 130ms ease, border-color 130ms ease; }
.register-row:hover { background: #f6f3e9; }
.action-card {
  min-height: 78px;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) 126px;
  align-items: center;
  gap: 16px;
  padding: 13px 16px;
  border-top: 1px solid var(--rule);
}
.action-list li:first-child .action-card { border-top: 0; }
.register-status { display: flex; align-items: center; gap: 9px; }
.status-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--status-ready); }
.status-dot.review { background: var(--status-review); }
.status-dot.blocked { background: var(--status-blocked); }
.status-dot.backlog { background: var(--status-neutral); }
.status-label { color: var(--ink); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.register-copy { min-width: 0; }
.action-card h3 { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.action-card p { margin: 4px 0 0; color: var(--muted-ink); font-size: 12px; line-height: 1.45; }
.action-card > a, .github-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--crucible-deep);
  border-radius: 2px;
  padding: 0 13px;
  background: var(--crucible-deep);
  color: #fff;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.action-card > a:hover, .github-button:hover { background: var(--institutional-green); }
.planner-details { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 12px; margin-top: 7px; }
.planner-field { color: #4f5e59; font-size: 11px; line-height: 1.4; }
.planner-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--institutional-green);
  font-size: 11px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.action-card .planner-link { padding: 0; border: 0; background: transparent; color: var(--institutional-green); }

.unlock { min-height: 164px; padding: 18px 16px; border-top: 3px solid var(--crucible-gold); background: #f5f0e3; }
.unlock .label { color: var(--muted-ink); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.unlock h3 { margin: 10px 0 7px; color: var(--crucible-deep); font-family: var(--font-display); font-size: 20px; font-weight: 500; line-height: 1.25; }
.unlock p { margin: 0; color: var(--muted-ink); font-size: 12px; line-height: 1.5; }

.founder-lanes { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; padding-top: 28px; }
.founder-column { grid-column: span 6; }
.founder-card { padding: 0; }
.founder-header { display: block; }
.founder-header h2 { margin-bottom: 4px; font-family: var(--font-display); font-size: 21px; font-weight: 500; }
.mini-task { min-height: 68px; padding: 12px 16px; border-top: 1px solid var(--rule); }
.register-header + .mini-task { border-top: 0; }
.mini-task > a { color: var(--crucible-deep); font-size: 13px; font-weight: 750; line-height: 1.4; text-decoration-color: var(--crucible-gold); text-underline-offset: 3px; }
.mini-task > span { display: block; margin-top: 4px; color: var(--muted-ink); font-size: 11px; }

.pipeline { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 0; margin-top: 28px; overflow-x: auto; border: 1px solid var(--rule-dark); background: var(--paper); }
.pipeline-column { min-width: 220px; border-left: 1px solid var(--rule-dark); background: transparent; }
.pipeline-column:first-child { border-left: 0; }
.pipeline-column h2 { margin: 0; padding: 13px 14px; border-bottom: 1px solid var(--rule-dark); background: var(--crucible-forest); color: #fff; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.pipeline-card { min-height: 72px; display: block; margin: 0; padding: 12px 14px; border-top: 1px solid var(--rule); background: transparent; }
.pipeline-column h2 + .pipeline-card { border-top: 0; }
.pipeline-github-link { color: var(--crucible-deep); font-size: 12px; font-weight: 750; line-height: 1.4; text-decoration: none; }
.pipeline-github-link:hover { text-decoration: underline; text-decoration-color: var(--crucible-gold); text-underline-offset: 3px; }
.pipeline-card > span { display: block; margin-top: 5px; color: var(--muted-ink); font-size: 10px; }
.pipeline-card .planner-details { display: flex; }
.pipeline-card .planner-field { margin-top: 0; font-size: 10px; }

.milestone-register { margin-top: 28px; }
.milestone-register > .eyebrow { margin: 0; padding: 14px 16px 0; }
.milestone-register > h2 { margin: 0; padding: 4px 16px 13px; border-bottom: 1px solid var(--rule-dark); color: var(--crucible-deep); font-family: var(--font-display); font-size: 24px; font-weight: 500; }
.milestone-register > p { margin: 0; padding: 13px 16px; border-bottom: 1px solid var(--rule); color: var(--muted-ink); font-size: 12px; line-height: 1.5; }

.empty-state { padding: 34px 16px; text-align: left; }
.empty-state h2 { margin: 0 0 6px; color: var(--crucible-deep); font-family: var(--font-display); font-size: 22px; font-weight: 500; }
.empty-state p { margin: 0; color: var(--muted-ink); }
.error-state { margin-top: 28px; }
.incident-panel {
  max-width: 850px;
  padding: 25px;
  border: 1px solid var(--rule-dark);
  border-top: 4px solid var(--status-blocked);
  border-radius: 2px;
  background: var(--paper);
}
.incident-panel h2 { margin: 0; color: var(--crucible-deep); font-family: var(--font-display); font-size: 27px; font-weight: 500; }
.incident-panel p:not(.eyebrow) { margin: 8px 0 19px; color: var(--muted-ink); line-height: 1.55; }
.incident-panel .github-button { margin-left: 7px; background: transparent; color: var(--crucible-deep); }
.incident-panel .github-button:hover { background: #e5e9df; }

.loading-state { padding: 29px 0; color: var(--muted-ink); }
.loading-label { margin: 0 0 12px; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.skeleton { background: #dfe4dc; animation: skeleton-pulse 1.25s ease-in-out infinite alternate; }
.skeleton-title { width: min(660px, 68%); height: 42px; margin-bottom: 20px; }
.skeleton-ledger { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--rule); }
.skeleton-ledger .skeleton { height: 70px; border-left: 1px solid var(--paper); }
.skeleton-ledger .skeleton:first-child { border-left: 0; }
.skeleton-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-top: 18px; }
.skeleton-work { height: 280px; }
.skeleton-side { height: 190px; }

.app-footer {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(20px, 3vw, 48px);
  border-top: 1px solid var(--rule-dark);
  background: #e5e9df;
  color: var(--muted-ink);
  font-size: 11px;
}
.app-footer a { color: var(--crucible-deep); font-weight: 750; text-underline-offset: 3px; }

/* Public access and legal pages */
.public-page { min-height: 100vh; background: var(--crucible-deep); color: #fff; }
.access-shell, .legal-shell {
  width: min(100%, 1500px);
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  column-gap: 24px;
  padding: 0 clamp(24px, 5vw, 76px);
  border-inline: 1px solid rgba(221, 199, 131, .2);
  background: var(--crucible-forest);
}
.access-brand {
  grid-column: 1 / -1;
  min-height: 108px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(221, 199, 131, .52);
}
.access-brand img { display: block; width: 220px; height: auto; }
.access-brand span { padding-left: 18px; border-left: 1px solid rgba(221, 199, 131, .7); color: #f2ead7; font-size: 10px; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; }
.access-panel {
  grid-column: 1 / span 8;
  align-self: center;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  column-gap: 20px;
  padding: 54px 0;
}
.access-copy { grid-column: 1 / -1; max-width: 760px; }
.public-page .eyebrow { color: var(--gold-light); }
.access-panel h1, .legal-panel h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .98;
}
.access-lede, .legal-panel > p:not(.eyebrow) { max-width: 660px; margin: 23px 0 0; color: #d6dfda; font-size: 15px; line-height: 1.65; }
.auth-choices { grid-column: 1 / span 6; display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 32px; border: 1px solid rgba(221, 199, 131, .7); }
.auth-choices .github-button { justify-content: space-between; gap: 24px; border: 0; border-radius: 0; padding: 0 17px; background: var(--crucible-gold); color: var(--crucible-deep); font-size: 12px; }
.auth-choices .github-button + .github-button { border-left: 1px solid var(--crucible-deep); }
.auth-choices .github-button:hover { background: var(--gold-light); }
.auth-choices .secondary-button { background: transparent; color: #fff; }
.auth-choices .secondary-button:hover { background: rgba(255, 255, 255, .07); }
.access-context {
  grid-column: 10 / -1;
  align-self: end;
  margin-bottom: 54px;
  padding: 17px 0 0;
  border-top: 3px solid var(--crucible-gold);
}
.context-number { margin: 0 0 18px; color: var(--gold-light); font-family: var(--font-display); font-size: 28px; }
.access-context h2 { margin: 0 0 7px; color: #fff; font-size: 13px; letter-spacing: .04em; }
.access-context p:last-child { margin: 0; color: #c8d4cf; font-size: 12px; line-height: 1.55; }
.legal-footer {
  grid-column: 1 / -1;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(221, 199, 131, .34);
  color: #aebeb7;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.legal-footer nav { display: flex; gap: 22px; }
.legal-footer a { min-height: 44px; display: inline-flex; align-items: center; color: #d5ded9; text-underline-offset: 3px; }
.legal-footer a[aria-current="page"] { color: var(--gold-light); text-decoration-color: var(--crucible-gold); }

.legal-panel { grid-column: 2 / span 7; align-self: center; padding: 54px 0; }
.legal-panel h1 { font-size: clamp(40px, 5vw, 68px); }
.text-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--crucible-gold);
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

@keyframes skeleton-pulse { from { opacity: .48; } to { opacity: .9; } }

@media (max-width: 1024px) {
  .brief-copy { grid-column: span 7; }
  .hero-meta { grid-column: span 5; }
  .workspace-grid { grid-template-columns: 1fr; }
  .work-register, .next-unlock { grid-column: 1; }
  .access-panel { grid-column: 1 / span 8; }
  .access-context { grid-column: 9 / -1; }
  .auth-choices { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .app-shell { border-inline: 0; }
  .masthead-grid { min-height: 68px; gap: 14px; padding-inline: 16px; }
  .brand { gap: 11px; }
  .brand-logo { width: 138px; }
  .product-name { padding-left: 11px; font-size: 8px; }
  .masthead-utilities { gap: 8px; }
  .source-state { display: none; }
  .account-link { padding-inline: 8px; border-left: 0; }
  .workspace-nav { padding-inline: 0; }
  .workspace-nav button { min-width: 96px; padding-inline: 13px; font-size: 10px; }
  #main-content { padding-inline: 16px; }
  .hero { grid-template-columns: 1fr; gap: 14px; padding-top: 22px; }
  .brief-copy, .hero-meta { grid-column: 1; }
  .hero h1 { font-size: 30px; }
  .hero-meta { justify-self: stretch; padding: 11px 0 0; border-left: 0; border-top: 1px solid var(--rule); text-align: left; }
  .sync-banner { grid-template-columns: minmax(0, 1fr); padding: 13px; }
  .sync-actions { min-width: 0; justify-items: start; }
  .sync-feedback { max-width: none; text-align: left; }
  .metric-strip { grid-template-columns: 1fr 1fr; }
  .metric { border-top: 1px solid var(--rule); }
  .metric:nth-child(-n + 2) { border-top: 0; }
  .metric:nth-child(odd) { border-left: 0; }
  .workspace-grid, .founder-lanes { grid-template-columns: 1fr; }
  .work-register, .next-unlock, .founder-column { grid-column: 1; }
  .action-card { grid-template-columns: 1fr; gap: 9px; padding: 13px; }
  .action-card > a { grid-column: 1; justify-self: stretch; }
  .register-status { padding-bottom: 7px; border-bottom: 1px solid var(--rule); }
  .pipeline { grid-template-columns: minmax(250px, 1fr); overflow-x: visible; }
  .pipeline-column { min-width: 0; border-top: 1px solid var(--rule-dark); border-left: 0; }
  .pipeline-column:first-child { border-top: 0; }
  .app-footer { align-items: flex-start; flex-direction: column; padding-inline: 16px; }
  .skeleton-title { width: 88%; }
  .skeleton-ledger { grid-template-columns: 1fr 1fr; }
  .skeleton-grid { grid-template-columns: 1fr; }
  .skeleton-side { height: 150px; }

  .access-shell, .legal-shell { grid-template-columns: 1fr; padding-inline: 22px; border-inline: 0; }
  .access-brand { grid-column: 1; min-height: 86px; }
  .access-brand img { width: 170px; }
  .access-brand span { font-size: 8px; }
  .access-panel, .legal-panel { grid-column: 1; display: block; padding: 42px 0; }
  .access-panel h1, .legal-panel h1 { font-size: 43px; line-height: 1.02; }
  .access-lede, .legal-panel > p:not(.eyebrow) { margin-top: 18px; font-size: 14px; }
  .auth-choices { display: grid; grid-template-columns: 1fr; margin-top: 25px; }
  .auth-choices .github-button + .github-button { border-top: 1px solid rgba(221, 199, 131, .7); border-left: 0; }
  .access-context { grid-column: 1; margin: 0 0 34px; }
  .legal-footer { grid-column: 1; align-items: flex-start; flex-direction: column; justify-content: center; gap: 0; padding: 10px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
