:root {
  --ink: #10221d;
  --muted: #5a655f;
  --paper: #f4efe4;
  --paper-strong: rgba(255, 252, 245, 0.9);
  --line: rgba(16, 34, 29, 0.1);
  --forest: #143f36;
  --forest-deep: #0d2b25;
  --bronze: #c98d45;
  --bronze-soft: rgba(201, 141, 69, 0.14);
  --glow: rgba(20, 63, 54, 0.1);
  --radius: 26px;
  --shadow: 0 24px 60px rgba(16, 34, 29, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(201, 141, 69, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(20, 63, 54, 0.12), transparent 30%),
    linear-gradient(180deg, #f8f4eb 0%, var(--paper) 48%, #efe7d8 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.shell {
  width: min(1140px, calc(100vw - 32px));
  margin: 0 auto;
}

.topbar {
  padding: 24px 0 12px;
}

.topbar-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--forest-deep) 0%, var(--forest) 56%, var(--bronze) 100%);
  color: #f8f5ee;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  box-shadow: 0 12px 24px rgba(13, 43, 37, 0.18);
}

.brand-copy small,
.eyebrow,
.mini-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  color: var(--muted);
}

.brand-copy strong {
  display: block;
  font-size: 1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--forest-deep) 0%, var(--forest) 100%);
  color: #fbf7ef;
  box-shadow: 0 18px 38px rgba(20, 63, 54, 0.2);
}

.button.secondary {
  background: rgba(255, 252, 245, 0.7);
  border-color: var(--line);
}

.hero {
  padding: 28px 0 18px;
}

.hero.compact {
  padding-top: 12px;
}

.hero-grid,
.intake-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
}

.card {
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-copy,
.hero-rail,
.prose-card,
.info-card,
.intake-form,
.panel,
.feature,
.cta-card,
.price-card,
.sector-card {
  padding: 30px;
}

.hero-copy h1,
.prose-card h1,
.section-header h2,
.feature h2,
.panel h3,
.price-card h3,
.sector-card h3,
.stack-list h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.95;
}

.hero-copy h1,
.prose-card h1 {
  font-size: clamp(3rem, 5vw, 5.2rem);
  letter-spacing: -0.04em;
}

.feature h2,
.section-header h2,
.price-card h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}

.lead,
.prose-card p,
.section-header p,
.panel p,
.price-copy,
.feature p,
.sector-card p,
.footer p,
.field span,
.field input,
.field select,
.field textarea,
.checkbox span {
  line-height: 1.7;
}

.lead {
  margin: 20px 0 24px;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.06rem;
}

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

.metric-row {
  margin-top: 22px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 250, 241, 0.76);
  border: 1px solid var(--line);
}

.metric strong {
  display: block;
  font-size: 1.12rem;
}

.metric span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.stack-list {
  display: grid;
  gap: 16px;
}

.stack-list article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.stack-list article:first-child {
  border-top: 0;
  padding-top: 6px;
}

.stack-list span {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--bronze-soft);
  color: var(--forest);
  font-weight: 700;
}

.stack-list p,
.panel p,
.feature p,
.sector-card p,
.price-copy,
.bullet-list,
.role-list,
.legal-copy p {
  color: var(--muted);
}

.section {
  padding: 12px 0 10px;
}

.section-header {
  max-width: 62ch;
  margin-bottom: 18px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.split {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature.accent,
.cta-card {
  background:
    linear-gradient(180deg, rgba(20, 63, 54, 0.96), rgba(15, 48, 41, 0.92));
  color: #f8f5ee;
}

.feature.accent .eyebrow,
.cta-card .eyebrow,
.feature.accent p,
.cta-card p,
.feature.accent span,
.cta-card span {
  color: rgba(248, 245, 238, 0.8);
}

.bullet-list,
.role-list {
  margin: 16px 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 10px;
}

.role-list {
  list-style: none;
  padding-left: 0;
}

.role-list li {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid rgba(248, 245, 238, 0.14);
}

.role-list li:first-child {
  border-top: 0;
}

.role-list strong {
  color: #fff7ed;
}

.price-card.featured {
  border-color: rgba(201, 141, 69, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 248, 239, 0.92), rgba(251, 244, 232, 0.86));
}

.sector-card {
  min-height: 190px;
}

.prose-card,
.legal-copy {
  max-width: 78ch;
}

.intake-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: var(--ink);
  font-size: 0.92rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(16, 34, 29, 0.12);
  background: rgba(255, 252, 245, 0.9);
  color: var(--ink);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkbox input {
  margin-top: 4px;
}

.info-card {
  background:
    linear-gradient(180deg, rgba(255, 249, 239, 0.94), rgba(245, 236, 220, 0.82));
}

.footer {
  padding: 22px 0 30px;
}

.footer p,
.footer a {
  color: var(--muted);
  font-size: 0.95rem;
}

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

@media (max-width: 980px) {
  .hero-grid,
  .intake-grid,
  .split,
  .grid.two,
  .grid.three,
  .grid.four {
    grid-template-columns: 1fr;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .topbar-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    gap: 12px;
  }

  .hero-copy,
  .hero-rail,
  .prose-card,
  .info-card,
  .intake-form,
  .panel,
  .feature,
  .cta-card,
  .price-card,
  .sector-card {
    padding: 22px;
  }

  .form-grid.two {
    grid-template-columns: 1fr;
  }
}
