:root {
  --bg: #080a0f;
  --bg-2: #101521;
  --panel: rgba(16, 20, 29, 0.88);
  --panel-strong: rgba(21, 26, 37, 0.94);
  --panel-soft: rgba(27, 33, 47, 0.82);
  --line: rgba(213, 191, 150, 0.16);
  --line-strong: rgba(213, 191, 150, 0.3);
  --text: #f7f1e6;
  --muted: #c5bdb1;
  --subtle: #93897a;
  --gold: #d7b47c;
  --gold-deep: #b37b4c;
  --sage: #95ae93;
  --mist: #8fb2c1;
  --good: #9fc5a8;
  --bad: #e8a7a2;
  --shadow: 0 22px 64px rgba(0, 0, 0, 0.34);
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --body: "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
  --mono: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--body);
  background:
    radial-gradient(circle at top left, rgba(114, 85, 51, 0.2), transparent 34%),
    radial-gradient(circle at 80% 10%, rgba(110, 137, 148, 0.12), transparent 28%),
    radial-gradient(circle at 50% 120%, rgba(63, 82, 64, 0.2), transparent 30%),
    linear-gradient(180deg, #131722 0%, #090b10 52%, #0d111a 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.035), transparent 22%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.012) 0,
      rgba(255, 255, 255, 0.012) 1px,
      transparent 1px,
      transparent 11px
    );
  pointer-events: none;
  opacity: 0.4;
}

a {
  color: inherit;
}

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

button,
input {
  font: inherit;
}

button {
  border: 0;
}

input {
  min-width: 0;
}

.hidden,
[hidden] {
  display: none !important;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(7, 9, 14, 0.7);
  border-bottom: 1px solid rgba(213, 191, 150, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  padding: 8px;
  background: linear-gradient(180deg, rgba(245, 233, 214, 0.12), rgba(245, 233, 214, 0.04));
  border: 1px solid rgba(213, 191, 150, 0.14);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-word {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.brand-tag {
  font-size: 0.68rem;
  color: var(--subtle);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

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

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid rgba(213, 191, 150, 0.14);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  border-color: rgba(213, 191, 150, 0.34);
  transform: translateY(-1px);
}

main {
  padding-bottom: 64px;
}

.hero-shell,
.page-shell {
  padding: 44px 0 28px;
}

.hero-grid,
.shell-grid,
.split-grid,
.surface-grid,
.metric-grid,
.timeline-grid,
.detail-grid,
.key-grid {
  display: grid;
  gap: 18px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  align-items: stretch;
}

.shell-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
}

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

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

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

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

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

.hero-copy,
.section-head {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(213, 191, 150, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-title,
.panel-title,
.display-title {
  margin: 0;
  font-family: var(--display);
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(3rem, 6.5vw, 5rem);
  line-height: 0.98;
  max-width: 12ch;
}

.section-title,
.display-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.panel-title {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.06;
}

.hero-copy p,
.section-copy,
.lead-copy,
.panel p,
.card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy p,
.section-copy,
.lead-copy {
  font-size: 1.02rem;
  max-width: 58ch;
}

.section {
  padding: 42px 0;
}

.section-tight {
  padding: 24px 0;
}

.section-head {
  margin-bottom: 22px;
}

.glass,
.card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 22%),
    linear-gradient(180deg, var(--panel) 0%, var(--panel-strong) 100%);
  box-shadow: var(--shadow);
}

.glass::before,
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.06), transparent 28%);
  pointer-events: none;
}

.panel,
.card {
  padding: 24px;
}

.panel-label {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-panel h2,
.panel h2,
.panel h3,
.card h3 {
  margin: 0;
  font-family: var(--display);
  letter-spacing: -0.03em;
}

.hero-panel h2,
.panel h2 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.08;
}

