/* ============================================================
   Pickpoint WMS — "control room on the warehouse floor"
   Ink screens for the hero, tour, about and contact; concrete and
   paper for reading sections; one hi-vis amber for actions.
   ============================================================ */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  /* Ink (dark surfaces) */
  --ink-950: #070d18;
  --ink-900: #0b1322;
  --ink-850: #0f192b;
  --ink-800: #152038;
  --ink-700: #22314d;
  --ink-line: rgba(148, 170, 205, 0.16);
  --fog-200: #c9d3e2;
  --fog-300: #a9b6cb;
  --fog-400: #8a99b2;

  /* Light surfaces */
  --paper: #f5f6f8;
  --concrete: #e8ecf0;
  --white: #ffffff;
  --steel-200: #d6dce4;
  --steel-300: #bec8d5;
  --steel-500: #546179;
  --steel-600: #48566e;
  --steel-700: #33405a;
  --text: #0e1729;

  /* Signals */
  --amber: #ffb800;
  --amber-hover: #ffc83d;
  --amber-ink: #8a5a00;
  --blue: #1d5fd8;
  --blue-dark: #1748a8;
  --blue-300: #7cb4f5;
  --ok: #11804a;
  --ok-on-dark: #4ade80;
  --danger: #c62828;

  --radius: 6px;
  --radius-lg: 10px;
  --shadow-panel: 0 24px 48px -12px rgba(3, 8, 18, 0.55);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --focus: var(--blue);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  font-family: var(--font);
  font-stretch: 100%;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--blue);
}

::selection { background: var(--amber); color: var(--ink-900); }

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

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

a { color: var(--blue); text-underline-offset: 0.2em; }

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

h1, h2, h3 {
  line-height: 1.08;
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 4.6vw, 3.7rem); font-weight: 750; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 650; font-stretch: 104%; letter-spacing: -0.01em; line-height: 1.25; }

.mono { font-family: var(--mono); }

/* Dark surfaces share text colours and the amber focus ring */
.nav, .hero, .whouse, .section--photo, #contact, .footer, .fhero {
  --focus: var(--amber);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: inherit;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn--primary {
  background: var(--amber);
  color: var(--ink-900);
}
.btn--primary:hover { background: var(--amber-hover); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--steel-300);
}
.btn--ghost:hover { border-color: var(--text); }
.hero .btn--ghost,
.fhero .btn--ghost,
#contact .btn--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}
.hero .btn--ghost:hover,
.fhero .btn--ghost:hover { border-color: var(--white); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.9rem; }
.btn--lg { padding: 0.9rem 1.6rem; font-size: 1rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink-900);
  border-bottom: 1px solid var(--ink-line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo { display: flex; align-items: center; text-decoration: none; }
.nav__logo-img { display: block; height: 30px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.nav__links a {
  color: var(--fog-300);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s;
}
.nav__links a:not(.btn):hover { color: var(--white); }
.nav__links a.btn { color: var(--ink-900); }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s, opacity 0.2s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink-900);
  color: var(--white);
  padding: 8.2rem 0 0; /* ~140px from nav to headline ink */
  min-height: min(calc(100vh - 68px), 760px);
  min-height: min(calc(100svh - 68px), 760px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
/* Faint pallet-racking elevation along the floor of the hero */
.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 78%;
  z-index: -1;
  opacity: 0.55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='420' viewBox='0 0 260 420' fill='none' stroke='%2394aacd' stroke-opacity='0.14' stroke-width='1.5'%3E%3Cpath d='M2 0V420M12 0V420M2 20L12 60L2 100L12 140L2 180L12 220L2 260L12 300L2 340L12 380L2 420M12 110H260M12 116H260M12 250H260M12 256H260M12 390H260M12 396H260'/%3E%3C/svg%3E") left bottom / auto 100% repeat-x;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%), linear-gradient(0deg, #000 60%, transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 0%, #000 55%), linear-gradient(0deg, #000 60%, transparent);
          mask-composite: intersect;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 3rem;
  align-items: center;
}
.hero__copy { padding-bottom: 4.5rem; }
.hero__sub {
  font-size: 1.15rem;
  color: var(--fog-300);
  margin: 1.4rem 0 2.2rem;
  max-width: 33rem;
}
.hero__actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.6rem;
  list-style: none;
  margin-top: 2.8rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--ink-line);
  color: var(--fog-200);
  font-size: 0.93rem;
  font-weight: 500;
}
.hero__points li { display: flex; align-items: center; gap: 0.6rem; }
.hero__points li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--amber);
  flex-shrink: 0;
}

