/* ============================================================================
   RestoQR — marketing site
   Palette and type follow docs/DESIGN_SYSTEM.md so the site and the product
   look like the same company. Neutral warm base, exactly one accent, colour
   reserved for state.
   ========================================================================= */

/* ── tokens ──────────────────────────────────────────────────────────── */
:root {
  --canvas:      #f7f6f4;
  --canvas-sunk: #efedea;
  --surface:     #ffffff;
  --line:        #e7e4df;
  --line-strong: #d6d2cb;
  --ink:         #1c1a17;
  --ink-2:       #4a463f;
  --muted:       #78736a;
  --faint:       #a8a29a;

  --brand:        #e23744;
  --brand-strong: #b92c37;
  --brand-tint:   #fdeef0;
  --brand-soft:   #f7ccd1;

  --ok:    #157a3f;
  --warn:  #a4640a;
  --danger:#b3261e;

  --ink-deep: #141311;   /* dark sections (KDS-like) */
  --ink-rail: #1e1c19;

  --r-sm: 10px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(28,26,23,.05);
  --shadow:    0 2px 8px rgba(28,26,23,.06), 0 1px 2px rgba(28,26,23,.04);
  --shadow-lg: 0 24px 60px -20px rgba(28,26,23,.22), 0 8px 24px -12px rgba(28,26,23,.12);

  --maxw: 1180px;
  --gut:  24px;

  --ease: cubic-bezier(.32,.72,0,1);
}

/* ── reset ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

body {
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--canvas);
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.14; letter-spacing: -.022em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.85rem, 3.9vw, 2.85rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.12rem, 1.7vw, 1.35rem); }
p  { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

::selection { background: var(--brand); color: #fff; }

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

.tnum { font-variant-numeric: tabular-nums; }

/* ── layout ──────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(64px, 9vw, 116px); }
.section--tight { padding-block: clamp(48px, 6vw, 76px); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--r) 0;
}
.skip:focus { left: 0; }

/* ── eyebrow / section heads ─────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .715rem; font-weight: 800; letter-spacing: .13em;
  text-transform: uppercase; color: var(--brand);
}
.eyebrow::before {
  content: ''; width: 18px; height: 2px; background: var(--brand); border-radius: 2px;
}
.eyebrow--muted { color: var(--muted); }
.eyebrow--muted::before { background: var(--line-strong); }

.head { max-width: 720px; margin-bottom: clamp(34px, 4.4vw, 54px); }
.head h2 { margin-top: 14px; }
.head p  { margin-top: 15px; font-size: clamp(1rem, 1.35vw, 1.14rem); color: var(--muted); }
.head--center { margin-inline: auto; text-align: center; }
.head--center .eyebrow { justify-content: center; }

/* ── buttons ─────────────────────────────────────────────────────────── */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 24px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  border-radius: var(--r); font-size: .95rem; font-weight: 700; letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover  { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translateY(0); }
.btn--brand { --bg: var(--brand); }
.btn--brand:hover { --bg: var(--brand-strong); }
.btn--quiet { --bg: var(--surface); --fg: var(--ink); --bd: var(--line-strong); }
.btn--quiet:hover { --bd: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: transparent; padding-inline: 12px; }
.btn--ghost:hover { --bg: var(--canvas-sunk); transform: none; box-shadow: none; }
.btn--onDark { --bg: #fff; --fg: var(--ink); }
.btn--onDarkQuiet { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.28); }
.btn--onDarkQuiet:hover { --bd: rgba(255,255,255,.6); }
.btn--lg { min-height: 56px; padding-inline: 30px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

.btn .arw { transition: transform .22s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }

/* ── header ──────────────────────────────────────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,246,244,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.hdr.is-stuck { border-bottom-color: var(--line); }
.hdr__in { display: flex; align-items: center; gap: 18px; height: 70px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink);
        letter-spacing: -.03em; font-size: 1.16rem; }
.logo__mark {
  width: 32px; height: 32px; border-radius: 9px; flex: none;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
}
.logo__mark svg { width: 18px; height: 18px; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  padding: 9px 14px; border-radius: 10px; font-size: .92rem; font-weight: 600;
  color: var(--ink-2); transition: background-color .16s, color .16s;
}
.nav a:hover { background: var(--canvas-sunk); color: var(--ink); }
.hdr__cta { display: flex; align-items: center; gap: 10px; }

.burger { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line-strong);
          background: var(--surface); border-radius: 11px; cursor: pointer; }
.burger span, .burger span::before, .burger span::after {
  display: block; width: 17px; height: 2px; background: var(--ink); border-radius: 2px;
  margin-inline: auto; transition: transform .22s var(--ease), opacity .18s;
}
.burger span::before, .burger span::after { content: ''; position: relative; }
.burger span::before { top: -5.5px; }
.burger span::after  { top: 3.5px; }
.burger[aria-expanded='true'] span { background: transparent; }
.burger[aria-expanded='true'] span::before { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded='true'] span::after  { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav, .hdr__cta .btn--quiet { display: none; }
  .burger { display: grid; place-items: center; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; inset: 70px 0 auto; padding: 14px var(--gut) 22px;
    background: var(--canvas); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }
  .nav.is-open a { padding: 13px 12px; font-size: 1rem; }
}

/* ── hero ────────────────────────────────────────────────────────────── */
.hero { position: relative; padding-block: clamp(48px, 7vw, 86px) clamp(56px, 7vw, 92px); overflow: hidden; }
.hero__glow {
  position: absolute; pointer-events: none; z-index: 0;
  width: min(780px, 90vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(226,55,68,.10), transparent 62%);
  top: -290px; right: -180px; filter: blur(8px);
}
.hero__in { position: relative; z-index: 1; display: grid; gap: clamp(38px, 5vw, 56px);
            grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; }
@media (max-width: 980px) { .hero__in { grid-template-columns: 1fr; } }

/* Let the device cluster break the container on wide screens — the KDS has to
   be legible, and boxing it inside 1180px makes it postage-stamp sized. */
@media (min-width: 1240px) {
  .hero__in > .cluster { margin-right: calc((100vw - var(--maxw)) / -2 - 6px); }
}

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 9px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: .815rem; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.pill b { color: var(--ink); font-weight: 800; }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none;
             box-shadow: 0 0 0 3.5px rgba(21,122,63,.14); }

