:root {
  color-scheme: light;
  --bg: #f7f4ef;
  --paper: #fffdf8;
  --ink: #20242a;
  --muted: #666f78;
  --line: #d8d0c4;
  --accent: #0f766e;
  --accent-dark: #0b4f4a;
  --warm: #b45309;
  --shadow: 0 18px 50px rgba(40, 35, 25, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(120deg, rgba(15, 118, 110, 0.12), transparent 34%),
    linear-gradient(300deg, rgba(180, 83, 9, 0.12), transparent 32%),
    var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

code {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.12rem 0.34rem;
  font-size: 0.92em;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  margin-top: 0.18rem;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav a,
.button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.54);
  padding: 0.7rem 0.9rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 48px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  align-items: end;
  min-height: 430px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 58px 0 44px;
}

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

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 9.5em;
  margin-bottom: 1rem;
  font-size: clamp(3.6rem, 12vw, 8.5rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.65;
}

.status-panel {
  display: grid;
  gap: 0.9rem;
}

.status-panel > div,
.variant-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: var(--shadow);
}

.status-panel > div {
  padding: 1.1rem;
}

.status-panel span {
  display: block;
  font-size: 2rem;
  font-weight: 850;
}

.status-panel small {
  color: var(--muted);
  font-weight: 700;
}

.section-head,
.workflow {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 34px 0 18px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.variant-card {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.variant-card:hover {
  border-color: rgba(15, 118, 110, 0.55);
  box-shadow: 0 22px 58px rgba(15, 72, 68, 0.16);
  transform: translateY(-2px);
}

.variant-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.35rem;
}

.variant-card p,
.empty-state p,
.workflow li {
  color: var(--muted);
  line-height: 1.55;
}

.variant-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.3rem;
}

.variant-meta span {
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--accent-dark);
  padding: 0.28rem 0.58rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 1.2rem;
}

.workflow {
  align-items: start;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.workflow ol {
  width: min(620px, 100%);
  margin: 0;
  padding-left: 1.25rem;
}

.workflow li + li {
  margin-top: 0.55rem;
}

@media (max-width: 760px) {
  .topbar,
  .section-head,
  .workflow {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
  }

  .nav a {
    flex: 1;
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 42px 0 34px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 5.4rem);
  }
}