/* Hero visual: handheld pick screen over the live billing feed */
.hero__visual {
  position: relative;
  height: 600px;
  align-self: end;
  margin-bottom: 0;
}
/* Copy sits a fixed distance below the nav; the device column stays anchored to the floor */
.hero__inner { flex: 1; }
.hero__copy { align-self: start; padding-block: 0 4.5rem; }
.feed {
  position: absolute;
  top: 0;
  right: 0;
  width: 94%;
  background: var(--ink-800);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel);
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--fog-300);
  overflow: hidden;
}
.feed__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--ink-line);
  color: var(--fog-200);
  letter-spacing: 0.02em;
}
.feed__live { display: flex; align-items: center; gap: 0.45rem; color: var(--ok-on-dark); }
.feed__live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.feed__rows { padding: 0.35rem 0 0.6rem; }
.feed__row {
  display: grid;
  grid-template-columns: 4.6rem 1fr auto;
  gap: 0.8rem;
  padding: 0.55rem 1.1rem;
  white-space: nowrap;
}
.feed__row span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; }
.feed__row b { color: var(--white); font-weight: 600; }
.feed__row:nth-child(n+5) { display: none; }
.feed__row--new {
  animation: feedIn 9s ease-out infinite;
  overflow: hidden;
}
.feed__caption {
  position: absolute;
  right: 0;
  bottom: 18px;
  font-size: 0.75rem;
  color: var(--fog-400);
  letter-spacing: 0.02em;
}

