/* Field Scout — site theme.
   The colours are the app's own tokens:
     navy         #1F3A5F   Field Scout ground
     brass        #C08A2E   accent
     chalk        #FCFDFA   page background
   Fonts come from the system (Noto Sans if present), no CDN: the site opens
   offline exactly as it will be served. */

:root {
  --enamel: #14401a;
  --enamel-soft: #1d5626;
  --navy: #1f3a5f;
  --navy-soft: #2a4d7a;
  --brass: #c08a2e;
  --brass-soft: #f3e3c3;
  --brass-lite: #e6bb6a;
  --brass-ink: #8a6212;   /* brass for text on chalk: 5.5:1, the accent itself is 3.0:1 */
  --chalk: #fcfdfa;
  --green: #2e7d32;
  --ink: #16201a;
  --ink-soft: #4d5a51;
  --line: #dfe6e0;
  --card: #ffffff;
  --mist: #f1f5f0;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--chalk);
  color: var(--ink);
  font-family: "Noto Sans", "Noto Sans Devanagari", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* ── header ─────────────────────────────────────────────────────────────── */

header { background: var(--enamel); color: var(--chalk); }
header.fs { background: var(--navy); }

.bar { display: flex; align-items: center; gap: 16px; padding-block: 16px; flex-wrap: wrap; }

.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--chalk); text-decoration: none; font-weight: 700; font-size: 19px;
}
.brand svg { display: block; }
.brand small { display: block; font-weight: 400; font-size: 12px; opacity: .75; line-height: 1.2; }

nav { margin-left: auto; display: flex; gap: 22px; flex-wrap: wrap; }
nav a {
  color: rgba(252, 253, 250, .78); text-decoration: none; font-size: 15px;
  padding: 4px 0; border-bottom: 2px solid transparent;
}
nav a:hover { color: var(--chalk); }
nav a[aria-current="page"] { color: var(--chalk); border-bottom-color: var(--brass); }

/* ── hero ───────────────────────────────────────────────────────────────── */

.hero { color: var(--chalk); padding: 56px 0 72px; position: relative; overflow: hidden; }
.hero.green { background: linear-gradient(160deg, var(--enamel) 0%, #0f3315 100%); }
.hero.navy  { background: linear-gradient(160deg, var(--navy) 0%, #142a47 100%); }
.hero .grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: 42px; line-height: 1.15; margin: 14px 0 16px; letter-spacing: -.3px; }
.hero p { color: rgba(252, 253, 250, .82); font-size: 19px; margin: 0 0 28px; max-width: 48ch; }
.rule { width: 64px; height: 5px; background: var(--brass); border-radius: 3px; }
.hero .art { display: flex; justify-content: center; }
.hero .art svg { width: min(100%, 300px); height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35)); }

/* dotted route behind the Field Scout hero — the mark's own idea, as texture */
.hero.navy::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(252, 253, 250, .09) 2px, transparent 2.5px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, transparent 45%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 45%, #000 100%);
}

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(252, 253, 250, .12); border: 1px solid rgba(252, 253, 250, .25);
  color: var(--chalk); border-radius: 999px; padding: 5px 14px 5px 8px; font-size: 14px; font-weight: 600;
  text-decoration: none;
}
.chip svg { display: block; }

.btn {
  display: inline-block; background: var(--brass); color: #1a1408; text-decoration: none;
  font-weight: 700; padding: 13px 22px; border-radius: var(--r-md); font-size: 16px;
  box-shadow: 0 6px 18px rgba(192, 138, 46, .35);
}
.btn:hover { background: #d19a3a; }
.btn.ghost { background: transparent; color: var(--chalk); border: 2px solid rgba(252, 253, 250, .4); box-shadow: none; }
.btn.ghost:hover { border-color: var(--chalk); }
.btn.dark { background: var(--enamel); color: var(--chalk); box-shadow: none; }
.btn.dark:hover { background: var(--enamel-soft); }
.btn.navy { background: var(--navy); color: var(--chalk); box-shadow: none; }
.btn.navy:hover { background: var(--navy-soft); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ── page body ──────────────────────────────────────────────────────────── */

main { padding: 48px 0 64px; }
section + section { margin-top: 56px; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--brass-ink); margin: 0 0 6px; }
.band .eyebrow, .hero .eyebrow, .product .for { color: var(--brass-lite); }   /* on dark grounds: 7:1 */
h2 { font-size: 30px; line-height: 1.2; margin: 0 0 10px; }
h3 { font-size: 18px; margin: 20px 0 4px; }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 6px; }
a { color: var(--green); }
.fs main a { color: var(--navy); }

.lede { font-size: 19px; color: var(--ink-soft); max-width: 62ch; }
.meta { font-size: 15px; color: var(--ink-soft); }

.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 24px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px 22px 18px; margin: 0;
}
.card h3, .card h2.card-h { margin-top: 0; }
.card h2.card-h { font-size: 18px; margin-bottom: 4px; }
.card p { margin-bottom: 0; color: var(--ink-soft); font-size: 16px; }
.card .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px; font-weight: 800; font-size: 15px; margin-bottom: 12px;
  background: var(--brass-soft); color: #6e4a0e;
}
.card.navy .num { background: #dfe8f5; color: var(--navy); }

/* two products, side by side */
.products { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; margin-top: 28px; }
.product {
  border-radius: var(--r-xl); padding: 30px 28px 26px; color: var(--chalk); position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
}
.product.green { background: var(--enamel); }
.product.navy { background: var(--navy); }
.product .mark { width: 64px; height: 64px; margin-bottom: 8px; }
.product h3 { margin: 0; font-size: 26px; color: var(--chalk); }
.product .for { font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--brass-lite); font-weight: 700; }
.product p { color: rgba(252, 253, 250, .82); margin: 0; }
.product .btn { align-self: flex-start; margin-top: 12px; }
.product .by { font-size: 13px; color: rgba(252, 253, 250, .6); margin-top: auto; padding-top: 14px; }

