/* Pollen Context marketing site. One stylesheet, no build step. */

:root {
  --bg: #0c0b09;
  --bg-2: #100e0b;
  --panel: #15130f;
  --panel-2: #1a1813;
  --line: #2a2620;
  --line-2: #38332a;
  --line-3: #26221c;
  --line-4: #1f1c17;
  --ink: #f2eee3;
  --muted: #c4bfb2;
  --dim: #9a9486;
  --faint: #6e695e;
  --lime: #c8f169;
  --lime-2: #b4de55;
  --lime-3: #a3cb47;
  --yellow: #f5c542;
  --amber: #ff7a3d;
  --amber-ink: #ff9a66;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: clamp(20px, 4vw, 48px);
  --max: 1240px;
  --header: 64px;
  --radius: 16px;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

/* Film grain over the full page. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 2px; }
mark { background: var(--yellow); color: var(--bg); padding: 0 3px; border-radius: 2px; }
strong { font-weight: 600; }
[hidden] { display: none !important; }

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

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--lime);
  color: var(--bg);
  font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Type */

.eyebrow {
  margin-bottom: 16px;
  font: 500 12px/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
}

.label {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}

.mono-label {
  font: 500 11px/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.h2 {
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.h3 {
  margin-bottom: 14px;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.sub { max-width: 460px; font-size: 17px; color: var(--muted); }
.body { font-size: 16px; color: var(--muted); }
.fine { font-size: 13px; color: var(--dim); }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--lime); border-color: var(--lime); color: var(--bg); }
.btn-primary:hover { background: var(--lime-2); border-color: var(--lime-2); color: var(--bg); }
.btn-primary:active { background: var(--lime-3); }
.btn-primary:disabled { opacity: 0.6; cursor: progress; }
.btn-ghost { background: rgba(21, 19, 15, 0.6); border-color: var(--line-2); color: var(--ink); font-weight: 500; }
.btn-ghost:hover { border-color: var(--lime); color: var(--ink); }
.btn-lg { min-height: 52px; padding: 0 26px; }
.btn-sm { min-height: 40px; padding: 0 16px; border-radius: 10px; font-size: 15px; font-weight: 500; }
.btn-glow { box-shadow: 0 0 40px -8px rgba(200, 241, 105, 0.6); }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(12, 11, 9, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.nav { display: flex; align-items: center; gap: 32px; height: var(--header); }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--ink);
  font-size: 21px;
  line-height: 1;
}
.brand:hover { text-decoration: none; color: var(--ink); }
.brand-name { font-weight: 600; letter-spacing: -0.01em; }
.brand-sub { color: var(--lime); }

.mark { display: inline-flex; align-items: center; gap: 3px; }
.mark span:nth-child(1) { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }
.mark span:nth-child(2) { width: 14px; height: 1px; background: var(--lime); }
.mark span:nth-child(3) { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }

.nav-links { display: flex; gap: 32px; }
.nav-links a { padding: 10px 0; color: var(--ink); font-size: 15px; font-weight: 500; }

.menu { display: none; }
.menu summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}
.menu summary::-webkit-details-marker { display: none; }
.menu .when-open, .menu[open] .when-closed { display: none; }
.menu[open] .when-open { display: inline; }
.menu-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px var(--gutter) 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.menu-panel a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line-4); color: var(--ink); font-size: 17px; font-weight: 500; }
.menu-panel .btn { margin-top: 12px; }