.scanner {
  position: absolute;
  left: 0;
  bottom: -40px;
  width: 256px;
  height: 420px;
  padding: 34px 16px 0;
  background: linear-gradient(180deg, #2a3446, #1a2231 60%);
  border-radius: 34px 34px 0 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 30px 60px -10px rgba(0, 0, 0, 0.6);
  transform: rotate(-4deg);
  transform-origin: bottom center;
}
/* scan window and side triggers */
.scanner::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 70px;
  height: 8px;
  margin-left: -35px;
  border-radius: 4px;
  background: #0a0f18;
}
.scanner::after {
  content: "";
  position: absolute;
  top: 120px;
  left: -5px;
  width: 6px;
  height: 64px;
  border-radius: 3px 0 0 3px;
  background: var(--amber);
  box-shadow: 261px 0 0 var(--amber);
}
.scanner__beam {
  position: absolute;
  top: -150px;
  left: 50%;
  width: 150px;
  height: 160px;
  margin-left: -75px;
  background: linear-gradient(0deg, rgba(255, 70, 50, 0.45), rgba(255, 70, 50, 0));
  clip-path: polygon(44% 100%, 56% 100%, 100% 0, 0 0);
  opacity: 0;
  animation: beam 9s ease-out infinite;
}
.scr {
  height: 100%;
  background: #f2f4f7;
  border-radius: 14px 14px 0 0;
  color: var(--text);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-size: 0.8rem;
  padding-bottom: 46px;
}
.scr__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.8rem;
  background: var(--ink-900);
  color: var(--fog-200);
  font-family: var(--mono);
  font-size: 0.68rem;
}
.scr__mode {
  background: var(--amber);
  color: var(--ink-900);
  font-weight: 700;
  padding: 0.05rem 0.4rem;
  border-radius: 3px;
}
.scr__body { padding: 0.8rem 0.9rem 0.8rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.scr__label {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--steel-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.scr__bin {
  display: block;
  font-family: var(--mono);
  font-size: 2.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.scr__item {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: 6px;
  padding: 0.6rem 0.7rem;
  position: relative;
  overflow: hidden;
}
.scr__sku { font-family: var(--mono); font-weight: 700; font-size: 0.82rem; }
.scr__desc { display: block; font-weight: 600; margin-top: 0.1rem; }
.scr__meta { display: block; font-family: var(--mono); font-size: 0.66rem; color: var(--steel-600); margin-top: 0.25rem; }
.scr__scanline {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: #ff4632;
  opacity: 0;
  animation: scanline 9s ease-in-out infinite;
}
.scr__qty { display: flex; justify-content: space-between; align-items: end; }
.scr__count {
  position: relative;
  font-family: var(--mono);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  min-width: 5.2ch;
  text-align: right;
}
.scr__count span,
.scr__status span { transition: none; }
.scr__count .is-a,
.scr__status .is-a { animation: stateA 9s steps(1) infinite; }
.scr__count .is-b,
.scr__status .is-b { position: absolute; inset: 0; animation: stateB 9s steps(1) infinite; }
.scr__status {
  position: relative;
  margin-top: auto;
  height: 3.1rem;
  font-weight: 700;
  font-size: 0.86rem;
}
.scr__status span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 0.45rem;
}
.scr__status .is-a { background: var(--amber); color: var(--ink-900); }
.scr__status .is-b { background: var(--ok); color: var(--white); }
.scr__status svg { width: 16px; height: 16px; }

@keyframes beam {
  0%, 16% { opacity: 0; }
  20%, 28% { opacity: 1; }
  32%, 100% { opacity: 0; }
}
@keyframes scanline {
  0%, 17% { opacity: 0; top: 0; }
  19% { opacity: 1; top: 0; }
  29% { opacity: 1; top: calc(100% - 2px); }
  31%, 100% { opacity: 0; top: calc(100% - 2px); }
}
@keyframes stateA { 0% { opacity: 1; } 32% { opacity: 0; } 94% { opacity: 1; } }
@keyframes stateB { 0% { opacity: 0; } 32% { opacity: 1; } 94% { opacity: 0; } }
@keyframes feedIn {
  0%, 33% { max-height: 0; padding-block: 0; opacity: 0; background: rgba(255, 184, 0, 0); }
  38% { max-height: 3rem; padding-block: 0.55rem; opacity: 1; background: rgba(255, 184, 0, 0.16); }
  70% { background: rgba(255, 184, 0, 0); }
  92% { max-height: 3rem; padding-block: 0.55rem; opacity: 1; }
  97%, 100% { max-height: 0; padding-block: 0; opacity: 0; }
}

/* ---------- Sections ---------- */
.section { padding: 6rem 0; background: var(--paper); }
.section--alt { background: var(--concrete); }
.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1rem 4rem;
  align-items: end;
  margin-bottom: 3.4rem;
}
.section__head h2 { max-width: 18ch; }
.section__sub { color: var(--steel-600); font-size: 1.05rem; max-width: 34rem; }

/* ---------- Capability spec grid (Why Pickpoint) ---------- */
.grid { display: grid; }
.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 3rem;
  border-top: 2px solid var(--text);
}
.card {
  padding: 1.6rem 0 2.2rem;
  border-bottom: 1px solid var(--steel-200);
}
.card h3 { display: flex; align-items: baseline; gap: 0.7rem; }
.card h3::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--amber);
  flex-shrink: 0;
  transform: translateY(-0.05em);
}
.card p { color: var(--steel-600); font-size: 0.97rem; margin-top: 0.6rem; max-width: 34ch; }

