:root {
  --paper: #f5f0e6;
  --paper-deep: #ece3d3;
  --ink: #11251f;
  --muted: #5d6d66;
  --line: #d9cdbb;
  --card: #fffdf8;
  --green: #173f35;
  --green-soft: #dce9e4;
  --accent: #c26345;
  --accent-soft: #f3ddd2;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: inherit; }

.site-header,
main,
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
}

.wordmark {
  font: 700 22px/1 Georgia, "Times New Roman", serif;
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark span { color: var(--accent); }
.wordmark.small { font-size: 18px; }

.site-header nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}

.site-header nav a {
  text-decoration: none;
  color: var(--muted);
}

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

.nav-cta {
  padding: 9px 15px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink) !important;
}

.hero {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0 72px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 13ch;
  font: 700 clamp(2.7rem, 5.2vw, 4.6rem)/0.98 Georgia, "Times New Roman", serif;
  letter-spacing: -0.045em;
}

.lead {
  max-width: 48ch;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font: 600 14px/1 inherit;
  text-decoration: none;
  cursor: pointer;
}

.button:hover { filter: brightness(1.07); }

.button.ghost {
  background: transparent;
  color: var(--green);
}

.button.light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--green);
}

.pilot {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.pilot span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-visual { position: relative; }

.message-card {
  position: relative;
  padding: 18px;
  border-radius: 20px;
  background: var(--green);
  color: #edf7f2;
  box-shadow: 0 24px 60px -28px rgba(17, 37, 31, 0.65);
  transform: rotate(-1.2deg);
}

.message-card::after {
  content: "";
  position: absolute;
  inset: 10px -10px -10px 10px;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.message-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 4px 14px;
  color: #a9c7bb;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.message-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7ed3a8;
}

.message-time { margin-left: auto; }

.message-card pre {
  margin: 0;
  padding: 18px;
  border-radius: 12px;
  background: #0d2b23;
  color: #f2fbf7;
  font: 13.5px/1.85 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  white-space: pre-wrap;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.features article {
  padding: 34px 30px 38px 0;
}

.features article + article {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.num {
  display: block;
  margin-bottom: 24px;
  color: var(--accent);
  font: 600 12px/1 inherit;
  letter-spacing: 0.14em;
}

.features h2,
.flow h2,
.cta h2 {
  margin: 0 0 12px;
  font: 700 25px/1.15 Georgia, "Times New Roman", serif;
  letter-spacing: -0.02em;
}

.features p,
.flow small,
.cta p {
  margin: 0;
  color: var(--muted);
}

.flow {
  padding: 74px 0 64px;
}

.flow h2 { max-width: 18ch; font-size: 34px; }

.flow ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.flow li {
  position: relative;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.flow li > span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font: 700 13px/1 inherit;
}

.flow strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.flow small { font-size: 14px; }

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 10px 0 72px;
  padding: 38px 40px;
  border-radius: 20px;
  background: var(--green);
  color: var(--paper);
}

.cta h2 { margin-bottom: 8px; color: var(--paper); }
.cta p { color: #c9dcd4; }
.cta a { color: var(--paper); }

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

.site-footer a { color: var(--muted); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding-top: 34px; }
  .hero h1 { max-width: 15ch; }
  .features { grid-template-columns: 1fr; }
  .features article { padding: 28px 0; }
  .features article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .flow ol { grid-template-columns: repeat(2, 1fr); }
  .cta { align-items: flex-start; flex-direction: column; padding: 30px; }
}

@media (max-width: 560px) {
  .site-header, main, .site-footer { width: calc(100% - 32px); }
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero h1 { font-size: 2.6rem; }
  .flow ol { grid-template-columns: 1fr; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}
