/* =========================================================
   Volumetric renders: landing page
   Light page in the style of the Digital Twins site:
   pastel gradient on white, big video in the centre, amber glow behind the contacts.
   ========================================================= */

/* ---------- Fonts (self-hosted, copied from @fontsource) ---------- */
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/unbounded-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Cyrillic for /ru/ (@fontsource 5.1.0): only downloaded when a page has Russian text */
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/unbounded-cyrillic-600-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-cyrillic-600-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Metric-matched fallbacks (measured against Arial) keep layout stable while fonts load */
@font-face {
  font-family: "Unbounded Fallback";
  font-weight: 600;
  src: local("Arial Bold"), local("Arial-BoldMT");
  size-adjust: 128.9%;
  ascent-override: 77.6%;
  descent-override: 19.4%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Inter Fallback";
  font-weight: 400;
  src: local("Arial"), local("ArialMT");
  size-adjust: 106.7%;
  ascent-override: 90.9%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Inter Fallback";
  font-weight: 600;
  src: local("Arial Bold"), local("Arial-BoldMT");
  size-adjust: 106.7%;
  ascent-override: 90.9%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #111411;
  --text: #4A4A47;
  --muted: #7A6B5C;
  --paper: #FFFFFF;
  --sand: #F7F4EF;
  --amber: #F0A94E;
  --line: rgba(17, 20, 17, 0.1);

  --radius: 24px;
  --font-head: "Unbounded", "Unbounded Fallback", system-ui, sans-serif;
  --font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: 16px;
}
@media (min-width: 768px) {
  :root { --gutter: 40px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--paper);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main { flex: 1; }
img, svg, iframe { display: block; max-width: 100%; }
p { margin: 0; }
button { font: inherit; color: inherit; }
a { color: var(--ink); }

h1, h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.sr-only {
  position: absolute !important;
  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: 12px; top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }
.nowrap { white-space: nowrap; }

.container {
  width: 100%;
  max-width: calc(1200px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Backgrounds (from the Digital Twins site) ---------- */
.bg-pastel {
  position: absolute;
  z-index: -1;
  top: 0; left: 0; right: 0;
  height: min(1100px, 100%);
  background:
    radial-gradient(ellipse 60% 45% at 8% 4%, rgba(175, 109, 255, 0.22), transparent 60%),
    radial-gradient(ellipse 55% 40% at 75% 22%, rgba(255, 235, 170, 0.30), transparent 62%),
    radial-gradient(ellipse 55% 40% at 15% 88%, rgba(255, 100, 180, 0.20), transparent 62%),
    radial-gradient(ellipse 55% 40% at 92% 96%, rgba(120, 190, 255, 0.24), transparent 62%);
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
  pointer-events: none;
}
.bg-glow {
  position: absolute;
  z-index: -1;
  left: 0; right: 0; bottom: 0;
  height: 520px;
  /* Same glow as the Digital Twins contacts block; transparent instead of white
     at the top so it blends into the pastel background without an edge */
  background-image: radial-gradient(125% 125% at 50% 10%, rgba(240, 169, 78, 0) 40%, var(--amber) 100%);
  pointer-events: none;
}
@media (min-width: 768px) {
  .bg-glow { height: 620px; }
}

/* ---------- Header ---------- */
.site-header { padding-block: 22px 8px; }
.site-header .container { display: flex; justify-content: center; }
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.brand img { width: auto; height: 26px; }
@media (min-width: 768px) {
  .site-header { padding-block: 30px 8px; }
  .brand img { height: 30px; }
}

/* ---------- Hero: big video in the centre ---------- */
.hero { padding-block: 28px 56px; }
.hero__inner { text-align: center; }
.eyebrow {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 17em;
  margin: 0 auto 28px;
  font-size: clamp(1.625rem, 0.95rem + 3.1vw, 3.25rem);
  line-height: 1.12;
}
@media (min-width: 768px) {
  .hero { padding-block: 48px 88px; }
  .eyebrow { font-size: 0.8125rem; margin-bottom: 18px; }
  .hero h1 { margin-bottom: 44px; }
}

.video {
  position: relative;
  max-width: 1120px;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(70% 80% at 50% 100%, rgba(240, 169, 78, 0.28), transparent 70%),
    linear-gradient(135deg, #FBF8F3, #EFE7DC);
  box-shadow: 0 24px 60px rgba(17, 20, 17, 0.16), 0 0 0 1px var(--line);
}
@media (min-width: 768px) {
  .video { border-radius: var(--radius); }
}
.video__poster,
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.video__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
}
.video__play svg {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 10px 24px rgba(17, 20, 17, 0.28));
  transition: transform 0.2s;
}
@media (min-width: 768px) {
  .video__play svg { width: 88px; height: 88px; }
}
.video__play:hover svg { transform: scale(1.06); }
.video__play:focus-visible { outline-offset: -6px; }
.video__missing {
  position: absolute;
  left: 14px; bottom: 12px;
  font-size: 0.8125rem;
}

/* ---------- Price + checkout ---------- */
.buy {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 36px;
}
.buy__tag {
  margin-bottom: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.buy__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1;
}
.buy__old {
  color: var(--muted);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  text-decoration-thickness: 2px;
}
.buy__now {
  color: var(--ink);
  font-size: clamp(2.5rem, 1.8rem + 3vw, 4rem);
  letter-spacing: -0.03em;
}
.buy-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 320px;
  min-height: 60px;
  padding: 16px 32px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 14px 30px rgba(17, 20, 17, 0.22);
  color: var(--paper);
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.buy-btn svg { flex: none; color: var(--amber); transition: transform 0.25s ease; }
.buy-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(17, 20, 17, 0.28);
}
.buy-btn:hover svg { transform: translateX(3px); }
.buy__note {
  margin-top: 12px;
  color: var(--text);
  font-size: 0.875rem;
}
@media (min-width: 768px) {
  .buy { margin-top: 48px; }
}
.buy-form[hidden], .buy-btn[hidden] { display: none; }
.buy-form {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 520px;
  text-align: left;
}
.buy-form label { font-size: 0.875rem; font-weight: 600; }
.buy-form__row { display: flex; flex-direction: column; gap: 10px; }
.buy-form input {
  width: 100%;
  min-height: 56px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 20px rgba(17, 20, 17, 0.06);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.buy-form input:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.buy-form input[aria-invalid="true"] { border-color: #B3261E; }
.buy-btn--compact { max-width: none; min-height: 56px; border: 0; cursor: pointer; font: inherit; font-size: 1rem; font-weight: 600; }
.buy-form__error { min-height: 1.4em; color: #B3261E; font-size: 0.875rem; }
@media (min-width: 560px) {
  .buy-form__row { flex-direction: row; }
  .buy-btn--compact { flex: none; width: auto; }
}

/* ---------- Message us ---------- */
.contact { padding-block: 40px 64px; }
.contact__inner { text-align: center; }
.contact h2 {
  margin-bottom: 28px;
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.5rem);
  line-height: 1.15;
}
.contact__links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  max-width: 320px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
@media (min-width: 560px) {
  .contact__links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: none;
    gap: 16px;
  }
}
@media (min-width: 768px) {
  .contact { padding-block: 64px 96px; }
  .contact h2 { margin-bottom: 36px; }
}
.contact-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px rgba(17, 20, 17, 0.08);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.contact-btn svg { width: 24px; height: 24px; flex: none; }
.contact-btn:hover {
  transform: translateY(-3px);
  background: #FFFFFF;
  box-shadow: 0 14px 30px rgba(17, 20, 17, 0.16);
}
@media (min-width: 560px) {
  .contact-btn { min-width: 180px; }
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 20px calc(20px + env(safe-area-inset-bottom));
  color: var(--ink);
  font-size: 0.875rem;
  text-align: center;
}

/* ---------- Unfilled placeholders (visible on purpose until replaced) ---------- */
mark.placeholder {
  padding: 1px 6px;
  border-radius: 6px;
  background: #D93636;
  color: #FFFFFF;
  font-weight: 600;
}
.has-placeholder {
  outline: 2px dashed #D93636;
  outline-offset: 3px;
}
.has-placeholder::after {
  content: attr(data-placeholder);
  position: absolute;
  top: -11px; right: 14px;
  padding: 3px 6px;
  border-radius: 6px;
  background: #D93636;
  color: #FFFFFF;
  font: 600 10px/1 var(--font-body);
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ---------- Hero lede ---------- */
.hero__lede {
  max-width: 36em;
  margin: -8px auto 28px;
  color: var(--text);
  font-size: 1rem;
  text-wrap: pretty;
}
.hero__lede a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }
@media (min-width: 768px) {
  .hero__lede { margin: -20px auto 44px; font-size: 1.125rem; }
}

/* ---------- Landing sections: editorial grid, 1px rules ---------- */
.sec { padding-block: 56px; border-top: 1px solid var(--line); }
.sec__head { display: grid; gap: 12px; margin-bottom: 32px; }
.sec__label {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sec h2 { font-size: clamp(1.5rem, 1rem + 2.2vw, 2.5rem); line-height: 1.14; max-width: 18em; }
.sec h3 { margin: 0; font-family: var(--font-head); font-size: 1.0625rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.sec__lede { max-width: 38em; color: var(--text); font-size: 1.0625rem; }
.sec__note { margin-top: 16px; color: var(--text); font-size: 0.875rem; }
.sec__after { max-width: 34em; margin-top: 32px; font-family: var(--font-head); font-size: clamp(1.0625rem, 0.95rem + 0.6vw, 1.375rem); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
@media (min-width: 960px) {
  .sec { padding-block: 96px; }
  .sec__head { grid-template-columns: 220px 1fr; align-items: baseline; column-gap: 40px; margin-bottom: 48px; }
  .sec__head .sec__label { grid-row: 1 / span 2; }
  .sec__lede, .sec__head h2 { grid-column: 2; }
  .sec__note, .sec__after, .window { margin-left: 260px; }
}

/* Demos */
.demo-grid { display: grid; gap: 16px; }
.demo {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: var(--sand);
  box-shadow: 0 0 0 1px var(--line);
  color: var(--ink);
  text-decoration: none;
}
.demo img { width: 100%; height: auto; aspect-ratio: 1200 / 533; object-fit: cover; transition: transform 0.5s ease; }
.demo:hover img { transform: scale(1.03); }
.demo__meta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2px 16px;
  padding: 14px 18px 16px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.demo__kind { grid-column: 1; color: var(--muted); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.demo__title { grid-column: 1; font-family: var(--font-head); font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
.demo__go { grid-column: 2; grid-row: 1 / span 2; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 0.875rem; font-weight: 600; white-space: nowrap; }
.demo:hover .demo__go { background: var(--amber); color: var(--ink); }
@media (min-width: 768px) {
  .demo-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .demo--wide { grid-column: 1 / -1; }
  .demo--wide img { aspect-ratio: 1200 / 480; }
  .demo--wide .demo__title { font-size: 1.375rem; }
  .demo { border-radius: var(--radius); }
}

/* Problems */
.problems { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.problem { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding-block: 28px; border-top: 1px solid var(--line); }
.problem__n { font-family: var(--font-head); font-size: 0.9375rem; font-weight: 600; color: var(--muted); line-height: 1.6; }
.problem__body { display: grid; gap: 10px; max-width: 46em; }
.problem__body h3 { font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem); }
.problem__stat { font-size: 1.0625rem; }
.problem__stat b { display: block; font-family: var(--font-head); font-size: 2.25rem; font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; }
.problem__pain { color: var(--text); }
.problem__fix { padding-left: 14px; border-left: 3px solid var(--amber); }
.problem__src { color: var(--muted); font-size: 0.8125rem; }
@media (min-width: 960px) {
  .problem { grid-template-columns: 220px 1fr; gap: 40px; padding-block: 40px; }
  .problem__n { font-size: 2.5rem; line-height: 1; color: var(--ink); }
  .problem__body { grid-template-columns: 1fr 1fr; column-gap: 40px; max-width: none; }
  .problem__body h3, .problem__stat, .problem__src { grid-column: 1 / -1; }
  .problem__pain { grid-column: 1; }
  .problem__fix { grid-column: 2; }
}

/* Takeaway band */
.band { padding-block: 56px; background: var(--ink); color: var(--paper); }
.band__label { color: var(--amber); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.band__text { max-width: 14em; margin-top: 14px; font-family: var(--font-head); font-size: clamp(1.75rem, 1rem + 3.6vw, 3.75rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.band__sub { max-width: 32em; margin-top: 20px; color: rgba(255, 255, 255, 0.72); font-size: 1.0625rem; }
@media (min-width: 960px) { .band { padding-block: 104px; } }

/* Split: interiors / developers */
.split { display: grid; gap: 40px; }
.split__h { margin-bottom: 16px !important; }
.split__eg { display: block; margin-top: 4px; color: var(--muted); font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0; }
@media (min-width: 960px) { .split { grid-template-columns: 1.4fr 1fr; gap: 64px; margin-left: 260px; } }

.facts { margin: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; gap: 4px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--text); }
@media (min-width: 560px) { .facts > div { grid-template-columns: 200px 1fr; gap: 24px; } }
@media (min-width: 960px) {
  .facts--3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; margin-left: 260px; border-top: 0; }
  .facts--3 > div { grid-template-columns: none; align-content: start; padding-top: 18px; border-top: 2px solid var(--ink); border-bottom: 0; }
  .facts--3 dt { font-family: var(--font-head); font-size: 1.0625rem; }
}

.ticks { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 12px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }

/* Comparison table */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.9375rem; }
.compare th, .compare td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { padding-bottom: 12px; border-bottom: 2px solid var(--ink); font-family: var(--font-head); font-size: 0.9375rem; font-weight: 600; }
.compare tbody th { width: 28%; color: var(--muted); font-weight: 600; font-size: 0.875rem; }
.compare td { color: var(--text); }
.compare td.compare__us { color: var(--ink); font-weight: 600; }
.compare thead .compare__us { color: var(--ink); box-shadow: inset 0 -4px 0 var(--amber); }
@media (min-width: 960px) { .table-wrap { margin-left: 260px; } .compare { font-size: 1rem; } }

/* Money */
.money { background: var(--sand); }
.money__grid { display: grid; gap: 28px; }
.money__grid p { display: grid; gap: 6px; padding-top: 16px; border-top: 2px solid var(--ink); }
.money__grid b { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.money__grid span { max-width: 22em; color: var(--text); }
.money__big b { font-size: clamp(3rem, 1.6rem + 6vw, 6.5rem); }
.money__pair b { font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.25rem); white-space: nowrap; }
@media (min-width: 768px) {
  .money__grid { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .money__big { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .money__grid { margin-left: 260px; }
}
@media (min-width: 1400px) {
  .money__grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .money__big { grid-column: auto; }
}

/* Course stages */
.stages { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.stages li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; padding-block: 18px; border-top: 1px solid var(--line); }
.stages li:last-child { border-bottom: 1px solid var(--line); }
.stages__n { grid-row: 1 / span 2; font-family: var(--font-head); font-weight: 600; color: var(--muted); }
.stages p { color: var(--text); font-size: 0.9375rem; }
@media (min-width: 960px) {
  .stages { grid-template-columns: repeat(5, 1fr); gap: 0 24px; margin-left: 260px; }
  .stages li, .stages li:last-child { grid-template-columns: none; align-content: start; gap: 10px; padding-top: 18px; border-top: 2px solid var(--ink); border-bottom: 0; }
  .stages__n { grid-row: auto; font-size: 1.75rem; color: var(--ink); line-height: 1; }
  .stages li:nth-child(3) { border-top-color: var(--amber); }
}

.window { max-width: 40em; margin-top: 32px; padding: 18px 20px; border-radius: 16px; background: var(--sand); }

/* Offer */
.offer { background: var(--sand); }
.offer__inner { display: grid; gap: 32px; }
.offer__num { display: flex; align-items: baseline; gap: 14px; margin-top: 12px; font-family: var(--font-head); font-weight: 600; line-height: 1; }
.offer__num s { color: var(--muted); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); text-decoration-thickness: 2px; }
.offer__num b { font-size: clamp(3rem, 2rem + 4vw, 5rem); letter-spacing: -0.03em; }
.offer__terms { margin: 12px 0 24px; color: var(--text); font-size: 1.0625rem; }
.offer__btn { max-width: 360px; }
.offer__list li { font-size: 1.0625rem; }
@media (min-width: 960px) {
  .offer__inner { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding-left: calc(var(--gutter) + 260px); }
}

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  padding: 18px 40px 18px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-family: var(--font-head); font-size: 1.5rem; font-weight: 400; line-height: 1.4; }
.faq details[open] summary::after { content: "–"; }
.faq details p { max-width: 42em; padding-bottom: 20px; color: var(--text); }
@media (min-width: 960px) { .faq { margin-left: 260px; } }
/* Comparison on phones: one block per criterion, both answers visible without side scroll */
@media (max-width: 599px) {
  .compare { min-width: 0; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
  .compare tbody tr:first-child { border-top: 2px solid var(--ink); }
  .compare tbody th { grid-column: 1 / -1; width: auto; padding: 0; border: 0; }
  .compare td { padding: 0; border: 0; }
  .compare td::before { display: block; margin-bottom: 2px; color: var(--muted); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
  .compare td:nth-of-type(1)::before { content: "Unreal"; }
  .compare td:nth-of-type(2)::before { content: "Volumetric"; color: var(--ink); }
}

/* Launch price deadline */
.deadline { margin: -8px 0 18px; color: var(--ink); font-size: 0.9375rem; font-weight: 600; font-variant-numeric: tabular-nums; text-align: center; }
.deadline--left { margin: -12px 0 24px; color: var(--text); font-weight: 400; text-align: left; }
.deadline--left [data-countdown] { color: var(--ink); font-weight: 600; white-space: nowrap; }
.deadline[hidden] { display: none; }
.buy__free { margin-top: 14px; font-size: 0.9375rem; }
.buy__free a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

/* Free lesson */
.free { border-top: 1px solid var(--line); }
.free-form, .free-done { display: grid; gap: 8px; max-width: 560px; }
.free-form label { font-size: 0.875rem; font-weight: 600; }
.free-form input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(17, 20, 17, 0.25);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.free-form input:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.free-form input[aria-invalid="true"] { border-color: #B3261E; }
.free-form button:disabled { opacity: 0.6; cursor: progress; }
.free-form__fine { color: var(--muted); font-size: 0.8125rem; }
.free-form[hidden], .free-done[hidden] { display: none; }
.free-done { padding: 20px 0; border-top: 1px solid var(--ink); outline: none; }
.free-done__title { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; }
@media (min-width: 960px) { .free-form, .free-done { margin-left: 260px; } }

/* Package picker in the checkout */
.plans { display: grid; gap: 8px; width: 100%; max-width: 420px; margin: 4px 0 20px; padding: 0; border: 0; }
.plan {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 18px;
  border: 1px solid rgba(17, 20, 17, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.plan input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.plan__name { font-weight: 600; line-height: 1.25; }
.plan__name small { display: block; color: var(--muted); font-size: 0.8125rem; font-weight: 500; }
.plan__price { font-family: var(--font-head); font-size: 1.375rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.plan:has(input:checked) { border-color: var(--ink); background: var(--paper); box-shadow: 0 0 0 1px var(--ink); }
.plan:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 2px; }
.plan--best .plan__name small { color: #8A5A12; }

/* Packages in the offer section */
.packs { display: grid; gap: 0; margin-bottom: 40px; border-top: 1px solid var(--ink); }
.pack { display: flex; flex-direction: column; gap: 10px; padding: 24px 0 28px; border-bottom: 1px solid var(--line); }
.pack__flag { color: #8A5A12; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.pack__name { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; }
.pack__price { font-family: var(--font-head); font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.pack__what { flex: 1; color: var(--text); }
.pack__btn { max-width: none; margin-top: 8px; }
.buy-btn--ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.buy-btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink), 0 10px 24px rgba(17, 20, 17, 0.12); }
@media (min-width: 768px) {
  .packs { grid-template-columns: repeat(3, 1fr); }
  .pack { padding: 24px 24px 28px; border-bottom: 0; border-left: 1px solid var(--line); }
  .pack:first-child { padding-left: 0; border-left: 0; }
  .pack--best { background: var(--paper); padding-left: 24px; }
}
@media (min-width: 960px) {
  .packs, .offer .offer__list { margin-left: 260px; }
}
.pack__list { flex: 1; margin: 0; padding: 0; list-style: none; color: var(--text); }
.pack__list li { position: relative; padding: 6px 0 6px 22px; border-top: 1px solid var(--line); }
.pack__list li:first-child { border-top: 0; }
.pack__list li::before { content: ""; position: absolute; left: 2px; top: 0.95em; width: 10px; height: 1px; background: var(--ink); }

/* ---------- Language switch, paid banner, requisites, offer page (added for /ru/) ---------- */
.site-header .container { position: relative; }
.lang-switch {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  font: 600 0.75rem/1 var(--font-body); letter-spacing: 0.08em; color: var(--ink);
  padding: 8px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); text-decoration: none;
}
.lang-switch:hover { border-color: var(--ink); }
.paid-banner {
  max-width: 34em; margin: 0 auto 20px; padding: 14px 18px; border-radius: 16px;
  background: #EAF6EA; border: 1px solid #9CCB9C; color: var(--ink); text-align: center;
}
.paid-banner:focus { outline: none; }
.req-line { max-width: 52em; margin: 6px auto 0; color: var(--text); font-size: 0.8125rem; }
.req-line a, .site-footer a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.legal { max-width: 760px; padding-block: 32px 64px; }
.legal h1 { font-family: var(--font-head); font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem); line-height: 1.15; margin: 0 0 8px; }
.legal h2 { font-family: var(--font-head); font-size: 1.125rem; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--text); }
.legal ol, .legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0; }
.legal th, .legal td { text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; color: var(--ink); }
.legal a { color: var(--ink); }
.legal p + p { margin-top: 8px; }
.buy-form__alt { width: 100%; }
