/* =========================================================
   NU-GEN Research — UK Reseller Landing Page
   Colours, fonts and spacing are set once in :root below.
   ========================================================= */

/* ---------- Fonts (self-hosted WOFF2, SIL OFL — see fonts/OFL.txt) ---------- */
@font-face { font-family: "Inter"; src: url("fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/Newsreader-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --bg: #06090D;
  --bg-2: #0D1117;
  --card: #11161D;
  --input: #0A0E13;
  --green: #4A8B2C;
  --green-text: #74B852;   /* lighter brand green for small text on dark (AA contrast) */
  --blue: #0F5FA8;
  --blue-hover: #1470C4;
  --text: #F5F7FA;
  --text-2: #A8B0B8;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --error: #FF7B7B;

  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --radius: 14px;
  --radius-sm: 10px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(64px, 9vw, 112px);
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(74, 139, 44, 0.35); }
:focus-visible { outline: 2px solid var(--green-text); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); }
.muted { color: var(--text-2); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--green); flex: none; }
.section-title {
  margin-top: 16px;
  font-size: clamp(30px, 4.2vw, 50px); font-weight: 600; line-height: 1.08; letter-spacing: -0.025em;
  text-wrap: balance;
}
.accent {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 1.06em; letter-spacing: -0.01em; padding-right: 0.06em;
  background: linear-gradient(100deg, #5FA83A 0%, #7EC35A 55%, #9BD677 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (forced-colors: active) { .accent { background: none; color: CanvasText; } }
.lead, .body-lg { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.65; color: var(--text-2); }
.body-lg { margin-top: 18px; max-width: 600px; }

/* ---------- Buttons (pill, with green arrow circle) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 8px 0 24px;
  border-radius: 999px; border: 1px solid transparent; white-space: nowrap;
  font-size: 15px; font-weight: 600; letter-spacing: -0.005em; text-decoration: none;
  cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-primary:active { transform: translateY(1px); }
.btn-arrow {
  display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none;
  border-radius: 50%; background: var(--green); color: #fff;
  transition: transform .2s var(--ease);
}
.btn-arrow svg, .btn-arrow-plain svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .btn-arrow, .btn:hover .btn-arrow-plain { transform: translateX(2px); }
.btn-arrow-plain { display: inline-grid; transition: transform .2s var(--ease); }
.btn-secondary { margin-top: 32px; padding: 0 24px; border-color: var(--border-strong); color: var(--text); background: transparent; }
.btn-secondary:hover { border-color: var(--text); background: rgba(255, 255, 255, 0.04); }
.btn-sm { min-height: 44px; padding-left: 18px; padding-right: 5px; font-size: 14px; }
.btn-sm .btn-arrow { width: 32px; height: 32px; }

/* ---------- Ambient green lighting ---------- */
.glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(10px); }
.glow-hero { width: 820px; height: 820px; right: -300px; top: -40px; background: radial-gradient(closest-side, rgba(74, 139, 44, 0.20), rgba(74, 139, 44, 0)); }
.glow-catalogue { width: 900px; height: 700px; left: -400px; top: 10%; background: radial-gradient(closest-side, rgba(74, 139, 44, 0.10), rgba(74, 139, 44, 0)); }
.glow-form { width: 760px; height: 760px; right: -380px; top: 12%; background: radial-gradient(closest-side, rgba(74, 139, 44, 0.14), rgba(74, 139, 44, 0)); }
.glow-footer { width: 700px; height: 500px; left: -260px; top: -200px; background: radial-gradient(closest-side, rgba(15, 95, 168, 0.12), rgba(15, 95, 168, 0)); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 9, 13, 0.78);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--border); background: rgba(6, 9, 13, 0.92); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; min-width: 0; text-decoration: none; }
.logo { height: 50px; width: auto; }
@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .logo { height: 36px; }
  .site-header .btn-sm { font-size: 13px; padding-left: 14px; gap: 8px; min-height: 42px; }
  .site-header .btn-sm .btn-arrow { width: 30px; height: 30px; }
}
@media (max-width: 430px) {
  .site-header .btn-sm .btn-arrow { display: none; }
  .site-header .btn-sm { padding-right: 14px; }
}
@media (max-width: 350px) {
  .logo { height: 30px; }
  .site-header .btn-sm { font-size: 12px; padding: 0 12px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.hero-grid { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 56px; } }
.hero-title {
  margin-top: 22px;
  font-size: clamp(42px, 6.4vw, 76px); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero-copy .lead { margin-top: 24px; max-width: 560px; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(74, 139, 44, 0.18); flex: none; }

.hero-visual { position: relative; }
.hero-frame {
  position: relative; padding: clamp(16px, 2.4vw, 28px);
  border: 1px solid var(--border); border-radius: var(--radius);
  background:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--bg-2);
}
.corner { position: absolute; width: 12px; height: 12px; border-color: rgba(255,255,255,0.28); border-style: solid; border-width: 0; }
.corner.tl { left: 10px; top: 10px; border-left-width: 1px; border-top-width: 1px; }
.corner.tr { right: 10px; top: 10px; border-right-width: 1px; border-top-width: 1px; }
.corner.bl { left: 10px; bottom: 10px; border-left-width: 1px; border-bottom-width: 1px; }
.corner.br { right: 10px; bottom: 10px; border-right-width: 1px; border-bottom-width: 1px; }
.fig-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); margin: 2px 0 14px 4px; }
.hero-main img, .hero-thumbs img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.hero-main img { box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8); }
.hero-thumbs { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-tags { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 14px; }
.tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px;
  border: 1px solid var(--border); border-radius: 999px; background: rgba(6, 9, 13, 0.7);
  font-size: 12px; color: var(--text);
}
.tick { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--green); flex: none; }
.tick svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Credibility strip ---------- */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.trust-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 980px) { .trust-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 22px 12px 22px 0; }
.trust-item + .trust-item { border-left: 1px solid var(--border); padding-left: clamp(14px, 2.4vw, 28px); }
@media (max-width: 979px) {
  .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--border); }
}
.trust-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-strong); color: var(--green-text); flex: none; }
.trust-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.trust-title { font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.trust-text { margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--text-2); }
@media (max-width: 560px) {
  .trust-item { flex-direction: column; gap: 10px; }
  .trust-icon { width: 34px; height: 34px; }
  .trust-title { font-size: 14px; }
  .trust-text { font-size: 12px; }
}

