/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

/* Self-hosted fonts (files added in Task 5) */
@font-face {
  font-family: "Source Serif Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/source-serif-pro-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif Pro";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/source-serif-pro-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif Pro";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/source-serif-pro-bold.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/inter-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/inter-medium.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/inter-semibold.woff2") format("woff2");
}

  :root {
    --bg: #ffffff;
    --tint: #faf8f3;
    --ink: #1a1a1a;
    --muted: #4a4a4a;
    --soft: #888;
    --hairline: #e6e0d4;
    --accent: #b89060;
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: "Source Serif Pro", "Source Serif 4", "Charter", "Iowan Old Style", Georgia, serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; }
  .ui { font-family: "Inter", "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, sans-serif; }
  .container { max-width: 1080px; margin: 0 auto; padding: 0 32px; }

  /* Nav */
  header.site {
    padding: 22px 0;
    border-bottom: 1px solid var(--hairline);
  }
  header.site .row { display: flex; justify-content: space-between; align-items: center; }
  .brand {
    font-family: "Source Serif Pro", Georgia, serif;
    font-size: 19px; letter-spacing: 0.02em; font-weight: 600;
  }
  .brand a { color: inherit; text-decoration: none; }
  nav.top a {
    margin-left: 28px; text-decoration: none;
    font-family: "Inter", sans-serif;
    font-size: 13.5px; color: var(--muted);
    font-weight: 500; letter-spacing: 0.01em;
  }
  nav.top a:hover { color: var(--ink); }
  nav.top a.signin {
    color: var(--ink);
    border: 1px solid var(--hairline);
    padding: 7px 14px;
  }
  nav.top a.signin:hover { border-color: var(--accent); }

  /* Hero */
  section.hero { padding: 110px 0 90px; }
  .hero-grid {
    display: grid; grid-template-columns: 1fr; gap: 22px;
    max-width: 820px;
  }
  .kicker {
    font-family: "Inter", sans-serif;
    font-size: 11px; color: var(--soft);
    text-transform: uppercase; letter-spacing: 0.18em; font-weight: 500;
    margin: 0;
  }
  h1 {
    font-size: 54px; font-weight: 400;
    letter-spacing: -0.018em; line-height: 1.05;
    margin: 0;
  }
  .rule {
    width: 64px; height: 1px;
    background: var(--accent);
    border: none; margin: 6px 0 0;
  }
  .lede {
    font-style: italic;
    font-size: 21px; line-height: 1.5;
    color: var(--muted); max-width: 740px;
    margin: 6px 0 16px;
  }
  .cta-row { display: flex; gap: 22px; align-items: center; margin-top: 4px; }
  .cta {
    font-family: "Inter", sans-serif;
    display: inline-block;
    padding: 12px 22px; background: var(--ink); color: var(--bg);
    text-decoration: none;
    font-size: 14px; font-weight: 500; letter-spacing: 0.01em;
  }
  .cta:hover { background: #2a2a2a; }
  .cta-secondary {
    font-family: "Inter", sans-serif;
    font-size: 14px; color: var(--muted); text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 2px;
  }
  .cta-secondary:hover { color: var(--ink); }

  /* Sections */
  h2 {
    font-family: "Inter", sans-serif;
    font-size: 12px; font-weight: 600;
    color: var(--soft); text-transform: uppercase;
    letter-spacing: 0.16em; margin: 0 0 14px;
  }
  .section-lede {
    font-size: 28px; font-weight: 400;
    letter-spacing: -0.015em; line-height: 1.25;
    max-width: 740px; margin: 0 0 50px;
  }
  .section-lede em { color: var(--ink); }

  /* Pillars */
  section.approach {
    padding: 84px 0; background: var(--tint);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
  }
  .pillars {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  }
  .pillar {
    background: var(--bg); padding: 30px 28px;
    border: 1px solid var(--hairline);
  }
  .pillar .num {
    font-family: "Inter", sans-serif;
    font-size: 11px; color: var(--accent); font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    margin-bottom: 12px;
  }
  .pillar h3 {
    font-size: 21px; font-weight: 400;
    margin: 0 0 12px; letter-spacing: -0.01em;
    line-height: 1.25;
  }
  .pillar p {
    font-size: 15.5px; line-height: 1.6;
    color: var(--muted); margin: 0;
  }

  /* Workflows */
  section.workflows { padding: 90px 0; }
  .wf-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  }
  .wf-card {
    border: 1px solid var(--hairline);
    padding: 30px 28px;
    background: var(--bg);
  }
  .wf-card .num {
    font-family: "Inter", sans-serif;
    font-size: 11px; color: var(--accent); font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    margin-bottom: 12px;
  }
  .wf-card h3 {
    font-size: 23px; font-weight: 400;
    letter-spacing: -0.01em; line-height: 1.25;
    margin: 0 0 14px;
  }
  .wf-card p {
    font-size: 16px; line-height: 1.6;
    color: var(--muted); margin: 0;
  }

  /* Pilot */
  section.pilot {
    padding: 90px 0;
    border-top: 1px solid var(--hairline);
    background: var(--tint);
  }
  .pilot-grid {
    display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px;
    align-items: start;
  }
  .pilot-grid h3 {
    font-size: 34px; font-weight: 400;
    letter-spacing: -0.018em; line-height: 1.15;
    margin: 0 0 18px;
  }
  .pilot-grid p {
    font-size: 16px; line-height: 1.6;
    color: var(--muted); margin: 0 0 14px;
  }
  form.pilot-form {
    background: var(--bg); padding: 32px 30px;
    border: 1px solid var(--hairline);
  }
  .pilot-form .hp { position: absolute; left: -9999px; }
  form.pilot-form label {
    font-family: "Inter", sans-serif;
    display: block; font-size: 12.5px; font-weight: 500;
    margin-bottom: 8px; color: var(--ink);
    letter-spacing: 0.02em;
  }
  form.pilot-form input[type="email"], form.pilot-form input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    font-family: "Source Serif Pro", Georgia, serif; font-size: 16px;
    background: var(--bg); color: var(--ink);
    border: 1px solid var(--hairline);
    margin-bottom: 16px;
  }
  form.pilot-form input:focus { outline: none; border-color: var(--accent); }
  form.pilot-form button {
    width: 100%;
    font-family: "Inter", sans-serif;
    font-size: 14px; font-weight: 500; letter-spacing: 0.01em;
    padding: 12px 18px;
    background: var(--ink); color: var(--bg);
    border: none; cursor: pointer;
  }
  form.pilot-form button:hover { background: #2a2a2a; }
  .form-note {
    font-family: "Inter", sans-serif;
    font-size: 12px; color: var(--soft);
    margin: 14px 0 0;
  }

  /* Footer */
  footer.site {
    padding: 44px 0;
    font-family: "Inter", sans-serif;
    font-size: 13px; color: var(--soft);
  }
  footer.site .row { display: flex; justify-content: space-between; align-items: center; }
  footer.site a { color: var(--soft); text-decoration: none; margin-left: 22px; }
  footer.site a:hover { color: var(--ink); }