/* ---------- Feature list (homepage) ---------- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 3rem;
}
.feature {
  display: block;
  padding: 1.6rem 0 1.8rem;
  border-top: 1px solid var(--steel-300);
  text-decoration: none;
  color: inherit;
}
.feature p { color: var(--steel-600); font-size: 0.96rem; margin-top: 0.45rem; }
.feature__more {
  display: inline-block;
  margin-top: 0.7rem;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.18s ease;
}
.feature:hover h3 { color: var(--blue); }
.feature:hover .feature__more { transform: translateX(4px); }
.feature-list__foot { margin-top: 2.6rem; }

/* ---------- Checklist (drawn tick) ---------- */
.checklist { list-style: none; margin-top: 1.6rem; display: flex; flex-direction: column; gap: 0.75rem; }
.checklist li {
  padding-left: 1.8rem;
  position: relative;
  font-weight: 500;
  color: var(--steel-700);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 1rem;
  height: 1rem;
  background: var(--ok);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 12.5 9.5 18 20 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 12.5 9.5 18 20 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Deployment ---------- */
.deploy__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.deploy-card {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-lg);
  padding: 2rem 2.2rem 2.2rem;
}
.deploy-card__head {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--steel-200);
}
.deploy-card__head h3 { font-size: 1.35rem; }
.deploy-card__head p {
  color: var(--steel-600);
  font-size: 0.95rem;
  margin-top: 0.3rem;
}
.deploy-card .checklist { margin-top: 1.4rem; }
.deploy__note { margin-top: 2rem; color: var(--steel-600); font-size: 0.98rem; }
.deploy__note a { font-weight: 600; }

/* ---------- About: photo band ---------- */
.section--photo {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(7, 13, 24, 0.94) 0%, rgba(7, 13, 24, 0.86) 45%, rgba(7, 13, 24, 0.6) 100%),
    url("../img/warehouse-bg.jpg") center / cover no-repeat;
}
.section--photo { background-color: var(--ink-950); }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 4rem;
  align-items: center;
}
.split__copy h2 { max-width: 20ch; }
.split__copy > p { color: var(--fog-200); margin-top: 1.2rem; font-size: 1.04rem; max-width: 36rem; }
.section--photo .checklist li { color: var(--white); }
.section--photo .checklist li::before { background: var(--amber); }
.quote-card {
  background: rgba(11, 19, 34, 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
}
.quote-card__mark { width: 30px; height: 30px; color: var(--amber); margin-bottom: 1.1rem; }
.quote-card p { font-size: 1.15rem; line-height: 1.55; font-weight: 500; }
.quote-card__author {
  display: block;
  margin-top: 1.3rem;
  color: var(--fog-300);
  font-size: 0.9rem;
}

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 2rem 4rem;
  align-items: start;
}
.faq-layout .section__head { display: block; margin: 0; position: sticky; top: 100px; }
.faq-layout .section__sub { margin-top: 1rem; }
.faq { max-width: 52rem; }
.faq__item {
  border-top: 1px solid var(--steel-300);
}
.faq__item:last-child { border-bottom: 1px solid var(--steel-300); }
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 3rem 1.15rem 0;
  font-weight: 600;
  font-size: 1.04rem;
  position: relative;
  transition: color 0.15s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 0.3rem;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat;
  transition: transform 0.2s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--blue); }
.faq__item p {
  padding: 0 0 1.3rem;
  color: var(--steel-600);
  font-size: 0.98rem;
  max-width: 62ch;
}

/* ---------- Contact ---------- */
#contact.section { background: var(--ink-900); color: var(--white); }
#contact .section__sub { color: var(--fog-300); }
.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
  display: grid;
  grid-template-columns: 24px 1fr;
  column-gap: 1rem;
  align-items: center;
  padding: 1.2rem 1.3rem;
  background: var(--ink-800);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--white);
  transition: border-color 0.15s;
}
a.contact-card:hover { border-color: var(--amber); }
.contact-card svg { width: 22px; height: 22px; color: var(--amber); grid-row: span 2; }
.contact-card__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fog-400);
  font-weight: 600;
}
.contact-card__value { font-weight: 600; overflow-wrap: anywhere; }
.contact-info__note { color: var(--fog-300); font-size: 0.96rem; margin-top: 0.5rem; }

