:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #5f666d;
  --line: #dfe4e8;
  --surface: #ffffff;
  --soft: #f4f7f8;
  --accent: #0b7a59;
  --accent-dark: #07543f;
  --gold: #f6b342;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--surface);
  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;
}

.site-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 32px;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 20px;
  font-weight: 800;
  gap: 10px;
  text-decoration: none;
}

.mark {
  align-items: center;
  background: var(--ink);
  border-radius: 50%;
  color: white;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

nav {
  display: flex;
  gap: 22px;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.hero {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
  min-height: calc(100vh - 72px);
  padding: 72px 8vw;
}

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

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  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(44px, 7vw, 86px);
  line-height: 0.95;
  margin-bottom: 26px;
}

h2 {
  font-size: 34px;
  line-height: 1.08;
  margin-bottom: 18px;
}

h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.lead {
  color: var(--muted);
  font-size: 20px;
  max-width: 650px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  border: 1px solid var(--ink);
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  padding: 13px 18px;
  text-decoration: none;
}

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

.button.secondary {
  background: white;
  color: var(--ink);
}

.panel {
  background:
    linear-gradient(145deg, rgba(246, 179, 66, 0.16), transparent 40%),
    var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.chat-row {
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 13px 14px;
}

.chat-row.assistant {
  background: white;
  border: 1px solid var(--line);
  color: var(--muted);
}

.chat-row.user {
  background: var(--accent);
  color: white;
  margin-left: 32px;
}

.summary {
  background: var(--ink);
  border-radius: 8px;
  color: white;
  display: grid;
  gap: 4px;
  margin-top: 18px;
  padding: 16px;
}

.summary span {
  color: #c9d1d6;
  font-size: 13px;
}

.section {
  border-top: 1px solid var(--line);
  padding: 70px 8vw;
}

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

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.card p,
.document p,
.use-list {
  color: var(--muted);
}

.step {
  color: var(--accent);
  display: inline-block;
  font-weight: 900;
  margin-bottom: 18px;
}

.split {
  align-items: start;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
}

.use-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.document {
  margin: 0 auto;
  max-width: 820px;
  min-height: calc(100vh - 145px);
  padding: 72px 28px;
}

.document h1 {
  font-size: clamp(38px, 7vw, 64px);
}

.document h2 {
  font-size: 22px;
  margin-top: 34px;
}

.contact-box {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.contact-box span {
  color: var(--muted);
  font-weight: 750;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 13px;
  gap: 18px;
  justify-content: space-between;
  padding: 24px 32px;
}

@media (max-width: 840px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    gap: 18px;
    padding: 20px;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero,
  .grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 52px 24px;
  }

  .section {
    padding: 52px 24px;
  }
}
