/* Aiterra company site. Dark theme is the default.
   Colors are the brand tokens in docs/design/brand/tokens.css (dark mode),
   so the site and the Fieldhand app read as one brand. */
:root {
  --bg: #141009;        /* brand dark --bg, deep soil */
  --bg-2: #1b130b;      /* brand dark --surface-2 */
  --bg-3: #2a241d;      /* brand --earth-ink-2, raised surface */
  --bg-deep: #0f0b07;   /* footer and proof bands, one step below --bg */
  --cream: #faf7f1;     /* brand --earth-paper */
  --cream-dim: #e6dfd2;
  --muted: #a89c89;     /* brand --earth-mute-dk */
  --line: #3a332a;      /* brand --earth-line-dk */
  --lime: #8ad000;      /* brand --signal */
  --lime-2: #9be31a;
  --signal: #8ad000;    /* brand --signal, the "AI" in the Fieldhand AI wordmark */
  --soil: #141009;      /* text on a signal fill */
  --mark-soil: #2b2117;
  --ink: #faf7f1;
  --radius: 14px;       /* brand field-tile corner */
  --max: 1200px;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  font-family: var(--body);
  color: var(--cream);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--cream);
}
h1 { font-size: clamp(40px, 6vw, 76px); }
h2 { font-size: clamp(30px, 3.6vw, 48px); }
h3 { font-size: 22px; letter-spacing: -0.01em; }
p.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--cream-dim); max-width: 640px; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  display: inline-block;
}
.skip {
  position: absolute;
  left: 16px;
  top: 12px;
  transform: translateY(-200%);
  background: var(--lime);
  color: var(--soil);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 80;
}
.skip:focus { transform: none; }

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 16, 9, 0.9);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
  color: var(--cream);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.brand { text-decoration: none; display: inline-flex; }
.lock { display: inline-flex; align-items: center; gap: 0.45em; font-size: 28px; color: var(--cream); }
.lock .mark { width: 1.15em; height: 1.15em; display: block; }
/* Fieldhand AI wordmark (product_wordmark()): dotless i with a chartreuse dot,
   like the Aiterra wordmark, and "AI" in chartreuse. Every surface on this site is
   dark, where #8ad000 on #141009 is about 10:1, so it passes WCAG AA at any size.
   The dot is placed per face: Space Grotesk in headings, Inter in leads and body. */
.fhw { white-space: nowrap; }
.fh-ai { color: var(--signal, #8AD000); }
.fhw .i { position: relative; }
.fhw .i::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: var(--fh-dot-top, 0.2em);
  width: var(--fh-dot, 0.15em);
  height: var(--fh-dot, 0.15em);
  border-radius: 50%;
  background: var(--signal, #8AD000);
}
h1 .fhw, h2 .fhw, h3 .fhw { --fh-dot-top: 0.27em; --fh-dot: 0.15em; }
.wm { font-family: var(--display); font-weight: 600; letter-spacing: -0.025em; line-height: 1; }
.wm .i { position: relative; }
.wm .i::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0.27em;
  width: 0.15em;
  height: 0.15em;
  border-radius: 50%;
  background: var(--lime);
}
.navlinks { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.navlinks a { text-decoration: none; opacity: 0.86; position: relative; padding: 6px 0; transition: opacity 0.15s, color 0.15s; }
.navlinks a:hover { opacity: 1; }
.navlinks a.active { opacity: 1; color: var(--lime); }
.navlinks a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
}
.navcta { display: flex; gap: 20px; align-items: center; }
.signin { font-size: 15px; font-weight: 500; text-decoration: none; opacity: 0.86; padding: 6px 0; }
.signin:hover { opacity: 1; color: var(--lime); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.12s;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
}
.btn.primary { background: var(--lime); color: var(--soil); }
.btn:active { transform: translateY(1px); }
.btn.primary:hover { background: var(--lime-2); }
.btn.ghost { border-color: rgba(250, 247, 241, 0.4); background: transparent; color: inherit; }
.btn.ghost:hover { border-color: currentColor; background: rgba(250, 247, 241, 0.06); }
.btn.dark { background: var(--cream); color: var(--soil); }
.btn.dark:hover { background: #fff; }
.btn .arr { transition: transform 0.2s; }
.btn:hover .arr { transform: translateX(3px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
details.menu { display: none; position: relative; }
details.menu > summary {
  list-style: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
details.menu > summary::-webkit-details-marker { display: none; }
details.menu .bars { width: 18px; height: 12px; position: relative; display: block; }
details.menu .bars i {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s, top 0.2s;
}
details.menu .bars i:first-child { top: 1px; }
details.menu .bars i:last-child { top: 9px; }
details.menu[open] .bars i:first-child { top: 5px; transform: rotate(45deg); }
details.menu[open] .bars i:last-child { top: 5px; transform: rotate(-45deg); }
/* The sticky header uses backdrop-filter, which makes it the containing block
   for this fixed panel, so the sheet's height is set explicitly. */
details.menu .panel {
  position: fixed;
  left: 0;
  right: 0;
  top: 74px;
  height: calc(100vh - 74px);
  height: calc(100dvh - 74px);
  overflow-y: auto;
  background: var(--bg);
  color: var(--cream);
  border-top: 1px solid var(--line);
  padding: 12px 22px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: sheet-in 0.18s ease-out;
}
/* The sign-up stays pinned at the bottom of the mobile sheet. */
details.menu .panel .pinned {
  margin-top: auto;
  position: sticky;
  bottom: calc(16px + env(safe-area-inset-bottom));
  box-shadow: 0 -12px 24px var(--bg);
}
details.menu .panel nav a[aria-current="page"] { color: var(--lime); }
details.menu .panel nav { display: grid; }
details.menu .panel nav a {
  text-decoration: none;
  font-family: var(--display);
  font-size: 22px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
details.menu .panel .btn { justify-content: center; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

section { padding: 112px 0; }
section.tight { padding: 72px 0; }
.alt { background: var(--bg-2); }
.muted { color: var(--muted); }
.sechead {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.sechead p { color: var(--cream-dim); font-size: 18px; }

.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  color: var(--cream);
  padding: 120px 0 0;
}
.hero .bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(138, 208, 0, 0.13), transparent 62%),
    radial-gradient(700px 420px at -10% 90%, rgba(43, 33, 23, 0.6), transparent 60%),
    linear-gradient(180deg, #1d160d 0%, var(--bg) 72%);
}
.hero .wrap { position: relative; }
.hero h1 { max-width: 920px; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero p.lead { color: var(--cream-dim); margin: 26px 0 36px; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.showcase {
  margin-top: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: 72px;
}
.showcase.narrow {
  margin-top: 0;
  padding-bottom: 0;
  grid-template-columns: 1fr;
  align-items: start;
}
.showcase.narrow .phone { max-width: 280px; margin: 18px auto 0; }
.hero .shot, .showcase .shot, .hero-split .shot {
  margin-top: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line);
  background: var(--bg-3);
}
.phone {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  background: #f4f1ea;
}
.phone img { width: 100%; height: auto; display: block; }
.mobile-soon {
  margin: 12px 0 0;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.chatdemo {
  background: #f4f1ea;
  color: #1c1814;
  padding: 22px 28px 32px;
  font-size: 15px;
  line-height: 1.45;
}
.chatdemo .who {
  margin: 0 auto 6px;
  max-width: 640px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6d655c;
}
.chatdemo .bubble,
.chatdemo .reply {
  max-width: 640px;
  margin: 0 auto 18px;
}
.chatdemo .bubble {
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
}
.chatdemo .reply p,
.chatdemo .short > p { margin: 0 0 12px; }
.chatdemo .reply ul { margin: 0 0 12px 1.15em; }
.chatdemo .reply li + li { margin-top: 6px; }
.phone .who { display: none; }
.phone .chatdemo {
  padding: 18px 14px 8px;
  font-size: 13px;
  line-height: 1.4;
}
.phone .chatdemo .who { display: block; max-width: none; }
.phone .chatdemo .bubble,
.phone .chatdemo.short > p { max-width: none; }
.chatdemo.short {
  position: relative;
  max-height: 520px;
  overflow: hidden;
}
.chatdemo .fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  background: linear-gradient(transparent, #f4f1ea);
}
.actioncards {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 2px 28px 18px;
  background: #f4f1ea;
}
.actioncard {
  text-align: left;
  font-size: 14px;
  line-height: 1.35;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(28, 24, 20, 0.16);
  background: #fff;
  color: #3a342c;
}
.actioncard.sharecard {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
}
.shot .actioncards { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 761px) { .shot .actioncards { margin-top: -14px; } }
.shot .shareicon { margin-top: 2px; }
.shareicon {
  width: 16px;
  height: 16px;
  flex: none;
}
.sharecopy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.sharecopy b { font-weight: 500; }
.sharehint {
  font-size: 12px;
  line-height: 1.3;
  color: #6b6358;
}
.phone .actioncards {
  max-width: none;
  padding: 0 14px 16px;
}
.browserbar {
  background: #2a241d;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
}
.browserbar i { width: 11px; height: 11px; border-radius: 50%; background: #4a4238; display: block; }
.browserbar span {
  margin-left: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: #a89c89;
  background: #1b130b;
  padding: 4px 14px;
  border-radius: 6px;
}
.pagehero {
  background:
    radial-gradient(520px 320px at 110% -20%, rgba(138, 208, 0, 0.18), transparent 65%),
    var(--bg);
  color: var(--cream);
  padding: 104px 0 88px;
  position: relative;
  overflow: hidden;
}
.pagehero h1 { font-size: clamp(38px, 5vw, 64px); max-width: 860px; }
.pagehero p.lead { color: var(--cream-dim); margin-top: 22px; }
.platform-hero { padding: 88px 0 112px; overflow: visible; }
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1.08fr);
  gap: 48px;
  align-items: center;
}
.platform-hero h1,
.platform-hero .lead { max-width: none; }
.hero-cta { margin-top: 28px; }
.hero-split .shot { min-width: 0; }
.split > .phone { width: min(100%, 300px); justify-self: center; }

/* University wordmarks in one row. The NC State PNG keeps its official clear
   space (60px left and 45px top of a 1080x170 file), so it is drawn taller
   and offset by negative margins until its letters align with Iowa State's. */
.unilogos { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 20px; }
.unilogos img, .uni .unilogo {
  display: block;
  width: auto;
  max-width: 100%;
  height: 30px;
  object-fit: contain;
  object-position: left center;
}
.unilogos .logo-ncstate, .uni .logo-ncstate { height: 40px; margin: -10px 0 -10px -14px; }
.uni .unilogo { margin-bottom: 4px; }
.cohortlogo { display: block; height: 44px; width: auto; margin: 14px 0 2px; }
.affiliations { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 16px; }
.affiliations img {
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  /* Official files stay unaltered. This only presents them light on the dark page. */
  filter: grayscale(1) invert(1);
}
/* CU Boulder and Rantizo are wide lockups. At 28px tall they need more than
   120px, and they shrink to the card so a narrow column does not scroll sideways. */
.affiliations img[src$="cu-boulder.svg"],
.affiliations img[src$="rantizo.png"] {
  max-width: 100%;
  height: auto;
  max-height: 28px;
}
/* The official block IOWA file includes its clear space, so a 56px box
   puts the letters near 28px and keeps the mark wider than the 85px
   digital minimum on https://brand.uiowa.edu/logo . */
.affiliations img[src$="university-of-iowa.png"] {
  max-width: 100%;
  height: auto;
  max-height: 56px;
}

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--cream-dim); font-size: 16px; }
.card a { color: var(--lime); }
.num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--lime);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  display: block;
}
.icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(138, 208, 0, 0.1);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(138, 208, 0, 0.28);
}
.icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--lime);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-3);
}
.story > div { padding: 56px; }
.story > div + div { border-left: 1px solid var(--line); background: var(--bg-deep); }
.story h3 { font-size: 34px; margin: 14px 0 16px; }
.story p { color: var(--cream-dim); }
.story ul { margin-top: 22px; list-style: none; display: grid; gap: 10px; }
.story li { padding-left: 28px; position: relative; font-size: 16px; }
.story li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  transform: rotate(-45deg);
}