.panel h3,
.card h3 {
  font-size: 1.7rem;
  line-height: 1.1;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.btn:focus-visible,
button.btn:focus-visible,
input:focus-visible,
.nav a:focus-visible {
  outline: 2px solid rgba(215, 180, 124, 0.7);
  outline-offset: 2px;
}

.btn-primary {
  color: #171108;
  border-color: rgba(231, 208, 164, 0.36);
  background: linear-gradient(135deg, #f0d7a8, #cf9456 70%, #aa6a3d 100%);
  box-shadow: 0 16px 30px rgba(179, 123, 76, 0.22);
}

.btn-secondary {
  color: var(--text);
  border-color: rgba(213, 191, 150, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.btn-secondary:hover {
  border-color: var(--line-strong);
}

.btn[disabled],
button[disabled] {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
  box-shadow: none;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.hero-pills .status,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
}

.hero-pills .status {
  margin-top: 0;
}

.status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(213, 191, 150, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  line-height: 1.5;
}

.status.ok {
  border-color: rgba(159, 197, 168, 0.34);
  background: rgba(59, 79, 65, 0.22);
  color: var(--good);
}

.status.bad {
  border-color: rgba(232, 167, 162, 0.28);
  background: rgba(94, 44, 42, 0.22);
  color: var(--bad);
}

.key,
.metric,
.status-row,
.list-row,
.timeline-step,
.feature-note {
  border-radius: 20px;
  border: 1px solid rgba(213, 191, 150, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.key,
.metric {
  padding: 16px;
}

.key span,
.metric span {
  display: block;
  margin-bottom: 6px;
  color: var(--subtle);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.key strong,
.metric strong {
  display: block;
  font-size: 1.12rem;
  line-height: 1.3;
}

.metric p,
.key p {
  margin: 10px 0 0;
  font-size: 0.92rem;
}

.metric strong {
  font-size: 1.45rem;
}

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

.step-card {
  padding: 20px 16px 18px;
  border-radius: 24px;
  border: 1px solid rgba(213, 191, 150, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(20, 24, 34, 0.96));
  box-shadow: var(--shadow);
}

.step-card.is-live {
  border-color: rgba(215, 180, 124, 0.36);
  background: linear-gradient(180deg, rgba(215, 180, 124, 0.08), rgba(20, 24, 34, 0.96));
}

.step-card.is-guided {
  border-color: rgba(143, 178, 193, 0.2);
}

.step-card.is-return {
  border-color: rgba(149, 174, 147, 0.2);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 700;
}

.step-card h3 {
  margin: 14px 0 10px;
  font-family: var(--display);
  font-size: 1.24rem;
  line-height: 1.08;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.step-hint,
.mini-note,
.footer-note {
  color: var(--subtle);
  font-size: 0.88rem;
  line-height: 1.6;
}

.step-hint {
  display: block;
  margin-top: 10px;
}

.status-list,
.list-grid,
.stack {
  display: grid;
  gap: 12px;
}

.status-row,
.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
}

.status-row span,
.list-row span {
  color: var(--muted);
  font-size: 0.94rem;
}

.status-row strong,
.list-row strong {
  font-size: 0.98rem;
  text-align: right;
}

.field-label {
  display: block;
  margin: 18px 0 10px;
  color: var(--subtle);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.name-shell {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px;
  border-radius: 20px;
  background: linear-gradient(180deg, #f0e7d7 0%, #ddcdb6 100%);
  border: 1px solid rgba(82, 67, 46, 0.12);
}

.name-shell input {
  flex: 1 1 auto;
  border: 0;
  background: transparent;
  color: #24180e;
  padding: 12px 14px;
  font-size: 1rem;
  font-weight: 600;
}

.name-shell input::placeholder {
  color: rgba(36, 24, 14, 0.48);
}

.name-suffix {
  padding-right: 12px;
  color: rgba(66, 50, 33, 0.78);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.debug,
pre {
  margin: 14px 0 0;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(213, 191, 150, 0.12);
  background: rgba(7, 9, 14, 0.75);
  color: #e6ddce;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 260px;
  overflow: auto;
}

.timeline-step {
  padding: 22px;
  box-shadow: var(--shadow);
}

.timeline-step .step-number {
  margin-bottom: 14px;
}

.timeline-step h3 {
  margin: 0 0 10px;
}

.timeline-step p {
  margin: 0;
}

.timeline-step .mini-note {
  display: block;
  margin-top: 12px;
}

.callout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.callout-copy {
  max-width: 720px;
}

.callout-copy h3 {
  margin: 0 0 10px;
}

.footer-note {
  margin-top: 20px;
}

.animate-up {
  animation: rise 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.animate-up:nth-child(2) {
  animation-delay: 80ms;
}

.animate-up:nth-child(3) {
  animation-delay: 140ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .hero-grid,
  .shell-grid,
  .timeline-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 760px) {
  .container {
    width: min(100%, calc(100% - 24px));
  }

  .topbar-inner {
    min-height: 0;
    padding: 14px 0 16px;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
  }

  .nav a {
    flex: 1 1 140px;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .surface-grid,
  .metric-grid,
  .timeline-grid,
  .detail-grid,
  .key-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .action-row .btn,
  .action-row button {
    width: 100%;
  }

  .callout {
    flex-direction: column;
  }

  .status-row,
  .list-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .status-row strong,
  .list-row strong {
    text-align: left;
  }
}


.minimal-grid{display:grid;grid-template-columns:minmax(0,1.2fr) 360px;gap:16px;align-items:start}.minimal-hero .hero-copy h1{max-width:10ch}.hero-compact{max-width:42ch}.summary-panel{padding:24px}.summary-list.compact{display:grid;gap:12px}.summary-list.compact>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid rgba(213,191,150,.08)}.summary-list.compact>div:last-child{border-bottom:0}.mini-stepper{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.mini-step{padding:16px 18px;border-radius:22px;border:1px solid rgba(213,191,150,.12);background:rgba(255,255,255,.03);display:flex;align-items:center;gap:12px}.mini-step span{width:28px;height:28px;border-radius:999px;display:grid;place-items:center;background:rgba(215,180,124,.12);color:var(--gold);font-size:.8rem}.mini-step strong{font-size:.95rem}.mini-step.active{border-color:rgba(213,191,150,.28);background:rgba(255,255,255,.05)}.narrow-shell{max-width:760px}.compact-name{margin:12px 0 14px}.compact-actions{margin-top:14px}.minimal-dashboard{padding-top:36px}.dashboard-shell{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px}.sidebar{padding:18px}.side-link{display:block;padding:12px 14px;border-radius:14px;text-decoration:none;color:var(--muted);margin-top:8px;background:rgba(255,255,255,.02);border:1px solid transparent}.side-link.active,.side-link:hover{color:var(--text);border-color:rgba(213,191,150,.18);background:rgba(255,255,255,.05)}.dashboard-main{display:grid;gap:18px}.dashboard-head h1{margin:0;font-family:var(--display);font-size:clamp(2rem,4vw,3rem);letter-spacing:-.04em}.metric-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.metric-card{padding:22px;border-radius:22px;border:1px solid rgba(213,191,150,.12);background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.015));box-shadow:var(--shadow)}.metric-card span{display:block;color:var(--subtle);font-size:.82rem;text-transform:uppercase;letter-spacing:.12em}.metric-card strong{display:block;margin-top:8px;font-family:var(--display);font-size:1.9rem}.dashboard-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:16px}.simple-panel{padding:24px}.simple-panel h3{margin:0;font-family:var(--display);font-size:1.6rem;letter-spacing:-.03em}@media (max-width:980px){.minimal-grid,.dashboard-shell,.dashboard-grid,.metric-strip,.mini-stepper{grid-template-columns:1fr}.sidebar{order:2}}