/* Contact form: the one bright card on ink */
.cform {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-panel);
  --focus: var(--blue);
}
.cform__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.cform__field { margin-bottom: 1.1rem; min-width: 0; }
.cform__field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--steel-700);
}
.cform__field label span { color: var(--danger); }
.cform__field input,
.cform__field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.97rem;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--steel-300);
  border-radius: var(--radius);
  padding: 0.7rem 0.85rem;
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.cform__field textarea { resize: vertical; min-height: 120px; }
.cform__field input::placeholder,
.cform__field textarea::placeholder { color: #5c687c; }
.cform__field input:focus,
.cform__field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 95, 216, 0.18);
}
.cform__field input.is-invalid,
.cform__field textarea.is-invalid { border-color: var(--danger); }
.cform__error {
  color: var(--danger);
  font-size: 0.82rem;
  font-weight: 500;
  margin-top: 0.35rem;
}
.cform__hint {
  color: var(--steel-600);
  font-size: 0.82rem;
  margin: -0.4rem 0 1.1rem;
}
.cform__honey { position: absolute; left: -9999px; opacity: 0; height: 0; }
.cform__submit { width: 100%; margin-top: 0.3rem; }
.cform__status {
  margin-top: 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
  min-height: 1.2em;
  color: var(--steel-600);
}
.cform__status[data-state="ok"] { color: var(--ok); }
.cform__status[data-state="error"] { color: var(--danger); }
.cform__privacy {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--steel-600);
  text-align: center;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink-950);
  color: var(--fog-300);
  padding: 3.5rem 0 0;
  border-top: 1px solid var(--ink-line);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--ink-line);
}
.footer__brand p { margin-top: 1rem; font-size: 0.94rem; max-width: 22rem; }
.footer__links { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__links a { color: var(--fog-200); text-decoration: none; font-size: 0.95rem; }
.footer__links a:hover { color: var(--white); }
.footer__legal { padding: 1.4rem 0; font-size: 0.85rem; color: var(--fog-400); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  /* Hold the hero on its finished state: pick confirmed, charge captured */
  .scr__count .is-a, .scr__status .is-a { animation: none; opacity: 0; }
  .scr__count .is-b, .scr__status .is-b { animation: none; opacity: 1; }
  .feed__row--new { animation: none; background: rgba(255, 184, 0, 0.12); }
  .scanner__beam, .scr__scanline { animation: none; opacity: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero__inner, .split { grid-template-columns: 1fr; }
  .hero__copy { padding-bottom: 0; }
  .hero__visual { width: min(600px, 100%); margin-inline: auto; margin-top: 3rem; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-wrap, .faq-layout { grid-template-columns: 1fr; }
  .faq-layout .section__head { position: static; }
  .footer__inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer__links { flex-direction: row; flex-wrap: wrap; gap: 1.2rem; }
}

@media (max-width: 760px) {
  .section__head { grid-template-columns: 1fr; margin-bottom: 2.4rem; }
  .grid--3, .feature-list, .deploy__grid { grid-template-columns: 1fr; }
  .cform__row { grid-template-columns: 1fr; gap: 0; }
  .cform { padding: 1.5rem; }
  .deploy-card { padding: 1.6rem; }

  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--ink-900);
    border-bottom: 1px solid var(--ink-line);
    padding: 1rem 4% 1.4rem;
    gap: 0.2rem;
    display: none;
  }
  .nav__links a:not(.btn) { padding: 0.65rem 0; font-size: 1.05rem; }
  .nav__links a.btn { margin-top: 0.8rem; padding: 0.85rem; font-size: 1rem; }
  .nav__links.is-open { display: flex; }
  .nav.menu-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding-top: 3.2rem; min-height: 0; }
  .hero::before { height: 46%; }
  .hero__points { margin-top: 2rem; }
  .hero__visual { height: 560px; margin-top: 2.2rem; }
  .feed { width: 100%; font-size: 0.7rem; }
  .feed__row:nth-child(n+4) { display: none; }
  .feed__row { grid-template-columns: 4.4rem 1fr; padding-inline: 0.9rem; }
  .feed__row span:nth-child(3) { display: none; }
  .feed__caption { top: 182px; bottom: auto; }
  .scanner { left: 50%; margin-left: -124px; width: 248px; height: 380px; transform: rotate(-3deg); }
  .scanner::after { box-shadow: 253px 0 0 var(--amber); }
  .scr__bin { font-size: 1.8rem; }
  .section { padding: 4.2rem 0; }
}