/* ---------- Sections ---------- */
.section { position: relative; overflow: hidden; padding: var(--section-y) 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.split { position: relative; display: grid; gap: 44px; }
@media (min-width: 980px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split-center { align-items: center; } }
.section-head { position: relative; display: grid; gap: 18px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head .body-lg { margin-top: 0; }
@media (min-width: 980px) { .section-head:not(.single) { grid-template-columns: 1.15fr 1fr; align-items: end; gap: 56px; } }

/* Partnerships */
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: center; }
.category {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  min-height: 140px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(74, 139, 44, 0.08), rgba(74, 139, 44, 0) 55%), var(--card);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.category:hover { border-color: rgba(116, 184, 82, 0.4); transform: translateY(-2px); }
.cat-num { font-size: 12px; color: var(--green-text); }
.cat-name { font-size: clamp(16px, 1.7vw, 20px); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }

/* ---------- Product catalogue: ALWAYS 2 per row ---------- */
.product-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 2.2vw, 28px);
}
.product {
  display: flex; flex-direction: column; min-width: 0;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--card); overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.product:hover { border-color: rgba(116, 184, 82, 0.35); transform: translateY(-3px); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9); }
.product-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-2); border-bottom: 1px solid var(--border); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.product:hover .product-media img { transform: scale(1.04); }
.product-body { padding: clamp(10px, 2vw, 22px) clamp(10px, 2vw, 24px) clamp(12px, 2.2vw, 24px); }
.product-name { font-size: clamp(13px, 1.7vw, 20px); font-weight: 600; line-height: 1.3; letter-spacing: -0.012em; overflow-wrap: anywhere; }
.product-meta { margin-top: 6px; font-size: clamp(10.5px, 1.2vw, 13px); line-height: 1.45; color: var(--text-2); overflow-wrap: anywhere; }
.product-meta .mono { color: var(--green-text); }