/* a full-width band, used for the Field Scout section on the home page */
.band { background: var(--navy); color: var(--chalk); padding: 56px 0; margin-top: 64px; position: relative; }
.band h2 { color: var(--chalk); }
.band p { color: rgba(252, 253, 250, .82); }
.band .grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.band .art svg { width: 100%; max-width: 380px; height: auto; display: block; }
.band ul { list-style: none; padding: 0; margin: 18px 0 24px; }
.band li { padding-left: 26px; position: relative; margin-bottom: 10px; color: rgba(252, 253, 250, .9); }
.band li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 12px;
  background: var(--brass); border-radius: 50%;
}

/* trust strip */
.strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-top: 24px; }
.strip div { background: var(--mist); border-radius: var(--r-lg); padding: 18px 20px; }
.strip strong { display: block; font-size: 17px; margin-bottom: 4px; }
.strip span { color: var(--ink-soft); font-size: 15px; }

/* legal pages */
.legal h2 { font-size: 22px; margin: 36px 0 8px; }
.legal h1.title { font-size: 34px; line-height: 1.2; margin: 0 0 10px; }
.legal table { border-collapse: collapse; width: 100%; margin: 0 0 18px; font-size: 16px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--ink-soft); font-weight: 600; background: var(--mist); }
.legal .apps { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0 18px; }
.tag {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600;
  border-radius: 999px; padding: 5px 12px 5px 6px; color: var(--chalk);
}
.tag.green { background: var(--enamel); } .tag.navy { background: var(--navy); }
.tag svg { display: block; }
.only { font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
.only.fs { background: #dfe8f5; color: var(--navy); }
.only.dc { background: #d7f0d8; color: var(--enamel); }

/* A value the founder still has to fill in. Loud on purpose. */
.fill {
  background: #fff2d9; border-bottom: 2px solid var(--brass); padding: 0 4px;
  border-radius: var(--r-sm); font-weight: 600;
}

.note {
  border-left: 4px solid var(--brass); background: #fffaf1;
  border-radius: 0 var(--r-md) var(--r-md) 0; padding: 14px 16px; margin: 0 0 20px; font-size: 16px;
}
.note.navy { border-left-color: var(--navy); background: #eef3fa; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 18px 0; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; margin-bottom: 18px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 10px;
  background: var(--enamel); color: var(--chalk); font-weight: 800; display: flex; align-items: center; justify-content: center;
}

/* ── footer ─────────────────────────────────────────────────────────────── */

footer { background: #101b14; color: rgba(252, 253, 250, .7); padding: 36px 0 28px; font-size: 15px; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
footer .ft-h { color: var(--chalk); font-size: 15px; font-weight: 700; margin: 0 0 10px; }
footer a { color: rgba(252, 253, 250, .85); text-decoration: none; display: block; margin-bottom: 6px; }
footer a:hover { color: var(--chalk); text-decoration: underline; }
footer .brands { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
footer .copy { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(252, 253, 250, .12); font-size: 14px; }

/* ── small screens ──────────────────────────────────────────────────────── */

@media (max-width: 760px) {
  .hero { padding: 36px 0 48px; }
  .hero .grid, .band .grid, .products, footer .cols { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero .art { order: -1; }
  .hero .art svg { width: 150px; }
  .band .art { display: flex; justify-content: center; }
  .band .art svg { max-width: 240px; }
  h2 { font-size: 26px; }
  nav { gap: 14px; }
}

/* Field Scout hero: the live demo sits where the logo tile was. The height is
   the embed's own stack (phone at 19:9, caption, rail), so nothing scrolls
   inside the frame and the hero's bottom edge stays put between scenes. */
.hero .art.demo iframe { display: block; width: min(100%, 250px); height: 664px; border: 0; }
@media (max-width: 760px) {
  .hero .art.demo { order: 0; }
  .hero .art.demo iframe { width: min(100%, 220px); height: 600px; }
}

/* ── added for launch: skip link, FAQ, language strip, app badges ───────── */

.skip { position: absolute; left: -999px; top: 8px; background: var(--brass); color: #1a1408; padding: 8px 14px; border-radius: var(--r-sm); font-weight: 700; z-index: 10; }
.skip:focus { left: 8px; }

.hero .eyebrow { margin-bottom: 2px; }
.hero .langs { margin: 18px 0 0; font-size: 15px; color: rgba(252, 253, 250, .72); display: flex; gap: 14px; flex-wrap: wrap; }
.hero .langs span { white-space: nowrap; }

.faq { margin-top: 20px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); padding: 0 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brass-ink); font-weight: 800; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); margin: 0 0 14px; font-size: 16px; }

.who { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.who span { background: var(--mist); border-radius: 999px; padding: 6px 14px; font-size: 15px; color: var(--ink-soft); }
.fs .who span { background: #eef3fa; }

.hero .art.demo noscript img { display: block; width: min(100%, 250px); border-radius: 26px; }
