:root {
  --orange: #f6821f;
  --orange-dark: #d4610a;
  --navy: #1b1d23;
  --text: #3d3d3d;
  --muted: #6b6b6b;
  --border: #e8e8e8;
  --bg: #ffffff;
  --bg-alt: #f6f6f6;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(27, 29, 35, 0.08);
  --font: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--orange-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code {
  font-family: var(--mono);
  font-size: 0.88em;
  padding: 0.15em 0.4em;
  border-radius: 4px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand__logo {
  border-radius: 6px;
}

.brand__fallback {
  font-size: 1.35rem;
  line-height: 1;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  margin-right: auto;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--navy);
}

/* buttons */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.btn small {
  font-weight: 500;
  font-size: 0.7rem;
  opacity: 0.85;
}

.btn--sm {
  padding: 0.45rem 0.9rem;
}

.btn--lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.btn--primary {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
}

.btn--primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--ghost {
  color: var(--navy);
  background: transparent;
  border-color: var(--border);
}

.btn--ghost:hover {
  background: var(--bg-alt);
  text-decoration: none;
}

/* hero */
.hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3.5rem;
  text-align: center;
}

.hero__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-dark);
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.15;
  font-weight: 700;
  color: var(--navy);
}

.hero__lead {
  margin: 0 auto 2rem;
  max-width: 36em;
  font-size: 1.05rem;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--muted);
}

/* sections */
.section {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.section--alt {
  background: var(--bg-alt);
  max-width: none;
}

.section--alt > * {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.section__title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--navy);
}

.section__desc {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 40em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.card {
  padding: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--navy);
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.download-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.download-btn {
  flex-shrink: 0;
}

.steps {
  margin: 1.5rem 0 0;
  padding-left: 1.25rem;
  max-width: 36em;
}

.steps li {
  margin-bottom: 1.25rem;
}

.steps li strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--navy);
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.detail-grid--single {
  grid-template-columns: 1fr;
  max-width: 40em;
}

.detail-block {
  padding: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.section--alt .detail-block {
  background: var(--bg);
}

.detail-block h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--navy);
}

.detail-lead {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.detail-note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.feature-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-list li {
  margin-bottom: 0.45rem;
}

.feature-list--compact {
  margin-top: 0.75rem;
  font-size: 0.88rem;
}

.mini-table,
.cap-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.mini-table th,
.mini-table td,
.cap-table th,
.cap-table td {
  padding: 0.5rem 0.65rem;
  text-align: left;
  border: 1px solid var(--border);
  vertical-align: top;
}

.mini-table th,
.cap-table th {
  background: var(--bg-alt);
  color: var(--navy);
  font-weight: 600;
}

.mini-table td,
.cap-table td {
  color: var(--muted);
}

.cap-table {
  margin-top: 1rem;
}

.site-footer {
  padding: 2rem 1.5rem 2.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0.25rem 0;
}

.site-footer__sub {
  font-size: 0.8rem;
}

@media (max-width: 640px) {
  .site-nav {
    display: none;
  }

  .hero {
    padding-top: 3rem;
  }
}
