/* FieldGPS site styles: black and app-icon yellow, built for bright outdoor light. */
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/site/fonts/atkinson-hyperlegible-next-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/site/fonts/atkinson-hyperlegible-next-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/site/fonts/barlow-condensed-800-latin.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --page: #ffffff;
  --ink: #141414;
  --muted: #3d3d3d;
  --line: #141414;
  --soft: #f2f2f2;
  --brand: #ffcc00;
  --on-brand: #141414;
  --band: #141414;
  --band-ink: #ffffff;
  --band-muted: #e6e6e6;
  --focus: #1f5fd6;
  --body: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  font-family: var(--body);
  background: var(--page);
  color: var(--ink);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #141414;
    --ink: #f5f5f5;
    --muted: #d0d0d0;
    --line: #f5f5f5;
    --soft: #1f1f1f;
    --band: #000000;
    --focus: #8ab4ff;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; font-size: 1.125rem; line-height: 1.5; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.wrap { width: min(100%, 72.5rem); margin-inline: auto; padding-inline: 1.25rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Header and footer */
.site-header, .site-footer, .band { background: var(--band); color: var(--band-ink); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; min-height: 48px; font-family: var(--display); font-size: 1.875rem; font-weight: 800; line-height: 1; text-transform: uppercase; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 10px; }
.brand-accent { color: var(--brand); }
.header-label { color: var(--band-muted); font-size: 1rem; font-weight: 700; }
.site-footer { margin-top: auto; font-size: 1rem; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.5rem; padding-block: 1rem; }
.footer-row > span { margin-right: auto; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .25rem; font-weight: 700; }

