:root {
  --ink: #17212b;
  --muted: #64717f;
  --line: #d8dee6;
  --surface: #ffffff;
  --band: #f5f7fa;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --warning: #fff7e6;
  --warning-border: #e2bf74;
  --error: #fff0f0;
  --error-border: #d48282;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--band);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: var(--accent-dark);
}

.topbar {
  align-items: center;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 24px;
}

.brand {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 18px;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

main {
  margin: 0 auto;
  max-width: 1180px;
  padding: 28px 20px 48px;
}

.hero {
  align-items: center;
  background: #e8f3f1;
  border: 1px solid #cddfdb;
  display: grid;
  min-height: 420px;
  padding: 48px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.08;
  margin: 0 0 18px;
  max-width: 760px;
}

.hero p {
  color: #33404b;
  font-size: 18px;
  max-width: 720px;
}

.eyebrow {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button,
button {
  background: white;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent-dark);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 700;
  justify-content: center;
  padding: 10px 14px;
  text-decoration: none;
}

.button.primary,
button {
  background: var(--accent);
  color: white;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.narrow {
  max-width: 760px;
}

.section-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

h1,
h2 {
  line-height: 1.2;
  margin: 0 0 16px;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 22px;
}

.stack {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 6px;
}

label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
textarea {
  border: 1px solid #b9c2cc;
  border-radius: 6px;
  font: inherit;
  padding: 10px 12px;
  width: 100%;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 13px;
}

.feature-grid,
.split,
.stats {
  display: grid;
  gap: 20px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.feature-grid article,
.stats article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats strong {
  display: block;
  font-size: 30px;
}

.stats span,
.muted,
.row-link small {
  color: var(--muted);
}

.list {
  display: grid;
  gap: 10px;
}

.row-link {
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  display: block;
  padding-bottom: 10px;
  text-decoration: none;
}

.row-link small {
  display: block;
  font-size: 13px;
}

.flash {
  border-bottom: 1px solid var(--line);
  padding: 12px 24px;
}

.flash.warning {
  background: var(--warning);
  border-color: var(--warning-border);
}

.flash.error {
  background: var(--error);
  border-color: var(--error-border);
}

.flash.success {
  background: #e9f8ee;
  border-color: #91c7a1;
}

.steps {
  margin-bottom: 0;
}

code {
  background: #eef1f4;
  border-radius: 4px;
  padding: 2px 4px;
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 18px;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    padding: 28px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .feature-grid,
  .split,
  .stats {
    grid-template-columns: 1fr;
  }
}
