/* ==========================================================================
   Baretronics — stylesheet
   Light editorial theme, deliberately light-only (brand choice — a "blueprint
   on paper" motif, not a dark SaaS gradient). All colour pairs below were
   checked against WCAG AA with a contrast calculator before being committed
   to :root — see the comment above each token that isn't self-evidently safe.
   ========================================================================== */

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

:root {
  /* Surfaces — kept strictly neutral (R=G=B or a hair cooler), not warm
     cream/tan. A warm-brown paper tone reads too close to Claude's own
     brand colour, which this site needs to be clearly distinct from. */
  --paper: #f3f3f3;
  --paper-alt: #e9e9ea;
  --surface: #ffffff;
  --rule: #e2e2e4;
  --rule-strong: #c9c9cd;

  /* Text. --ink-faint is DECORATIVE ONLY (3.0:1 on paper) — background
     numerals and aria-hidden marks, never real copy. Everything else clears
     4.5:1 at minimum; --ink-soft and --ink-muted were measured at 8.46:1 and
     6.08:1 respectively. */
  --ink: #17171a;
  --ink-soft: #46464b;
  --ink-muted: #5b5b61;
  --ink-faint: #8c8c92;

  /* Brand — a single "blueprint" blue, no gradient, no second hue. */
  --accent: #1d3ec1;
  --accent-ink: #14297f;
  --accent-soft: #e8ecfb;

  --success: #0f5c26;
  --danger: #b3261e;

  --radius: 4px;
  --radius-lg: 6px;
  --ring: 0 0 0 3px rgba(29, 62, 193, 0.28);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  --section-y: clamp(72px, 9vw, 112px);
  --gap: 24px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

img, svg { display: block; max-width: 100%; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -120%);
  z-index: 2000;
  padding: 12px 24px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  border-radius: 0 0 6px 6px;
  transition: transform var(--transition);
}
.skip-link:focus { transform: translate(-50%, 0); }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 32px);
}

.section { padding-block: var(--section-y); }

.nowrap { white-space: nowrap; }

.accent-text { color: var(--accent); }

/* Monospace label used for every eyebrow, stage number, diagram annotation
   and meta line on the page — the one typographic device that ties the
   "blueprint" motif together across otherwise very different sections. */
.eyebrow {
  display: block;
  margin-bottom: 16px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.eyebrow-plain { margin-bottom: 22px; }

.section-heading { font-size: clamp(1.9rem, 4vw, 2.6rem); max-width: 720px; }

.section-lead {
  max-width: 620px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding-block: 18px;
  background: rgba(246, 244, 238, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: padding var(--transition), border-color var(--transition);
}

.navbar.scrolled {
  padding-block: 12px;
  border-bottom-color: var(--rule-strong);
}

.nav-container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  flex-shrink: 0;
}

.logo-icon { width: 34px; height: 34px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 34px);
}

.nav-links a {
  position: relative;
  font-size: 0.9rem;
  color: var(--ink-muted);
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -5px;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; top: -7px; }
.nav-toggle-bars::after  { position: absolute; top: 7px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Buttons — solid ink, not a gradient. The one place colour appears on a
   button is the hover state and the outline variant.
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.btn-icon { width: 16px; height: 16px; }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover:not(:disabled) {
  background: var(--accent-ink);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-strong);
}
.btn-secondary:hover { border-color: var(--ink); background: var(--surface); }

.btn-full { width: 100%; }

.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(92svh, 820px);
  max-width: 1200px;
  margin-inline: auto;
  padding: clamp(120px, 15vh, 160px) clamp(20px, 5vw, 32px) var(--section-y);
}

/* The one background device on the whole page: a faint static blueprint
   grid, confined to the hero. No blur, no colour glow, no animation. */
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(29, 62, 193, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 62, 193, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 65% at 50% 30%, #000 40%, transparent 100%);
}

.hero-content { position: relative; max-width: 800px; text-align: center; }

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  margin-bottom: 26px;
}

.hero-lead {
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: clamp(1rem, 2vw, 1.14rem);
  color: var(--ink-soft);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ==========================================================================
   About — asymmetric statement + numbered list
   ========================================================================== */

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

.about-statement {
  position: sticky;
  top: 110px;
}

.about-statement h2 {
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  margin: 4px 0 20px;
}

.about-lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 42ch;
}

.about-list-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  padding-block: 30px;
  border-bottom: 1px solid var(--rule);
}
.about-list-item:first-child { border-top: 1px solid var(--rule); }

.about-list-number {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.85rem;
  color: var(--accent);
  padding-top: 3px;
}

.about-list-item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.about-list-item p { color: var(--ink-soft); font-size: 0.95rem; max-width: 46ch; }

/* ==========================================================================
   Focus areas — one featured schematic + a compact list
   ========================================================================== */

.focus { background: var(--paper-alt); }