/* ---------- Why NU-GEN ---------- */
.benefit-grid { position: relative; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .benefit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.benefit { padding: clamp(22px, 2.4vw, 30px); border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); transition: border-color .3s var(--ease); }
.benefit:hover { border-color: rgba(116, 184, 82, 0.35); }
.benefit-num { display: block; font-family: var(--serif); font-style: italic; font-size: 38px; line-height: 1; color: var(--green-text); }
.benefit-title { margin-top: 26px; font-size: 19px; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
.benefit-text { margin-top: 10px; font-size: 15px; color: var(--text-2); }

/* ---------- Verification ---------- */
.steps { margin-top: 32px; display: grid; gap: 0; border-top: 1px solid var(--border); }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.step-num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; font-size: 12px; box-shadow: 0 0 0 6px rgba(74, 139, 44, 0.14); }
.step-title { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.step-text { margin-top: 2px; font-size: 15px; color: var(--text-2); }

.verify-panel { border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.verify-head { display: flex; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--border); font-size: 11px; letter-spacing: 0.12em; }
.verify-body { display: grid; gap: 24px; padding: 24px 22px; align-items: center; }
@media (min-width: 520px) { .verify-body { grid-template-columns: 170px 1fr; } }
.qr-wrap { position: relative; width: 170px; max-width: 100%; margin: 0 auto; padding: 10px; border-radius: var(--radius-sm); background: #fff; }
.qr .qr-fg { fill: #06090D; }
.qr .qr-bg { fill: #fff; }
.scan-line {
  position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; border-radius: 2px;
  background: var(--green); box-shadow: 0 0 14px 3px rgba(74, 139, 44, 0.55);
  animation: scan 3.2s ease-in-out infinite;
}
@keyframes scan { 0%, 100% { top: 14%; } 50% { top: 84%; } }
.verify-fields { display: grid; border-top: 1px solid var(--border); }
.verify-fields > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.verify-fields dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); }
.verify-fields dd { font-family: var(--mono); font-size: 13px; text-align: right; white-space: nowrap; }
.status-ok { display: inline-flex; align-items: center; gap: 8px; color: var(--green-text); }
.status-ok .tick { width: 16px; height: 16px; }
.verify-foot { padding: 12px 22px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-2); background: rgba(255, 255, 255, 0.02); }

/* ---------- Application form ---------- */
.apply-grid { position: relative; display: grid; gap: 40px; }
@media (min-width: 1020px) { .apply-grid { grid-template-columns: 0.85fr 1.15fr; gap: 64px; } .apply-intro { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.apply-note { margin-top: 22px; padding-left: 14px; border-left: 2px solid var(--green); font-size: 14px; color: var(--text-2); }
.form-card { position: relative; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--card); padding: clamp(20px, 3.4vw, 40px); }
.form-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.form-head-title { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.form-head-req { font-size: 12px; color: var(--text-2); }
.req { color: var(--green-text); }

.fields { border: 0; margin: 24px 0 0; padding: 0; min-width: 0; display: grid; gap: 20px 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .fields { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
.field { min-width: 0; }
.field label, .label-row label {
  display: block; margin-bottom: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-text);
}
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.counter { flex: none; white-space: nowrap; font-family: var(--mono); font-size: 11px; color: var(--text-2); }
.counter.is-near { color: #E7C35A; }

.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-sm);
  background: var(--input); color: var(--text); font-size: 16px; line-height: 1.4;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: rgba(168, 176, 184, 0.6); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, 0.22); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-text); box-shadow: 0 0 0 3px rgba(74, 139, 44, 0.25); background: #0C1117; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.5px solid var(--text-2); border-bottom: 1.5px solid var(--text-2); transform: rotate(45deg); pointer-events: none;
}
.field select { padding-right: 40px; cursor: pointer; }
.field select:invalid { color: rgba(168, 176, 184, 0.75); }
.field select option { background: var(--bg-2); color: var(--text); }

.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field.has-error input:focus, .field.has-error select:focus, .field.has-error textarea:focus { box-shadow: 0 0 0 3px rgba(255, 123, 123, 0.22); }
.field-error { display: none; margin-top: 7px; font-size: 13px; line-height: 1.4; color: var(--error); }
.field.has-error .field-error { display: block; }

/* Checkbox */
.checkbox { display: flex !important; gap: 12px; align-items: flex-start; margin: 0 !important; cursor: pointer; text-transform: none !important; letter-spacing: 0 !important; font-weight: 400 !important; color: var(--text) !important; font-size: 14px !important; }
.checkbox input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; min-height: 0; }
.checkbox-box { display: grid; place-items: center; width: 22px; height: 22px; flex: none; margin-top: 1px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 6px; background: var(--input); transition: background-color .15s ease, border-color .15s ease; }
.checkbox-box svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .15s ease; }
.checkbox input:checked + .checkbox-box { background: var(--green); border-color: var(--green); }
.checkbox input:checked + .checkbox-box svg { opacity: 1; }
.checkbox input:focus-visible + .checkbox-box { outline: 2px solid var(--green-text); outline-offset: 3px; }
.field.has-error .checkbox-box { border-color: var(--error); }
.checkbox-text { line-height: 1.55; color: var(--text-2); }
.checkbox-text a { color: var(--text); text-underline-offset: 3px; }
.consent .field-error { padding-left: 34px; }

