/* Generated by scripts/build_assets.py. */
/* ExoMecha Business First v4 stylesheet manifest. */

/* fonts.css */
@font-face {
    font-family: "Red Hat Display";
    src: local("Red Hat Display Regular"),
    url("../fonts/red-hat-display/red-hat-display-regular.cb2cc38d74c5.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

/* foundation.css */
:root {
  color-scheme: dark;
  --ink: #05070b;
  --panel: #0b111a;
  --raised: #101722;
  --blue: #4c8dff;
  --blue-hover: #70a4ff;
  --ice: #9dc4ff;
  --primary: #f4f7fb;
  --secondary: #a2aec0;
  --quiet: #8391a6;
  --line: #293548;
  --positive: #8bcab0;
  --caution: #e3b976;
  --negative: #f08f98;
  --selected: #14243c;
  --success-bg: #10241d;
  --warning-bg: #2a2115;
  --error-bg: #2b1720;
  --max: 1280px;
  --shadow: 0 20px 64px rgb(0 0 0 / 35%);
}

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

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--primary);
  font-family: "Red Hat Display", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.625;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--ice);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 6px;
  background: var(--primary);
  color: var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* site-header.css */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgb(5 7 11 / 96%);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  width: min(100%, 1440px);
  min-height: 88px;
  margin: 0 auto;
  padding: 0 40px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  color: var(--primary);
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand span {
  font-family: "Nasalization", "Inter", sans-serif;
  font-size: 16px;
  letter-spacing: 0.16em;
}

.public-nav,
.primary-links,
.access-links {
  display: flex;
  align-items: center;
}

.public-nav {
  flex: 1;
  justify-content: space-between;
  gap: 28px;
}

.primary-links {
  margin: 0 auto;
}

.primary-links a {
  min-height: 44px;
  padding: 11px 12px;
  border-radius: 6px;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 600;
}

.primary-links a:hover,
.primary-links a[aria-current="page"] {
  background: var(--selected);
  color: var(--ice);
}

.access-links {
  gap: 12px;
}

.menu-toggle {
  display: none;
  min-height: 44px;
  padding: 8px 12px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--raised);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

/* site-shell.css */
.section {
  padding: 72px 80px;
}

.section-panel {
  background: var(--panel);
}

.section-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section-shell > :first-child {
  margin-top: 0;
}

.section-shell > :last-child {
  margin-bottom: 0;
}

.hero-section {
  padding-top: 72px;
  padding-bottom: 80px;
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

.hero-copy {
  max-width: 630px;
}

.hero-art {
  display: grid;
  gap: 16px;
}

.orbital-image {
  width: 100%;
  min-height: 264px;
  border: 1px solid rgb(41 53 72 / 55%);
  border-radius: 12px;
  object-fit: cover;
  object-position: 52% 48%;
  box-shadow: var(--shadow);
}

.eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--ice);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.display,
h1,
h2,
h3 {
  margin: 0;
  color: var(--primary);
  font-family: "Nasalization", "Inter", sans-serif;
  font-weight: 400;
}

h1,
.display-h1 {
  font-size: clamp(2.7rem, 4.2vw, 4rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
}

h2,
.display-h2 {
  font-size: clamp(2rem, 3vw, 2.65rem);
  letter-spacing: -0.018em;
  line-height: 1.18;
}

h3 {
  font-size: 1.45rem;
  line-height: 1.3;
}

.hero-copy > p,
.section-intro > p,
.lead {
  color: var(--secondary);
  font-size: 18px;
  line-height: 1.7;
}

.hero-copy > p {
  max-width: 650px;
  margin: 24px 0 0;
}

.section-intro {
  max-width: 800px;
  margin-bottom: 40px;
}

.section-intro > p {
  margin: 18px 0 0;
}

.hero-actions,
.section-actions {
  display: flex;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 12px;
}

.microcopy {
  color: var(--quiet);
  font-size: 12px;
  line-height: 1.5;
}

.hero-copy .microcopy {
  margin-top: 20px;
}

/* controls.css */
.button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 20px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #07101d;
}

