/* fieldcopilot.co: the product website. Values follow the Field CoPilot design system (src/index.css, the Design
   System artifact): brand navy, olive pass, burnt-orange attention, Archivo + JetBrains Mono, 4px spacing, 10/14px radii. */

@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/site/fonts/archivo-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'Archivo'; font-style: italic; font-weight: 100 900; font-display: swap; src: url('/site/fonts/archivo-latin-wght-italic.woff2') format('woff2-variations'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/site/fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); }

:root {
  --surface: #f4f4f6; --surface-raised: #ffffff; --surface-sunken: #e9e9ee; --surface-header: #000358;
  --ink: #0e1030; --ink-muted: #5a574c; --ink-on-header: #ffffff;
  --line: #dcdce2; --line-control: #7a7a84;
  --primary: #000358; --primary-hover: #10136e; --on-primary: #ffffff;
  --link: #1e47d6; --focus: #1e47d6;
  --pass: #4f6b1e; --pass-fill: #85a640; --on-pass: #000358; --pass-tint: #eef3e0;
  --attention: #a8461a; --attention-fill: #c15824; --attention-tint: #fbeee6;
  --critical: #b42318; --critical-tint: #fdecea;
  --info: #1e47d6; --info-tint: #e8edfc;
  --shadow-card: 0 1px 2px rgba(0, 3, 88, .08), 0 1px 1px rgba(0, 3, 88, .04);
  --shadow-lift: 0 18px 40px rgba(0, 3, 88, .16);
  --font-sans: 'Archivo', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 17px/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--link); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header: the full logo sits on white only */
.top { position: sticky; top: 0; z-index: 10; background: var(--surface-raised); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.top .logo img { width: 168px; height: auto; }
.top nav { display: flex; align-items: center; gap: 4px; }
.top nav a.link { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 10px; }
.top nav a.link:hover { background: var(--surface-sunken); }
@media (max-width: 760px) { .top nav a.link { display: none; } .top .logo img { width: 140px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent; font: 600 16px/1 var(--font-sans); text-decoration: none; cursor: pointer; transition: background-color .12s, transform .06s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: var(--surface-raised); color: var(--ink); border-color: var(--line-control); }
.btn-secondary:hover { background: var(--surface-sunken); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; }

/* type */
.overline { font: 700 12px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--link); margin: 0 0 12px; }
h1, h2, h3 { margin: 0; color: var(--ink); }
h1 { font: italic 800 clamp(38px, 6vw, 60px)/1.05 var(--font-sans); letter-spacing: -.02em; color: var(--primary); }
h2 { font: 700 clamp(28px, 3.6vw, 38px)/1.15 var(--font-sans); letter-spacing: -.01em; }
h3 { font: 700 20px/1.3 var(--font-sans); }
.lead { font-size: clamp(18px, 2vw, 20px); color: var(--ink-muted); max-width: 40em; }
section { padding: 88px 0; }
@media (max-width: 760px) { section { padding: 64px 0; } }
.head { max-width: 760px; margin-bottom: 40px; }
.head p:not(.overline) { color: var(--ink-muted); margin: 14px 0 0; font-size: 18px; }

/* hero */
.hero { padding: 64px 0 80px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero .lead { margin: 22px 0 30px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .note { margin: 18px 0 0; font-size: 14px; color: var(--ink-muted); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 48px; } }

/* the phone: a drawing of the app's checklist, built from the design system's components */
.phone { justify-self: center; width: min(360px, 100%); border-radius: 36px; background: #0b0d24; padding: 12px; box-shadow: var(--shadow-lift); }
.screen { border-radius: 26px; overflow: hidden; background: var(--surface); }
.bar { background: var(--surface-header); color: var(--ink-on-header); padding: 14px 16px 10px; }
.bar b { display: block; font-size: 16px; }
.bar small { opacity: .75; font-size: 12px; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface-header); color: var(--ink-on-header); padding: 4px 6px 12px; }
.step { position: relative; display: grid; justify-items: center; gap: 4px; font: 500 10px/12px var(--font-sans); text-align: center; opacity: .8; }
.step::before { content: ""; position: absolute; top: 11px; right: 50%; width: 100%; height: 2px; background: rgba(255,255,255,.28); }
.step:first-child::before { display: none; }
.step.done::before, .step.now::before { background: var(--pass-fill); }
.dot { position: relative; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; border: 2px solid currentColor; background: var(--surface-header); font: 700 11px/1 var(--font-sans); }
.step.done { opacity: 1; } .step.done .dot { background: var(--pass-fill); border-color: var(--pass-fill); color: var(--on-pass); }
.step.now { opacity: 1; font-weight: 700; } .step.now .dot { background: #fff; color: var(--surface-header); border-color: #fff; }
.dot svg { width: 13px; height: 13px; }
.list { margin: 12px; background: var(--surface-raised); border-radius: 14px; box-shadow: var(--shadow-card); padding: 4px 14px; }
.part { font: 700 11px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); padding: 10px 0 2px; }
.item { position: relative; display: grid; grid-template-columns: 26px 1fr; column-gap: 10px; padding: 9px 0; }
.item::before { content: ""; position: absolute; left: 12px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.item.first::before { top: 20px; } .item.last::before { bottom: calc(100% - 20px); }
.mark { position: relative; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; }
.mark svg { width: 15px; height: 15px; }
.mark.pass { background: var(--pass-fill); color: var(--on-pass); }
.mark.att { background: var(--attention-fill); color: #fff; }
.mark.todo { border: 2px solid var(--line-control); background: var(--surface-raised); }
.item .label { font: 600 14px/20px var(--font-sans); padding-top: 3px; display: flex; justify-content: space-between; gap: 8px; }
.item .val { font: 500 12px/20px var(--font-mono); color: var(--ink-muted); white-space: nowrap; }
.cause { grid-column: 2; margin-top: 8px; border-radius: 10px; background: var(--attention-tint); padding: 10px; font-size: 13px; line-height: 18px; }
.cause b { color: var(--attention); display: block; font-size: 13px; }
.chip { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; padding: 2px 8px; border-radius: 6px; font: 600 12px/18px var(--font-sans); background: var(--surface-raised); color: var(--ink); }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--surface-raised); border-top: 1px solid var(--line); padding: 12px 14px; }
.foot span { font: 500 12px/16px var(--font-sans); color: var(--attention); }
.foot i { font-style: normal; display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 10px; background: var(--primary); color: #fff; font: 600 13px/1 var(--font-sans); }

/* cards and grids */
.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .g3, .g2 { grid-template-columns: 1fr; } }
.card { background: var(--surface-raised); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-card); padding: 28px; }
.card p { margin: 10px 0 0; color: var(--ink-muted); }
.chipicon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: var(--surface-header); color: var(--ink-on-header); margin-bottom: 18px; }
.chipicon svg { width: 24px; height: 24px; }
.num { font: 500 13px/1 var(--font-mono); color: var(--link); margin-bottom: 14px; }

