/* Page — marketing site
   Palette matches the product's "Premium" face: brass on evergreen.
   Deliberately committed to a light look; no dark variant. */

:root {
  --evergreen: #1C3B34;
  --evergreen-2: #16302a;
  --brass: #A97C4F;
  --brass-dk: #8d6740;
  --ink: #17201d;
  --ink-2: #3f4a46;
  --muted: #6f7b76;
  --line: #e3e7e5;
  --paper: #ffffff;
  --paper-2: #f7f6f3;
  --shadow: 0 1px 2px rgba(23,32,29,.05), 0 8px 28px rgba(23,32,29,.07);

  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brass-dk); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--evergreen); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--evergreen);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border: 1px solid var(--evergreen);
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--evergreen-2); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 17px; font-size: 14px; border-radius: 8px; }
.btn-ghost { background: transparent; color: var(--evergreen); border-color: var(--line); }
.btn-ghost:hover { background: var(--paper-2); }
.btn-full { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--evergreen); color: #fff;
  display: grid; place-items: center;
  font-family: var(--display); font-size: 17px; line-height: 1;
}
.brand-name { font-family: var(--display); font-size: 22px; letter-spacing: .2px; }

/* ---------- hero ---------- */
.hero { padding: 96px 0 76px; background: linear-gradient(180deg, var(--paper-2), var(--paper)); }
.eyebrow {
  margin: 0 0 18px; font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brass);
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(31px, 4.2vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.3px;
  margin: 0 0 22px;
  max-width: 27ch;   /* ~2 lines at the large end; a longer measure just
                        produced six ragged lines */
  text-wrap: balance;
}
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 62ch; margin: 0 0 34px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- three beats ---------- */
.beats { padding: 72px 0; border-top: 1px solid var(--line); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.beat .rule { display: block; width: 30px; height: 3px; background: var(--brass); border-radius: 2px; margin-bottom: 18px; }
.beat h2 { font-family: var(--display); font-size: 22px; margin: 0 0 10px; font-weight: 600; }
.beat p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* ---------- sections ---------- */
.section-title { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); margin: 0 0 12px; font-weight: 600; }
.section-sub { color: var(--muted); max-width: 66ch; margin: 0 0 44px; font-size: 16px; }

.screens { padding: 76px 0; background: var(--paper-2); border-top: 1px solid var(--line); }
.shot {
  margin: 0 0 56px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.shot:last-child { margin-bottom: 0; }
.shot img { width: 100%; border-bottom: 1px solid var(--line); }
.shot figcaption { padding: 22px 26px 26px; }
.shot h3 { font-family: var(--display); font-size: 21px; margin: 0 0 8px; font-weight: 600; }
.shot p { margin: 0; color: var(--ink-2); font-size: 15.5px; max-width: 78ch; }

/* ---------- capabilities ---------- */
.capabilities { padding: 76px 0; border-top: 1px solid var(--line); }
.cap-grid {
  list-style: none; margin: 0 0 40px; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 44px;
}
.cap-grid h3 { font-size: 16px; margin: 0 0 6px; font-weight: 700; }
.cap-grid p { margin: 0; color: var(--ink-2); font-size: 15px; }
.integrations {
  margin: 0; padding: 20px 24px; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: 12px;
  color: var(--ink-2); font-size: 15px;
}
.integrations strong { color: var(--ink); }

/* ---------- how a build works ---------- */
.build { padding: 76px 0; background: var(--evergreen); color: #fff; }
.build .section-title { color: #fff; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.steps li { padding-top: 14px; border-top: 2px solid rgba(255,255,255,.18); }
.steps .num { display: block; font-family: var(--display); font-size: 15px; color: var(--brass); margin-bottom: 8px; }
.steps h3 { font-size: 17px; margin: 0 0 8px; font-weight: 700; color: #fff; }
.steps p { margin: 0; color: rgba(255,255,255,.76); font-size: 15px; }

/* ---------- contact ---------- */
.contact { padding: 82px 0; border-top: 1px solid var(--line); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-copy h2 { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); margin: 0 0 14px; font-weight: 600; }
.contact-copy p { color: var(--ink-2); margin: 0 0 14px; }
.contact-direct { font-size: 15px; }

.contact-form {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 14px; padding: 26px;
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 9px; padding: 11px 13px;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(169,124,79,.14);
}
.field textarea { resize: vertical; min-height: 108px; }
.field.invalid input, .field.invalid textarea { border-color: #b3261e; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile:not(:empty) { margin-bottom: 16px; }

.form-status { margin: 14px 0 0; font-size: 14.5px; min-height: 1.2em; }
.form-status.ok { color: #1d6b4f; }
.form-status.err { color: #b3261e; }
.form-note { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }

/* ---------- footer ---------- */
.foot { background: var(--evergreen); color: rgba(255,255,255,.72); padding: 44px 0 52px; }
.foot-brand { font-family: var(--display); font-size: 22px; color: #fff; margin: 0 0 12px; }
.foot-legal { margin: 0 0 6px; font-size: 13.5px; }
.foot-note { margin: 0; font-size: 12.5px; color: rgba(255,255,255,.5); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero { padding: 64px 0 52px; }
  .grid-3, .cap-grid, .steps { grid-template-columns: 1fr; gap: 30px; }
  .shot figcaption { padding: 18px 18px 22px; }
  .beats, .screens, .capabilities, .build, .contact { padding: 54px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.ts-fallback {
  margin: 0 0 16px; padding: 12px 14px;
  background: #fdf6ee; border: 1px solid #e6d3bd; border-radius: 9px;
  font-size: 13.5px; line-height: 1.5; color: var(--ink-2);
}