.button-primary:hover {
  border-color: var(--blue-hover);
  background: var(--blue-hover);
}

.button-secondary {
  border-color: var(--line);
  background: var(--raised);
  color: var(--primary);
}

.button-secondary:hover,
.button-quiet:hover {
  border-color: var(--ice);
  color: var(--ice);
}

.button-quiet {
  border-color: transparent;
  background: transparent;
  color: var(--primary);
}

.button-danger {
  border-color: var(--negative);
  background: var(--error-bg);
  color: var(--negative);
}

.badge {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  padding: 6px 10px;
  align-items: center;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.badge-info {
  background: var(--selected);
  color: var(--ice);
}

.badge-warning {
  background: var(--warning-bg);
  color: var(--caution);
}

.badge-success {
  background: var(--success-bg);
  color: var(--positive);
}

.notice {
  padding: 18px 20px;
  border: 1px solid var(--ice);
  border-radius: 8px;
  background: var(--selected);
}

.notice strong {
  display: block;
  color: var(--ice);
  font-size: 14px;
}

.notice p {
  margin: 6px 0 0;
  color: var(--secondary);
  font-size: 14px;
}

.notice-warning {
  border-color: var(--caution);
  background: var(--warning-bg);
}

.notice-warning strong {
  color: var(--caution);
}

.notice-danger {
  border-color: var(--negative);
  background: var(--error-bg);
}

.notice-danger strong {
  color: var(--negative);
}

.notice-success {
  border-color: var(--positive);
  background: var(--success-bg);
}

.notice-success strong {
  color: var(--positive);
}

.page-notice {
  margin-bottom: 72px;
}

/* cards.css */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.stat-card,
.record-panel,
.product-preview,
.form-panel,
.auth-panel,
.settings-panel,
.member-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.feature-card {
  display: flex;
  min-height: 220px;
  padding: 24px;
  flex-direction: column;
  align-items: flex-start;
}

.feature-card .feature-icon {
  margin-bottom: 18px;
  color: var(--ice);
}

.feature-card h3 {
  font-size: 1.35rem;
}

.feature-card p {
  margin: 14px 0 0;
  color: var(--secondary);
  font-size: 14px;
}

.feature-card .button {
  min-height: 42px;
  margin-top: auto;
  padding: 10px 14px;
}

.product-preview {
  padding: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.preview-topline {
  display: flex;
  margin-bottom: 6px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.preview-topline .eyebrow {
  margin: 0;
}

.product-preview h3 {
  margin-top: 4px;
}

.product-preview .small {
  margin: 12px 0 0;
  color: var(--secondary);
  font-size: 14px;
}

.balance {
  display: block;
  margin-top: 2px;
  font-family: "Nasalization", "Inter", sans-serif;
  font-size: 2.15rem;
  font-weight: 400;
  line-height: 1.3;
}

.preview-stats,
.currency-row {
  display: grid;
  margin-top: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.currency-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.preview-stats > div,
.currency-row > div {
  display: flex;
  min-width: 0;
  padding: 14px;
  flex-direction: column;
  gap: 5px;
  border-radius: 8px;
  background: var(--raised);
}

.preview-stats span,
.currency-row span,
.preview-stats small {
  color: var(--secondary);
  font-size: 12px;
}

.preview-stats strong,
.currency-row strong {
  font-size: 15px;
}

.relationship,
.activity-row {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.relationship {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
}

.relationship a {
  color: var(--ice);
}

.relationship small {
  color: var(--secondary);
}

.activity-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.activity-row > div {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.activity-row span {
  color: var(--positive);
  font-size: 13px;
}

.product-preview .microcopy {
  margin: 18px 0 0;
}

/* workflow.css */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.workflow-card {
  display: flex;
  min-height: 176px;
  padding: 22px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--raised);
  transition: border-color 160ms ease, transform 160ms ease;
}

.workflow-card:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
}

.workflow-card span {
  color: var(--ice);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.workflow-card strong {
  font-family: "Nasalization", "Inter", sans-serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.workflow-card small {
  color: var(--secondary);
  font-size: 14px;
}

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

.section-cards,
.record-panel-spaced {
  margin-top: 32px;
}

.selected-card {
  border-color: var(--blue);
  background: var(--selected);
}

.text-link {
  color: var(--ice);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.stat-card {
  padding: 24px;
}

.stat-card > span {
  color: var(--secondary);
  font-size: 14px;
}

.stat-card > strong {
  display: block;
  margin-top: 6px;
  font-family: "Nasalization", "Inter", sans-serif;
  font-size: 1.65rem;
  font-weight: 400;
}

.stat-card > small {
  display: block;
  margin-top: 4px;
  color: var(--quiet);
}

.record-panel {
  padding: 28px;
}

.record-titlebar {
  display: flex;
  margin-bottom: 24px;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.record-list {
  margin: 0;
}

.record-row {
  display: grid;
  padding: 18px 0;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 28px;
  border-top: 1px solid var(--line);
}

.record-row:first-child {
  border-top: 0;
}

.record-row dt {
  color: var(--secondary);
}

.record-row dd {
  margin: 0;
  color: var(--primary);
  overflow-wrap: anywhere;
}

.check-list {
  display: grid;
  margin-top: 24px;
  gap: 14px;
}

.check-row {
  display: flex;
  padding: 18px;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--raised);
}

.check-row .icon {
  color: var(--ice);
}

.check-row p {
  margin: 4px 0 0;
  color: var(--secondary);
  font-size: 14px;
}

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: start;
  gap: 24px;
}

.workflow-nav {
  display: grid;
  gap: 10px;
}

.workflow-nav a {
  display: flex;
  min-height: 54px;
  padding: 12px 16px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--raised);
  font-weight: 700;
}

.workflow-nav a[aria-current="step"] {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--ink);
}

.milestone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.countdown {
  display: grid;
  margin-top: 28px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.countdown > div {
  padding: 16px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--raised);
  text-align: center;
}

.countdown strong,
.countdown span {
  display: block;
}

.countdown strong {
  font-family: "Nasalization", "Inter", sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
}

.countdown span {
  color: var(--quiet);
  font-size: 12px;
  text-transform: uppercase;
}

.form-section,
.status-section {
  min-height: calc(100vh - 88px);
}

.form-layout,

/* forms.css */
.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 64px;
}

.form-panel,
.auth-panel,
.settings-panel {
  padding: 32px;
}

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

.form-field {
  margin-bottom: 20px;
}

.form-field.full,
.field-grid .full {
  grid-column: 1 / -1;
}

.form-field label,
.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

.form-control {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: var(--ink);
  color: var(--primary);
}

.form-panel > p,
.status-card.form-panel > p,
.settings-panel > p {
  text-align: left;
}

.form-panel > p label,
.settings-panel > p label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

.form-panel > p input,
.settings-panel > p input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.form-control:focus {
  border-color: var(--ice);
  box-shadow: 0 0 0 3px rgb(157 196 255 / 15%);
}

.form-control:disabled,
.form-control[readonly] {
  opacity: 0.65;
}

.checkbox-field,
.form-field ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.checkbox-field label,
.form-field li label {
  display: flex;
  margin: 0;
  align-items: flex-start;
  gap: 10px;
  color: var(--secondary);
  font-weight: 500;
}

input[type="checkbox"],
input[type="radio"] {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}

.helptext,
.field-help {
  display: block;
  margin-top: 7px;
  color: var(--quiet);
  font-size: 12px;
}

.errorlist {
  margin: 6px 0 0;
  padding: 0;
  color: var(--negative);
  font-size: 13px;
  list-style: none;
}

.form-errors {
  margin-bottom: 20px;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.auth-aside {
  position: sticky;
  top: 136px;
}

.status-card {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  text-align: center;
}

.status-card .notice {
  margin-top: 28px;
  text-align: left;
}

.status-card h1,
.auth-panel h2,
.settings-panel h2 {
  margin-top: 18px;
}

.status-card > .lead,
.auth-panel > .lead {
  margin: 16px 0 26px;
}

.status-card .button {
  margin-top: 28px;
}

.message-stack {
  position: fixed;
  z-index: 90;
  top: 104px;
  right: 20px;
  display: grid;
  width: min(420px, calc(100% - 40px));
  gap: 10px;
}

.flash-message {
  display: flex;
  padding: 14px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--ice);
  border-radius: 8px;
  background: var(--selected);
  box-shadow: var(--shadow);
}

.flash-success {
  border-color: var(--positive);
  background: var(--success-bg);
}

.flash-error {
  border-color: var(--negative);
  background: var(--error-bg);
}

.flash-message button {
  padding: 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
}

/* site-footer.css */
.site-footer {
  padding: 56px 80px 28px;
  border-top: 1px solid rgb(41 53 72 / 60%);
  background: var(--panel);
}

.footer-grid,
.footer-legal {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(180px, 0.7fr) minmax(180px, 0.7fr);
  gap: 56px;
}

.footer-brand {
  max-width: 480px;
}

.footer-brand p {
  margin: 18px 0;
  color: var(--secondary);
}

.footer-brand .small {
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-links strong {
  margin-bottom: 6px;
  font-size: 14px;
}

.footer-links a {
  min-height: 40px;
  padding: 7px 0;
  color: var(--primary);
  font-size: 14px;
  font-weight: 650;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--ice);
}

.footer-legal {
  display: grid;
  margin-top: 36px;
  padding-top: 24px;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 12px;
}

.footer-legal a {
  justify-self: end;
  color: var(--primary);
  font-weight: 700;
}

/* community.css */
.member-shell {
  min-height: 100vh;
  background: var(--ink);
}

.member-layout {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 240px minmax(0, 1fr);
}

.member-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  padding: 32px 20px;
  flex-direction: column;
  gap: 28px;
  border-right: 1px solid var(--line);
  background: var(--panel);
}

.member-sidebar .eyebrow {
  color: var(--quiet);
}

.member-nav {
  display: grid;
  gap: 6px;
}

.member-nav a {
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--secondary);
}

.member-nav a:hover,
.member-nav a[aria-current="page"] {
  background: var(--selected);
  color: var(--ice);
}

.member-note {
  padding: 16px;
  border: 1px solid var(--ice);
  border-radius: 8px;
  background: var(--selected);
  color: var(--secondary);
  font-size: 14px;
}

.member-note strong {
  display: block;
  color: var(--ice);
}

.member-profile {
  margin-top: auto;
}

.avatar {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--selected);
  color: var(--ice);
  font-size: 13px;
  font-weight: 750;
}

