/*
 * Farmer360 pages: /packhouses, /co-ops and /processors (the approved version 2 template, 7 November 2026) and
 * /security (approved version 3 mock-up, 8 November 2026, mostly text; its photo hero approved 9 November 2026).
 * Solution template: full-bleed hero, three outcomes (four on /packhouses), what Farmer360 runs beside a photograph,
 * why, three questions (four on /packhouses), a closing band on our night tone and the home page footer. /security
 * has the same hero, then a six-part grid and two notes.
 * The booking dialog's styles are in booking.css. Tokens, button, lockup, glass and footer are copied from
 * styles.css. No inline styles anywhere: the CSP allows only same-origin style sheets.
 */

@font-face {
  font-family: "Geist";
  src: url("/fonts/Geist-Variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* From styles.css */
  --ink: #14201a;
  --ink-2: rgba(20, 32, 26, 0.68);
  --ink-3: rgba(20, 32, 26, 0.76);
  --green: #2c7a31;
  --green-deep: #24672a;
  --cream: 250, 244, 234;
  --light-1: #fbfaf7;
  --light-2: rgba(251, 250, 247, 0.84);
  --t6s: #dcb7a0;
  --t6n: #22170f;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-soft: cubic-bezier(0.45, 0, 0.2, 1);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --font: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;

  /* This page */
  --gut: 48px;
  --max: 1200px;
  --line: rgba(20, 32, 26, 0.12);
  --soft: rgba(20, 32, 26, 0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  overflow-x: clip;
  background: rgb(var(--cream));
}

body {
  font-family: var(--font);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
}

h1,
h2,
h3,
p,
figure,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------- button (styles.css, wide sizes) */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background-color 0.25s ease;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow:
    0 10px 30px -10px rgba(30, 90, 35, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
  background: var(--green-deep);
  transform: translateY(-1px);
  box-shadow:
    0 16px 36px -12px rgba(30, 90, 35, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-primary:active {
  transform: translateY(0);
}

/* ---------------------------------------------------------------- lockup (styles.css) */

.lockup {
  --lh: 38px;
  --by: 14px;
  --ph: 17px;
  display: block;
  width: max-content;
  font-size: 0;
  line-height: 1;
  white-space: nowrap;
}

.lockup-f360 {
  display: inline-block;
  height: var(--lh);
  width: auto;
  vertical-align: calc(var(--lh) * -0.234);
}

.lockup-by {
  display: inline-block;
  margin-left: calc(var(--lh) * 0.3);
  font-weight: 500;
  font-size: var(--by);
  letter-spacing: 0.01em;
  color: var(--ink-3);
  vertical-align: baseline;
}

.lockup-pomodor {
  display: inline-block;
  height: var(--ph);
  width: auto;
  margin-left: calc(var(--by) * 0.3);
  vertical-align: calc(var(--ph) * -0.235);
  opacity: 0.76;
}

/* ---------------------------------------------------------------- header: lockup, hairline, Menu (version 1 menu) */

/* --bar-gut: where the lockup starts, kept by the sticky bar (header.css) so the logo never moves sideways. */
.top {
  --bar-gut: var(--gut);
  position: absolute;
  z-index: 30;
  left: var(--gut);
  right: var(--gut);
  top: 36px;
  display: flex;
  align-items: center;
}

.home {
  display: block;
  text-decoration: none;
  border-radius: 6px;
}

.menu {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 37px;
}

.menu-btn::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 50%;
  width: 1px;
  height: 18px;
  margin-top: -9px;
  background: rgba(20, 32, 26, 0.2);
}

/* The control: a 34 px glass pill. The ::after widens the touch area to 44 px. */
.menu-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 34px;
  padding: 0 14px 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 6px 18px -10px rgba(40, 50, 30, 0.4);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 560;
  letter-spacing: -0.005em;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.menu-btn::after {
  content: "";
  position: absolute;
  inset: -5px -4px;
  border-radius: 999px;
}

.menu-btn:hover {
  background: rgba(255, 255, 255, 0.74);
}

.menu-btn[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 26px -14px rgba(40, 50, 30, 0.5);
}

.menu-glyph {
  position: relative;
  width: 14px;
  height: 10px;
}

.menu-glyph::before,
.menu-glyph::after {
  content: "";
  position: absolute;
  left: 0;
  width: 14px;
  height: 1.6px;
  border-radius: 1px;
  background: currentColor;
  transition:
    transform 0.32s var(--ease),
    top 0.32s var(--ease);
}

.menu-glyph::before {
  top: 2px;
}

.menu-glyph::after {
  top: 7px;
  width: 9px;
}

.menu-btn[aria-expanded="true"] .menu-glyph::before {
  top: 4.4px;
  transform: rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-glyph::after {
  top: 4.4px;
  width: 14px;
  transform: rotate(-45deg);
}

.menu-panel {
  position: absolute;
  left: -6px;
  top: calc(100% + 14px);
  width: 288px;
  padding: 10px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  background: rgba(252, 249, 244, 0.97);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 30px 60px -28px rgba(40, 45, 25, 0.45),
    0 10px 24px -16px rgba(40, 45, 25, 0.3);
  opacity: 0;
  transform: translate3d(0, -6px, 0) scale(0.985);
  transform-origin: 24px 0;
  transition:
    opacity 0.28s var(--ease),
    transform 0.36s var(--ease);
}

.menu-panel[hidden] {
  display: none;
}

.menu.is-open .menu-panel {
  opacity: 1;
  transform: none;
}

.menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 560;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.menu-link:hover {
  background: rgba(20, 32, 26, 0.05);
}

.menu-link svg {
  width: 14px;
  height: 14px;
  color: rgba(20, 32, 26, 0.42);
  transition:
    transform 0.3s var(--ease),
    color 0.2s ease;
}

.menu-link:hover svg {
  color: var(--ink);
  transform: translateX(2px);
}

.menu-link[aria-current="page"]::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(44, 122, 49, 0.16);
}

.menu-link[aria-current="page"] svg {
  display: none;
}

.menu-foot {
  margin-top: 8px;
  padding: 10px 4px 4px;
  border-top: 1px solid rgba(20, 32, 26, 0.09);
}

.menu-foot .btn {
  width: 100%;
  height: 44px;
  font-size: 15px;
}

/* ---------------------------------------------------------------- 1. hero */

.hero {
  position: relative;
  isolation: isolate;
  height: min(100vh, 960px);
  min-height: 620px;
  overflow: clip;
  background: var(--t6n);
  color: var(--light-1);
}

.hero-media,
.hero-media img,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: var(--hero-pos, 50% 50%);
}

[data-page="packhouses"] {
  --hero-pos: 62% 50%;
}

[data-page="co-ops"] {
  --hero-pos: 50% 40%;
}

[data-page="processors"] {
  --hero-pos: 60% 50%;
}

/*
 * The top of the scrim: by default a breath of cream for the ink lockup. Where the header starts light over the
 * photograph (data-header-rest-tone="dark" on the hero, header.css), a breath of warm night instead, only as strong as
 * the light "by" and Menu need for 4.5:1 (measured at 1440, 768 and 390): none on /packhouses.
 */
:root {
  --hero-top: rgba(250, 244, 234, 0.34);
  --hero-top-end: 18%;
}

[data-page="packhouses"] {
  --hero-top: transparent;
}

[data-page="security"] {
  --hero-top: rgba(34, 23, 15, 0.45);
  --hero-top-end: 30%;
}

[data-page="processors"] {
  --hero-top: transparent;
}

/* A soft scrim in our tones: warm night (t6n) rising from the foot so the word reads; a breath of cream at the top for
   the lockup. Not a black overlay. */
.hero-scrim {
  background:
    linear-gradient(180deg, var(--hero-top) 0%, transparent var(--hero-top-end)),
    linear-gradient(0deg, rgba(34, 23, 15, 0.76) 0%, rgba(34, 23, 15, 0.5) 22%, rgba(34, 23, 15, 0.16) 42%, rgba(34, 23, 15, 0) 60%),
    radial-gradient(70% 60% at 0% 100%, rgba(34, 23, 15, 0.3), rgba(34, 23, 15, 0) 70%);
}

/* /processors: the bright peach trays sit behind the promise, so a little more warm night under the copy. */
[data-page="processors"] .hero-scrim {
  background:
    radial-gradient(42% 40% at 58% 90%, rgba(34, 23, 15, 0.5), rgba(34, 23, 15, 0) 72%),
    linear-gradient(180deg, var(--hero-top) 0%, transparent var(--hero-top-end)),
    linear-gradient(0deg, rgba(34, 23, 15, 0.8) 0%, rgba(34, 23, 15, 0.56) 22%, rgba(34, 23, 15, 0.18) 44%, rgba(34, 23, 15, 0) 62%),
    radial-gradient(70% 60% at 0% 100%, rgba(34, 23, 15, 0.3), rgba(34, 23, 15, 0) 70%);
}

.hero-scrim::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: var(--grain);
}

.hero-copy {
  position: absolute;
  z-index: 2;
  left: var(--gut);
  right: var(--gut);
  bottom: 64px;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px 44px;
}

.hero-word {
  font-size: clamp(64px, 10.6vw, 164px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.86;
  /* Optical: the large word's side bearing, so its stem lines up with the gutter. */
  margin-left: -0.05em;
  padding-bottom: 0.04em;
}

.hero-side {
  max-width: 370px;
  padding: 4px 0 4px 26px;
  border-left: 1px solid rgba(251, 250, 247, 0.5);
  margin-bottom: 0.4em;
}

.hero-promise {
  font-size: 19px;
  line-height: 1.42;
  letter-spacing: -0.008em;
  color: var(--light-2);
  text-wrap: pretty;
}

.hero-side .btn {
  margin-top: 22px;
}

/* ---------------------------------------------------------------- shared sections */

.sec {
  max-width: calc(var(--max) + 2 * var(--gut));
  margin: 0 auto;
  padding-left: var(--gut);
  padding-right: var(--gut);
}

.sec-title {
  font-size: 40px;
  font-weight: 620;
  letter-spacing: -0.03em;
  line-height: 1.06;
  text-wrap: balance;
}

/* ---------------------------------------------------------------- 2. outcomes */

.outcomes {
  padding-top: 112px;
  padding-bottom: 112px;
}

.oc-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.oc {
  padding: 4px 40px 8px 28px;
  border-left: 1px solid var(--line);
}

/* A row of four (/packhouses, 19 November 2026): four across, a little less room on the right of each. */
.oc-row:has(> .oc:nth-child(4)) {
  grid-template-columns: repeat(4, 1fr);
}

.oc-row:has(> .oc:nth-child(4)) .oc {
  padding-right: 28px;
}

.oc-icon {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.oc-title {
  margin-top: 44px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.oc-line {
  margin-top: 10px;
  max-width: 21em;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* Keeps a hyphenated word such as "pack-out" whole at a line end (as home.css). */
.nw {
  white-space: nowrap;
}

/* ---------------------------------------------------------------- 3. what Farmer360 runs */

.runs {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 72px;
  align-items: center;
  padding-bottom: 40px;
}

.runs-copy .sec-title {
  max-width: 10em;
}

.run-list {
  margin-top: 36px;
}

.run {
  padding: 20px 0 22px;
  border-top: 1px solid var(--line);
}

.run:last-child {
  border-bottom: 1px solid var(--line);
}

.run-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.3;
}

.run-line {
  margin-top: 6px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}

.runs-fig {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1600 / 1195;
  border-radius: 22px;
  background: rgb(232, 222, 206);
  box-shadow: 0 40px 80px -48px rgba(40, 45, 25, 0.55);
}

.runs-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------------------------------------------------------- 4. why */

.why {
  padding-top: 120px;
  padding-bottom: 96px;
}

.why-h {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.why-statement {
  margin-top: 18px;
  max-width: 21em;
  font-size: 46px;
  font-weight: 560;
  letter-spacing: -0.032em;
  line-height: 1.12;
  text-wrap: pretty;
}

.why-b {
  color: var(--soft);
}

.rows {
  margin-top: 96px;
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: baseline;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.row-title {
  font-size: 24px;
  font-weight: 560;
  letter-spacing: -0.022em;
  line-height: 1.2;
}

.row-line {
  max-width: 26em;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* ---------------------------------------------------------------- 5. questions (native details) */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 136px;
}

.faq .sec-title {
  font-size: 24px;
  font-weight: 560;
  letter-spacing: -0.022em;
  line-height: 1.2;
  padding-top: 20px;
}

.qa {
  border-top: 1px solid var(--line);
}

.qa > li {
  border-bottom: 1px solid var(--line);
}

.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 560;
  letter-spacing: -0.012em;
  line-height: 1.35;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa-mark {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
  color: rgba(20, 32, 26, 0.55);
}

.qa-mark::before,
.qa-mark::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6.25px;
  width: 14px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}

.qa-mark::after {
  transform: rotate(90deg);
}

.qa details[open] .qa-mark::after {
  transform: rotate(0deg);
}

.qa summary:hover .qa-mark {
  color: var(--ink);
}

.qa .a {
  max-width: 34em;
  padding: 0 32px 22px 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* ---------------------------------------------------------------- 6. closing band and 7. footer */

/* Our own night tone (t6n, the home page footer's ground) with a low sunrise glow (t6s) from above. */
.closing {
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: var(--light-1);
  background:
    radial-gradient(80% 70% at 50% 0%, rgba(220, 183, 160, 0.2), rgba(220, 183, 160, 0) 70%),
    linear-gradient(180deg, #33241a 0%, var(--t6n) 100%);
}

.closing::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.05;
  background-image: var(--grain);
}

.close {
  max-width: calc(var(--max) + 2 * var(--gut));
  margin: 0 auto;
  padding: 152px var(--gut) 144px;
  text-align: center;
}

.close-title {
  max-width: 16em;
  margin: 0 auto;
  font-size: 46px;
  font-weight: 620;
  letter-spacing: -0.03em;
  line-height: 1.06;
  text-wrap: balance;
}

.close .btn {
  margin-top: 34px;
}

/* The home page footer (styles.css .pfoot), in flow at the foot of the band. */
.pfoot {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 26px var(--gut) 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
}

.pfoot .lockup {
  --lh: 24px;
  --by: 12px;
  --ph: 12px;
}

.pfoot .lockup-by {
  color: rgba(255, 255, 255, 0.8);
}

.pfoot .lockup-pomodor {
  opacity: 0.86;
}

.pfoot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 22px;
  margin-left: auto;
}

.pfoot a {
  display: inline-block;
  padding: 14px 0;
  margin: -14px 0;
  color: inherit;
  text-decoration: none;
  text-underline-offset: 2px;
}

.pfoot a:hover {
  text-decoration: underline;
}

.pfoot a:focus-visible,
.closing .btn:focus-visible {
  outline-color: #fff;
}

.pfoot-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

/* ================================================================ tablets */

@media (max-width: 1100px) {
  .runs {
    gap: 48px;
  }

  /* A row of four: two by two, the second row under a gap. */
  .oc-row:has(> .oc:nth-child(4)) {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 56px;
  }

  .why-statement,
  .close-title {
    font-size: 40px;
  }
}

/* ================================================================ stacked: phones and portrait tablets */

@media (max-width: 859px) {
  :root {
    --gut: 16px;
  }

  .top {
    top: 20px;
  }

  .lockup {
    --lh: 26px;
    --by: 11.5px;
    --ph: 12.5px;
  }

  .menu {
    position: static;
    margin-left: 29px;
  }

  .menu-btn::before {
    left: -15px;
  }

  .menu-panel {
    left: 0;
    right: 0;
    width: auto;
  }

  .menu-link {
    min-height: 50px;
    font-size: 17px;
  }

  /* In the sticky bar (header.css) the header spans the screen: the panel keeps inside the gutter, under the bar. */
  .top.is-stuck .menu-panel {
    left: var(--gut);
    right: var(--gut);
    top: calc(100% + 10px);
  }

  .hero {
    height: min(88vh, 760px);
    min-height: 600px;
  }

  [data-page="packhouses"] {
    --hero-pos: 50% 50%;
  }

  [data-page="co-ops"] {
    --hero-pos: 50% 40%;
  }

  [data-page="processors"] {
    --hero-pos: 50% 50%;
  }

  :root {
    --hero-top: rgba(250, 244, 234, 0.55);
    --hero-top-end: 16%;
  }

  [data-page="packhouses"] {
    --hero-top: transparent;
  }

  [data-page="security"] {
    --hero-top: rgba(34, 23, 15, 0.65);
    --hero-top-end: 30%;
  }

  [data-page="processors"] {
    --hero-top: rgba(34, 23, 15, 0.72);
    --hero-top-end: 30%;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, var(--hero-top) 0%, transparent var(--hero-top-end)),
      linear-gradient(0deg, rgba(34, 23, 15, 0.78) 0%, rgba(34, 23, 15, 0.5) 30%, rgba(34, 23, 15, 0) 60%);
  }

  .hero-copy {
    bottom: 32px;
    display: block;
  }

  .hero-word {
    font-size: min(16.4vw, 96px);
    line-height: 0.9;
  }

  .hero-side {
    max-width: 30em;
    margin: 20px 0 0;
    padding-left: 16px;
  }

  .hero-promise {
    font-size: 16px;
    line-height: 1.45;
  }

  .hero-side .btn {
    margin-top: 18px;
    height: 46px;
    padding: 0 20px;
    font-size: 15px;
  }

  .btn {
    height: 46px;
    padding: 0 20px;
    font-size: 15px;
  }

  .sec-title {
    font-size: 30px;
  }

  .outcomes {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .oc-row,
  .oc-row:has(> .oc:nth-child(4)) {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .oc,
  .oc-row:has(> .oc:nth-child(4)) .oc {
    padding: 26px 0 28px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .oc:first-child,
  .oc-row:has(> .oc:nth-child(4)) .oc:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .oc-title {
    margin-top: 18px;
    font-size: 19px;
  }

  .oc-line {
    margin-top: 6px;
    font-size: 15.5px;
  }

  .runs {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 16px;
  }

  .runs-fig {
    order: -1;
    border-radius: 18px;
  }

  .run-list {
    margin-top: 24px;
  }

  .run {
    padding: 16px 0 18px;
  }

  .why {
    padding-top: 64px;
    padding-bottom: 40px;
  }

  .why-h {
    font-size: 16px;
  }

  .why-statement {
    margin-top: 12px;
    font-size: 26px;
    line-height: 1.16;
  }

  .rows {
    margin-top: 48px;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 0 24px;
  }

  .row-title {
    font-size: 19px;
  }

  .row-line {
    font-size: 15.5px;
  }

  .faq {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 40px;
    padding-bottom: 80px;
  }

  .faq .sec-title {
    font-size: 19px;
    padding-top: 0;
  }

  .qa summary {
    min-height: 60px;
    font-size: 16px;
  }

  .qa .a {
    padding-right: 20px;
    font-size: 15.5px;
  }

  .close {
    padding: 96px var(--gut) 104px;
  }

  .close-title {
    max-width: 10em;
    font-size: 32px;
  }

  .close .btn {
    margin-top: 26px;
  }

  .pfoot {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 22px var(--gut) 24px;
  }

  .pfoot-links {
    margin-left: 0;
    justify-content: flex-start;
    gap: 0 20px;
  }

  .pfoot-links a {
    margin: 0;
    padding: 12px 0;
  }
}

/* ================================================================ /security: text sections */

.text-link {
  color: var(--green-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.text-link:hover {
  color: var(--ink);
}

/* ---------------------------------------------------------------- /security */

.lead {
  padding-top: 112px;
  padding-bottom: 24px;
}

.lead .why-statement {
  margin-top: 0;
}

.lead-p {
  margin-top: 28px;
  max-width: 36em;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-2);
}

.sx-sec {
  padding-top: 72px;
  padding-bottom: 40px;
}

.sx-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 64px;
}

.sx {
  padding: 4px 40px 8px 28px;
  border-left: 1px solid var(--line);
}

/* Eight sections (/security, 20 November 2026): four across in two even rows, a little less room on the right. */
.sx-grid:has(> .sx:nth-child(8)) {
  grid-template-columns: repeat(4, 1fr);
}

.sx-grid:has(> .sx:nth-child(8)) .sx {
  padding-right: 28px;
}

/* Tablets: two across, four even rows (after the rules above, so it wins). */
@media (max-width: 1100px) {
  .sx-grid:has(> .sx:nth-child(8)) {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sx-title {
  margin-top: 36px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.sx-line {
  margin-top: 10px;
  max-width: 22em;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

.notes {
  padding-top: 72px;
}

.notes .rows {
  margin-top: 0;
}

.notes .row:last-child {
  border-bottom: 1px solid var(--line);
}

@media (max-width: 859px) {
  [data-page="processors"] .hero-scrim {
    background:
      linear-gradient(180deg, var(--hero-top) 0%, transparent var(--hero-top-end)),
      linear-gradient(0deg, rgba(34, 23, 15, 0.82) 0%, rgba(34, 23, 15, 0.56) 32%, rgba(34, 23, 15, 0) 62%);
  }

  .lead {
    padding-top: 56px;
    padding-bottom: 8px;
  }

  .sx-sec {
    padding-top: 40px;
    padding-bottom: 16px;
  }

  .sx-grid,
  .sx-grid:has(> .sx:nth-child(8)) {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .sx,
  .sx-grid:has(> .sx:nth-child(8)) .sx {
    padding: 26px 0 28px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .sx-title {
    margin-top: 16px;
    font-size: 19px;
  }

  .sx-line {
    margin-top: 6px;
    font-size: 15.5px;
  }

  .notes {
    padding-top: 24px;
  }
}

/* ---------------------------------------------------------------- reduced motion and transparency */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .menu-btn,
  .menu-panel {
    background: rgb(252, 249, 244);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
