/* FieldMind marketing site.
   Palette from the orbit logo (indigo, violet, spray cyan) laid over cool concrete greys.
   One bold moment: the pressure-washed stripe in the home hero. Everything else stays quiet. */

:root {
  --paper: #f3f5f7;
  --paper-2: #e7eaee;
  --concrete: #c3c7cc;
  --grime: #6f6c66;
  --ink: #1f1a45;
  --ink-soft: #4a4670;
  --violet: #5b3fe6;
  --violet-hover: #4a2fd0;
  --spray: #13a8c6;
  --line: #d3d7dd;
  --white: #ffffff;
  --radius-lg: 22px;
  --radius-sm: 10px;
  --wrap: 1160px;
  --gutter: 16px;
  --display: "Archivo", system-ui, sans-serif;
  --body: "Archivo", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-variation-settings: "wdth" 100;
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--violet); text-underline-offset: 3px; }
a:hover { color: var(--violet-hover); }
:focus-visible { outline: 3px solid var(--spray); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--white); padding: 10px 14px; }

/* Type scale: 17 / 21 / 28 / 40 / 64 (roughly a 1.333 ratio, rounded). */
.display {
  font-family: var(--display);
  font-variation-settings: "wdth" 118;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
h1.display { font-size: clamp(40px, 8.4vw, 76px); }
h2.display { font-size: clamp(30px, 5vw, 46px); }
h3 { font-size: 21px; line-height: 1.25; margin: 0 0 6px; font-weight: 700; letter-spacing: -0.01em; }
.lede { font-size: clamp(18px, 2.2vw, 21px); line-height: 1.55; color: var(--ink-soft); max-width: 38em; }
.muted { color: var(--ink-soft); }
.small { font-size: 14px; line-height: 1.5; }
.measure { max-width: 40em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font: 700 16px/1 var(--body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; white-space: nowrap;
  transition: background-color .15s ease, transform .1s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--violet); color: var(--white); }
.btn-primary:hover { background: var(--violet-hover); color: var(--white); }
.btn-quiet { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-quiet:hover { background: var(--ink); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(243,245,247,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 36px; height: 36px; }
.brand span { font: 800 21px/1 var(--display); font-variation-settings: "wdth" 112; letter-spacing: -0.02em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a.navlink { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 10px; border-radius: 8px; }
.nav a.navlink:hover { background: var(--paper-2); }
.nav a.navlink[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav .btn { min-height: 42px; padding: 0 16px; font-size: 14px; margin-left: 6px; }
@media (max-width: 560px) {
  .nav a.navlink.hide-sm { display: none; }
  .nav .btn .long { display: none; }
}
@media (min-width: 561px) { .nav .btn .short { display: none; } }

/* Hero: the washed stripe */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); isolation: isolate; }
.hero::before {
  /* Grimy concrete: layered noise from gradients, no images. */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120px 60px at 12% 30%, rgba(40,36,28,.55), transparent 70%),
    radial-gradient(200px 90px at 78% 22%, rgba(35,32,26,.5), transparent 70%),
    radial-gradient(160px 110px at 60% 85%, rgba(30,28,24,.55), transparent 70%),
    radial-gradient(90px 70px at 32% 78%, rgba(60,70,40,.35), transparent 70%),
    repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 2px, transparent 2px 7px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 5px),
    linear-gradient(160deg, #7c7a72, #5f5d57 55%, #55534e);
}
.hero::after {
  /* The clean pass: a lighter band, cut diagonally, swept in once on load. */
  content: ""; position: absolute; z-index: -1;
  left: -10%; right: -10%; top: 0; bottom: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 1px, transparent 1px 9px),
    linear-gradient(160deg, #dfe3e6, #cfd4d8);
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
  animation: wash-sm 1.4s cubic-bezier(.6,.05,.25,1) .15s both;
}
@keyframes wash-sm {
  from { clip-path: polygon(0 4%, 0 4%, 0 100%, 0 100%); }
  to { clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%); }
}
@media (min-width: 960px) {
  .hero::after { clip-path: polygon(0 16%, 100% 0, 100% 84%, 0 100%); animation-name: wash; }
}
@keyframes wash {
  from { clip-path: polygon(0 16%, 0 16%, 0 100%, 0 100%); }
  to { clip-path: polygon(0 16%, 100% 0, 100% 84%, 0 100%); }
}
@media (prefers-reduced-motion: reduce) { .hero::after { animation: none; } }
.hero-grid { display: grid; gap: 36px; padding-top: 64px; padding-bottom: 72px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; padding-top: 96px; padding-bottom: 104px; } }
.hero h1 { color: var(--ink); }
.hero .lede { color: #2e2a55; margin-top: 20px; }
.hero .offer { color: #2e2a55; font-size: 15px; margin-top: 14px; }

/* Phone mock */
.phone {
  width: min(340px, 100%); margin: 0 auto; background: var(--white); color: var(--ink);
  border-radius: 34px; padding: 14px; border: 1px solid #b9bec4;
  box-shadow: 0 30px 60px -30px rgba(31,26,69,.55);
}
.phone-top { display: flex; align-items: center; gap: 10px; padding: 8px 8px 12px; border-bottom: 1px solid var(--line); }
.phone-top .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.phone-top b { font-size: 15px; display: block; line-height: 1.2; }
.phone-top small { color: var(--ink-soft); font-size: 12px; }
.thread { display: flex; flex-direction: column; gap: 8px; padding: 14px 4px 6px; font-size: 14.5px; line-height: 1.4; }
.bubble { max-width: 84%; padding: 9px 13px; border-radius: 18px; }
.bubble.in { background: var(--paper-2); align-self: flex-start; border-bottom-left-radius: 6px; }
.bubble.out { background: var(--violet); color: var(--white); align-self: flex-end; border-bottom-right-radius: 6px; }
.stamp { align-self: center; font-size: 11.5px; color: var(--ink-soft); }
.approve { margin: 8px 4px 4px; border: 1.5px dashed var(--spray); border-radius: 14px; padding: 10px 12px; font-size: 13.5px; background: #effafc; }
.approve strong { display: block; font-size: 13px; color: #0b6f84; margin-bottom: 2px; }
.mock-note { text-align: center; font-size: 12.5px; color: #2e2a55; margin-top: 10px; }

/* Sections */
section.band { padding: 80px 0; }
section.band.tight { padding: 56px 0; }
section.band.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.band.ink { background: var(--ink); color: var(--white); }
section.band.ink .lede, section.band.ink .muted { color: #c9c6e8; }
.section-head { margin-bottom: 36px; }
.section-head .lede { margin-top: 14px; }

/* Leaks: three short scenes, side by side on desktop */
.leaks { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.leaks li { list-style: none; padding: 22px 0; border-bottom: 1px solid var(--line); }
.leaks { padding: 0; margin: 0; }
.leaks .when { font-weight: 800; font-variation-settings: "wdth" 112; display: block; margin-bottom: 4px; }
@media (min-width: 860px) {
  .leaks { grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 0; }
  .leaks li { border-top: 2px solid var(--ink); border-bottom: 0; }
}
.source { font-size: 13.5px; color: var(--ink-soft); margin-top: 22px; max-width: 46em; }

/* Lead timeline: a real sequence, so it gets a rail */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--spray), var(--violet)); }
.timeline li { position: relative; padding: 0 0 34px 52px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 4px; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--violet);
}
.timeline .when { font-size: 14px; font-weight: 700; color: var(--violet); display: block; margin-bottom: 2px; }
.timeline p { color: var(--ink-soft); max-width: 40em; margin: 0; }
@media (min-width: 960px) {
  .split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
  .split .sticky { position: sticky; top: 100px; }
}

/* Recovered estimates figure, set as a sentence */
.figure-line { font: 800 clamp(48px, 11vw, 112px)/1 var(--display); font-variation-settings: "wdth" 125; letter-spacing: -0.03em; color: var(--white); margin: 0 0 18px; }
.figure-line .unit { color: var(--spray); }

/* Approval rule card */
.rule {
  background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: 22px;
  border-left: 6px solid var(--spray); max-width: 520px;
}
.rule .label { font-size: 13px; font-weight: 700; color: #0b6f84; }
.rule p { margin: 6px 0 0; font-size: 18px; line-height: 1.45; }

/* Two paths (HCP / other software) */
.paths { display: grid; gap: 20px; }
@media (min-width: 820px) { .paths { grid-template-columns: 1fr 1fr; gap: 28px; } }
.path { padding: 28px 0 0; border-top: 6px solid var(--ink); }
.path.other { border-top-color: var(--concrete); }
.path ul { padding-left: 1.1em; margin: 12px 0 0; }
.path li { margin-bottom: 6px; }

/* Pricing */
.plans { display: grid; gap: 22px; }
@media (min-width: 860px) { .plans { grid-template-columns: 1fr 1fr; gap: 28px; } }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--ink); }
.plan .for { color: var(--ink-soft); font-size: 15.5px; margin: 6px 0 18px; }
.price { margin: 0; font: 800 56px/1 var(--display); font-variation-settings: "wdth" 120; letter-spacing: -0.03em; }
.price small { font: 600 17px/1 var(--body); color: var(--ink-soft); letter-spacing: 0; margin-left: 4px; }
.plan ul { padding: 0; margin: 22px 0 26px; list-style: none; }
.plan li { padding: 9px 0 9px 28px; border-top: 1px solid var(--line); position: relative; }
.plan li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 11px; height: 6px; border-left: 2.5px solid var(--spray); border-bottom: 2.5px solid var(--spray); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.offer-strip { margin-top: 28px; padding: 20px 22px; border-radius: var(--radius-sm); background: var(--ink); color: var(--white); display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; }
.offer-strip p { margin: 0; }
.offer-strip strong { font-variation-settings: "wdth" 112; }

.cols { display: grid; gap: 28px; }
@media (min-width: 820px) { .cols { grid-template-columns: 1fr 1fr; gap: 48px; } }
.plain-list { padding-left: 1.15em; margin: 12px 0 0; }
.plain-list li { margin-bottom: 8px; }
ol.steps { padding-left: 1.3em; margin: 12px 0 0; }
ol.steps li { margin-bottom: 10px; padding-left: 4px; }

table.compare { width: 100%; border-collapse: collapse; font-size: 15.5px; background: var(--white); border-radius: var(--radius-sm); overflow: hidden; }
table.compare th, table.compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare thead th { background: var(--ink); color: var(--white); font-size: 14px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-sm); border: 1px solid var(--line); }
table.compare { min-width: 560px; }

/* FAQ */
details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style-position: outside; }
details p { margin: 10px 0 0; color: var(--ink-soft); max-width: 44em; }

