:root {
  --ink: #17201b;
  --muted: #66736d;
  --paper: #f5f1e8;
  --surface: #fffaf0;
  --green: #0d7f69;
  --green-soft: #dff7ec;
  --gold: #c6932d;
  --coral: #d85d50;
  --line: rgba(23, 32, 27, 0.13);
  --shadow: 0 28px 70px rgba(37, 31, 20, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 6%, rgba(13, 127, 105, 0.12), transparent 32%),
    linear-gradient(180deg, #fffaf0 0%, #f3efe5 100%);
  font-family: Inter, Arial, sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(23, 32, 27, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 27, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
}
a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.68; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 16px; font-size: clamp(4rem, 10vw, 8.6rem); line-height: 0.88; letter-spacing: 0; }
h2 { margin-bottom: 14px; font-size: clamp(2rem, 3.6vw, 4rem); line-height: 1; letter-spacing: 0; }
h3 { margin-bottom: 8px; font-size: clamp(1.1rem, 1.6vw, 1.42rem); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 250, 240, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand, .site-nav { display: flex; align-items: center; gap: 12px; }
.brand { font-weight: 800; }
.brand-mark { width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 6px; background: linear-gradient(135deg, var(--green-soft), #fff 52%, #f4d28b); }
.site-nav { gap: clamp(14px, 2vw, 28px); color: #4f5d56; font-size: 0.93rem; font-weight: 800; }
.site-nav a:hover { color: var(--green); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  gap: clamp(32px, 6vw, 90px);
  align-items: end;
  padding: clamp(70px, 10vw, 132px) clamp(20px, 5vw, 72px) clamp(58px, 8vw, 104px);
}
.hero-main { max-width: 760px; }
.hero-copy { max-width: 620px; font-size: clamp(1rem, 1.35vw, 1.16rem); }
.eyebrow { margin-bottom: 14px; color: var(--green); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}
.button.primary { color: #fff; background: var(--green); border-color: var(--green); }
.button.secondary { background: rgba(255, 255, 255, 0.55); }

.notebook {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(13, 127, 105, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(13, 127, 105, 0.08) 1px, transparent 1px),
    rgba(255, 255, 255, 0.62);
  background-size: 28px 28px;
  box-shadow: var(--shadow);
}
.notebook-tabs { display: flex; gap: 8px; margin-bottom: 28px; }
.notebook-tabs span { width: 42px; height: 8px; border-radius: 999px; background: var(--green); opacity: 0.28; }
.notebook h2 { font-size: clamp(1.35rem, 2.2vw, 2rem); }
.notebook dl { display: grid; gap: 1px; margin: 24px 0 0; border: 1px solid var(--line); background: var(--line); }
.notebook div { display: flex; justify-content: space-between; gap: 18px; padding: 16px; background: rgba(255, 250, 240, 0.82); }
.notebook dt { color: var(--muted); font-weight: 700; }
.notebook dd { margin: 0; color: var(--ink); font-size: 1.5rem; font-weight: 800; }

.statement, .section, .cta { padding: clamp(58px, 8vw, 108px) clamp(20px, 5vw, 72px); }
.statement { border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.46); }
.statement h2 { max-width: 980px; }
.statement p:last-child { max-width: 720px; font-size: 1.04rem; }
.section-heading { max-width: 880px; margin-bottom: clamp(30px, 5vw, 58px); }
.section-heading.compact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.62fr); gap: clamp(28px, 5vw, 72px); max-width: none; }

.case-list { display: grid; gap: 12px; }
.case-list article {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
}
.case-list span, .step-table span, .screen-deck span { color: var(--gold); font-weight: 800; }
.case-list p { max-width: 840px; margin-bottom: 0; }

.use-cases { background: #18211c; color: #fffaf0; }
.use-cases p { color: #b8c5be; }
.use-cases .eyebrow { color: #9cffdf; }
.step-table { border-top: 1px solid rgba(255, 250, 240, 0.16); }
.step-table article {
  display: grid;
  grid-template-columns: 56px minmax(0, 0.8fr) minmax(260px, 0.7fr);
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 250, 240, 0.16);
}
.step-table h3, .step-table p { margin-bottom: 0; }

.workflow { background: rgba(255, 255, 255, 0.38); border-top: 1px solid var(--line); }
.screen-deck { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.screen-deck article { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: 0 18px 48px rgba(37, 31, 20, 0.1); }
.screen-deck img { width: 100%; aspect-ratio: 16 / 10; display: block; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--line); background: #fff; }
.screen-deck div { padding: 22px; }

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  border-top: 1px solid var(--line);
}
.cta p { max-width: 680px; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px clamp(20px, 5vw, 72px); color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--line); }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 520ms ease, transform 520ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.form-section { padding-top: 0; }
.submission-form { max-width: 920px; display: grid; gap: 22px; padding: clamp(22px, 4vw, 40px); border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, 0.52); box-shadow: var(--shadow); }
.submission-form label { display: grid; gap: 10px; font-weight: 800; }
.submission-form input, .submission-form textarea { width: 100%; border: 1px solid rgba(23, 32, 27, 0.2); border-radius: 8px; padding: 14px 16px; color: var(--ink); background: rgba(255, 255, 255, 0.66); font: inherit; line-height: 1.5; }
.submission-form input:focus, .submission-form textarea:focus { outline: 3px solid rgba(13, 127, 105, 0.18); border-color: var(--green); }

@media (max-width: 980px) {
  .hero, .section-heading.compact, .screen-deck, .cta { grid-template-columns: 1fr; }
  .step-table article { grid-template-columns: 56px minmax(0, 1fr); }
  .step-table p { grid-column: 2; }
}
@media (max-width: 680px) {
  .site-header { position: static; align-items: flex-start; flex-direction: column; }
  .site-nav { width: 100%; overflow-x: auto; }
  .case-list article { grid-template-columns: 1fr; }
  .notebook div { display: grid; }
  .button { width: 100%; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}