.member-profile strong,
.member-profile span {
  display: block;
}

.member-profile strong {
  margin-top: 12px;
}

.member-profile span {
  color: var(--quiet);
  font-size: 14px;
}

.signout-form {
  margin-top: 10px;
}

.member-main {
  min-width: 0;
}

.member-header {
  display: flex;
  min-height: 80px;
  padding: 0 32px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.member-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.member-content {
  padding: 48px 40px 72px;
}

.member-content-shell {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.member-titlebar {
  display: flex;
  margin-bottom: 34px;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.member-titlebar p {
  margin: 12px 0 0;
  color: var(--secondary);
}

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

.member-card {
  padding: 24px;
}

.member-card > span,
.member-card time {
  color: var(--quiet);
  font-size: 13px;
}

.member-card h3 {
  margin-top: 8px;
}

.member-card p {
  margin: 12px 0 0;
  color: var(--secondary);
  font-size: 14px;
}

.member-card .button {
  margin-top: 18px;
}

.content-list {
  display: grid;
  gap: 14px;
}

.content-list-item {
  display: grid;
  padding: 22px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.content-list-item p {
  margin: 6px 0 0;
  color: var(--secondary);
}

.content-list-item time {
  color: var(--quiet);
  font-size: 13px;
}

.article-body {
  width: min(100%, 780px);
}

.article-body p {
  color: var(--secondary);
  white-space: pre-line;
}

/* account-settings.css */
.settings-layout {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

.settings-nav {
  position: sticky;
  top: 104px;
  display: grid;
  padding: 16px;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.settings-nav a {
  display: flex;
  min-height: 76px;
  padding: 14px;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.settings-nav a[aria-current="page"] {
  border-color: var(--blue);
  background: var(--selected);
}

.settings-nav a > span {
  display: flex;
  flex-direction: column;
}

.settings-nav small {
  color: var(--secondary);
}

.settings-panel h2 {
  font-size: 2rem;
}

.settings-panel > p {
  color: var(--secondary);
}

.preference-list {
  display: grid;
  margin: 28px 0;
  gap: 12px;
}

.preference-row {
  display: flex;
  padding: 16px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--raised);
}

.preference-row label {
  display: flex;
  flex: 1;
  flex-direction: column;
  font-weight: 700;
}

.preference-row small {
  color: var(--secondary);
  font-weight: 400;
}

.empty-state {
  padding: 48px 24px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: var(--panel);
  text-align: center;
}

.empty-state p {
  color: var(--secondary);
}

.code-block {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  color: var(--ice);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow-wrap: anywhere;
}

/* responsive.css */
@media (max-width: 1120px) {
  .nav-shell {
    padding-inline: 24px;
  }

  .primary-links a {
    padding-inline: 8px;
    font-size: 13px;
  }

  .section,
  .site-footer {
    padding-inline: 40px;
  }

  .card-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
}

@media (max-width: 900px) {
  .nav-shell {
    min-height: 80px;
    padding-inline: 20px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .public-nav {
    position: fixed;
    inset: 81px 0 auto;
    display: none;
    max-height: calc(100vh - 81px);
    padding: 24px 20px 32px;
    flex-direction: column;
    align-items: stretch;
    overflow: auto;
    border-bottom: 1px solid var(--line);
    background: var(--ink);
  }

  .public-nav.is-open {
    display: flex;
  }

  .primary-links,
  .access-links {
    display: grid;
    width: 100%;
    margin: 0;
    gap: 8px;
  }

  .primary-links a {
    min-height: 50px;
    padding: 13px 14px;
    font-size: 15px;
  }

  .hero-grid,
  .split-grid,
  .form-layout,
  .auth-layout,
  .workflow-layout,
  .milestone-grid,
  .settings-layout {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: 2;
  }

  .card-grid,
  .workflow-grid,
  .stat-grid,
  .member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-aside,
  .settings-nav {
    position: static;
  }

  .member-layout {
    grid-template-columns: 1fr;
  }

  .member-sidebar {
    position: static;
    height: auto;
    padding: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .member-sidebar > .brand,
  .member-sidebar > .eyebrow,
  .member-note{
    display: none;
  }

  .member-profile{
    margin-top: 0;
  }

  .member-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .member-nav a {
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 48px 20px;
  }

  .hero-section {
    padding-top: 48px;
  }

  h1,
  .display-h1 {
    font-size: clamp(2.25rem, 11vw, 2.75rem);
    line-height: 1.12;
  }

  h2,
  .display-h2 {
    font-size: 1.85rem;
  }

  .hero-copy > p,
  .section-intro > p,
  .lead {
    font-size: 16px;
  }

  .orbital-image {
    min-height: 190px;
  }

  .card-grid,
  .card-grid.two,
  .card-grid.four,
  .workflow-grid,
  .stat-grid,
  .member-grid,
  .field-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .hero-actions,
  .section-actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .section-actions .button {
    width: 100%;
  }

  .currency-row,
  .preview-stats {
    grid-template-columns: 1fr;
  }

  .product-preview,
  .record-panel,
  .form-panel,
  .auth-panel,
  .settings-panel,
  .status-card {
    padding: 22px;
  }

  .record-titlebar,
  .member-titlebar {
    flex-direction: column;
  }

  .record-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    padding: 48px 20px 24px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-legal {
    grid-template-columns: 1fr;
  }

  .footer-legal a {
    justify-self: start;
  }

  .member-nav {
    display: flex;
    overflow-x: auto;
  }

  .member-nav a {
    min-width: max-content;
  }

  .member-header,
  .member-content {
    padding-inline: 20px;
  }

  .member-header .button-quiet {
    display: none;
  }

  .content-list-item {
    grid-template-columns: 1fr;
  }

  .content-list-item .button {
    width: 100%;
  }
}

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