:root {
  color-scheme: light;
  --bg: #f8faf7;
  --panel: #ffffff;
  --text: #17211c;
  --muted: #607169;
  --line: #d9e2dc;
  --accent: #116a51;
  --accent-dark: #0b4938;
  --highlight: #e8f4ee;
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--accent);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 250, 247, 0.92);
}

.brand {
  color: var(--text);
  font-size: 20px;
  font-weight: 750;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

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

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(32px, 6vw, 78px);
  min-height: 520px;
  align-items: center;
  padding: clamp(56px, 9vw, 116px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(232, 244, 238, 0.94), rgba(255, 255, 255, 0.74)),
    repeating-linear-gradient(90deg, rgba(17, 106, 81, 0.08) 0 1px, transparent 1px 84px),
    repeating-linear-gradient(0deg, rgba(17, 106, 81, 0.07) 0 1px, transparent 1px 84px);
}

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

.hero-visual {
  overflow: hidden;
  border: 1px solid rgba(17, 106, 81, 0.2);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(23, 33, 28, 0.16);
}

.visual-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  padding: 14px 16px;
}

.visual-toolbar span:last-child {
  color: var(--accent);
}

.org-preview {
  position: relative;
  display: grid;
  gap: 34px;
  padding: 34px 26px 38px;
}

.org-preview::before,
.org-preview::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 2px;
  background: #9aa8b6;
  transform: translateX(-50%);
}

.org-preview::before {
  top: 116px;
  height: 34px;
}

.org-preview::after {
  top: 236px;
  height: 30px;
  border-left: 2px dashed #a16207;
  background: transparent;
}

.preview-node {
  display: grid;
  min-height: 76px;
  align-items: center;
  border: 1px solid #c7d2df;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px 14px;
  box-shadow: 0 10px 24px rgba(23, 33, 28, 0.08);
}

.preview-node-root {
  grid-template-columns: 40px 1fr;
  width: min(280px, 100%);
  justify-self: center;
  background: #dbeafe;
}

.preview-node img {
  width: 30px;
  height: 30px;
  opacity: 0.7;
}

.preview-node strong,
.preview-node span {
  display: block;
}

.preview-node strong {
  font-size: 14px;
}

.preview-node span {
  color: var(--muted);
  font-size: 12px;
}

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

.preview-branch-small {
  width: min(330px, 100%);
  justify-self: center;
}

.preview-node.green {
  background: #dcfce7;
}

.preview-node.amber {
  background: #fef3c7;
}

.preview-node.pink {
  background: #fce7f3;
}

.preview-node.blue {
  background: #e0f2fe;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(44px, 8vw, 88px);
  line-height: 1;
  letter-spacing: 0;
}

.lede {
  max-width: 660px;
  margin: 24px 0 0;
  color: #31433a;
  font-size: clamp(19px, 2.4vw, 26px);
  line-height: 1.35;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 750;
  padding: 12px 18px;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--accent-dark);
}

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

.content-grid article {
  min-height: 220px;
  background: var(--panel);
  padding: clamp(24px, 4vw, 42px);
}

.workflow-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 72px);
  padding: clamp(44px, 7vw, 76px) clamp(20px, 5vw, 72px);
  background: #ffffff;
}

.workflow-section h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.workflow-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.workflow-list li > span {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent-dark);
  font-weight: 800;
}

.workflow-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.privacy-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(34px, 6vw, 58px) clamp(20px, 5vw, 72px);
  background: var(--highlight);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.privacy-band div {
  max-width: 760px;
}

.privacy-band h2 {
  font-size: clamp(26px, 4vw, 38px);
}

h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0;
}

p {
  margin: 0 0 18px;
}

.legal-page,
.contact-page {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 82px;
}

.legal-page h1,
.contact-page h1 {
  font-size: clamp(36px, 6vw, 58px);
  margin-bottom: 12px;
}

.notice {
  border-left: 4px solid var(--accent);
  background: var(--highlight);
  padding: 18px 20px;
  margin-bottom: 30px;
  font-weight: 650;
}

.email-link {
  font-size: 22px;
  font-weight: 750;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer p {
  margin: 0;
}

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

  nav {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 460px;
  }

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

  .hero-visual {
    display: none;
  }

  .workflow-section {
    grid-template-columns: 1fr;
  }

  .privacy-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .privacy-band .button {
    width: 100%;
  }
}
