/* Shared by every page: tokens, base, header, menu, footer, the links to the site pages. */
:root {
  color-scheme: light;
  --ink: #0e0f0e;          /* hero ground, text on light */
  --paper: #eceeeb;        /* section ground, slight green bias */
  --rule: #c6cac5;         /* 1px lines on paper */
  --mute: #6a6f69;         /* secondary text on paper */
  --snow: #f6f7f5;         /* text on photos */
  --snow-mute: rgba(246, 247, 245, 0.72);
  --live: #2fb344;         /* the one green */
  --font-display: "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --wrap: 1360px;
}
* { box-sizing: border-box; }
html { background: var(--ink); }
body { background: var(--paper); color: var(--ink); font-family: var(--font-display); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--live); outline-offset: 3px; }

.inner { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
@media (min-width: 900px) { .inner { padding-left: max(56px, env(safe-area-inset-left, 0px)); padding-right: max(56px, env(safe-area-inset-right, 0px)); } }

/* ---------- header ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 45; padding-top: calc(env(safe-area-inset-top, 0px) + 22px); padding-bottom: 14px; transition: background 0.3s, padding 0.3s; }
.bar.is-solid { background: rgba(14, 15, 14, 0.9); padding-top: calc(env(safe-area-inset-top, 0px) + 12px); padding-bottom: 12px; }
.bar.is-solid .btn-dark { background: transparent; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
section[id] { scroll-margin-top: 64px; }
.burger i { transition: transform 0.3s, opacity 0.2s; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- menu: full screen, the sections on the left, the products on the right ---------- */
.menu { position: fixed; inset: 0; z-index: 40; background: var(--ink); color: var(--snow); overflow-y: auto; overscroll-behavior: contain; }
.menu-in { min-height: 100%; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-content: center; padding-top: calc(env(safe-area-inset-top, 0px) + 110px); padding-bottom: 56px; }
.menu-list { margin: 0; padding: 0; list-style: none; counter-reset: m; }
.menu-list li { counter-increment: m; border-top: 1px solid rgba(246, 247, 245, 0.14); }
.menu-list li:last-child { border-bottom: 1px solid rgba(246, 247, 245, 0.14); }
.menu-list a { display: flex; align-items: baseline; gap: 24px; padding: 18px 0; text-decoration: none; font: 400 clamp(36px, 5vw, 64px)/1 var(--font-display); letter-spacing: -0.035em; color: var(--snow); }
.menu-list a::before { content: "0" counter(m); font-size: 13px; letter-spacing: 0; color: var(--snow-mute); }
.menu-list a:hover { color: var(--live); }
.menu-prod { align-self: end; display: grid; gap: 28px; }
.menu-prod h3 { margin: 0 0 4px; font: 400 28px/1 var(--font-display); letter-spacing: -0.03em; }
.menu-prod p { margin: 0 0 14px; font-size: 14px; color: var(--snow-mute); }
.menu-prod .vx-open { margin-top: 0; }
.menu-prod .vx-open a { border-color: rgba(246, 247, 245, 0.6); color: var(--snow); }
.menu-prod .vx-open a:hover { background: var(--snow); color: var(--ink); }
@media (max-width: 760px) { .menu-in { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 40px; padding-top: calc(env(safe-area-inset-top, 0px) + 96px); } }

/* ---------- footer ---------- */
/* light footer on every page, dark type */
.foot { background: var(--paper); color: var(--mute); padding-block: 48px calc(env(safe-area-inset-bottom, 0px) + 40px); border-top: 1px solid var(--rule); font-size: 14px; }
/* three rows: logo and links, investors and programs, legal lines */
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { color: var(--live); }
.foot .brand { font-size: 18px; }
/* investors and startup programs, colour logos at the top of the light footer */
.foot-creds { display: flex; flex-wrap: wrap; gap: 24px 64px; margin-block: 32px; padding-block: 32px; border-block: 1px solid var(--rule); }
.foot-grp { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.foot-lbl { font: 500 13px/1 var(--font-display); color: var(--mute); }
.foot-creds ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; }
.foot-creds li > a:first-child { display: block; }
.foot-creds img { display: block; width: auto; }
.foot-creds a:hover { color: inherit; }
.foot-ma7 { display: flex; align-items: center; gap: 12px; }   /* MA7 logo with Murat Abdrakhmanov on one line */
.foot .foot-who { font: 500 13px/1.2 var(--font-display); color: var(--mute); white-space: nowrap; }
.foot .foot-who:hover { color: var(--ink); }
.fl-ma7 { height: 18px; }
.fl-most { height: 32px; }
.fl-sabah { height: 28px; }
.fl-nvidia { height: 28px; }   /* NVIDIA badge: never taller than the 4people logo (28 px) */
.fl-google { height: 18px; }
.fl-ms { height: 17px; }
@media (max-width: 640px) {
  .foot-creds { gap: 22px; margin-block: 28px; padding-block: 28px; }
  .foot-grp { flex-direction: column; align-items: flex-start; gap: 12px; }
  .foot-creds ul { gap: 14px 24px; }
  .fl-google { height: 14px; }
  .fl-ms { height: 13px; }
}
/* trademark lines the logo owners ask for (NVIDIA: the legal attribution, word for word) */
.foot-legal { display: grid; gap: 6px; }
.foot .legal { margin: 0; font-size: 12px; line-height: 1.5; color: var(--mute); }
.bar .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--snow); font: 500 22px/1 var(--font-display); letter-spacing: -0.02em; }
.brand svg { width: 22px; height: 28px; flex: none; }
.bar-right { display: flex; gap: 8px; }
.btn-dark { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; background: rgba(14, 15, 14, 0.82); color: var(--snow); font: 500 15px/1 var(--font-display); letter-spacing: -0.005em; text-decoration: none; border: 0; cursor: pointer; }
.btn-dark:hover { background: var(--ink); }
.burger { width: 44px; padding: 0; justify-content: center; flex-direction: column; gap: 5px; }
.burger i { display: block; width: 18px; height: 1.5px; background: var(--snow); }
.link-down { display: inline-flex; align-items: center; gap: 10px; font: 500 15px/1 var(--font-display); letter-spacing: -0.005em; text-decoration: none; color: var(--snow); }
.link-down svg { width: 12px; height: 14px; }

