/* fieldcraft.page: the console's own system (fieldcraft/web/app.css), on paper.
   Tokens only; the system sans; no third-party anything. */
:root {
  --ink: #14254b;
  --muted: #798079;
  --paper: #f4f6f8;
  --line: #dfe3e8;
  --white: #fff;
  --lime: #a7c5ed;
  --soft: #e6ebf2;
  --amber: #8b6b2d;
  --green: #0f224a;
  --shadow: 0 12px 50px #14254b12;
  --wrap: 1080px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.5; font-size: 17px; }
h1, h2, h3, p, ul, ol { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #517bb6; outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: fixed; left: 10px; top: -100px; z-index: 100; background: var(--white); padding: 12px; }
.skip:focus { top: 10px; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 22px; font-weight: 660; letter-spacing: -0.6px; }
.wordmark img { width: 30px; height: 30px; }
.signin { font-size: 15px; font-weight: 600; text-decoration: none; padding: 9px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.signin:hover { border-color: var(--ink); }

/* the eyebrow label used everywhere */
.eyebrow { font-size: 11px; font-weight: 650; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }

/* hero */
.hero { padding: 24px 0 36px; }
.hero h1 { font-size: clamp(38px, 6.4vw, 60px); line-height: 1.02; letter-spacing: -2px; font-weight: 680; margin: 18px 0 20px; max-width: 16ch; text-wrap: balance; }
.hero .sub { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.45; color: #3a4b6b; max-width: 36ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 10px; font-weight: 640; text-decoration: none; font-size: 16px; }
.btn-primary { background: var(--green); color: #e9eef6; }
.btn-primary:hover { background: #152c5f; }
.btn-ghost { border: 1px solid var(--line); background: var(--white); }
.btn-ghost:hover { border-color: var(--ink); }

/* the phone in the hand */
.phone-section { padding: 8px 0 40px; }
.captions .hero { border-bottom: 1px solid var(--line); }
.phone-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.phone-sticky { display: none; }
.device { position: relative; width: 300px; max-width: 100%; margin: 0 auto; background: #0e1422; border-radius: 42px; padding: 11px; box-shadow: var(--shadow); }
.screen { position: relative; aspect-ratio: 390 / 844; overflow: hidden; border-radius: 32px; background: var(--paper); }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .35s ease; }
.screen img[data-active="false"] { opacity: 0; }
.caption { padding: 24px 0; }
.caption h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -1px; line-height: 1.1; font-weight: 670; margin: 10px 0 12px; }
.caption p { font-size: 18px; color: #3a4b6b; max-width: 40ch; }
.caption .device { margin: 18px auto 0; width: 260px; }
.shown { font-size: 14px; color: var(--muted); margin-top: 8px; }
@media (min-width: 880px) {
  .phone-grid { grid-template-columns: 360px minmax(0, 1fr); gap: 64px; align-items: start; }
  .phone-sticky { display: block; position: sticky; top: 32px; padding: 24px 0 0; }
  .caption { min-height: 68vh; display: flex; flex-direction: column; justify-content: center; }
  .caption .device { display: none; }
}

/* the owner's questions */
.faq { padding: 44px 0; border-top: 1px solid var(--line); }
.faq h2, .pilot h2, .not h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -1px; line-height: 1.1; font-weight: 670; margin: 10px 0 20px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-size: 18px; font-weight: 640; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 500; flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 18px; color: #3a4b6b; max-width: 62ch; }
.faq details p + p { margin-top: -6px; }

/* the pilot and the limits, side by side on desktop */
.pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 44px 0; border-top: 1px solid var(--line); }
@media (min-width: 880px) { .pair { grid-template-columns: 1fr 1fr; gap: 64px; } }
.pilot ol { padding-left: 1.2em; color: #3a4b6b; display: grid; gap: 10px; font-size: 17px; }
.pilot ol li::marker { color: var(--ink); font-weight: 650; }
.not { background: var(--soft); border-radius: 16px; padding: 26px 24px; align-self: start; }
.not ul { list-style: none; padding: 0; display: grid; gap: 10px; color: #3a4b6b; }
.not li { padding-left: 1.4em; position: relative; }
.not li::before { content: "\2013"; position: absolute; left: 0; color: var(--amber); }
.not .ask { margin-top: 18px; }

/* lead page */
.lead-note { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin-top: 28px; font-size: 18px; color: #3a4b6b; max-width: 60ch; white-space: pre-line; }
.lead-note .from { display: block; margin-top: 12px; font-size: 15px; color: var(--muted); }
.their-list { padding: 44px 0; border-top: 1px solid var(--line); }
.their-list ul { list-style: none; padding: 0; margin-top: 18px; display: grid; gap: 8px; max-width: 520px; }
.their-list li { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-weight: 600; }
.their-list li::before { content: ""; width: 22px; height: 22px; border: 2px solid var(--line); border-radius: 7px; flex: none; }
.their-list .area { margin-left: auto; font-weight: 500; font-size: 14px; color: var(--muted); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 44px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) { .screen img { transition: none; } }