.patents {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-3);
  padding: 36px 40px;
}
.patents .eyebrow { margin-bottom: 12px; }
.patents h3 { font-size: 26px; line-height: 1.2; }
.patents .meta { font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: 0.04em; margin-top: 12px; }
.patents .inventors { font-size: 14.5px; color: var(--cream-dim); margin-top: 10px; }
.plist { list-style: none; display: grid; }
.plist li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.plist li:first-child { padding-top: 0; }
.plist li:last-child { border-bottom: 0; padding-bottom: 0; }
.plist .pn {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  color: var(--lime);
}
.plist .pn:hover { text-decoration: underline; text-underline-offset: 4px; }
.chip {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--cream-dim);
  width: fit-content;
}

.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.people.solo { grid-template-columns: 320px; justify-content: start; }
/* Leadership is three equal cards. Advisors are two cards of that same width, centered. */
.people.leaders,
.people.advisors {
  grid-template-columns: repeat(6, 1fr);
  align-items: start;
}
.people.leaders > .person,
.people.advisors > .person { grid-column: span 2; }
.people.advisors > .person:nth-child(1) { grid-column: 2 / span 2; }
.people.advisors > .person:nth-child(2) { grid-column: 4 / span 2; }
.person .todo {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime);
}
.person .ph {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 18px;
}
.person .ph img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}
.person h3 { font-size: 21px; }
.person .role {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 6px 0 10px;
}
.person p { font-size: 15px; color: var(--cream-dim); }
.about-person {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.portrait {
  width: 320px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: center center;
  border-radius: 16px;
  align-self: start;
  flex: 0 0 auto;
}
.people.sm { grid-template-columns: repeat(3, 1fr); }

.uni { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.uni .badge {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.15;
  text-align: center;
  color: var(--cream);
  padding: 8px;
}

.tl { position: relative; border-left: 2px solid var(--line); margin-left: 10px; }
.tl .ev { position: relative; padding: 0 0 44px 40px; }
.tl .ev::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--lime);
}
.tl .ev.hl::before { background: var(--lime); }
.tl .date {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
}
.tl h3 { margin: 6px 0; }
.tl p { color: var(--cream-dim); font-size: 16px; max-width: 680px; }
.tl a { color: var(--lime); }

.facts { width: 100%; border-collapse: collapse; }
.facts th,
.facts td { padding: 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 16px; }
.facts th {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  width: 38%;
  padding-top: 21px;
  text-align: left;
  font-weight: 500;
}
.facts a { color: var(--lime); }

form.contact { display: grid; gap: 14px; }
form.contact label { font-size: 13px; font-weight: 600; color: var(--cream-dim); }
form.contact input, form.contact select, form.contact textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-deep);
  color: var(--cream);
  margin-top: 6px;
}
form.contact textarea { min-height: 120px; resize: vertical; }
form.contact .status { min-height: 1.4em; color: var(--lime); font-size: 15px; }

