/* ════════════════════════════════════════════════════════════════════════
   ИКИГАЙ · Application styles — one coherent system
   ════════════════════════════════════════════════════════════════════════ */

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .5s ease, color .5s ease;
}

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: transparent; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* Subtle paper grain (light-only build) */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9000;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PScwIDAgMjAwIDIwMCcgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nLjg1JyBudW1PY3RhdmVzPScyJyBzdGl0Y2hUaWxlcz0nc3RpdGNoJy8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9JzEwMCUnIGhlaWdodD0nMTAwJScgZmlsdGVyPSd1cmwoI24pJyBvcGFjaXR5PScxJy8+PC9zdmc+");
  opacity: 0.10;
  mix-blend-mode: multiply;
}

/* ─────────────── TYPE PRIMITIVES ─────────────── */
.display {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: var(--display-leading);
  font-feature-settings: var(--display-feat);
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.display em { font-style: italic; font-weight: 400; font-variation-settings: "opsz" 144, "SOFT" 100; }

.label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.label::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
}
.label.center { justify-content: center; }
.label.no-mark::before { display: none; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.eyebrow b { color: var(--ink-2); font-weight: 500; }

.kbd {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* Numbers (Fraunces-style) */
.num {
  font-family: var(--font-display);
  font-weight: 400;
  font-feature-settings: "tnum" 1;
}

/* ─────────────── LAYOUT ─────────────── */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
section {
  padding-block: var(--pad-y);
  position: relative;
  z-index: 2;
}

.hairline { width: 100%; height: 1px; background: var(--line); }
.divider {
  max-width: var(--container);
  margin-inline: auto;
  height: 1px;
  background: var(--line);
  position: relative; z-index: 2;
}

/* ─────────────── BUTTONS ─────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: all .35s cubic-bezier(.2,.8,.2,1);
  cursor: pointer;
  position: relative;
  border: 1px solid transparent;
  border-radius: var(--radius);
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-1px);
}
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.btn .arr {
  display: inline-block;
  transition: transform .35s;
}
.btn:hover .arr { transform: translateX(4px); }

/* ─────────────── NAV ─────────────── */
nav.top {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad-x);
  background: transparent;
  transition: background .4s, backdrop-filter .4s, border-color .4s, padding .3s;
  border-bottom: 1px solid transparent;
}
nav.top.scrolled {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--line);
  padding-block: 14px;
}
.brand {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.brand .jp {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--accent);
  opacity: 0.85;
}

.nav-links {
  display: flex; gap: 32px;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color .25s;
}
.nav-links a:hover { color: var(--ink); }

.nav-cta {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  color: var(--ink);
  transition: all .3s;
}
.nav-cta:hover { background: var(--ink); color: var(--bg); }

/* ── mobile menu ── */
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  transition: border-color .25s;
}
.nav-burger span {
  display: block; width: 18px; height: 1.5px;
  background: var(--ink);
  transition: transform .3s, opacity .3s;
}
.nav-burger.on { border-color: var(--accent); }
.nav-burger.on span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav-burger.on span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

.nav-menu {
  position: fixed; inset: 0;
  z-index: 95;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: center;
  gap: 30px;
  padding: 92px var(--pad-x) 32px;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s;
}
.nav-menu.open { opacity: 1; visibility: visible; transform: none; }
.nav-menu-links { display: flex; flex-direction: column; }
.nav-menu-links a {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(24px, 6.6vw, 34px);
  font-weight: var(--display-weight);
  letter-spacing: -0.01em;
  color: var(--ink);
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: color .2s, padding-left .2s;
}
.nav-menu-links a:active { color: var(--accent); padding-left: 6px; }
.nav-menu-links .nm-jp {
  font-size: 0.52em; color: var(--accent); font-style: italic;
  width: 1.3em; flex-shrink: 0;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.nav-menu-foot { display: flex; flex-direction: column; gap: 20px; }
.nav-menu-foot .nm-cta { justify-content: center; width: 100%; }
.nm-contacts { display: flex; flex-direction: column; gap: 9px; }
.nm-contacts a {
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  letter-spacing: 0.06em; color: var(--ink-dim);
}

/* ─────────────── HERO ─────────────── */
.hero {
  min-height: 100vh;
  padding-top: 130px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  position: relative;
  z-index: 3;
}
.hero-left {
  display: flex; flex-direction: column;
  gap: clamp(20px, 2.5vw, 32px);
  max-width: 540px;
}
.hero-title {
  font-size: clamp(48px, 6.2vw, 92px);
}
.hero-title .ac { color: var(--accent); }
.hero-kicker {
  color: var(--ink-2);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.72;
  max-width: 440px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; padding-top: 4px; }

.hero-right {
  position: relative;
  width: 100%;
  max-width: 660px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-meta-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: 32px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}
.hero-meta-bar > div {
  padding-right: 18px;
  display: flex; flex-direction: column;
  gap: 4px;
}
.hero-meta-bar .lbl { font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); }
.hero-meta-bar .val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
}