@media (max-width: 1023px) {
  .nav-links, .nav-cta { display: none; }
  .menu { display: block; }
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(55% 60% at 78% 38%, rgba(200, 241, 105, 0.13), rgba(200, 241, 105, 0) 70%),
    radial-gradient(35% 45% at 62% 96%, rgba(245, 197, 66, 0.1), rgba(245, 197, 66, 0) 70%),
    var(--bg);
}
.hero-field { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 11, 9, 0.92) 0%, rgba(12, 11, 9, 0.6) 36%, rgba(12, 11, 9, 0) 68%),
    linear-gradient(0deg, var(--bg) 0%, rgba(12, 11, 9, 0) 38%);
}
@media (max-width: 759px) {
  .hero-shade {
    background:
      linear-gradient(0deg, var(--bg) 0%, rgba(12, 11, 9, 0) 38%),
      rgba(12, 11, 9, 0.55);
  }
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(88svh, 920px);
  padding-top: clamp(48px, 7vw, 112px);
  padding-bottom: clamp(48px, 7vw, 112px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 7px 14px 7px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(21, 19, 15, 0.7);
  font: 12px/1.35 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.pill-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }

.hero h1 {
  max-width: 940px;
  margin-bottom: 28px;
  font-size: clamp(40px, 7.6vw, 116px);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.05em;
}
.hero h1 em { font-style: normal; color: var(--lime); }

.lede { max-width: 540px; margin-bottom: 40px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */

.section { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.band { border-top: 1px solid var(--line); }
.dots {
  background-color: var(--bg-2);
  background-image: radial-gradient(rgba(242, 238, 227, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
}

.section-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: 40px;
}
.section-head .h2 { max-width: 640px; }

/* Product illustrations: one tab for each industry. Each story shows sources, Pollen memory,
   and the response, joined by links. */

.story-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.story-tabs { display: none; flex-wrap: wrap; gap: 8px; }
.js .story-tabs { display: flex; }
.story-tab {
  position: relative;
  display: grid;
  gap: 2px;
  min-width: 140px;
  padding: 11px 18px 13px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.story-tab strong { font-size: 15px; font-weight: 600; }
.story-tab:hover { border-color: var(--lime); }
.story-tab[aria-selected="true"] { border-color: var(--lime); background: rgba(200, 241, 105, 0.08); }
/* The bar under the selected tab shows the step of its story. */
.story-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--lime);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  transition: transform 0.6s ease;
}
.story-top .play-btn { display: none; }
.js .story-top .play-btn { display: inline-block; }

/* With JavaScript, the panels share one grid cell, so a tab change does not move the page. */
.story-panels { display: grid; gap: 24px; }
.js .story-panels { gap: 0; }
.js .story-panels > .story { display: flex; flex-direction: column; grid-area: 1 / 1; transition: opacity 0.4s ease; }
.js .story-panels > .story:not(.is-active) { visibility: hidden; opacity: 0; }

.panel { border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel); }

.chip {
  display: inline-block;
  padding: 4px 6px;
  border-radius: 2px;
  font: 500 10.5px/1 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.chip-amber { background: var(--amber); color: var(--bg); }
.chip-lime { background: var(--lime); color: var(--bg); }
.chip-quiet { background: var(--line); color: var(--ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.logo { flex: none; width: 18px; height: 18px; }
.logo-sm { flex: none; width: 12px; height: 12px; }

.story { padding: clamp(16px, 2.4vw, 28px); box-shadow: 0 0 0 1px rgba(200, 241, 105, 0.06), 0 40px 140px -30px rgba(200, 241, 105, 0.22); }

.story-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px clamp(48px, 6vw, 88px);
  align-items: start;
}
.story-stage { margin-bottom: 24px; }
.story-links { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.story-col { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.col-label { font: 500 11px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }

/* Reveal states. Without JavaScript, every element shows its final state. */
.story [data-at] { transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.4s, background-color 0.4s; }
.js .story [data-at]:not(.is-on) { opacity: 0; transform: translateY(8px); }
.story .d2 { transition-delay: 0.45s; }
.story .d3 { transition-delay: 0.9s; }

/* Source cards */

.src { padding: 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); transition: border-color 0.3s, box-shadow 0.3s; }
.src-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 13px; color: var(--dim); }
.src-head strong { color: var(--ink); font-weight: 600; }
.dept {
  margin-left: auto;
  padding: 2px 7px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font: 500 10px/1.4 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.compact { padding: 12px 14px; }
.compact .src-head { margin-bottom: 6px; }
.src-body { font-size: 14px; line-height: 1.45; }
.src-body.muted { color: var(--muted); }
.src-meta { margin-top: 4px; font-size: 12px; color: var(--dim); }
.speaker { font-weight: 600; }
.check { border-style: dashed; border-color: var(--lime); }
.msgs { display: grid; gap: 4px; }
.msg { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 8px; border-radius: 8px; font-size: 14px; line-height: 1.45; transition: background-color 0.3s, opacity 0.5s ease, transform 0.5s ease; }
.msg .who { font-size: 13px; font-weight: 600; }
.msg time { margin-left: 6px; font-size: 11px; font-weight: 400; color: var(--dim); }
.avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; font-size: 11px; font-weight: 600; color: var(--ink); }
.av-1 { background: #5b4636; }
.av-2 { background: #2f4b5c; }
.av-3 { background: #4a3a5c; }
.av-pollen { background: var(--lime); }
.av-pollen .mark span:nth-child(1) { width: 8px; height: 8px; background: var(--bg); }
.av-pollen .mark span:nth-child(2) { width: 6px; background: var(--bg); }
.av-pollen .mark span:nth-child(3) { width: 6px; height: 6px; background: var(--bg); }
.subject { margin-bottom: 4px; font-size: 14px; font-weight: 600; }
.app { margin-left: 4px; padding: 1px 4px; border-radius: 3px; background: var(--line); font: 600 9px/1.4 var(--sans); letter-spacing: 0.04em; color: var(--muted); vertical-align: 1px; }
.mention { padding: 0 2px; border-radius: 3px; background: rgba(200, 241, 105, 0.16); color: var(--lime); }

/* Pollen memory */

.memory { padding: 16px; border: 1px solid var(--lime); border-radius: 12px; background: var(--panel-2); }
.mem-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 16px; }
.mem-head strong { font-weight: 600; }
.teams {
  margin-left: auto;
  padding: 2px 7px;
  border: 1px solid rgba(200, 241, 105, 0.4);
  border-radius: 999px;
  font: 500 10px/1.4 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime);
  white-space: nowrap;
}
.fact-list { display: grid; gap: 8px; }
.fact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}
.fact-key { font-size: 12px; color: var(--dim); }
.fact-val { grid-column: 1; font-size: 16px; font-weight: 600; }
.fact-src { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 4px; font-size: 11px; color: var(--dim); }
.fact-src span { display: flex; align-items: center; gap: 5px; }
.fact-hist { grid-column: 1 / -1; font-size: 12px; color: var(--dim); }
.fact .new, .fact .via-update, .fact .fact-hist { transition: opacity 0.5s ease; }
.fact:not(.is-updated) .new, .fact:not(.is-updated) .via-update, .fact:not(.is-updated) .fact-hist { opacity: 0; }
.fact.is-updated .old { color: var(--dim); font-weight: 400; text-decoration: line-through; }
.fact .new { margin-left: 6px; }
.fact.is-flagged { border-color: var(--amber); }
.fact.is-flagged .fact-val { color: var(--amber-ink); }
.fact.is-flagged .old { color: var(--dim); }

.result-box { margin-top: 10px; padding: 12px 14px; border: 1px solid; border-radius: 10px; font-size: 14px; line-height: 1.45; }
.result-box .chip { margin-bottom: 8px; }
.is-alert { border-color: var(--amber); background: #2a170c; }
.is-answer { border-color: var(--lime); background: #1a200e; }

/* Response */

.decision { padding: 14px; border: 1px solid var(--yellow); border-radius: 12px; background: #241e0e; }
.decision .mono-label { margin-bottom: 6px; color: var(--yellow); }
.decision-title { font-size: 16px; font-weight: 600; }
.decision-meta { margin-top: 2px; font-size: 13px; color: var(--muted); }
.reply { border-color: var(--lime); }
.cites { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cite { display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 11px; color: var(--muted); cursor: default; transition: border-color 0.2s, color 0.2s; }
.also { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }

/* Trace a fact or a citation back to its source. */
.is-traced.src, .is-traced.memory { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(245, 197, 66, 0.18); }
.msg.is-traced { background: rgba(245, 197, 66, 0.12); }
.fact.is-traced, .cite.is-traced { border-color: var(--yellow); color: var(--ink); }
.fact[data-src], .cite[data-src] { cursor: default; }

/* Links */

.link-line { fill: none; stroke: #4a4a33; stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.9s ease, stroke 0.3s; }
.link-flow { fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 10; opacity: 0; transition: opacity 0.3s; }
.link-dot { fill: var(--lime); opacity: 0; transition: opacity 0.3s; }
.link.is-on .link-line { stroke-dashoffset: 0; stroke: #6b7a3c; }
.link.is-on .link-dot { opacity: 1; transition-delay: 0.8s; }
.link.is-live .link-line { stroke: var(--lime); }
.link.is-live .link-flow { opacity: 1; animation: flow 0.9s linear infinite; }
.link.is-traced .link-line { stroke: var(--yellow); }
.link.is-traced .link-dot { fill: var(--yellow); }
@keyframes flow { to { stroke-dashoffset: -12; } }

/* Caption and controls */

.story-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px 24px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-3);
}
.story-captions { display: grid; gap: 10px; flex: 1 1 320px; }
.story-captions li { display: grid; gap: 4px; font-size: 16px; }
.story-captions .mono-label { color: var(--lime); }
.js .story-captions li:not(.is-current) { display: none; }
.story-steps { display: none; flex-wrap: wrap; gap: 6px; }
.js .story-steps { display: flex; }
.step-btn, .play-btn {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.step-btn:hover { border-color: var(--lime); }
.step-btn[aria-current="step"] { background: var(--lime); border-color: var(--lime); color: var(--bg); }
.play-btn { min-width: 84px; padding: 0 16px; background: var(--lime); border-color: var(--lime); color: var(--bg); }
.play-btn:hover { background: var(--lime-2); }

/* One column below 1100px. The links hide, and arrows join the columns. */
@media (max-width: 1099px) {
  .story-tab { flex: 1 1 160px; min-width: 0; }
  .story-stage { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .story-links { display: none; }
  .story-col + .story-col::before {
    content: "";
    align-self: center;
    width: 1px;
    height: 28px;
    margin: 6px 0 2px;
    background: linear-gradient(var(--line-2), var(--lime));
  }
}

/* How it works */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.steps li {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 20px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.steps li:first-child { background: rgba(34, 31, 25, 0.5); }
.step-num { font: 12px/1 var(--mono); color: var(--lime); }
.steps h3 { font-size: 26px; font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }
.steps p { font-size: 15px; color: var(--muted); }
@media (max-width: 1039px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .steps { grid-template-columns: minmax(0, 1fr); } .steps li { border-right: 0; } }

/* Monitoring */

.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(32px, 5vw, 72px); }
.duo .body + .body { margin-top: 12px; }

/* Lattice */

.arch { display: grid; }
.arch-box { padding: 18px 20px 20px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel); }
.arch-inputs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; padding: 16px 20px; background: var(--bg); }
.arch-inputs span:not(.mono-label) { font-size: 15px; font-weight: 500; }
.arch-product { border-color: var(--lime); }
.arch-lattice { border-color: var(--yellow); box-shadow: 0 30px 80px -40px rgba(245, 197, 66, 0.35); }
.arch-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.arch-title h3 { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.arch-title h3 span { color: var(--lime); font-weight: 400; }
.lattice-mark { display: inline-flex; align-items: center; gap: 3px; }
.lattice-mark i { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.lattice-mark b { width: 12px; height: 1px; background: var(--yellow); }
.lattice-mark i:last-child { border: 1px solid var(--yellow); background: none; }
.arch-arrow { display: flex; flex-direction: column; align-items: center; padding: 6px 0; }
.arch-arrow::before { content: ""; width: 1px; height: 18px; background: var(--ink); }
.arch-arrow::after { content: ""; border: 5px solid transparent; border-top: 7px solid var(--ink); border-bottom: 0; }
.cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 10px; }
.cell { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.arch-lattice .cell { border-color: #3a352c; background: none; }
.cell h4 { margin-bottom: 4px; font-size: 15px; font-weight: 600; }
.cell p { font-size: 13px; line-height: 1.45; color: var(--muted); }

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 clamp(20px, 3vw, 40px);
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line-2);
}
.facts div { padding: 16px 0; }
.facts dt { margin-bottom: 4px; font-size: 15px; font-weight: 600; }
.facts dd { font-size: 14px; color: var(--muted); }
@media (max-width: 979px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts div { border-bottom: 1px solid var(--line); }
}

/* Demo request */

.demo { position: relative; overflow: hidden; border-top: 1px solid var(--line); background: var(--lime); color: var(--bg); }
.demo-art { position: absolute; right: -40px; top: -20px; width: min(60vw, 560px); height: auto; opacity: 0.35; }
.demo-art line { stroke: var(--bg); stroke-width: 1; }
.demo-art circle { fill: var(--lime); stroke: var(--bg); }
.demo-art .warm { fill: var(--yellow); stroke: var(--yellow); }
.demo-inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(64px, 8vw, 112px);
}
.demo h2 { margin-bottom: 24px; font-size: clamp(40px, 5.4vw, 80px); font-weight: 600; line-height: 0.98; letter-spacing: -0.045em; }
.demo-copy p { max-width: 460px; font-size: 18px; color: #1e2310; }

.form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 30px 80px -30px rgba(12, 11, 9, 0.6);
}
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.form .optional { color: var(--dim); font-weight: 400; }
.form input, .form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--panel);
  font-size: 16px;
}
.form textarea { resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible { outline-offset: 1px; border-color: var(--lime); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; font-size: 14px; color: var(--muted); }
.form-note { display: none; padding: 12px 14px; border-radius: 10px; font-size: 15px; }
.form-note:target, .form-note.is-shown { display: block; }
.form-ok { border: 1px solid var(--lime); background: #1a200e; color: var(--ink); }
.form-err { border: 1px solid var(--amber); background: #2a170c; color: var(--ink); }

/* Footer */

.site-footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding-top: 32px; padding-bottom: 32px; }
.footer-inner .brand { margin: 0; font-size: 19px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 14px; color: var(--dim); }
.footer-links a { display: inline-block; padding: 10px 0; color: var(--muted); }

/* Not found page */

.notfound { display: grid; place-content: center; gap: 20px; min-height: calc(100svh - var(--header) - 100px); text-align: center; }
.notfound .actions { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