/* Type */
h1, h2, h3 { margin: 0; line-height: 1.1; }
.display { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .95; letter-spacing: 0; }
.eyebrow { margin: 0 0 1rem; font-size: 1rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.lead { margin: 0; font-size: 1.375rem; line-height: 1.45; max-width: 32em; }
.section { padding-block: 4rem; }
.section-title { margin-bottom: 2.25rem; font-size: 3rem; }

/* Buttons */
.button, button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 56px; padding: .75rem 1.5rem; border: 3px solid var(--line); border-radius: 4px; background: var(--ink); color: var(--page); font: inherit; font-size: 1.25rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.button.secondary, button.secondary { background: transparent; color: var(--ink); }
button:disabled { cursor: wait; opacity: .7; }
.badge { align-self: flex-start; display: inline-block; padding: .5rem .875rem; border-radius: 4px; background: var(--ink); color: var(--page); font-size: 1rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* Cards */
.card { display: flex; flex-direction: column; gap: .875rem; padding: 2rem; border: 4px solid var(--line); border-radius: 6px; background: var(--page); color: var(--ink); }
.card.brand-fill { background: var(--brand); color: var(--on-brand); border-color: var(--on-brand); }
.card.brand-fill .badge { background: var(--on-brand); color: var(--brand); }
.card-title { font-size: 2.5rem; }
.card p { margin: 0; }
.card .badge, .card .card-foot { margin-top: auto; }
.card-foot { font-size: 1rem; }
.card svg { width: 48px; height: 48px; }

/* Home */
.hero { padding-block: 2.5rem 4rem; }
.hero h1 { margin-bottom: 1rem; font-size: clamp(3rem, 8vw, 5rem); }
.hero .lead { color: var(--band-muted); }
.task-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1.5rem; }
.tour { display: flex; flex-wrap: wrap; gap: 2.5rem 3.5rem; align-items: center; }
.tour-text { flex: 999 1 26rem; min-width: 0; }
.tour-text > p { margin: 0 0 1.75rem; color: var(--band-muted); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.chip { min-height: 48px; padding: 0 1rem; border: 1.5px solid #ffffff; border-radius: 10px; background: #000000; color: #ffffff; font-size: 1.0625rem; }
.chip[aria-pressed="true"] { border: 2px solid var(--brand); color: var(--brand); }
.tool { padding-top: 1.25rem; border-top: 2px solid #3a3a3a; }
.tool + .tool { margin-top: 1.25rem; }
.tour.enhanced .tool + .tool { margin-top: 0; }
.tool h3 { margin-bottom: .5rem; font-size: 1.625rem; color: var(--brand); }
.tool p { margin: 0; }
.phone { flex: 1 1 17.5rem; display: flex; justify-content: center; }
.phone-frame { display: flex; align-items: center; justify-content: center; width: 17.5rem; aspect-ratio: 1 / 2; padding: 1.5rem; border: 4px solid #5a5a5a; border-radius: 2.5rem; background: #262626; color: #d0d0d0; text-align: center; }
.switch { display: flex; flex-wrap: wrap; border: 4px solid var(--line); border-radius: 6px; overflow: hidden; }
.switch-title { flex: 1 1 20rem; padding: 2rem; background: var(--brand); color: var(--on-brand); font-size: 2.75rem; }
.switch p { flex: 999 1 26rem; margin: 0; padding: 2rem; font-size: 1.25rem; align-self: center; }
.steps-band { background: var(--soft); border-block: 4px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 2rem; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; flex-direction: column; gap: .625rem; }
.step-number { align-self: flex-start; padding: .125rem .75rem; border: 3px solid var(--on-brand); border-radius: 3px; background: var(--brand); color: var(--on-brand); font-size: 2.5rem; }
.steps h3 { font-size: 1.375rem; }
.steps p { margin: 0; }

/* Shared-file and form pages */
.page-main { flex: 1; width: min(100%, 42rem); margin-inline: auto; padding: clamp(1.5rem, 5vw, 3.5rem) 1.25rem 2.5rem; }
.file-card { gap: 0; padding: clamp(1.5rem, 5vw, 2.5rem); }
.file-mark { display: grid; place-items: center; width: 3.5rem; height: 4rem; margin-bottom: 1.5rem; border: 3px solid var(--on-brand); border-radius: 4px; background: var(--brand); color: var(--on-brand); font-size: .8125rem; font-weight: 800; letter-spacing: .08em; }
.file-card h1 { margin-bottom: 1rem; font-size: clamp(1.75rem, 5vw, 2.5rem); line-height: 1.15; overflow-wrap: anywhere; }
.page-title { margin-bottom: .75rem; font-size: clamp(2.5rem, 7vw, 3.5rem); }
.description { margin: 0; color: var(--muted); }
.file-details { display: grid; gap: 1rem; margin: 1.75rem 0 0; padding: 1.25rem 0; border-block: 3px solid var(--line); }
.file-details div { display: grid; grid-template-columns: 1fr 1.6fr; gap: 1rem; align-items: baseline; }
dt { color: var(--muted); font-size: 1rem; }
dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.status { margin: 1rem 0 0; font-size: 1rem; }
.status:empty { display: none; }
.note { margin: .6rem 0 0; color: var(--muted); font-size: .9375rem; }
.page-note { margin: 1.25rem .25rem 0; color: var(--muted); font-size: 1rem; }
.notice { margin: 1rem 0 0; }

@media (max-width: 30rem) {
  .header-label { display: none; }
  .section-title { font-size: 2.5rem; }
  .file-details div { grid-template-columns: 1fr; gap: .2rem; }
  .actions .button, .actions button { width: 100%; }
}
@media (prefers-contrast: more) {
  :root { --muted: var(--ink); --band-muted: var(--band-ink); }
}
@media (forced-colors: active) {
  .card, .switch, .file-mark, .step-number, .chip, .button, button { border-color: CanvasText; }
  .chip[aria-pressed="true"] { outline: 3px solid Highlight; }
}

/* Temporary coming-soon home page; the full design is in landing.html. */
.coming-soon { align-items: flex-start; }
.coming-soon img { width: 120px; height: 120px; border-radius: 27px; margin-bottom: .5rem; }
.coming-soon .page-title { margin-bottom: 0; }

/* Long-form text pages such as the privacy policy. */
.prose h2 { margin: 2.25rem 0 .75rem; font-size: 1.5rem; }
.prose p, .prose ul { margin: 0 0 1rem; }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: .5rem; }
.prose a { font-weight: 700; }