/* ─────────────── SECTION HEAD ─────────────── */
.sec-head {
  display: flex; flex-direction: column;
  gap: 20px;
  margin-bottom: clamp(48px, 6vw, 80px);
  max-width: 760px;
}
.sec-head.center { margin-inline: auto; align-items: center; text-align: center; }
.sec-title { font-size: clamp(38px, 5vw, 70px); }
.sec-sub {
  color: var(--ink-dim);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.75;
  max-width: 540px;
}
.sec-head.center .sec-sub { margin-inline: auto; }

/* ─────────────── INTERSECTIONS GRID (replaces "products") ─────────────── */
.intersections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}
.intersection {
  background: var(--paper);
  padding: 32px 30px 36px;
  display: flex; flex-direction: column;
  gap: 14px;
  min-height: 240px;
  position: relative;
  transition: background .35s;
}
.intersection:hover { background: var(--paper-2); }
.intersection .ix-mark {
  width: 56px; height: 32px;
  position: relative;
  margin-bottom: 8px;
}
.intersection .ix-num {
  position: absolute; top: 24px; right: 28px;
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
}
.intersection .ix-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: 1.1;
}
.intersection .ix-pair {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.intersection .ix-desc { color: var(--ink-dim); font-size: 13.5px; line-height: 1.7; flex: 1; }
.intersection .ix-foot {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}

/* ─────────────── PRODUCTS — the 4 single elements ─────────────── */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.prod {
  background: var(--paper);
  padding: 28px 24px 32px;
  display: flex; flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: background .35s;
  min-height: 440px;
}
.prod:hover { background: var(--paper-2); }
.prod-tag {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-faint);
}
.prod-tag .ac { color: var(--accent); }
.prod-img-slot {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.img-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background-image:
    repeating-linear-gradient(135deg, transparent 0 22px, var(--line-soft) 22px 23px);
}
.img-placeholder > span {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  background: var(--paper);
  padding: 6px 12px;
  border: 1px solid var(--line);
}
.prod-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: 1.08;
}
.prod-desc { color: var(--ink-dim); font-size: 13px; line-height: 1.7; flex: 1; }
.prod-foot {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.prod-foot .price { color: var(--accent); font-size: 12px; }

/* circle mark used to identify each product visually */
.dot-mark {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: transparent;
  display: inline-block;
  flex-shrink: 0;
  position: relative;
}
.dot-mark.filled { background: var(--accent); }

/* ─────────────── MODES (DIY vs TURNKEY) ─────────────── */
.modes { background: var(--paper); padding-block: var(--pad-y); position: relative; z-index: 2; }
.modes-grid {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 0;
  align-items: stretch;
  margin-top: 56px;
}
.mode-card {
  border: 1px solid var(--line);
  padding: 44px 38px;
  background: var(--bg);
  display: flex; flex-direction: column; gap: 22px;
  transition: all .4s;
}
.mode-card.feat {
  border-color: var(--ink);
  background: color-mix(in srgb, var(--accent) 4%, var(--bg));
  position: relative;
}
.mode-card.feat::before {
  content: "Популярный";
  position: absolute; top: -1px; right: 24px;
  background: var(--ink);
  color: var(--bg);
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.mode-divider {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  color: var(--ink-faint);
}
.mode-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.mode-title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: 1.02;
}
.mode-sub { color: var(--ink-dim); font-size: 14px; line-height: 1.75; }
.mode-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mode-list li {
  padding: 12px 0;
  font-size: 13.5px;
  display: flex; gap: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.mode-list li:last-child { border-bottom: 0; }
.mode-list li .x { color: var(--accent); flex-shrink: 0; font-size: 12px; padding-top: 3px; }
.mode-foot { display: flex; flex-direction: column; gap: 6px; }
.mode-foot .note { font-size: 10.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.mode-foot .price { font-family: var(--font-display); font-size: 22px; color: var(--accent); }

/* ─────────────── PRICING ─────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}
.price {
  background: var(--paper);
  padding: 44px 34px;
  display: flex; flex-direction: column; gap: 20px;
  transition: background .35s;
}
.price.hi {
  background: color-mix(in srgb, var(--accent) 6%, var(--paper));
  border-top: 2px solid var(--accent);
}
.price-tag {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.price-name {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: 1;
}
.price-amt {
  display: flex; flex-direction: column; gap: 4px;
  padding-block: 14px;
  border-block: 1px solid var(--line);
}
.price-amt b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  color: var(--accent);
}
.price-amt span { font-size: 12.5px; color: var(--ink-dim); }
.price-feats { display: flex; flex-direction: column; gap: 0; }
.price-feats li {
  padding: 11px 0;
  font-size: 13.5px;
  display: flex; gap: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.price-feats li:last-child { border-bottom: 0; }
.price-feats li .x { color: var(--accent); flex-shrink: 0; font-size: 12px; padding-top: 3px; }

/* ─────────────── PORTFOLIO ─────────────── */
.port-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: end;
  margin-bottom: 52px;
}
.port-filters {
  display: flex; gap: 1px;
  background: var(--line);
  margin-top: 22px;
  width: fit-content;
}
.pf {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 20px;
  background: var(--paper);
  color: var(--ink-dim);
  transition: all .25s;
}
.pf:hover { color: var(--ink); }
.pf.on { background: var(--ink); color: var(--bg); }

.port-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 230px;
  gap: 1px;
  background: var(--line);
}
.pc {
  position: relative; overflow: hidden; cursor: pointer; background: var(--paper-2);
}
.pc.tall { grid-row: span 2; }
.pc.wide { grid-column: span 2; }
.pc-img {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, transparent 0 28px, var(--line) 28px 29px);
  transition: transform .7s cubic-bezier(.16,1,.3,1);
}
.pc:hover .pc-img { transform: scale(1.04); }
.pc-meta {
  position: absolute; inset: 0;
  padding: 22px 24px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(to top, color-mix(in srgb, var(--ink) 78%, transparent) 0%, transparent 60%);
}
.pc-num {
  position: absolute; top: 18px; left: 24px;
  font-family: var(--font-display);
  font-size: 13px; color: var(--bg);
  opacity: 0.7;
}
.pc-tag {
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
}
.pc-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: var(--display-weight);
  line-height: 1.12;
  color: var(--bg);
  letter-spacing: var(--display-tracking);
}
.pc-info {
  margin-top: 6px;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: color-mix(in srgb, var(--bg) 72%, transparent);
}