.hero h1 { margin-top: 20px; }
.hero h1 .u {
  background-image: linear-gradient(transparent 62%, var(--brand-soft) 0);
  background-repeat: no-repeat; background-size: 0 100%;
  animation: underline 1s var(--ease) .35s forwards;
}
@keyframes underline { to { background-size: 100% 100%; } }
.hero__lede { margin-top: 20px; font-size: clamp(1.04rem, 1.55vw, 1.2rem); max-width: 52ch; color: var(--ink-2); }
.hero__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
/* Side by side on a phone too — two stacked full-width buttons read as a
   form, not a choice, and push the product shot below the fold. */
@media (max-width: 560px) {
  .hero__acts .btn { flex: 1 1 auto; min-width: 0; padding-inline: 16px; font-size: .92rem; }
}
.hero__note { margin-top: 16px; font-size: .85rem; color: var(--muted); display: flex;
              flex-wrap: wrap; gap: 6px 16px; }
.hero__note span { display: inline-flex; align-items: center; gap: 6px; }
.hero__note svg { width: 14px; height: 14px; color: var(--ok); flex: none; }

/* hero device cluster */
.cluster { position: relative; }
.cluster__admin {
  border-radius: var(--r-lg); overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  transform: perspective(1600px) rotateY(-9deg) rotateX(3deg);
  transform-origin: center right;
}
.cluster__admin img { width: 100%; }
.cluster__phone {
  position: absolute; left: -34px; bottom: -40px; width: 27%; max-width: 186px;
  border-radius: 24px; overflow: hidden; background: #000;
  border: 6px solid #17150f; box-shadow: var(--shadow-lg);
  transform: perspective(1200px) rotateY(7deg) translateZ(46px);
}
.cluster__phone img { width: 100%; border-radius: 18px; }
@media (max-width: 980px) { .cluster__phone { left: auto; right: -8px; bottom: -26px; width: 32%; } }
@media (max-width: 640px) { .cluster__phone { width: 36%; right: -4px; bottom: -20px; } }