/* All four areas carry the same weight — one bordered panel divided into a
   2x2 grid, no featured cell. Internal rules are drawn per-cell rather than
   with gaps so the block reads as a single technical table; `overflow: hidden`
   on the container clips the cell borders to the rounded corners. */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 48px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}

.focus-number {
  display: inline-block;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.85rem;
  color: var(--accent);
  padding-top: 3px;
}

.focus-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 32px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  transition: background var(--transition);
}
/* Suppress the rules that would otherwise run along the container's own
   border: right edge of the second column, bottom edge of the last row. */
.focus-item:nth-child(2n) { border-right: none; }
.focus-item:nth-last-child(-n+2) { border-bottom: none; }
.focus-item:hover { background: var(--paper-alt); }

.focus-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.focus-item p { color: var(--ink-soft); font-size: 0.92rem; }

/* ==========================================================================
   Statement band — the one deliberately different section
   ========================================================================== */

.statement-band {
  padding-block: clamp(80px, 11vw, 140px);
  background: var(--ink);
}

.statement {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 4.2vw, 2.6rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.statement .accent-text { color: #7d94ff; }

/* ==========================================================================
   Approach — connected pipeline diagram
   ========================================================================== */

.pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin-top: clamp(56px, 7vw, 80px);
}

/* The connector line sits behind the row, aligned to the vertical centre of
   the node markers (24px tall + the stage's top margin = 12px centre). It is
   inset by half a column on each side so it runs node-centre to node-centre,
   not edge to edge. */
.pipeline::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: var(--rule-strong);
  z-index: 0;
}

.pipeline-stage {
  position: relative;
  z-index: 1;
  padding-top: 44px;
}

.pipeline-node {
  position: absolute;
  top: 0; left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  background: var(--paper);
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.65rem;
  color: var(--accent);
}

.pipeline-stage h3 { font-size: 1.1rem; margin-bottom: 10px; }
.pipeline-stage p { color: var(--ink-soft); font-size: 0.92rem; }

/* ==========================================================================
   Products — full artifact treatment
   ========================================================================== */

.products { background: var(--paper-alt); }

.products-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

/* The two-column block now carries the product itself rather than a section
   heading: name, one-line positioning, two paragraphs of substance, then the
   store links. The section <h2> lives above it, full width. */
.products-layout { margin-top: 40px; }

.product-name {
  font-size: clamp(1.6rem, 3.4vw, 2.1rem);
  line-height: 1.15;
  margin-bottom: 6px;
}

.product-tagline {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.product-body {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 16px;
  max-width: 56ch;
}

/* Store links: the verification signal, so they read as real buttons rather
   than inline text links. Wrap freely, because three of them will not sit on
   one line inside a half-width column at most viewport sizes. */
.product-availability {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.store-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.15;
  transition: border-color var(--transition), transform var(--transition);
}

.store-link:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.store-link svg { width: 22px; height: 22px; flex: none; }

.store-link-plain {
  background: transparent;
  border-style: dashed;
}

.store-link small {
  display: block;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Feature grid, full width beneath the two-column block. Four across on wide
   screens, collapsing to two then one; see the responsive block below. */
.product-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(48px, 6vw, 72px);
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.product-features li {
  background: var(--paper-alt);
  padding: 26px 22px;
}

.product-features h4 { font-size: 1rem; margin-bottom: 8px; }
.product-features p { color: var(--ink-soft); font-size: 0.9rem; }

/* The commercial facts: availability, business model, ownership. Kept as a
   definition list because that is genuinely what it is, and because the
   term/value pairing is what a reviewer is scanning for. */
.product-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: 32px;
  border-top: 1px solid var(--rule-strong);
}

.product-meta dt {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.product-meta dd { color: var(--ink-soft); font-size: 0.92rem; }

.products-visual {
  display: flex;
  justify-content: center;
}

.products-visual img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 24px 48px rgba(22, 21, 15, 0.14));
}

/* ==========================================================================
   Company — team + registered company record
   ========================================================================== */

/* Asymmetric split: the people get the wider column, the registry facts sit in
   a narrower panel beside them. Same asymmetry as .about-layout, so the page
   keeps one layout vocabulary rather than inventing a third. */
.company-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.company-people h2 {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  margin-bottom: 32px;
}

.team-list { display: flex; flex-direction: column; gap: 32px; }

.team-member {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: start;
}

.team-photo {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 1px solid var(--rule-strong);
}

.team-member h3 { font-size: 1.2rem; margin-bottom: 4px; }

.team-role {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.team-bio {
  color: var(--ink-soft);
  font-size: 0.94rem;
  max-width: 48ch;
  margin-bottom: 14px;
}

.team-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  transition: color var(--transition);
}

.team-link svg { width: 17px; height: 17px; flex: none; }
.team-link:hover { color: var(--accent-ink); text-decoration: underline; }

/* The registry panel is deliberately plain and dense: it is a reference block
   a reviewer cross-checks against the public CAC register, not a sales pitch. */
.company-record {
  background: var(--paper-alt);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px);
}

.company-record h3 {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-bottom: 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--rule-strong);
}

