:root {
  --ink: #1c1915;
  --muted: #5c5348;
  --line: #e3d8c8;
  --paper: #f6f1e8;
  --card: #fffaf3;
  --copper: #b85a28;
  --sun: #e8a04a;
  --sans: Outfit, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(232, 160, 74, 0.28), transparent 60%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: white;
  padding: 0.4rem 0.7rem;
}

.skip:focus {
  top: 0.6rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 6vw;
  background: rgba(246, 241, 232, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.mark {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.sun {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 4px rgba(232, 160, 74, 0.35);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

main {
  width: min(1040px, calc(100% - 10vw));
  margin: 0 auto;
  padding-bottom: 4rem;
}

.hero {
  padding: 4.5rem 0 2rem;
}

.kicker {
  margin: 0 0 0.8rem;
  color: var(--copper);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 16em;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
}

.lede {
  max-width: 42rem;
  font-size: 1.2rem;
  color: var(--muted);
}

.status {
  max-width: 40rem;
  margin-top: 1.5rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--sun);
  background: rgba(255, 250, 243, 0.8);
}

section {
  padding-top: 2.5rem;
  scroll-margin-top: 4.5rem;
}

h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.section-lead {
  max-width: 40rem;
  color: var(--muted);
}

.flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.5rem 0 0;
  padding: 0;
}

.flow li,
.card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1rem 1rem 1.1rem;
}

.step {
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8rem;
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
}

.flow p,
.card p,
.steps p,
.plain {
  margin: 0;
}

.addr {
  font-variant-numeric: tabular-nums;
  font-size: 0.92em;
  background: #efe6d8;
  padding: 0.05rem 0.28rem;
  overflow-wrap: anywhere;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.card ol,
.steps {
  margin: 0.6rem 0 0;
  padding-left: 1.15rem;
}

.card li + li,
.steps li + li {
  margin-top: 0.45rem;
}

.label {
  margin: 0 0 0.2rem;
  color: var(--copper);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.soon {
  background: #1c1915;
  color: #f6f1e8;
  border-color: #1c1915;
}

.soon .label {
  color: var(--sun);
}

.note {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.soon .note,
.card .note {
  color: inherit;
  opacity: 0.8;
}

.steps {
  max-width: 42rem;
}

.steps h3 {
  margin-top: 0.15rem;
}

.mock-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0.7rem 0.8rem;
  background: #f3ecdf;
  border: 1px solid var(--line);
}

.mock-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.28rem 0;
}

.box {
  width: 0.85rem;
  height: 0.85rem;
  border: 1.5px solid currentColor;
  display: inline-block;
  flex: 0 0 auto;
}

.box.on {
  background: var(--copper);
  border-color: var(--copper);
  box-shadow: inset 0 0 0 2px #fffaf3;
}

.mock {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.mock th,
.mock td {
  text-align: left;
  padding: 0.4rem 0.35rem;
  border-bottom: 1px solid var(--line);
}

.mock th {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.themes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.theme {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 0.7rem;
}

.theme h3 {
  margin: 0.75rem 0.3rem 0.15rem;
}

.theme p {
  margin: 0 0.3rem 0.4rem;
  color: var(--muted);
}

.preview {
  height: 148px;
  overflow: hidden;
  padding: 0.7rem;
}

.theme-standard .preview {
  background: #0b0f12;
  color: #e8eef3;
}

.std-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}

.std-top span {
  background: #151c23;
  border: 1px solid #2a3540;
  padding: 0.45rem 0.4rem;
  font-variant-numeric: tabular-nums;
}

.std-top small {
  display: block;
  color: #8b9aab;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.std-chart {
  height: 46px;
  margin-top: 0.45rem;
  background:
    linear-gradient(#3ecf8e, #3ecf8e) 0 70% / 100% 2px no-repeat,
    linear-gradient(180deg, transparent 40%, rgba(62, 207, 142, 0.35)),
    #12181e;
  clip-path: polygon(0 80%, 18% 60%, 36% 68%, 55% 30%, 72% 42%, 100% 18%, 100% 100%, 0 100%);
}

.theme-lcars .preview {
  background: #000;
  color: #c9f;
  font-family: "Arial Narrow", sans-serif;
  letter-spacing: 0.04em;
}

.lcars-bar {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 28px;
}

.lcars-bar i,
.lcars-bar b {
  display: block;
  height: 18px;
}

.lcars-bar .b { width: 22%; background: #89f; }
.lcars-bar .o { width: 8%; background: #f80; }
.lcars-bar .v { flex: 1; background: #c9f; }
.lcars-bar b {
  width: auto;
  padding: 0 0.35rem;
  background: transparent;
  color: #f80;
  font-size: 0.72rem;
  line-height: 18px;
}
.lcars-bar .r { width: 8%; background: #c44; }

.lcars-body {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.lcars-body span {
  flex: 1;
  background: #f80;
  color: #000;
  padding: 0.7rem 0.4rem;
  font-size: 1.4rem;
}

.theme-jarvis .preview {
  background:
    linear-gradient(rgba(40, 120, 190, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 120, 190, 0.18) 1px, transparent 1px),
    #02060c;
  background-size: 16px 16px, 16px 16px, auto;
  color: #9ad7ff;
  text-align: center;
}

.jarvis-hud {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: #3ec6ff;
}

.dial {
  width: 78px;
  height: 78px;
  margin: 0.45rem auto 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(#3ec6ff 0 70%, #12304a 0);
  box-shadow: 0 0 0 6px #02060c inset;
}

.dial span {
  font-variant-numeric: tabular-nums;
}

.theme-expanse .preview {
  background: #12100e;
  color: #f0d7a2;
  padding: 0;
}

.stripe {
  height: 12px;
  background: repeating-linear-gradient(-45deg, #141210 0 8px, #e0b000 8px 16px);
}

.roci {
  padding: 0.45rem 0.7rem 0;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.roci em {
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #b08958;
  font-size: 0.75rem;
}

.seg {
  margin: 0.55rem 0.7rem;
  background: #0e0c0a;
  color: #e39b2b;
  border: 3px solid #3a332c;
  font-family: "Courier New", monospace;
  font-size: 1.6rem;
  letter-spacing: 0.18em;
  padding: 0.25rem 0.4rem;
}

.plain {
  max-width: 40rem;
  padding-left: 1.15rem;
}

.plain li + li {
  margin-top: 0.4rem;
}

footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 6vw 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

footer p {
  width: min(1040px, 100%);
  margin: 0 auto;
}

a:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

@media (max-width: 800px) {
  .flow,
  .split,
  .themes {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }
}