/* Honeypot */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer of form */
.form-foot { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.btn-submit { position: relative; min-height: 56px; font-size: 16px; padding-left: 28px; }
@media (max-width: 559px) { .btn-submit { width: 100%; } }
.btn-submit .spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin .8s linear infinite; margin-right: 12px; }
.btn-submit.is-loading { cursor: progress; opacity: 0.9; }
.btn-submit.is-loading .btn-arrow { display: none; }
.btn-submit.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-note { margin-top: 14px; font-size: 13px; color: var(--text-2); }

/* Alert & success */
.form-alert { display: flex; gap: 12px; margin-top: 20px; padding: 14px 16px; border: 1px solid rgba(255, 123, 123, 0.35); border-radius: var(--radius-sm); background: rgba(255, 123, 123, 0.06); }
.form-alert[hidden] { display: none; }
.form-alert:focus { outline: none; }
.form-alert svg { width: 20px; height: 20px; flex: none; margin-top: 1px; fill: none; stroke: var(--error); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.form-alert-title { font-weight: 600; font-size: 15px; }
.form-alert-text { margin-top: 2px; font-size: 14px; color: var(--text-2); }

.form-success { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 380px; padding: 12px 4px; }
.form-success[hidden] { display: none; }
.form-success:focus { outline: none; }
.success-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 8px rgba(74, 139, 44, 0.16); }
.success-icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.success-title { margin-top: 28px; font-size: clamp(24px, 3vw, 30px); font-weight: 600; letter-spacing: -0.02em; }
.success-text { margin-top: 12px; max-width: 520px; font-size: 17px; color: var(--text-2); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--border); }
.faq { border-bottom: 1px solid var(--border); }
.faq summary {
  display: grid; grid-template-columns: 40px 1fr 32px; align-items: start; gap: 12px;
  padding: 22px 0; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-num { padding-top: 4px; font-size: 12px; color: var(--text-2); }
.faq-q { font-size: clamp(16px, 1.6vw, 19px); font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; transition: color .2s ease; }
.faq summary:hover .faq-q { color: var(--green-text); }
.faq-icon { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border-strong); transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .3s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: currentColor; }
.faq-icon::after { transform: rotate(90deg); }
.faq[open] .faq-icon { transform: rotate(45deg); background: var(--green); border-color: var(--green); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 44px 22px 52px; color: var(--text-2); }
@media (max-width: 560px) { .faq-a p { padding: 0 0 20px 52px; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--border); background: #04070A; padding: 56px 0 28px; }
.footer-top { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--border); }
.logo-footer { height: 64px; }
.footer-name { margin-top: 22px; font-size: 16px; font-weight: 600; }
.footer-notice { margin-top: 8px; max-width: 520px; font-size: 14px; color: var(--text-2); }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 22px; }
.copyright { font-size: 13px; color: var(--text-2); }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 40px; font-size: 13px; color: var(--text-2); text-decoration: none; transition: color .2s ease; }
.footer-links a:hover { color: var(--text); }

/* ---------- Reveal on scroll (content stays visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@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; }
  .js .reveal { opacity: 1; transform: none; }
}

