/* ============================================================
   KINESIS — kinesiscomp.com
   Aesthetic: "circuit nodes on paper" (moodboard)
   - light paper background + faint graph grid
   - graphite octagon node cells joined by thin traces
   - single amber accent, used sparingly
   Type dials: variance medium-high / motion low-moderate / density balanced
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --paper: #f6f6f4;
  --paper-2: #fbfbfa;
  --card: #ffffff;
  --ink: #1b1b23;
  --ink-soft: #4a4a56;
  --muted: #66666f; /* ≥4.5:1 on paper and white (labels, placeholders) */
  --hairline: #e2e2de;
  --line: #d5d5d1;
  --trace: #c9c9d3;
  --dark: #16161d;
  --dark-2: #1f1f29;
  --dark-line: #2e2e3a;
  --on-dark: #e8e8ee;
  --on-dark-soft: #a5a5b2;
  --accent: #db814c;
  --accent-deep: #9c4a1e;
  --accent-soft: #fbeee2;

  --font-display: "Exo 2", "Segoe UI", system-ui, sans-serif;
  --font-body: "Fira Sans", "Segoe UI", system-ui, sans-serif;

  --radius: 14px;
  --shadow-sm: 0 2px 4px rgba(27, 27, 35, 0.05);
  --shadow-md: 0 2px 4px rgba(27, 27, 35, 0.05), 0 18px 34px -14px rgba(27, 27, 35, 0.16);
  --shadow-card: 0 2px 6px rgba(20, 20, 27, 0.14), 0 26px 52px -18px rgba(20, 20, 27, 0.38);

  --chip-dark: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><polygon points='20,2 44,2 62,20 62,44 44,62 20,62 2,44 2,20' fill='%231c1c24' stroke='%23db814c' stroke-width='1.6'/></svg>");
  --chip-light: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><polygon points='20,2 44,2 62,20 62,44 44,62 20,62 2,44 2,20' fill='%23f6f6f4' stroke='%231c1c24' stroke-width='1.6'/></svg>");
  --chip-white: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'><polygon points='15,1.5 33,1.5 46.5,15 46.5,33 33,46.5 15,46.5 1.5,33 1.5,15' fill='%23ffffff' stroke='%23bfbfc8' stroke-width='1.4'/></svg>");

  --container: 1160px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(27, 27, 35, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 27, 35, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-font-smoothing: antialiased;
}
body.no-grid { background-image: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
:where(ul[class], ol[class]) { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
::selection { background: rgba(226, 146, 43, 0.28); }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- Decorative background ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0.4) 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0.4) 100%);
}
.bg-svg { width: 100%; height: 100%; }

.site-header, main, .site-footer { position: relative; z-index: 1; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 246, 244, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.nav {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
}
.brand-mark { flex: none; }
.brand-logo { height: 30px; width: auto; display: block; flex: none; }
.brand-mark-img { height: 22px; width: auto; display: block; flex: none; }
.brand-logo-footer { height: 18px; }
.nav-links {
  display: flex;
  gap: 1.55rem;
  margin-left: auto;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); border-bottom-color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 0.9rem; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
}
.lang-btn {
  min-width: 40px;
  height: 34px;
  padding: 0 0.5rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.is-active { background: var(--ink); color: var(--paper); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  touch-action: manipulation;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent); color: #14141b; }
.btn-secondary { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.nav-cta { min-height: 44px; padding: 0 1.2rem; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: var(--ink);
  border-radius: 10px;
  place-items: center;
}
.mobile-menu { border-top: 1px solid var(--hairline); background: var(--paper); padding-bottom: 0.8rem; }
.mobile-menu ul { display: grid; list-style: none; padding: 0; }
.mobile-menu a {
  display: block;
  padding: 0.85rem clamp(1.25rem, 4vw, 2.5rem);
  text-decoration: none;
  font-weight: 500;
  color: var(--ink);
}
.mobile-menu .btn { margin: 0.7rem clamp(1.25rem, 4vw, 2.5rem) 0; }
/* .mobile-menu a has higher specificity than .btn-primary — restore the pill colors */
.mobile-menu .btn-primary { background: var(--ink); color: var(--paper); }

/* ---------- Hero ---------- */
.hero { padding: clamp(3.5rem, 8vh, 6rem) 0 clamp(3rem, 7vh, 5rem); }
.hero-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--accent);
  transform: rotate(45deg);
  flex: none;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 1.35rem + 3.6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 1rem 0 1.2rem;
}
.title-accent {
  background: linear-gradient(92deg, #1c1c24 0%, #7a4a12 48%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  font-size: 1.06rem;
  color: var(--ink-soft);
  max-width: 54ch;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.7rem; }
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.9rem;
}
.badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.badges li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* hero visual: node cluster + demo card */
.hero-visual { position: relative; min-height: 420px; }
.hero-cluster {
  position: absolute;
  top: -34px;
  right: -26px;
  width: min(420px, 105%);
  z-index: 0;
  pointer-events: none;
}
.hero-cluster .draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: trace-draw 1.5s ease forwards;
}
.hero-cluster .draw:nth-of-type(2) { animation-delay: 0.35s; }
.hero-cluster .draw:nth-of-type(3) { animation-delay: 0.6s; }
.mini-node { opacity: 1; }
.mini-core { opacity: 1; }
@keyframes trace-draw { to { stroke-dashoffset: 0; } }
@keyframes node-pop { from { opacity: 0; transform: scale(0.82); } to { opacity: 1; transform: scale(1); } }
@keyframes core-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