.record-list > div {
  padding-block: 14px;
  border-bottom: 1px solid var(--rule);
}
.record-list > div:last-child { border-bottom: none; padding-bottom: 0; }

.record-list dt {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
  margin-bottom: 5px;
}

.record-list dd { color: var(--ink); font-size: 0.92rem; }
.record-list dd a { color: var(--accent); }
.record-list dd a:hover { text-decoration: underline; }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-wrapper {
  display: grid;
  /* min(340px, 100%) rather than a bare 340px: auto-fit cannot shrink a track
     below its minmax minimum, so on viewports narrower than ~380px the single
     column stayed 340px wide and pushed the whole block past the container's
     right padding (clipped, not scrolled, because body sets overflow-x:hidden
     — which is why it read as "no padding on the right"). */
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: clamp(48px, 6vw, 80px);
  align-items: start;
}

.contact-info h2 { font-size: clamp(1.9rem, 4vw, 2.5rem); margin-bottom: 20px; }

.contact-lead { margin-bottom: 32px; color: var(--ink-soft); }

.contact-details { display: flex; flex-direction: column; gap: 16px; }

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.contact-details svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--accent);
}

.contact-details a { transition: color var(--transition); }
.contact-details a:hover { color: var(--ink); text-decoration: underline; }

.contact-form { display: flex; flex-direction: column; gap: 18px; }

.form-group { display: flex; flex-direction: column; gap: 7px; }

.form-group label {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 17px;
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group :is(input, textarea)::placeholder { color: var(--ink-faint); }

.form-group :is(input, select, textarea):focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--ring);
}

.form-group :is(input, select, textarea).invalid { border-color: var(--danger); }

.form-group select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b5b61' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.form-group select option { background: var(--surface); color: var(--ink); }

.form-group textarea { resize: vertical; min-height: 120px; }

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.4em;
  font-size: 0.9rem;
  text-align: center;
}
.form-status.success { color: var(--success); }
.form-status.error   { color: var(--danger); }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  padding: clamp(48px, 7vw, 68px) 0 24px;
  background: var(--paper);
  border-top: 1px solid var(--rule-strong);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand { max-width: 320px; }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { color: var(--ink-soft); font-size: 0.9rem; }
.footer-address {
  margin-top: 10px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.78rem;
  color: var(--ink-muted) !important;
}

.footer-links { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); }

.footer-col h2 {
  margin-bottom: 14px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: 0.9rem;
  color: var(--ink-soft);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  text-align: center;
}
.footer-bottom p {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.75rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Scroll-reveal animation
   ========================================================================== */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-statement { position: static; }

  /* Single column: the column rule is meaningless, and the row rule has to be
     restored on the second-to-last cell that the 2x2 rules removed. */
  .focus-grid { grid-template-columns: 1fr; }
  .focus-item { border-right: none; }
  .focus-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .focus-item:last-child { border-bottom: none; }

  .company-layout { grid-template-columns: 1fr; }

  .products-layout { grid-template-columns: 1fr; }
  .products-visual { order: -1; }
  .products-visual img { max-width: 320px; }
  .product-features { grid-template-columns: repeat(2, 1fr); }
  .product-meta { grid-template-columns: 1fr; gap: 24px; }

  .pipeline { grid-template-columns: 1fr; gap: 0; }
  .pipeline::before {
    top: 0; bottom: 0; left: 12px; right: auto;
    width: 1px; height: auto;
  }
  .pipeline-stage {
    padding: 28px 0 28px 56px;
    border-bottom: none;
  }
  .pipeline-node { top: 28px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px clamp(20px, 5vw, 32px) 24px;
    background: rgba(246, 244, 238, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--rule-strong);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding-block: 10px; font-size: 1rem; }
  .nav-links a::after { display: none; }

  .hero { min-height: auto; }
  .hero-actions .btn { flex: 1 1 100%; }

  .product-features { grid-template-columns: 1fr; }
  .store-link { flex: 1 1 100%; }

  .team-member { grid-template-columns: 1fr; gap: 18px; }
  .team-photo { width: 112px; height: 112px; }
}

/* ==========================================================================
   Motion & print
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in { opacity: 1; transform: none; }
  .btn-primary:hover { transform: none; }
}

@media print {
  .navbar, .nav-toggle, .skip-link, .contact-form, .hero-actions, .hero-grid { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .hero { padding-block: 24px; }
  .focus, .products, .footer, .statement-band { background: #fff; }
  .focus-grid { border: 1px solid #ccc; background: #fff; }
  .company-record { border: 1px solid #ccc; background: #fff; }
  .team-photo { display: none; }
  .product-features { border: 1px solid #ccc; background: #fff; }
  .product-features li { background: #fff; }
  .store-link { border-color: #ccc; background: #fff; }
  .statement { color: #000; }
  .statement .accent-text { color: #000; }
  .accent-text { color: #000; }
  .fade-in { opacity: 1; transform: none; }
}