.port-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 1px;
}
.stat { background: var(--paper); padding: 26px 26px; position: relative; }
.stat::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 28px; height: 2px; background: var(--accent);
}
.stat-n {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  color: var(--accent);
  line-height: 1; margin-bottom: 6px;
}
.stat-l {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-dim);
}

/* ─────────────── PROCESS ─────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 40px;
}
.step { background: var(--paper); padding: 30px 24px; display: flex; flex-direction: column; gap: 8px; }
.step-n {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: var(--display-weight);
  color: var(--accent);
  line-height: 1;
}
.step-t { font-size: 14.5px; font-weight: 600; }
.step-s { font-size: 12.5px; color: var(--ink-dim); line-height: 1.6; }

/* ─────────────── REVIEWS ─────────────── */
.rev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}
.rev {
  background: var(--paper);
  padding: 40px 32px;
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
}
.rev::before {
  content: ""; position: absolute; top: 0; left: 0;
  height: 2px; width: 36px; background: var(--accent);
}
.rev-stars { color: var(--accent); font-size: 14px; letter-spacing: 3px; }
.rev-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.55;
  flex: 1;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.rev-by { padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.rev-name { font-size: 13.5px; font-weight: 500; }
.rev-where {
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
}

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 1px;
}
.tr { background: var(--paper-2); padding: 26px 28px; display: flex; flex-direction: column; gap: 6px; }
.tr-n { font-family: var(--font-display); font-size: 28px; color: var(--accent); line-height: 1; }
.tr-l { font-size: 10.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-dim); }