.chip-float {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  font-size: .78rem; font-weight: 700; color: var(--ink); white-space: nowrap;
  animation: float 5.5s ease-in-out infinite;
}
.chip-float--a { top: 2%; right: 4%; animation-delay: .2s; }
.chip-float--b { bottom: -14px; right: 12%; animation-delay: 1.9s; }
.chip-float i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.chip-float--b i { background: var(--warn); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (max-width: 980px) { .chip-float { display: none; } }

/* ── logos / stat strip ──────────────────────────────────────────────── */
.strip { border-block: 1px solid var(--line); background: var(--surface); }
.strip__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-block: 30px; }
.strip__item { text-align: center; padding-inline: 10px; }
.strip__item + .strip__item { border-left: 1px solid var(--line); }
.strip__n { font-size: clamp(1.5rem, 2.6vw, 2.05rem); font-weight: 800; color: var(--ink);
            letter-spacing: -.035em; line-height: 1; }
.strip__l { margin-top: 7px; font-size: .78rem; color: var(--muted); font-weight: 600; }
@media (max-width: 720px) {
  .strip__in { grid-template-columns: repeat(2, 1fr); gap: 22px 8px; }
  .strip__item:nth-child(3) { border-left: none; }
}

/* ── generic card ────────────────────────────────────────────────────── */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.card h3 { margin-bottom: 9px; }
.card p  { font-size: .935rem; color: var(--muted); }

.ic {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand); margin-bottom: 16px;
}
.ic svg { width: 20px; height: 20px; }
.ic--ok   { background: #e8f2eb; color: var(--ok); }
.ic--warn { background: #fdf2e2; color: var(--warn); }
.ic--ink  { background: var(--canvas-sunk); color: var(--ink); }

/* ── problem grid ────────────────────────────────────────────────────── */
.leaks { display: grid; grid-template-columns: repeat(auto-fit, minmax(216px, 1fr)); gap: 16px; }
.leak { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
        padding: 24px 22px; position: relative; overflow: hidden; }
.leak::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--brand); }
.leak__n { font-size: .72rem; font-weight: 800; color: var(--faint); letter-spacing: .1em; }
.leak h3 { font-size: 1.05rem; margin: 8px 0 8px; }
.leak p  { font-size: .9rem; color: var(--muted); }

/* ── how it works ────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(178px, 1fr)); gap: 14px; counter-reset: s; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px 20px; position: relative;
}
.step__n {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-size: .84rem; font-weight: 800; margin-bottom: 15px;
}
.step h3 { font-size: .98rem; margin-bottom: 7px; }
.step p  { font-size: .875rem; color: var(--muted); line-height: 1.55; }

/* ── feature rows (alternating) ──────────────────────────────────────── */
.frow { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr);
        gap: clamp(30px, 5vw, 64px); align-items: center; }
.frow + .frow { margin-top: clamp(56px, 7vw, 96px); }
.frow--flip .frow__media { order: -1; }
@media (max-width: 900px) {
  .frow { grid-template-columns: 1fr; gap: 28px; }
  .frow--flip .frow__media { order: 0; }
}
.frow h2 { font-size: clamp(1.5rem, 2.7vw, 2.05rem); margin-top: 14px; }
.frow__body { margin-top: 14px; font-size: 1.02rem; color: var(--ink-2); }

.ticks { margin-top: 20px; display: grid; gap: 11px; }
.tick { display: flex; gap: 11px; align-items: flex-start; font-size: .945rem; }
.tick svg { width: 19px; height: 19px; flex: none; margin-top: 2px; color: var(--ok); }
.tick b { color: var(--ink); font-weight: 700; }