.band {
  background: var(--lime);
  color: var(--soil);
  border-radius: 28px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.band h2 { font-size: clamp(30px, 3.4vw, 44px); color: var(--soil); }
.band p { font-size: 18px; margin-top: 12px; color: #2b3410; }
.band .ctas { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.band .btn.ghost { color: var(--soil); border-color: var(--soil); }
.band .btn.dark { background: var(--soil); color: var(--cream); }

.quote {
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  max-width: 980px;
}
.quote span { color: var(--lime); }

footer.site { background: var(--bg-deep); color: var(--cream-dim); padding: 80px 0 36px; font-size: 15px; }
footer .cols { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
footer h4 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 16px;
  font-weight: 500;
}
footer ul { list-style: none; display: grid; gap: 10px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--lime); }
footer .legal {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
footer .brandblock img { height: 34px; margin-bottom: 18px; }
footer .brandblock p { max-width: 300px; }
footer address { font-style: normal; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.imgframe {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  background: var(--bg-3);
}
.checklist { list-style: none; display: grid; gap: 14px; margin-top: 26px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 16.5px; }
.checklist li::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231A140C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
  margin-top: 3px;
}
.checklist b { font-weight: 600; }
.note { font-size: 13px; color: var(--muted); margin-top: 18px; }
.morelink { margin-top: 36px; }
.quote-by { margin-top: 20px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; }
.facts { margin-top: 28px; }
.roster { list-style: none; display: grid; gap: 8px; }
.roster li { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; }
.roster b { font-weight: 600; color: var(--cream); }
.roster span { color: var(--muted); font-size: 14.5px; }
.investors-split { align-items: start; }
.deckcard { padding: 40px; position: sticky; top: 100px; }
.deckcard h3 { font-size: 28px; margin-bottom: 10px; }
.livecard { padding: 36px; }
.livecard .checklist { margin-top: 20px; }
.split .livecard { margin-top: 32px; }

@media (max-width: 1100px) {
  .navlinks, .navcta .signin { display: none; }
  details.menu { display: block; }
  .g4, .people { grid-template-columns: repeat(2, 1fr); }
  .people.leaders,
  .people.advisors { grid-template-columns: repeat(2, 1fr); }
  .people.leaders > .person,
  .people.advisors > .person,
  .people.advisors > .person:nth-child(1),
  .people.advisors > .person:nth-child(2) { grid-column: auto; width: auto; }
  .people.leaders > .person:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - 28px) / 2);
    justify-self: center;
  }
  .g3 { grid-template-columns: 1fr 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr 1fr; }
  footer .brandblock { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 22px; }
  section { padding: 76px 0; }
  .hero { padding-top: 72px; }
  .showcase { padding-bottom: 48px; margin-top: 48px; }
  /* One demo per page: on a phone the browser frame becomes a phone frame. */
  .hero .shot, .showcase .shot, .hero-split .shot {
    max-width: 360px;
    width: 100%;
    margin: 0 auto;
    border-radius: 28px;
  }
  .shot .browserbar { display: none; }
  .shot .chatdemo { position: relative; padding: 20px 16px 12px; font-size: 14px; }
  .shot .actioncards { padding: 0 16px 16px; }
  .shot .reply ul,
  .shot .reply > p:last-child { display: none; }
  .shot .chatdemo::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    background: linear-gradient(transparent, #f4f1ea);
  }
  .phone { max-width: 320px; margin: 0 auto; }
  .sechead, .split, .hero-split, .story, .band, .g2, .g3, .uni { grid-template-columns: 1fr; }
  .platform-hero { padding: 72px 0 76px; }
  .hero-cta { margin-top: 22px; }
  .sechead { gap: 16px; margin-bottom: 36px; }
  .story > div { padding: 34px; }
  .story > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .patents { grid-template-columns: 1fr; gap: 24px; padding: 26px; }
  .plist .pn { font-size: 22px; }
  .deckcard { position: static; padding: 30px; }
  .livecard { padding: 26px; }
  .people, .people.sm { grid-template-columns: 1fr 1fr; gap: 18px; }
  .people.leaders,
  .people.advisors { gap: 18px; }
  .people.leaders > .person:last-child:nth-child(odd) { width: calc((100% - 18px) / 2); }
  .people.solo { grid-template-columns: min(100%, 280px); }
  .about-person { gap: 22px; }
  .portrait { width: min(100%, 280px); }
  .band { padding: 36px; }
  .band .ctas { justify-content: flex-start; }
  .navcta .btn.primary { padding: 10px 16px; font-size: 14px; }
  .lock { font-size: 24px; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .card { padding: 26px; }
}
/* The CU Boulder lockup is about 305px wide at 28px tall. Below 700px a
   two-column card is narrower than that, so the team stacks to one column. */
@media (max-width: 700px) {
  .people,
  .people.sm,
  .people.leaders,
  .people.advisors { grid-template-columns: 1fr; }
  .people.leaders > .person,
  .people.advisors > .person,
  .people.advisors > .person:nth-child(1),
  .people.advisors > .person:nth-child(2),
  .people.leaders > .person:last-child:nth-child(odd) {
    grid-column: auto;
    width: auto;
    justify-self: stretch;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn .arr, .navlinks a, details.menu .bars i { transition: none; }
  details.menu .panel { animation: none; }
}

/* ===== Homepage (PENG-855) ===================================================
   Seven sections. Product views use the Fieldhand web app's dark surfaces
   (services/webapp/frontend/src/index.css: page #141009, panel #1B130B,
   surface #1B1712, elevated #2A241D, border #3A332A). */
.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
:root {
  --app-panel: #1b130b;
  --app-surface: #1b1712;
  --app-raised: #2a241d;
  --pz1: #8ad000;
  --pz2: #6fa305;
  --pz3: #567f09;
  --pz4: #3d590d;
}

/* 1. Hero */
.home-hero { padding: 88px 0 104px; }
.herogrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: 64px;
  align-items: center;
}
.home-hero h1 { font-size: clamp(38px, 4.6vw, 62px); max-width: 600px; }
.home-hero p.lead { margin: 24px 0 32px; max-width: 520px; }
.composer {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 520px;
  background: var(--app-surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.composer:hover { border-color: #5a5045; }
.composer:focus-within { border-color: var(--lime); box-shadow: 0 0 0 4px rgba(138, 208, 0, 0.16); }
.composer input {
  flex: 1;
  min-width: 0;
  height: 44px;
  background: transparent;
  border: 0;
  color: var(--cream);
  font: inherit;
  font-size: 16px;
}
.composer input:focus-visible { outline: none; }
.composer input::placeholder { color: var(--muted); opacity: 1; }
.composer button {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--cream);
  color: var(--soil);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s;
}
.composer button:hover { background: var(--lime); }
.composer button:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.composer svg { width: 20px; height: 20px; }
.home-hero .ctas { margin-top: 22px; align-items: center; gap: 12px 20px; }
.ctanote { font-size: 14px; color: var(--muted); }

/* App window shared by the hero demo and the How it works views */
.appwin {
  background: var(--app-panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  color: var(--cream-dim);
}
.appbar {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: var(--app-raised);
  border-bottom: 1px solid var(--line);
}
.appbar i { width: 10px; height: 10px; border-radius: 50%; background: #4a4238; display: block; }
.appbar .url {
  margin-left: 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  background: var(--bg);
  padding: 3px 12px;
  border-radius: 6px;
}
.appbody { padding: 22px; display: grid; gap: 14px; font-size: 14.5px; line-height: 1.5; }
.msg p { margin: 0; }
.msg.user {
  position: relative;
  justify-self: end;
  max-width: 86%;
  background: var(--app-raised);
  color: var(--cream);
  border-radius: 14px 14px 4px 14px;
  padding: 10px 14px;
}
.qtype { display: none; position: absolute; inset: 10px 14px; margin: 0; }
.qtype::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 1px;
  vertical-align: -0.15em;
  background: var(--lime);
  animation: caret 0.9s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.msg.bot { position: relative; }
.think { position: absolute; left: 0; top: 6px; display: flex; gap: 5px; opacity: 0; }
.think i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: think 1s ease-in-out infinite; }
.think i:nth-child(2) { animation-delay: 0.15s; }
.think i:nth-child(3) { animation-delay: 0.3s; }
@keyframes think { 0%, 100% { opacity: 0.3; transform: none; } 50% { opacity: 1; transform: translateY(-3px); } }
.cite {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--cream-dim);
  background: var(--app-surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px 4px 9px;
  transition: opacity 0.3s, transform 0.3s;
}
.cite svg { width: 13px; height: 13px; color: var(--lime); flex: none; }

/* Prescription card */
.rx {
  background: var(--app-surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  transition: opacity 0.45s, transform 0.45s;
}
.rxhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.rxhead b { display: block; font-family: var(--display); font-size: 15.5px; font-weight: 600; color: var(--cream); letter-spacing: -0.01em; }
.rxhead span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  background: var(--lime);
  color: var(--soil);
  border: 1px solid var(--lime);
}
.rxhead .pill { margin-top: 0; color: var(--soil); }
.pill.ghost { background: transparent; color: var(--cream-dim); border-color: var(--line); }
.rxhead .pill.ghost { color: var(--cream-dim); }
.pill.ok, .rxhead .pill.ok { background: rgba(138, 208, 0, 0.12); color: var(--lime); border-color: rgba(138, 208, 0, 0.35); }
.pill svg { width: 14px; height: 14px; }
.rxbody {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 16px;
  align-items: center;
  margin-top: 12px;
}
.fieldmap, .kmap { display: block; width: 100%; height: auto; }
.zone { stroke: var(--bg); stroke-width: 1.5; transition: opacity 0.2s; }
.zone:focus { outline: none; }
.zone:focus-visible { stroke: var(--cream); stroke-width: 3; }
.pz1 { fill: var(--pz1); }
.pz2 { fill: var(--pz2); }
.pz3 { fill: var(--pz3); }
.pz4 { fill: var(--pz4); }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex: none; }
.sw.pz1 { background: var(--pz1); }
.sw.pz2 { background: var(--pz2); }
.sw.pz3 { background: var(--pz3); }
.sw.pz4 { background: var(--pz4); }
.outline { fill: none; stroke: rgba(250, 247, 241, 0.18); }
.zlabels { pointer-events: none; }
.zlabel circle, .zlabel rect { fill: rgba(20, 16, 9, 0.84); }
.zlabel text {
  fill: var(--cream);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  text-anchor: middle;
  font-variant-numeric: tabular-nums;
}
[data-hot] .zone { opacity: 0.32; }
[data-hot="1"] .zone[data-z="1"], [data-hot="2"] .zone[data-z="2"],
[data-hot="3"] .zone[data-z="3"], [data-hot="4"] .zone[data-z="4"] { opacity: 1; stroke: var(--cream); stroke-width: 2.5; }
.ratetable { width: 100%; border-collapse: collapse; font-size: 13px; }
.ratetable th, .ratetable td { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: right; }
.ratetable thead th {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.ratetable th:first-child { text-align: left; padding-left: 6px; }
.ratetable tbody th { font-weight: 500; color: var(--cream-dim); white-space: nowrap; }
.ratetable tbody th .sw { margin-right: 8px; vertical-align: -0.05em; }
.ratetable td { font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--cream); }
.ratetable tbody tr { transition: background 0.2s; }
.ratetable tbody tr:focus { outline: none; }
.ratetable tbody tr:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }
.ratetable tfoot th, .ratetable tfoot td { border-bottom: 0; font-weight: 600; color: var(--cream); }
[data-hot="1"] tr[data-z="1"], [data-hot="2"] tr[data-z="2"],
[data-hot="3"] tr[data-z="3"], [data-hot="4"] tr[data-z="4"] { background: rgba(138, 208, 0, 0.13); }
[data-hot="1"] tr[data-z="1"] th, [data-hot="2"] tr[data-z="2"] th,
[data-hot="3"] tr[data-z="3"] th, [data-hot="4"] tr[data-z="4"] th { color: var(--lime); }
.rxunits { margin: 10px 0 0; font-size: 11.5px; color: var(--muted); }
.demo { margin: 0; min-width: 0; }
.demo figcaption {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: 32px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.replay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px 4px 10px;
  cursor: pointer;
}
.replay[hidden] { display: none; }
.replay:hover { border-color: var(--cream-dim); }
.replay:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.replay svg { width: 14px; height: 14px; }

/* The demo plays only with JS and only for visitors who allow motion.
   Otherwise the finished state shows at rest. */
@media (prefers-reduced-motion: no-preference) {
  .js .demo:not(.is-done):not(.q-done) .qtext { color: transparent; }
  .js .demo.is-typing .qtype { display: block; }
  .js .demo.is-thinking .think { opacity: 1; }
  .js .demo:not(.is-done) .w { opacity: 0; transition: opacity 0.25s; }
  .js .demo:not(.is-done) .w.on { opacity: 1; }
  .js .demo:not(.is-done):not(.cite-on) .cite { opacity: 0; transform: translateY(4px); }
  .js .demo:not(.is-done):not(.rx-on) .rx { opacity: 0; transform: translateY(10px); }
  .js .demo.rx-on:not(.is-done) .zone { animation: zone-in 0.5s both; animation-delay: calc(var(--i) * 140ms + 150ms); }
  .js .demo.rx-on:not(.is-done) .ratetable tbody tr { animation: zone-in 0.4s both; }
  .js .demo.rx-on:not(.is-done) .ratetable tbody tr:nth-child(1) { animation-delay: 0.2s; }
  .js .demo.rx-on:not(.is-done) .ratetable tbody tr:nth-child(2) { animation-delay: 0.34s; }
  .js .demo.rx-on:not(.is-done) .ratetable tbody tr:nth-child(3) { animation-delay: 0.48s; }
  .js .demo.rx-on:not(.is-done) .ratetable tbody tr:nth-child(4) { animation-delay: 0.62s; }
  .js .tiles:not(.in) .tilegrid i.on { background: #241e17; border-color: #332b22; }
  .tilegrid i.on { transition: background 0.4s, border-color 0.4s; transition-delay: var(--d); }
}
@keyframes zone-in { from { opacity: 0; } to { opacity: 1; } }

/* 2. Proof bar */
.proofbar { padding: 26px 0; background: var(--bg-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prow { display: flex; align-items: center; justify-content: space-between; gap: 20px 24px; }
.prow > .pi { flex: none; }
.pi { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--muted); white-space: nowrap; }
.prow > .pi.team { flex: 0 1 300px; min-width: 210px; white-space: normal; line-height: 1.45; }
.pi + .pi { padding-left: 24px; border-left: 1px solid var(--line); }
.pi b { font-family: var(--display); font-size: 30px; line-height: 1; font-weight: 600; color: var(--cream); }
.proofbar .unilogos { margin: 0; flex-wrap: nowrap; gap: 22px; opacity: 0.88; }
.proofbar .unilogos img { height: 22px; max-width: none; flex: none; }
.proofbar .unilogos .logo-ncstate { height: 30px; margin: -7px 0 -7px -10px; }
@media (min-width: 1101px) and (max-width: 1279px) {
  .proofbar .unilogos img { height: 20px; }
  .proofbar .unilogos .logo-ncstate { height: 27px; margin: -6px 0 -6px -9px; }
  .prow > .pi.team { min-width: 190px; }
}
.proofbar .cohortlogo { height: 32px; margin: 0; opacity: 0.88; }

/* 3. The gap */
.gapgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px 72px;
  align-items: center;
}
.gap h2 { max-width: 580px; }
.gap p.lead { margin-top: 20px; }
.gapstat {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.gapstat b {
  font-family: var(--display);
  font-size: 64px;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--lime);
  white-space: nowrap;
}
.gapstat p { font-size: 16px; color: var(--cream-dim); max-width: 380px; }
sup { font-size: 0.68em; line-height: 0; color: var(--muted); margin-left: 1px; }
.gapturn { margin-top: 24px; font-size: 17px; font-weight: 500; color: var(--cream); max-width: 520px; }
.tiles { margin: 0; }
.tilegrid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
  max-width: 400px;
  margin-left: auto;
}
.tilegrid i { display: block; aspect-ratio: 1; border-radius: 4px; background: #241e17; border: 1px solid #332b22; }
.tilegrid i.on { background: var(--lime); border-color: var(--lime); }
.tiles figcaption {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  max-width: 400px;
  margin: 16px 0 0 auto;
  font-size: 13px;
  color: var(--muted);
}
.tiles figcaption span { display: inline-flex; align-items: center; gap: 8px; }
.tiles figcaption i { width: 12px; height: 12px; border-radius: 3px; background: #241e17; border: 1px solid #4a4238; }
.tiles figcaption i.on { background: var(--lime); border-color: var(--lime); }
.gapnote { grid-column: 1 / -1; margin-top: 8px; }

/* 4. How it works */
.hsteps { list-style: none; display: grid; gap: 96px; }
.hstep {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 72px;
  align-items: start;
}
.htext { position: sticky; top: 140px; }
.htext .num { margin-bottom: 12px; }
.htext h3 { font-size: clamp(32px, 3.4vw, 44px); margin-bottom: 14px; }
.htext p { color: var(--cream-dim); font-size: 17px; max-width: 400px; }
.hiw .morelink { margin-top: 72px; }
.chat .msg.user { max-width: 92%; }
.answer p { margin: 0 0 10px; }
.answer ul { margin: 0 0 10px 1.15em; }
.answer li + li { margin-top: 4px; }
.sources { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.sources .cite { margin-top: 0; }
.srclabel { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.appwin .actioncards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 2px 0 0;
  background: transparent;
}
.appwin .actioncard {
  align-items: flex-start;
  background: var(--app-surface);
  border-color: var(--line);
  color: var(--cream);
  font-size: 13px;
  padding: 10px 12px;
}
.appwin .shareicon { color: var(--lime); margin-top: 2px; }
.appwin .sharehint { color: var(--muted); }
.seegrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 6px;
}
.zlist { list-style: none; display: grid; }
.zlist li {
  display: grid;
  grid-template-columns: 12px 1fr auto 64px;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}
.zlist b { font-weight: 500; color: var(--cream); }
.zlist .r { text-align: right; font-family: var(--mono); color: var(--cream); }
.zlist .zlh { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 0; }
.zlist .zlh b, .zlist .zlh .r { font-weight: 500; color: var(--muted); font-family: var(--mono); }
.rxsum { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.rxsum dt, .record dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.rxsum dd { font-family: var(--display); font-size: 19px; font-weight: 600; color: var(--cream); font-variant-numeric: tabular-nums; margin-top: 2px; }
.rxactions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.record { display: grid; }
.record > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); }
.record dd { color: var(--cream); font-size: 14px; }
.signed {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 10px;
  background: rgba(138, 208, 0, 0.08);
  border: 1px solid rgba(138, 208, 0, 0.32);
}
.signed > svg { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--lime); color: var(--soil); flex: none; }
.signed b { display: block; color: var(--cream); font-size: 14.5px; font-weight: 600; }
.signed span span { display: block; font-size: 12.5px; color: var(--muted); }
.shared { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--cream-dim); }
.shared .shareicon { color: var(--lime); }

/* 5. EarnedZones */
.szgrid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 72px;
  align-items: center;
}
.sz h2 { max-width: 540px; }
.sz p.lead { margin-top: 20px; }
.szpat { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.szlabel { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.pnums { list-style: none; display: grid; margin: 10px 0 16px; max-width: 380px; }
.pnums li { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pnums a { font-family: var(--mono); font-size: 17px; color: var(--lime); text-decoration: none; font-variant-numeric: tabular-nums; }
.pnums a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pnums span { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.szpat p { font-size: 15px; color: var(--cream-dim); }
.szpat p a { color: var(--lime); }
/* Field A, a real field (EarnedZones) */
.sz .szgrid { align-items: start; }
.fastats { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.fastats b { display: block; font-family: var(--display); font-size: 30px; font-weight: 600; line-height: 1.05; color: var(--cream); letter-spacing: -0.02em; white-space: nowrap; }
.fastats span { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.faviz { background: var(--app-surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.fswitch { display: inline-flex; padding: 4px; margin-bottom: 22px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.fswitch button {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  min-height: 36px;
  padding: 7px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--cream-dim);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.fswitch button:hover { color: var(--cream); }
.fswitch button[aria-pressed="true"] { background: var(--lime); color: var(--soil); }
.fswitch button:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.faviz:not(.is-live) .fswitch { display: none; }
.faviz.is-live .fpanel:not(.on) { display: none; }
.faviz:not(.is-live) .fpanel + .fpanel { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.fphead { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.fplabel { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.fplabel .u { text-transform: none; letter-spacing: 0; }
.fpverdict { display: block; margin-top: 6px; font-family: var(--display); font-size: 26px; font-weight: 600; line-height: 1.15; color: var(--lime); letter-spacing: -0.01em; }
.fpverdict.one { color: var(--cream); }
.faschem { display: block; width: 120px; height: auto; flex: none; }
.faschem .sa { fill: #8ad000; }
.faschem .sb { fill: #4a6b0c; stroke: var(--bg); stroke-width: 1.5; }
.faschem .sone { fill: #5e8a08; }
.faranges { list-style: none; display: grid; margin-top: 18px; }
.faranges li {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 112px 90px;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.faranges .d { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.track { position: relative; height: 10px; border-radius: 5px; background: rgba(250, 247, 241, 0.07); }
.track .bar { position: absolute; top: 0; bottom: 0; left: var(--l); width: var(--w); border-radius: 5px; background: rgba(138, 208, 0, 0.55); }
.track .med { position: absolute; top: -4px; bottom: -4px; left: var(--m); width: 2px; margin-left: -1px; border-radius: 1px; background: var(--cream); }
.faranges .v { font-family: var(--mono); color: var(--cream); font-variant-numeric: tabular-nums; }
.faranges .v em { display: block; font-style: normal; font-family: var(--body); font-size: 11.5px; color: var(--muted); }
.faranges .t { justify-self: end; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.faranges .t.ok { color: var(--lime); border-color: rgba(138, 208, 0, 0.4); background: rgba(138, 208, 0, 0.1); }
.faverdict { margin-top: 16px; font-size: 15.5px; color: var(--cream-dim); }
.fachange { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.falegend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.falegend span { display: inline-flex; align-items: center; gap: 8px; }
.falegend i { display: inline-block; flex: none; }
.falegend .lbar { width: 18px; height: 8px; border-radius: 4px; background: rgba(138, 208, 0, 0.55); }
.falegend .lchip { width: 14px; height: 14px; border-radius: 999px; border: 1px solid rgba(138, 208, 0, 0.4); background: rgba(138, 208, 0, 0.1); }
.falegend .lsch { width: 16px; height: 10px; border-radius: 3px; background: linear-gradient(90deg, #8ad000 60%, #4a6b0c 60%); }
.farx { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.farx > b { display: block; font-family: var(--display); color: var(--cream); }
.farx > span { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }

/* Science you can check */
.harness {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
}
.harness li { display: grid; align-content: start; gap: 6px; padding: 22px 24px; background: var(--bg); }
.harness .num { margin: 0; }
.harness b { font-family: var(--display); font-size: 19px; font-weight: 600; color: var(--cream); }
.harness li > span:last-child { font-size: 14.5px; color: var(--cream-dim); }
.harness li:nth-child(3) { background: #1d2010; }
.harness li:nth-child(3) b { color: var(--lime); }
.scistat { font-family: var(--display); font-size: 44px; font-weight: 600; line-height: 1; color: var(--lime); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.scicards .card a { color: var(--lime); }
.agbench { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; margin-top: 64px; }
.abcopy h3 { font-size: clamp(26px, 2.6vw, 32px); margin-bottom: 14px; }
.abcopy p { color: var(--cream-dim); }
.abitem { margin: 0; }
.abhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 22px; background: var(--app-raised); border-bottom: 1px solid var(--line); }
.ablabel { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-dim); }
.abhead .pill { color: var(--cream-dim); }
.abtools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tool { font-family: var(--mono); font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--app-raised); border: 1px solid var(--line); color: var(--cream-dim); }
.abitem .msg.bot > * + * { margin-top: 10px; }
.abitem .msg.bot b { color: var(--cream); }
.abtable { border-collapse: collapse; font-size: 13px; }
.abtable th, .abtable td { padding: 6px 12px; border: 1px solid var(--line); text-align: left; }
.abtable th { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.abtable td { color: var(--cream); }
.abitem figcaption { padding: 0 22px 18px; font-size: 12.5px; color: var(--muted); }
.scinote { margin-top: 36px; }
.cites { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cites .cite { margin-top: 0; }
.cite.tool { color: var(--lime); border-color: rgba(138, 208, 0, 0.35); background: rgba(138, 208, 0, 0.08); font-family: var(--body); }
.whatifnote { font-size: 11.5px; color: var(--muted); }

/* 6. Who it's for */
.who .card .sub {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  margin: -2px 0 12px;
}

/* 7. Close */
.closer {
  padding: 128px 0;
  background: radial-gradient(720px 380px at 50% 0%, rgba(138, 208, 0, 0.11), transparent 70%), var(--bg);
}
.closebox { display: flex; flex-direction: column; align-items: center; text-align: center; }
.closebox h2 { max-width: 760px; }
.closebox p.lead { margin: 18px auto 32px; }
.closebox .composer { width: 100%; max-width: 600px; text-align: left; }
.closebox .ctas { margin-top: 22px; display: flex; }
.closelinks { display: flex; gap: 28px; margin-top: 36px; font-size: 15px; }
.closelinks a { color: var(--cream-dim); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.closelinks a:hover { color: var(--lime); border-color: var(--lime); }
.stickycta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--soil);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.25s, transform 0.25s, visibility 0s linear 0.25s;
}
.stickycta.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s, transform 0.25s; }
.stickycta:hover { background: var(--lime-2); }
.stickycta:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

@media (min-width: 961px) {
  .hsteps.is-live .htext, .hsteps.is-live .hview { transition: opacity 0.4s; }
  .hsteps.is-live .hstep:not(.is-active) .htext { opacity: 0.4; }
  .hsteps.is-live .hstep:not(.is-active) .hview { opacity: 0.55; }
}
@media (max-width: 1100px) {
  .herogrid, .hstep, .szgrid { gap: 48px; }
  .prow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px 32px; }
  .pi + .pi { padding-left: 0; border-left: 0; }
  .pi.team { max-width: none; }
  .proofbar .unilogos { gap: 18px; margin-right: 0; }
  .proofbar .unilogos img { height: 21px; }
  .proofbar .unilogos .logo-ncstate { height: 28px; margin: -6px 0 -6px -10px; }
  .who .grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .who .card { padding: 26px; }
}
@media (max-width: 960px) {
  .agbench { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .harness { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .herogrid, .gapgrid, .hstep, .szgrid { grid-template-columns: minmax(0, 1fr); }
  .demo { width: 100%; max-width: 620px; justify-self: center; }
  .home-hero h1, .home-hero p.lead { max-width: 680px; }
  .tilegrid, .tiles figcaption { margin-left: 0; justify-content: flex-start; }
  .hsteps { gap: 72px; }
  .hstep { gap: 28px; }
  .htext { position: static; }
}
@media (max-width: 760px) {
  .home-hero { padding: 28px 0 72px; }
  .herogrid { gap: 40px; }
  /* One demo per page: on a phone the browser window becomes a phone frame. */
  .demo .appwin { max-width: 360px; margin: 0 auto; border-radius: 28px; }
  .demo .appbar { display: none; }
  .demo .appbody { padding: 18px 14px; font-size: 13.5px; gap: 12px; }
  .demo figcaption { flex-wrap: wrap; font-size: 12.5px; }
  .rxbody { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ratetable { font-size: 12px; }
  .ratetable th, .ratetable td { padding: 6px 4px; }
  .ratetable tbody th .sw { margin-right: 5px; }
  .home-hero .ctas .btn { flex: 1 1 auto; justify-content: center; }
  .ctanote { width: 100%; text-align: center; }
  .prow { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 18px; }
  .who .grid.g3 { grid-template-columns: minmax(0, 1fr); }
  .pi.team { text-align: center; }
  .proofbar .unilogos { gap: 16px; }
  .proofbar .unilogos img { height: 19px; }
  .proofbar .unilogos .logo-ncstate { height: 26px; margin: -6px 0 -6px -9px; }
  .pi.team { max-width: none; }
  .gapstat { flex-direction: column; gap: 10px; }
  .gapstat b { font-size: 52px; }
  .tilegrid { gap: 5px; }
  .appbody { padding: 16px; }
  .appwin .actioncards { grid-template-columns: minmax(0, 1fr); }
  .hview .answer ul, .hview .answer > p:last-child { display: none; }
  .seegrid { grid-template-columns: minmax(0, 1fr); }
  .record > div { grid-template-columns: 84px 1fr; }
  .rxactions .pill, .rxhead .pill { font-size: 12px; }
  .closer { padding: 88px 0 112px; }
  .stickycta { left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .fastats { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .fastats li { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 12px; align-items: baseline; }
  .fastats b { font-size: 22px; }
  .fastats span { margin-top: 0; }
  .faviz { padding: 16px; border-radius: 16px; }
  .fswitch { display: flex; }
  .fswitch button { flex: 1; padding: 7px 8px; font-size: 13.5px; }
  .faviz:not(.is-live) .fswitch { display: none; }
  .fpverdict { font-size: 22px; }
  .faschem { width: 92px; }
  .faranges li { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "d t" "track track" "v v"; gap: 8px 12px; }
  .faranges .d { grid-area: d; }
  .faranges .t { grid-area: t; }
  .faranges .track { grid-area: track; }
  .faranges .v { grid-area: v; }
  .faranges .v em { display: inline; margin-left: 8px; }
  .harness { grid-template-columns: minmax(0, 1fr); }
  .abhead { padding: 12px 16px; }
  .abitem figcaption { padding: 0 16px 16px; }
  .abtable th, .abtable td { padding: 6px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .composer, .composer button, .zone, .ratetable tbody tr, .fswitch button,
  .stickycta, .cite, .rx, .tilegrid i { transition: none; }
  .qtype::after, .think i { animation: none; }
}

/* ===== Inner pages (Step 2) ================================================ */
.prodhero { padding: 88px 0 104px; }
.prodhero .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.mvt {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
}
.mvtcol { background: var(--app-surface); padding: 26px; display: grid; align-content: start; gap: 10px; }
.mvtcol.tools { background: #1d2010; }
.mvthead { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.mvtcol.tools .mvthead { color: var(--lime); }
.mvtcol > b { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--cream); letter-spacing: -0.01em; }
.mvtcol ul { list-style: none; display: grid; gap: 10px; margin-top: 6px; }
.mvtcol li { position: relative; padding-left: 18px; font-size: 14.5px; color: var(--cream-dim); line-height: 1.45; }
.mvtcol li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 2px; background: var(--muted); }
.mvtcol.tools li::before { background: var(--lime); }
.mvt figcaption { grid-column: 1 / -1; background: var(--bg); padding: 14px 26px; font-size: 13.5px; color: var(--cream-dim); }
.actionsrow { margin-top: 88px; }
.actionsrow > h3 { font-size: 26px; margin-bottom: 22px; }
.card.slim { padding: 26px; }
.card.slim .num { margin-bottom: 10px; }
.results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.results .card { display: flex; flex-direction: column; }
.results .scistat { font-size: 44px; }
.results .n { margin-top: auto; padding-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.results .card p + p.n { margin-top: auto; }
.abgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.abimg { margin: 0; }
.abimg a { position: relative; display: block; max-height: 560px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); transition: border-color 0.2s; text-decoration: none; }
.abimg a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(rgba(249, 246, 240, 0), #f9f6f0 72%); pointer-events: none; }
.abmore::before { content: "Open the full item"; }
.abmore { position: absolute; left: 50%; bottom: 18px; z-index: 1; transform: translateX(-50%); padding: 8px 16px; border-radius: 999px; background: var(--soil); color: var(--cream); font-size: 13px; font-weight: 600; white-space: nowrap; }
.abimg a:hover .abmore, .abimg a:focus-visible .abmore { background: var(--lime); color: var(--soil); }
.abimg a:hover { border-color: var(--lime); }
.abimg img { width: 100%; height: auto; }
.abimg figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.quotes { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.quotes li { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.quotes blockquote p { font-family: var(--display); font-size: 19px; line-height: 1.4; color: var(--cream); letter-spacing: -0.005em; }
.quotes cite { margin-top: auto; font-style: normal; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; }
.quotes cite a { color: var(--lime); }
.checklist.plain li::before { background: var(--bg-3); border: 1.5px solid var(--muted); width: 14px; height: 14px; margin-top: 5px; }
.card.limits h3 { margin: 4px 0 4px; }
.livenext .card { padding: 32px; }
.livenext .checklist { margin-top: 18px; }
.careers .roles { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 28px; }
.deckform { margin-top: 18px; }
.deckform textarea { min-height: 96px; }
.reportcard { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
@media (max-width: 1100px) {
  .mvt { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .prodhero { padding: 64px 0 72px; }
  .results, .abgrid, .quotes, .careers .roles { grid-template-columns: minmax(0, 1fr); }
  .mvtcol { padding: 20px; }
  .mvt figcaption { padding: 12px 20px; }
  .actionsrow { margin-top: 64px; }
  .quotes li { padding: 22px; }
  .quotes blockquote p { font-size: 17px; }
}
.agbench.solo { grid-template-columns: minmax(0, 1fr); max-width: 760px; }

/* ===== Dropdown navigation (Step 2b) ======================================= */
.navlist { list-style: none; display: flex; align-items: center; gap: 14px; }
.navitem { position: relative; display: flex; align-items: center; gap: 2px; }
.navlinks .navtop { padding: 6px 0; }
.navcaret {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--cream);
  opacity: 0.7;
  cursor: pointer;
}
.navcaret svg { width: 15px; height: 15px; transition: transform 0.18s; }
.navcaret:hover, .navitem.open .navcaret { opacity: 1; background: rgba(250, 247, 241, 0.06); }
.navitem.open .navcaret svg { transform: rotate(180deg); }
.navcaret:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.navmenu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: -18px;
  z-index: 60;
  width: 340px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.navmenu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.navmenu ul { list-style: none; display: grid; gap: 2px; }
.navlinks .navmenu a { display: grid; gap: 2px; padding: 11px 14px; border-radius: 10px; opacity: 1; }
.navlinks .navmenu a::after { display: none; }
.navmenu a b { font-size: 15px; font-weight: 600; color: var(--cream); }
.navmenu a span { font-size: 13.5px; font-weight: 400; line-height: 1.4; color: var(--muted); }
.navmenu a:hover, .navmenu a:focus-visible { background: rgba(250, 247, 241, 0.06); outline: none; }
.navmenu a:focus-visible { box-shadow: inset 0 0 0 2px var(--lime); }
.navmenu a[aria-current="page"] b { color: var(--lime); }
.navitem.open .navmenu { display: block; }
html:not(.navjs) .navitem:hover .navmenu,
html:not(.navjs) .navitem:focus-within .navmenu { display: block; }
/* Mobile sheet groups */
details.menu .panel nav { display: grid; }
details.menu .panel nav .mtop,
details.mgroup summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  font-family: var(--display);
  font-size: 22px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  list-style: none;
}
details.mgroup summary::-webkit-details-marker { display: none; }
details.mgroup summary svg { width: 20px; height: 20px; transition: transform 0.18s; }
details.mgroup[open] summary svg { transform: rotate(180deg); }
details.mgroup summary:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
details.mgroup ul { list-style: none; display: grid; padding: 6px 0 10px; border-bottom: 1px solid var(--line); }
details.menu .panel details.mgroup a {
  display: block;
  font-family: var(--body);
  font-size: 17px;
  padding: 10px 0 10px 14px;
  border-bottom: 0;
  color: var(--cream-dim);
  text-decoration: none;
}
details.menu .panel details.mgroup a[aria-current="page"],
details.menu .panel nav .mtop[aria-current="page"] { color: var(--lime); }
@media (max-width: 1240px) {
  .navlist { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .navcaret svg, details.mgroup summary svg { transition: none; }
}

/* ===== Step 2b pages ======================================================= */
.linkcards a.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color 0.2s, transform 0.2s; }
.linkcards a.card:hover { border-color: var(--lime); }
.linkcards a.card:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.linkcards .more { margin-top: auto; padding-top: 18px; font-weight: 600; font-size: 15px; color: var(--lime); }
.linkcards .scistat { font-size: 40px; }
.rxtypes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rxtype h3 { font-size: 28px; margin: 4px 0 18px; }
.rxtype .eyebrow { margin-bottom: 10px; }
.rxdl { display: grid; gap: 16px; }
.rxdl dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); margin-bottom: 4px; }
.rxdl dd { font-size: 15px; color: var(--cream-dim); line-height: 1.55; }
.sections { list-style: none; counter-reset: sec; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sections li { counter-increment: sec; position: relative; padding: 22px 22px 22px 60px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-3); }
.sections li::before { content: counter(sec, decimal-leading-zero); position: absolute; left: 22px; top: 23px; font-family: var(--mono); font-size: 12px; color: var(--lime); }
.sections b { display: block; font-family: var(--display); font-size: 17px; font-weight: 600; color: var(--cream); margin-bottom: 4px; }
.sections span { font-size: 14.5px; color: var(--cream-dim); }
.patentgrid .patent { display: flex; flex-direction: column; gap: 16px; }
.phead { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.patent .pn { font-family: var(--mono); font-size: 20px; color: var(--lime); text-decoration: none; font-variant-numeric: tabular-nums; }
.patent .pn:hover { text-decoration: underline; text-underline-offset: 4px; }
.pdl { display: grid; gap: 12px; }
.pdl dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pdl dd { font-size: 15.5px; color: var(--cream); }
.patent .note { margin-top: auto; }
.patent .note a { color: var(--lime); }
.asset { margin: 0; padding: 0; overflow: hidden; }
.assetbox { display: grid; place-items: center; height: 180px; padding: 28px; background: var(--bg); border-bottom: 1px solid var(--line); }
.assetbox img { height: 96px; width: auto; max-width: 100%; object-fit: contain; }
.assetbox.light { background: var(--cream); }
.asset figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; font-size: 14.5px; }
.asset figcaption b { font-weight: 600; color: var(--cream); }
.asset figcaption a { color: var(--lime); font-weight: 600; }
.boiler { padding: 36px; }
.boiler p { font-size: 17px; color: var(--cream-dim); max-width: 860px; }
#limits .checklist b { color: var(--cream); font-weight: 600; }
@media (max-width: 1100px) {
  .rxtypes, .sections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .rxtypes, .sections { grid-template-columns: minmax(0, 1fr); }
  .rxtype h3 { font-size: 24px; }
}

/* --- Build-out pages (PENG-855): example questions, FAQ, audiences --- */
.qgrid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.qcard { display: flex; flex-direction: column; gap: 14px; padding: 28px; }
.qcard .q { font-family: var(--display); font-size: 20px; line-height: 1.35; color: var(--cream); font-weight: 500; letter-spacing: -0.01em; }
.qcard .how { font-size: 15px; color: var(--muted); margin-top: auto; }
.chip.kind { align-self: flex-start; }
.chip.kind.computed { color: var(--lime); border-color: rgba(138, 208, 0, 0.45); }
.chip.kind.estimated { color: #f2c14e; border-color: rgba(242, 193, 78, 0.45); }
.chip.kind.action { color: var(--cream-dim); }
.kindlegend { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; margin-bottom: 32px; }
.kindlegend li { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--cream-dim); }
.jump { display: flex; flex-wrap: wrap; gap: 10px; }
.jump a { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14.5px; font-weight: 500; transition: border-color 0.15s, color 0.15s; }
.jump a:hover { border-color: var(--lime); color: var(--lime); }
.faqwrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faqitem { border-bottom: 1px solid var(--line); }
.faqitem > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 4px; font-family: var(--display); font-size: 21px; font-weight: 500; letter-spacing: -0.01em; }
.faqitem > summary::-webkit-details-marker { display: none; }
.faqitem > summary svg { width: 20px; height: 20px; flex: none; color: var(--muted); transition: transform 0.2s; }
.faqitem[open] > summary svg { transform: rotate(180deg); color: var(--lime); }
.faqitem > summary:hover { color: var(--lime); }
.faqa { padding: 0 4px 26px; max-width: 760px; }
.faqa p { color: var(--cream-dim); font-size: 17px; line-height: 1.6; }
.faqa a { color: var(--lime); white-space: nowrap; }
.faqside { position: sticky; top: 104px; }
.faqside p { margin-top: 10px; }
.faqside .btn { width: 100%; justify-content: center; }
@media (max-width: 1100px) {
  .qgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .faqwrap { grid-template-columns: minmax(0, 1fr); }
  .faqside { position: static; }
}
@media (max-width: 720px) {
  .qgrid, .kindlegend { grid-template-columns: minmax(0, 1fr); }
  .faqitem > summary { font-size: 18px; padding: 20px 2px; }
  .qcard .q { font-size: 18px; }
}
@media (max-width: 600px) {
  .grid.g4 { grid-template-columns: minmax(0, 1fr); }
}

/* --- "Is it worth it?" break-even widget (questions page) --- */
.roigrid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.roicopy h2 { margin-top: 8px; }
.roicopy .lead { margin: 20px 0 24px; }
.roicopy .checklist { margin-bottom: 20px; }
.roisources summary { cursor: pointer; color: var(--lime); font-weight: 500; font-size: 15px; }
.roisources ul { margin: 12px 0 0 18px; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.roisources a { color: var(--cream-dim); }
.roiwin .appbar { justify-content: flex-start; }
.roireset { margin-left: auto; white-space: nowrap; background: none; border: 1px solid var(--line); color: var(--cream-dim); border-radius: 999px; padding: 3px 12px; font: 500 12.5px var(--body); cursor: pointer; }
.roireset:hover { border-color: var(--lime); color: var(--lime); }
.roibody { height: 560px; overflow-y: auto; align-content: start; scroll-behavior: smooth; overscroll-behavior: contain; }
.roibody .msg.bot p + p { margin-top: 8px; }
.roinote { font-size: 13px; color: var(--muted); }
.roiask { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.roichip { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; background: var(--app-surface); border: 1px solid var(--line); color: var(--cream); border-radius: 12px; padding: 8px 12px; font: 500 14px var(--body); cursor: pointer; transition: border-color 0.15s; max-width: 100%; }
.roichip:hover, .roichip:focus-visible { border-color: var(--lime); }
.roichipnote { font-size: 11.5px; font-weight: 400; color: var(--muted); }
.roinum { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; width: 100%; }
.roinum input { flex: 1 1 140px; min-width: 0; background: var(--bg); border: 1px solid var(--line); color: var(--cream); border-radius: 10px; padding: 9px 12px; font: 15px var(--body); }
.roinum input:focus { outline: none; border-color: var(--lime); }
.roiunit { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.roigo { background: var(--lime); color: var(--soil); border: 0; border-radius: 10px; padding: 9px 16px; font: 600 14px var(--body); cursor: pointer; }
.roierr { flex-basis: 100%; font-size: 13px; color: #f2a65a; min-height: 0; }
.roierr:empty { display: none; }
.roiresult > p:first-child { color: var(--cream); font-size: 15.5px; }
.roimath { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 14px; margin: 12px 0; padding: 12px 14px; background: var(--app-surface); border: 1px solid var(--line); border-radius: 10px; font-size: 13px; }
.roimath dt { color: var(--muted); }
.roimath dd { font-family: var(--mono); font-size: 12.5px; color: var(--cream-dim); overflow-wrap: anywhere; }
.roiact { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 960px) {
  .roigrid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 600px) {
  .roibody { height: 520px; padding: 16px; }
  .roimath { grid-template-columns: minmax(0, 1fr); }
  .roimath dd { margin-bottom: 6px; }
}
.roicites { margin: 8px 0 0 16px; display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); }
.roicites a { color: var(--cream-dim); }

/* --- Coverage table and 404 (PENG-855) --- */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.coverage { width: 100%; border-collapse: collapse; font-size: 15.5px; }
table.coverage th, table.coverage td { text-align: left; vertical-align: top; padding: 18px 22px; border-bottom: 1px solid var(--line); }
table.coverage thead th { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--bg-2); }
table.coverage tbody th { font-family: var(--display); font-weight: 600; color: var(--cream); width: 22%; }
table.coverage td { color: var(--cream-dim); }
table.coverage td.where { color: var(--lime); font-weight: 500; white-space: nowrap; width: 18%; }
table.coverage tr:last-child th, table.coverage tr:last-child td { border-bottom: 0; }
.pagehero.nf { padding-bottom: 160px; }
.pagehero.nf .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 720px) {
  .tablewrap { border: 0; }
  table.coverage, table.coverage tbody, table.coverage tr, table.coverage th, table.coverage td { display: block; width: auto; }
  table.coverage thead { display: none; }
  table.coverage tr { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 4px 0; }
  table.coverage th, table.coverage td { border: 0; padding: 8px 16px; }
  table.coverage td.where { white-space: normal; }
}

/* --- What's new --- */
.cl-wrap { max-width: 880px; }
.cl-month + .cl-month { margin-top: 56px; }
.cl-month h2 { font-size: 26px; margin-bottom: 18px; }
.cl { list-style: none; border-top: 1px solid var(--line); }
.cl li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cl-date { font-family: var(--mono); font-size: 13px; color: var(--lime); padding-top: 4px; }
.cl h3 { font-size: 19px; margin-bottom: 6px; }
.cl p { color: var(--cream-dim); }
@media (max-width: 600px) { .cl li { grid-template-columns: minmax(0, 1fr); gap: 6px; } }
.cl-media { margin-top: 16px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg-2); }
.cl-media img, .cl-media video { display: block; width: 100%; height: auto; }
.cl-media figcaption { padding: 10px 14px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); }
.cl-media.narrow { max-width: 320px; }

/* Phone and small-tablet rhythm.
   Desktop sections keep 112px of padding. Class rules (.pagehero 104/88,
   .closer 128, .home-hero, section.tight) outrank the element rule, so the
   760px override never reached them. Two neighbors then stacked ~150–280px
   of empty padding. Below 900px, including 768, tighten only those paddings.
   1280px is unchanged. */
@media (max-width: 900px) {
  section { padding: 44px 0; }
  section.tight { padding: 28px 0; }
  .pagehero { padding: 52px 0 28px; }
  .pagehero.nf { padding-bottom: 64px; }
  .prodhero, .platform-hero { padding: 48px 0 36px; }
  .home-hero { padding: 28px 0 36px; }
  .hero { padding-top: 48px; }
  .closer { padding: 48px 0 56px; }
  .hsteps { gap: 36px; }
  .sechead { margin-bottom: 22px; gap: 12px; }
  .hiw .morelink, .morelink { margin-top: 28px; }
  .actionsrow { margin-top: 32px; }
  .agbench { margin-top: 28px; }
  .roibody { height: auto; min-height: 0; max-height: none; }
  .cl-month + .cl-month { margin-top: 32px; }
}

/* Pricing page (pricing_body()): plan cards and worked examples. */
.plans { align-items: stretch; }
.card.plan { display: flex; flex-direction: column; }
.card.plan.featured { border-color: var(--lime); }
.card.plan .planprice { font-family: var(--display); font-size: 34px; font-weight: 600; color: var(--cream); letter-spacing: -0.02em; margin: 2px 0 4px; }
.card.plan .checklist { margin: 18px 0 28px; flex: 1; align-content: start; }
.card.plan .checklist li { font-size: 15.5px; }
.card.plan .btn { align-self: flex-start; }
table.pricing tbody th { width: 16%; }
table.pricing td.total { width: auto; }
.dealerline { max-width: 820px; }
.dealerline a { color: var(--lime); white-space: nowrap; }
@media (max-width: 760px) {
  .card.plan .planprice { font-size: 28px; }
  table.pricing td.total { white-space: normal; }
}

/* Public downloads and diagrams (Oct 28, 2026) */
.downloads .dlgrid { display: grid; gap: 20px; }
.downloads .dlgrid.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dlcard { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.dlcard h3 { margin-top: 6px; }
.dlcard .btn { align-self: flex-start; }
.webdia { margin: 0; }
.webdia svg { display: block; width: 100%; height: auto; max-width: 960px; margin: 0 auto; }
.webdia .dia-narrow { display: none; max-width: 420px; }
.webdia figcaption { margin: 14px auto 0; max-width: 720px; text-align: center; font-size: 15px; color: var(--cream-dim, #E6DFD2); }
@media (max-width: 640px) {
  .downloads .dlgrid.g2 { grid-template-columns: 1fr; }
  .webdia .dia-wide { display: none; }
  .webdia .dia-narrow { display: block; }
}
.homedia { margin-top: 40px; }
.downloads .dlgrid.g1 { margin-top: 32px; }