.demo-card {
  position: relative;
  z-index: 1;
  min-height: 190px;
  background: #14141b;
  border: 1px solid #2a2a35;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.demo-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1.1rem;
  border-bottom: 1px solid #26262f;
}
.demo-dots { display: flex; gap: 5px; }
.demo-dots i { width: 9px; height: 9px; border-radius: 50%; background: #3a3a45; }
.demo-dots i:first-child { background: var(--accent); }
.demo-title {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b8b98;
  font-weight: 600;
}
.demo-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.95rem 1.15rem;
}
.demo-row .demo-text {
  color: var(--on-dark);
  font-size: 0.94rem;
  line-height: 1.55;
}
.q-tag, .a-tag {
  flex: none;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  margin-top: 1px;
}
.q-tag { background: var(--accent); color: #14141b; }
.a-tag { background: #2a2a35; color: var(--on-dark); border: 1px solid #3a3a45; }
#demo-answer-row { transition: opacity 0.35s ease; }
#demo-answer-row.is-hidden { opacity: 0; }
.caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 3px;
  background: var(--accent);
  vertical-align: -0.15em;
  animation: caret-blink 1.1s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }
.demo-cite {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 1.15rem 1.15rem 2.45rem;
  padding: 0.35rem 0.8rem;
  background: #1e1e28;
  border: 1px solid #34343f;
  border-radius: 999px;
  color: #b9b9c6;
  font-size: 0.74rem;
  transition: opacity 0.4s ease;
}
.demo-cite[hidden] { display: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; scroll-margin-top: 84px; }
/* Each section's direct children act as the content column (same geometry as .container). */
.section > * {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.section-alt {
  background: linear-gradient(180deg, var(--paper-2), #f1f1ed);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.sec-head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: clamp(2.4rem, 5vw, 3.4rem);
}
.node-chip {
  flex: none;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: var(--chip-dark) center / 100% 100% no-repeat;
  color: var(--paper);
}
.sec-head-light .node-chip {
  background-image: var(--chip-light);
  color: var(--ink);
}
.trace-line {
  flex: 1;
  min-width: 40px;
  height: 10px;
  margin-left: -1.25rem; /* left edge starts exactly at the hexagon's edge */
  background-image:
    radial-gradient(circle 3px at 50% 50%, var(--ink-soft) 97%, transparent),
    linear-gradient(var(--trace), var(--trace));
  background-size: 7px 7px, calc(100% - 3.5px) 1px; /* line ends exactly at the dot */
  background-position: right 0 center, left center;
  background-repeat: no-repeat;
}
.trace-line-light {
  background-image:
    radial-gradient(circle 3px at 50% 50%, #6a6a78 97%, transparent),
    linear-gradient(#3a3a45, #3a3a45);
  background-size: 7px 7px, 100% 1px;
  background-position: right 2px center, left center;
  background-repeat: no-repeat;
}
.sec-head-text .eyebrow { margin-bottom: 0.45rem; }
.sec-head-text h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
}
.sec-head-text .lead {
  margin-top: 0.6rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.7rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: #cfcfd6;
  box-shadow: var(--shadow-md);
}
.f-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--chip-white) center / 100% 100% no-repeat;
  color: #3f3f4b;
  margin-bottom: 1.1rem;
}
.feature h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  margin-bottom: 0.5rem;
}
.feature p { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.62; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 6%;
  right: 6%;
  border-top: 1px dashed var(--trace);
}
.step { position: relative; }
.step-num {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--chip-dark) center / 100% 100% no-repeat;
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.04rem;
  margin-bottom: 0.45rem;
}
.step p { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Roadmap ---------- */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.2rem;
}
.roadmap-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.8rem 2rem;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  border: 1px solid;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.status-badge i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.status-progress { color: var(--accent-deep); border-color: #e6c295; background: var(--accent-soft); }
.status-progress i { background: var(--accent); animation: core-pulse 2s ease-in-out infinite; }
.status-onrequest { color: var(--ink-soft); border-color: var(--line); background: #fafaf8; }
.status-onrequest i { background: #8b8b96; }
.roadmap-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 1.05rem 0 0.6rem;
}
.roadmap-card p { font-size: 0.94rem; color: var(--ink-soft); }

/* ---------- Who it's for ---------- */
.for-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}
.for-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
}
.for-card::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background: var(--accent);
  transform: rotate(45deg);
  margin-bottom: 1rem;
}
.for-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.for-card p { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.about-text .eyebrow { margin-bottom: 0.6rem; }
.about-text h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem);
  line-height: 1.14;
  margin-bottom: 1.1rem;
}
.about-text p { color: var(--ink-soft); margin-bottom: 0.95rem; max-width: 60ch; }
.facts { border-top: 2px solid var(--ink); }
.fact { padding: 0.95rem 0; border-bottom: 1px solid var(--line); }
.fact dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.fact dd { font-size: 0.98rem; }
.fact dd a { color: var(--ink); font-weight: 600; text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* ---------- Contact (dark) ---------- */
.section-dark {
  background: var(--dark);
  color: var(--on-dark);
}
.sec-head-light h2 { color: var(--on-dark); }
.sec-head-light .lead { color: var(--on-dark-soft); }
.sec-head-light .eyebrow { color: var(--accent); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.4rem, 3vw, 2rem);
  align-items: start;
}
.contact-form {
  background: var(--card);
  color: var(--ink);
  border-radius: 16px;
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-card);
}
.field { margin-bottom: 1.05rem; }
.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.field input, .field textarea {
  width: 100%;
  border: 1px solid #c9c9d2;
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(226, 146, 43, 0.25);
}
.btn-submit { width: 100%; margin-top: 0.35rem; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-status { min-height: 1.5em; margin-top: 0.85rem; font-size: 0.9rem; font-weight: 500; }
.form-status.is-success { color: #1d7a3e; }
.form-status.is-error { color: #b3261e; }

.direct-panel {
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  border-radius: 16px;
  padding: clamp(1.4rem, 3vw, 2rem);
  color: #d5d5df;
}
.direct-panel h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--on-dark);
  margin-bottom: 0.6rem;
}
.direct-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.95rem 0;
  border-bottom: 1px solid #2c2c38;
}
.direct-list li:last-child { border-bottom: none; }
.d-ico {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #262632;
  border: 1px solid #34343f;
  border-radius: 10px;
  color: var(--accent);
}
.d-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8b8b98;
  margin-bottom: 0.15rem;
}
.direct-list a { color: var(--on-dark); font-weight: 600; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.direct-list a:hover { color: var(--accent); }
.direct-note { margin-top: 1.1rem; font-size: 0.85rem; color: #8b8b98; }

/* ---------- Hardware block (How it works) ---------- */
.hw-block { margin-top: 2.6rem; }
.hw-block > h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.55rem);
  margin-bottom: 1.2rem;
}