/* problem band */
.band { background: var(--surface-header); color: var(--ink-on-header); }
.band h2, .band h3 { color: var(--ink-on-header); }
.band .head p:not(.overline) { color: rgba(255,255,255,.78); }
.band .overline { color: #a9c766; }
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.14); border-radius: 14px; overflow: hidden; }
.pains > div { background: var(--surface-header); padding: 28px; }
.pains p { margin: 10px 0 0; color: rgba(255,255,255,.78); }
.pains .big { font: 800 40px/1 var(--font-sans); font-style: italic; color: #ef8a55; margin-bottom: 12px; }
@media (max-width: 900px) { .pains { grid-template-columns: 1fr; } }

/* workflows */
.wf ul { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.wf li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; line-height: 22px; }
.wf li svg { width: 20px; height: 20px; color: var(--pass); margin-top: 1px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; font: 600 13px/20px var(--font-sans); background: var(--surface-sunken); color: var(--ink); margin-left: 8px; vertical-align: 3px; }

/* office split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.checks .mark { width: 28px; height: 28px; }
.checks b { display: block; }
.checks span { color: var(--ink-muted); }
.review { background: var(--surface-raised); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lift); padding: 20px; display: grid; gap: 12px; }
.review .row { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.review .who { font: 600 17px/24px var(--font-sans); }
.review .meta { font-size: 13px; color: var(--ink-muted); }
.review .amt { font: 500 18px/24px var(--font-mono); text-align: right; }
.review .amt .meta { font-family: var(--font-sans); }
.review ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.review li { display: flex; gap: 8px; font-size: 15px; line-height: 22px; }
.review li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.review li.crit svg { color: var(--critical); } .review li.att svg { color: var(--attention); } .review li.inf svg { color: var(--info); }
.review hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; font: 600 13px/20px var(--font-sans); }
.badge.crit { background: var(--critical-tint); color: var(--critical); }
.badge.att { background: var(--attention-tint); color: var(--attention); }

/* values */
.values { counter-reset: v; }
.values .card h3 { font-size: 18px; }

/* field-proof list */
.feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.feats div { padding: 22px 0; border-top: 1px solid var(--line); }
.feats p { margin: 6px 0 0; color: var(--ink-muted); }
@media (max-width: 760px) { .feats { grid-template-columns: 1fr; } }

/* pilot */
.pilot { background: var(--surface-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pilot .split { align-items: start; }
.measure { display: grid; gap: 12px; }
.measure div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 10px; background: var(--surface); }
.measure b { font-weight: 600; }
.measure span { color: var(--ink-muted); font-size: 15px; text-align: right; }

/* closing */
.close { text-align: center; }
.close .mark-img { width: 72px; margin: 0 auto 20px; }
.close .lead { margin: 16px auto 28px; }
.close .ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 14px; color: var(--ink-muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer a { color: var(--ink-muted); }
footer .fine { flex-basis: 100%; font-size: 12px; }