/* About */
.founders { display: grid; gap: 22px; margin-top: 28px; }
@media (min-width: 720px) { .founders { grid-template-columns: 1fr 1fr; } }
.founder { padding: 24px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.monogram { width: 56px; height: 56px; border-radius: 16px; background: var(--ink); color: var(--white); display: grid; place-items: center; font: 800 21px/1 var(--display); font-variation-settings: "wdth" 120; margin-bottom: 14px; }

/* Prose (privacy) */
.prose { max-width: 42em; }
.prose h2 { font-size: 24px; margin: 40px 0 10px; letter-spacing: -0.01em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }

/* Page head for inner pages */
.page-head { padding: 64px 0 40px; border-bottom: 1px solid var(--line); background:
  repeating-linear-gradient(90deg, rgba(31,26,69,.035) 0 1px, transparent 1px 9px), var(--paper-2); }
.page-head .lede { margin-top: 16px; }

/* CTA band */
.cta-band { text-align: left; }
.cta-band .btn-row { margin-top: 26px; }
.cta-band .btn-quiet { border-color: var(--white); color: var(--white); }
.cta-band .btn-quiet:hover { background: var(--white); color: var(--ink); }

/* Footer */
.site-footer { padding: 48px 0 40px; background: var(--paper-2); border-top: 1px solid var(--line); font-size: 15px; }
.foot-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer address { font-style: normal; color: var(--ink-soft); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--ink); }
.site-footer .fine { margin-top: 28px; color: var(--ink-soft); font-size: 13.5px; }

/* Narrow phones: the mark alone carries the brand so the nav never collides with it. */
@media (max-width: 400px) {
  .site-header .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