/* ─────────────── FORM ─────────────── */
.form-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.form-bullets { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.form-bullets li { display: flex; gap: 12px; color: var(--ink-dim); font-size: 14px; }
.form-bullets li .b { color: var(--accent); flex-shrink: 0; }

.form-assure {
  list-style: none; margin: 20px 0 0; padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 11px;
}
.form-assure li { display: flex; gap: 11px; align-items: baseline; color: var(--ink); font-size: 13.5px; line-height: 1.4; }
.form-assure .fa-ck { color: var(--accent); flex-shrink: 0; font-size: 12px; }

.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-field label {
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-dim);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 14.5px;
  outline: none;
  transition: border-color .25s;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--accent); }
.form-field textarea { resize: vertical; min-height: 110px; }

.form-note {
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint);
  text-align: center;
  margin-top: 14px;
}
.form-note a {
  color: var(--accent); text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  transition: border-color .2s;
}
.form-note a:hover { border-bottom-color: var(--accent); }

/* ─────────────── CTA ─────────────── */
.cta {
  text-align: center;
  padding-block: clamp(120px, 14vw, 200px);
  position: relative;
  z-index: 3;
  overflow: hidden;
}
.cta::before {
  /* ghosted ikigai diagram in the bg of CTA */
  content: "";
  position: absolute; inset: -10%;
  background-image:
    radial-gradient(circle at 50% 30%, var(--accent-soft) 0 18%, transparent 19%),
    radial-gradient(circle at 65% 50%, var(--accent-soft) 0 18%, transparent 19%),
    radial-gradient(circle at 50% 70%, var(--accent-soft) 0 18%, transparent 19%),
    radial-gradient(circle at 35% 50%, var(--accent-soft) 0 18%, transparent 19%);
  pointer-events: none;
  opacity: 0.8;
}
.cta-title { font-size: clamp(52px, 7vw, 100px); margin-block: 28px 32px; }
.cta-sub { color: var(--ink-2); max-width: 480px; margin-inline: auto; margin-bottom: 44px; font-size: 15.5px; line-height: 1.7; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-contacts {
  display: flex; gap: 60px;
  justify-content: center;
  margin-top: 64px;
  flex-wrap: wrap;
  position: relative; z-index: 2;
}
.cta-contacts > div { text-align: center; display: flex; flex-direction: column; gap: 6px; }
.cta-contacts .lbl {
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-faint);
}
.cta-contacts .val { font-family: var(--font-display); font-size: 22px; color: var(--accent); }