.shot {
  border-radius: var(--r-lg); overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.shot--dark { border-color: #2a2724; background: var(--ink-deep); }
.shot__bar {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  background: var(--canvas-sunk); border-bottom: 1px solid var(--line);
}
.shot--dark .shot__bar { background: #211f1c; border-bottom-color: #2f2c28; }
.shot__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.shot--dark .shot__bar i { background: #3c3833; }
.shot__bar span { margin-left: 8px; font-size: .74rem; color: var(--muted); font-weight: 600; }
.shot img { width: 100%; }

.phone-frame {
  width: min(272px, 78%); margin-inline: auto;
  border: 8px solid #17150f; border-radius: 34px; overflow: hidden;
  background: #000; box-shadow: var(--shadow-lg);
}
.phone-frame img { width: 100%; border-radius: 26px; }

/* ── surfaces (4 up) ─────────────────────────────────────────────────── */
.surfaces { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 16px; }
.surface { position: relative; overflow: hidden; }
.surface__tag {
  position: absolute; inset: 0 0 auto 0; height: 3px;
}
.surface h3 { margin-top: 4px; }
.surface__who { font-size: .77rem; font-weight: 700; color: var(--muted);
                text-transform: uppercase; letter-spacing: .07em; margin-bottom: 10px; }

/* ── dark band ───────────────────────────────────────────────────────── */
.dark { background: var(--ink-deep); color: #cfcac3; position: relative; overflow: hidden; }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: #ff8a92; }
.dark .eyebrow::before { background: #ff8a92; }
.dark .head p { color: #a8a29a; }
.dark__glow {
  position: absolute; width: 700px; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(226,55,68,.16), transparent 65%);
  top: -260px; left: -160px;
}

.kcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); gap: 16px; }
.kcard { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1);
         border-radius: var(--r-lg); padding: 24px; }
.kcard h3 { font-size: 1.02rem; margin-bottom: 8px; }
.kcard p  { font-size: .91rem; color: #a8a29a; }
.kcard .ic { background: rgba(255,255,255,.08); color: #fff; }

/* ── plans ───────────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 18px; align-items: start; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
        padding: 30px 26px; position: relative; }
.plan--hero { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.plan__badge {
  position: absolute; top: -12px; left: 26px; padding: 5px 12px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: .69rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
}
.plan__name { font-size: 1.35rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.plan__for  { margin-top: 5px; font-size: .87rem; color: var(--muted); }
.plan__price { margin-top: 18px; font-size: 1.02rem; font-weight: 700; color: var(--ink); }
.plan__price small { display: block; font-size: .8rem; font-weight: 500; color: var(--muted); margin-top: 3px; }
.plan__rule { height: 1px; background: var(--line); margin: 20px 0; }
.plan ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: .91rem; }
.plan li svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--ok); }
.plan li.is-off { color: var(--faint); }
.plan li.is-off svg { color: var(--line-strong); }
.plan .btn { margin-top: 24px; }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 10px; max-width: 820px; margin-inline: auto; }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
      overflow: hidden; transition: border-color .18s; }
.qa[open] { border-color: var(--line-strong); }
.qa summary {
  list-style: none; cursor: pointer; padding: 19px 22px; display: flex;
  align-items: center; gap: 14px; font-weight: 700; color: var(--ink); font-size: 1rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ''; margin-left: auto; flex: none; width: 10px; height: 10px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-2px); transition: transform .22s var(--ease);
}
.qa[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.qa__a { padding: 0 22px 20px; font-size: .95rem; color: var(--muted); }
.qa__a p + p { margin-top: 10px; }

/* ── contact ─────────────────────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr);
           gap: clamp(30px, 5vw, 62px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

.contact__pts { display: grid; gap: 16px; margin-top: 28px; }
.cpt { display: flex; gap: 13px; align-items: flex-start; }
.cpt svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--brand); }
.cpt b { display: block; color: var(--ink); font-size: .95rem; }
.cpt span { font-size: .89rem; color: var(--muted); }

.form {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: clamp(24px, 3.4vw, 36px); box-shadow: var(--shadow);
}
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }

.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field > label { font-size: .845rem; font-weight: 700; color: var(--ink); }
.field .opt { color: var(--faint); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; background: var(--canvas);
  border: 1.5px solid var(--line-strong); border-radius: var(--r);
  font-size: .95rem; transition: border-color .16s, background-color .16s, box-shadow .16s;
}
.field textarea { resize: vertical; min-height: 108px; line-height: 1.55; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2378736a' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 17px;
  padding-right: 40px; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: var(--surface);
  box-shadow: 0 0 0 3.5px var(--brand-tint);
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }

.field.is-bad input, .field.is-bad select, .field.is-bad textarea {
  border-color: var(--danger); background: #fdf3f2;
}
.err { font-size: .8rem; color: var(--danger); font-weight: 600; min-height: 0; }
.field:not(.is-bad) .err { display: none; }

/* honeypot — off-screen, not display:none (some bots skip hidden inputs) */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px;
      overflow: hidden; opacity: 0; pointer-events: none; }

.form__foot { margin-top: 6px; display: flex; flex-direction: column; gap: 12px; }
.form__legal { font-size: .8rem; color: var(--muted); }
.form__legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.note {
  display: none; gap: 11px; align-items: flex-start; padding: 15px 17px;
  border-radius: var(--r); font-size: .91rem; margin-bottom: 18px;
}
.note.is-on { display: flex; }
.note svg { width: 19px; height: 19px; flex: none; margin-top: 1px; }
.note--ok  { background: #e8f2eb; color: #0f5c30; border: 1px solid #bfe0cc; }
.note--bad { background: #fdeceb; color: #8f1e18; border: 1px solid #f3cbc8; }

.done { text-align: center; padding: 22px 4px; display: none; }
.done.is-on { display: block; }
.done__ic { width: 58px; height: 58px; border-radius: 50%; background: #e8f2eb; color: var(--ok);
            display: grid; place-items: center; margin: 0 auto 18px; }
.done__ic svg { width: 28px; height: 28px; }
.done h3 { margin-bottom: 9px; }
.done p { color: var(--muted); font-size: .95rem; }
.form.is-done .form__live { display: none; }

.spin { width: 17px; height: 17px; border: 2.2px solid rgba(255,255,255,.35);
        border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── CTA band ────────────────────────────────────────────────────────── */
.cta { background: var(--ink-deep); color: #cfcac3; text-align: center; position: relative; overflow: hidden; }
.cta h2 { color: #fff; }
.cta p { margin: 16px auto 0; max-width: 56ch; color: #a8a29a; font-size: 1.06rem; }
.cta__acts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }

/* ── footer ──────────────────────────────────────────────────────────── */
.ftr { background: var(--ink-deep); color: #8b857d; border-top: 1px solid rgba(255,255,255,.08); }
.ftr__in { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 34px; padding-block: 52px 34px; }
@media (max-width: 820px) { .ftr__in { grid-template-columns: 1fr 1fr; gap: 30px; } }
.ftr .logo { color: #fff; }
.ftr .logo__mark { background: #fff; color: var(--ink-deep); }
.ftr__blurb { margin-top: 14px; font-size: .89rem; max-width: 34ch; line-height: 1.6; }
.ftr h4 { color: #fff; font-size: .77rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.ftr ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.ftr a { font-size: .9rem; color: #8b857d; transition: color .16s; }
.ftr a:hover { color: #fff; }
.ftr__base { border-top: 1px solid rgba(255,255,255,.08); padding-block: 22px;
             display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between;
             font-size: .84rem; }

/* ── reveal on scroll ─────────────────────────────────────────────────
   Progressive enhancement, and it must fail OPEN.

   The hidden state is applied only when JS is running: site.js sets
   `<html class="js">` before first paint. Without that class every .rv is
   fully visible — so a crawler, a reader-mode pass, or a visitor whose JS
   fails still sees the entire page instead of a blank one.
   (It rendered blank without JS until this was fixed.)                   */
.js .rv { opacity: 0; transform: translateY(16px);
          transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
}