/* links to the site pages (Supermarket, Gas station, Steel fabrication) in the menu and the product cards */
.vx-open { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.vx-open a { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px; border: 1px solid var(--ink); font: 500 15px/1 var(--font-display); color: var(--ink); text-decoration: none; transition: background 0.2s, color 0.2s; }
.vx-open a span { font-size: 15px; color: var(--mute); margin-right: 6px; }
.vx-open a:hover { background: var(--ink); color: var(--snow); }
@media (max-width: 640px) { .btn-dark.cta { display: none; } }

/* ---------- FAQ on the main page: short answers in two columns, like the blog and how-it-works sections ---------- */
.faq { background: #fafaf8; color: var(--ink); padding-block: 140px; border-top: 1px solid var(--rule); }
.faq-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 40px; margin-bottom: 56px; }
.faq h2 { margin: 0; font: 400 clamp(34px, 3.4vw, 48px)/1.05 var(--font-display); letter-spacing: -0.03em; }
.faq-lead { margin: 0; color: var(--mute); }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.faq-item { padding-block: 28px; border-top: 1px solid rgba(14, 15, 14, 0.14); }
.faq-item h3 { margin: 0 0 10px; font: 400 clamp(22px, 2vw, 26px)/1.2 var(--font-display); letter-spacing: -0.02em; }
.faq-item p { margin: 0; max-width: 58ch; color: var(--mute); }
@media (max-width: 760px) { .faq-list { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .faq { padding-block: 96px; } }
