:root {
  --ink: #18302d;
  --muted: #60716d;
  --paper: #f7f4ed;
  --panel: #fffdf8;
  --line: #ded8cc;
  --mint: #9fd7c3;
  --teal: #1f6b63;
  --coral: #df7b64;
  --gold: #e1b04c;
  --shadow: 0 24px 70px rgb(24 48 45 / 16%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 24px;
}

.brand,
nav,
.hero-actions,
.tag-row,
.site-footer {
  align-items: center;
  display: flex;
}

.brand {
  font-weight: 750;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: var(--paper);
  display: inline-flex;
  font-size: 0.78rem;
  height: 34px;
  justify-content: center;
  letter-spacing: 0;
  width: 34px;
}

nav {
  color: var(--muted);
  font-size: 0.95rem;
  gap: 22px;
}

nav a:hover {
  color: var(--ink);
}

.nav-button,
.button {
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.nav-button {
  color: var(--ink);
  padding: 11px 14px;
}

.hero {
  display: grid;
  gap: 52px;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  margin: 0 auto;
  max-width: 1180px;
  min-height: calc(100svh - 112px);
  padding: 50px 24px 90px;
  place-items: center;
}

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

.eyebrow {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(3.4rem, 5.7vw, 5rem);
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 26px;
}

.lede {
  color: #40534f;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  margin-bottom: 32px;
  max-width: 590px;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 17px 20px;
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary {
  background: transparent;
}

.workspace-preview {
  background: #ede7dc;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  width: min(100%, 620px);
}

.preview-topbar {
  align-items: center;
  background: var(--ink);
  display: flex;
  gap: 7px;
  height: 42px;
  padding: 0 18px;
}

.preview-topbar span {
  background: var(--gold);
  border-radius: 999px;
  height: 10px;
  width: 10px;
}

.preview-topbar span:nth-child(2) {
  background: var(--coral);
}

.preview-topbar span:nth-child(3) {
  background: var(--mint);
}

.preview-content {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.preview-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.preview-panel p {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  margin-bottom: 7px;
}

.preview-panel h2,
.preview-panel h3 {
  font-size: clamp(1rem, 2.4vw, 1.28rem);
  letter-spacing: 0;
  line-height: 1.18;
  margin-bottom: 0;
}

.plan-summary {
  align-items: flex-start;
  background: #d9efe6;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.status-pill,
.tag-row span {
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 7px 10px;
}

.status-pill {
  background: var(--coral);
  color: #fffdf8;
}

.progress-track {
  background: #e4ded4;
  border-radius: 999px;
  height: 10px;
  margin-top: 18px;
  overflow: hidden;
}

.progress-track span {
  background: var(--teal);
  display: block;
  height: 100%;
  width: 68%;
}

.tag-row {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag-row span {
  background: #f0d7c7;
}

.metric-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.metric-row div {
  background: #f4efe6;
  border-radius: 8px;
  padding: 16px;
}

.metric-row strong,
.metric-row span {
  display: block;
}

.metric-row strong {
  font-size: 2rem;
  line-height: 1;
}

.metric-row span {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 6px;
}

.section,
.security-band {
  margin: 0 auto;
  max-width: 1180px;
  padding: 72px 24px;
}

.section-heading {
  max-width: 760px;
}

.section h2,
.security-band h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 34px;
}

.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid article {
  border-top: 2px solid var(--ink);
  padding: 22px 4px 0;
}

.feature-number {
  color: var(--coral);
  display: block;
  font-weight: 850;
  margin-bottom: 30px;
}

.feature-grid h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature-grid p,
.security-band p {
  color: var(--muted);
}

.security-band {
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  gap: 32px;
  grid-template-columns: 0.9fr 1.1fr;
  margin-bottom: 48px;
  max-width: none;
  padding-left: max(24px, calc((100vw - 1132px) / 2));
  padding-right: max(24px, calc((100vw - 1132px) / 2));
}

.security-band .eyebrow {
  color: var(--mint);
}

.security-band h2 {
  margin-bottom: 0;
}

.security-band p {
  color: #d9e5e1;
  font-size: 1.12rem;
  margin-bottom: 0;
}

.site-footer {
  color: var(--muted);
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 24px 32px;
}

.site-footer a {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 860px) {
  .site-header,
  nav {
    align-items: flex-start;
  }

  .site-header,
  .hero,
  .security-band {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero {
    gap: 36px;
    min-height: auto;
    padding-top: 34px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 18px;
  }

  nav {
    gap: 12px;
  }

  h1 {
    font-size: 3.2rem;
  }

  .hero,
  .section,
  .security-band {
    padding-left: 18px;
    padding-right: 18px;
  }

  .plan-summary {
    display: block;
  }

  .status-pill {
    display: inline-flex;
    margin-top: 14px;
  }

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

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