/* ─────────────── MARQUEE ─────────────── */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--paper);
  padding: 22px 0;
  position: relative; z-index: 2;
}
.marquee-track {
  display: flex; gap: 56px;
  width: max-content;
  animation: marq 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.mi {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: var(--display-weight);
  font-style: italic;
  color: var(--ink-faint);
  display: flex; align-items: center; gap: 18px;
  white-space: nowrap;
  letter-spacing: var(--display-tracking);
}
.mi .sp { color: var(--accent); font-size: 12px; font-style: normal; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─────────────── FOOTER ─────────────── */
footer.bot {
  border-top: 1px solid var(--line);
  padding: 40px var(--pad-x);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  position: relative; z-index: 2;
}
.footer-copy {
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-faint);
}

/* ─────────────── SCROLL REVEAL ─────────────── */
/* Hidden ONLY when JS is present to reveal them (html.js-rv set by an inline
   script). Without JS / if scripts are slow, content stays fully visible. */
.rv { opacity: 1; transform: none; transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
html.js-rv .rv { opacity: 0; transform: translateY(28px); }
html.js-rv .rv.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }

[data-motion="off"] .rv { opacity: 1; transform: none; transition: none; }
[data-motion="off"] * { animation: none !important; }

/* ─────────────── RESPONSIVE ─────────────── */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 100px; min-height: auto; }
  .hero-right { aspect-ratio: 1 / 1; max-width: 500px; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .intersections { grid-template-columns: 1fr; }
  .modes-grid { grid-template-columns: 1fr; }
  .mode-divider { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .port-head { grid-template-columns: 1fr; gap: 24px; }
  .port-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .pc.tall { grid-row: span 1; }
  .pc.wide { grid-column: span 2; }
  .port-stats { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .rev-grid { grid-template-columns: 1fr; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .hero-meta-bar { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* ─── Tablet / large phone ─────────────────────────────── */
@media (max-width: 760px) {
  :root { --pad-y: clamp(64px, 11vw, 96px); }
  html { -webkit-text-size-adjust: 100%; }
  body { overflow-x: hidden; }

  /* Configurator collapses to a single column (diagram on top) */
  .cfg-wrap {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    margin-top: 36px !important;
  }
  .cfg-diagram-side { padding: 28px 18px 20px !important; }

  /* Product / portfolio / stat grids → single column */
  .products { grid-template-columns: 1fr !important; }
  .intersections { grid-template-columns: 1fr !important; }
  .intersections > .intersection { grid-column: auto !important; }
  .port-grid { grid-template-columns: 1fr !important; grid-auto-rows: 240px !important; }
  .pc.wide { grid-column: span 1 !important; }
  .process-grid { grid-template-columns: 1fr !important; }
  .trust { grid-template-columns: 1fr 1fr !important; }
  .port-stats { grid-template-columns: 1fr 1fr !important; }

  /* Hero meta — wrap handled in index.html mobile block */
  .hero-meta-bar { flex-wrap: wrap !important; }
}

/* ─── Phone ────────────────────────────────────────────── */
@media (max-width: 520px) {
  :root { --pad-x: 20px; --pad-y: clamp(52px, 14vw, 74px); }

  /* Slimmer, calmer nav */
  nav.top { padding: 14px 20px; }
  nav.top.scrolled { padding: 11px 20px; }
  .brand { width: 112px; height: 40px; }
  .nav-cta { padding: 9px 14px; font-size: 10.5px; }

  /* Hero — tighter rhythm, diagram centered & a touch smaller */
  .hero { padding-top: 84px; padding-bottom: 24px; gap: 30px; }
  .hero-left { gap: 18px; max-width: 100%; }
  .hero-title { font-size: clamp(36px, 11vw, 44px) !important; }
  .hero-kicker { font-size: 15px; }
  .hero-right { max-width: 320px; margin-inline: auto; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-ctas .btn { justify-content: center; }
  .hero-meta-bar { padding-block: 16px !important; }

  /* Section headers a little tighter */
  .sec-head { margin-bottom: 36px; gap: 16px; }
  .sec-title { font-size: clamp(30px, 9vw, 40px); }
  .sec-sub { font-size: 14.5px; }

  /* Calmer card padding so content breathes without feeling empty */
  .intersection { padding: 28px 24px 30px; }
  .scn { padding: 26px 22px 26px; min-height: 0; }
  .scn.wide .scn-title { font-size: 26px; }

  .btn { padding: 15px 22px; }

  /* Configurator install options stack for comfortable tap targets */
  .cfg-wrap .installGrid { grid-template-columns: 1fr !important; }
  .cfg-diagram-side { padding: 22px 14px 16px !important; }

  .trust { grid-template-columns: 1fr !important; }
  .port-stats { grid-template-columns: 1fr !important; }

  /* Scroll-to-top sits above the sticky CTA bar */
  .to-top { right: 16px; bottom: 80px; width: 44px; height: 44px; }
}

/* ─── Mobile sticky CTA bar (phones only) ──────────────── */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 180;
  display: none;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-top: 1px solid var(--line);
  transform: translateY(120%);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.mobile-cta.on { transform: translateY(0); }
.mobile-cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.mobile-cta-btn .arr { transition: transform .3s; }
.mobile-cta-btn:active .arr { transform: translateX(4px); }

@media (max-width: 640px) {
  .mobile-cta { display: block; }
  body { padding-bottom: 76px; } /* room so the bar never covers the footer */
}