/* ---------- FAQ (click-to-open list) ---------- */
.faq-list { max-width: 840px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 2px solid var(--ink); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 600;
  color: var(--accent);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.faq-item p { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.62; max-width: 70ch; padding: 0 0 1.3rem; }

/* ---------- Contact: pricing line ---------- */
.sec-head-text .price-line { margin-top: 0.85rem; font-size: 0.88rem; line-height: 1.6; color: var(--on-dark-soft); max-width: 72ch; }

/* ---------- QR block (direct panel) ---------- */
.qr-block { margin-top: 1.4rem; }
.qr-title { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: #8b8b98; margin-bottom: 0.8rem; }
.qr-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.qr-card { background: #ffffff; border-radius: 12px; padding: 0.55rem; text-align: center; }
a.qr-card { text-decoration: none; transition: transform 0.25s ease, box-shadow 0.25s ease; }
a.qr-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(8, 8, 14, 0.25); }
a.qr-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.qr-card img { display: block; width: 96px; height: 96px; }
.qr-card span { display: block; margin-top: 0.4rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; color: #3f3f4b; }
.qr-note { margin-top: 0.8rem; font-size: 0.8rem; color: #8b8b98; }

/* ---------- Footer ---------- */
.site-footer { background: #101016; color: var(--on-dark-soft); padding: 2.2rem 0 2rem; }
.footer-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}
.brand-footer { color: var(--on-dark); }
.footer-legal { margin-left: auto; font-size: 0.82rem; max-width: 62ch; line-height: 1.55; }
.footer-rights {
  flex-basis: 100%;
  border-top: 1px solid #26262f;
  padding-top: 1.1rem;
  margin-top: 0.4rem;
  font-size: 0.8rem;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.in-view { opacity: 1; transform: none; }
.feature-grid .reveal:nth-child(2) { transition-delay: 0.07s; }
.feature-grid .reveal:nth-child(3) { transition-delay: 0.14s; }
.feature-grid .reveal:nth-child(4) { transition-delay: 0.07s; }
.feature-grid .reveal:nth-child(5) { transition-delay: 0.14s; }
.feature-grid .reveal:nth-child(6) { transition-delay: 0.21s; }
.steps .reveal:nth-child(2) { transition-delay: 0.08s; }
.steps .reveal:nth-child(3) { transition-delay: 0.16s; }
.steps .reveal:nth-child(4) { transition-delay: 0.24s; }
.roadmap-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.for-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.for-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.for-grid .reveal:nth-child(4) { transition-delay: 0.18s; }
.for-grid .reveal:nth-child(5) { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; margin-top: 1.5rem; }
  .hero-cluster { top: -56px; right: -10px; width: min(360px, 85%); opacity: 0.7; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-legal { margin-left: 0; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: grid; }
}
@media (max-width: 768px) {
  .sec-head { flex-wrap: wrap; gap: 0.9rem; }
  .trace-line { display: none; }
  .sec-head-text { flex-basis: 100%; }
  .node-chip { width: 54px; height: 54px; }
}
@media (max-width: 420px) {
  /* keep brand + lang switcher + hamburger inside 320px viewports */
  .nav { gap: 0.55rem; padding-inline: 0.9rem; }
  .brand { font-size: 0.92rem; letter-spacing: 0.1em; gap: 0.45rem; }
  .brand-logo { height: 26px; }
  .brand-logo-footer { height: 16px; }
  .lang-switch { padding: 2px; }
  .lang-btn { min-width: 33px; height: 32px; font-size: 0.7rem; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero { padding-top: 2.6rem; }
  .demo-row { padding: 0.8rem 0.95rem; }
  .badges li { font-size: 0.74rem; padding: 0.4rem 0.8rem; }
  .footer-legal { font-size: 0.78rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-cluster .draw { animation: none; stroke-dashoffset: 0; }
  .mini-node { animation: none; opacity: 1; }
  .mini-core, .status-progress i, .caret { animation: none; }
  .feature, .btn { transition: none; }
}
