:root {
  color-scheme: dark;
  --ink: #080909;
  --surface: #0e1010;
  --surface-2: #141616;
  --line: #2b2e2d;
  --paper: #f2f0e9;
  --muted: #9da19e;
  --silver: #c8cbc7;
  --accent: #c8ff31;
  --warm: #d6c6aa;
  --max: 1440px;
  --gutter: clamp(20px, 4vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 100;
  transform: translateY(-160%); padding: 10px 14px; background: var(--paper); color: var(--ink);
}
.skip-link:focus { transform: translateY(0); }
.shell { width: min(100%, var(--max)); margin: 0 auto; padding-inline: var(--gutter); }
.site-header {
  position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(242,240,233,.12);
  background: rgba(8,9,9,.88); backdrop-filter: blur(18px);
}
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 750; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; }
.brand span { white-space: nowrap; }
.desktop-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--silver); }
.desktop-nav a { text-decoration: none; }
.desktop-nav a:hover { color: var(--paper); }
.mobile-menu { display: none; }
.button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px;
  padding: 0 20px; border: 1px solid var(--paper); background: var(--paper); color: var(--ink);
  text-decoration: none; font-weight: 700; cursor: pointer;
}
.button:hover { background: var(--accent); border-color: var(--accent); }
.button.secondary { background: transparent; color: var(--paper); border-color: var(--line); }
.button.secondary:hover { border-color: var(--paper); background: transparent; }
.button.small { min-height: 40px; padding-inline: 16px; font-size: 14px; }
.eyebrow { margin: 0 0 20px; color: var(--silver); font-size: 12px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.hero { min-height: min(900px, calc(100svh - 72px)); display: grid; align-items: end; padding-block: clamp(90px, 14vw, 190px) 62px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: min(72vw, 900px); aspect-ratio: 1; right: -28%; top: -34%;
  background: radial-gradient(circle, rgba(214,198,170,.16), transparent 64%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 72px; align-items: end; }
h1 { min-width: 0; margin: 0; max-width: 1000px; font-size: clamp(58px, 8.6vw, 142px); line-height: .87; letter-spacing: -.068em; font-weight: 760; }
.hero-copy { max-width: 560px; justify-self: end; }
.hero-copy p { margin: 0 0 32px; color: var(--silver); font-size: clamp(18px, 2vw, 24px); line-height: 1.38; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { margin-top: 22px; color: var(--muted); font-size: 13px; }
.section { padding-block: clamp(88px, 11vw, 170px); border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(220px,.55fr) minmax(0,1.45fr); gap: 50px; margin-bottom: clamp(50px, 7vw, 96px); }
.section h2 { margin: 0; max-width: 1050px; font-size: clamp(42px, 6.7vw, 104px); line-height: .93; letter-spacing: -.058em; }
.lede { max-width: 720px; margin: 26px 0 0; color: var(--silver); font-size: clamp(18px, 2vw, 25px); line-height: 1.45; }
.fragments { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); }
.fragment { min-height: 180px; padding: 22px; border-right: 1px solid var(--line); color: var(--muted); }
.fragment:last-child { border-right: 0; }
.fragment strong { display: block; color: var(--paper); margin-bottom: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .09em; }
.fragment.is-system { background: var(--paper); color: #444; }
.fragment.is-system strong { color: var(--ink); }
.loop { counter-reset: loop; border-top: 1px solid var(--line); }
.loop-step { display: grid; grid-template-columns: 70px minmax(180px,.8fr) minmax(0,1.2fr); gap: 30px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.loop-step::before { counter-increment: loop; content: "0" counter(loop); color: var(--muted); font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.loop-step h3 { margin: 0; font-size: clamp(24px, 3vw, 42px); letter-spacing: -.035em; }
.loop-step p { margin: 0; color: var(--muted); max-width: 640px; }
.surfaces { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.surface { min-height: 330px; padding: clamp(24px, 3vw, 44px); background: var(--surface); border: 1px solid var(--line); }
.surface:nth-child(1), .surface:nth-child(4) { grid-column: span 7; }
.surface:nth-child(2), .surface:nth-child(3) { grid-column: span 5; }
.surface:nth-child(5) { grid-column: span 12; min-height: 260px; }
.surface-index { color: var(--muted); font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.surface h3 { margin: 68px 0 14px; font-size: clamp(30px, 4vw, 58px); letter-spacing: -.045em; }
.surface p { max-width: 590px; margin: 0; color: var(--silver); font-size: 18px; }
.surface-meta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.surface-meta span { border: 1px solid var(--line); padding: 6px 10px; color: var(--muted); font-size: 12px; }
.timeline-wrap { padding: clamp(24px, 4vw, 54px); background: var(--surface); border: 1px solid var(--line); overflow-x: auto; }
.timeline { min-width: 720px; }
.timeline-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; min-height: 70px; border-bottom: 1px solid rgba(242,240,233,.08); }
.timeline-row:last-child { border-bottom: 0; }
.timeline-label { color: var(--muted); font-size: 13px; }
.timeline-track { position: relative; height: 70px; background: repeating-linear-gradient(90deg, transparent 0, transparent calc(10% - 1px), rgba(242,240,233,.035) 10%); }
.track-line { position: absolute; top: 50%; height: 2px; transform: translateY(-50%); background: var(--silver); }
.track-line.campaign { left: 18%; width: 58%; }
.track-line.warm { left: 34%; width: 48%; background: var(--warm); }
.event-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--paper); position: absolute; top: 50%; left: var(--event-x); transform: translate(-50%, -50%); }
.event-dot.accent { background: var(--accent); }
.event-dot.x22 { --event-x: 22%; }
.event-dot.x24 { --event-x: 24%; }
.event-dot.x32 { --event-x: 32%; }
.event-dot.x43 { --event-x: 43%; }
.event-dot.x54 { --event-x: 54%; }
.event-dot.x66 { --event-x: 66%; }
.timeline-note { margin: 24px 0 0; color: var(--muted); font-size: 13px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.statement { font-size: clamp(35px, 5vw, 74px); line-height: 1.02; letter-spacing: -.05em; }
.copy-stack p { margin: 0 0 22px; color: var(--silver); font-size: 19px; }
.memory-list { border-top: 1px solid var(--line); }
.memory-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.memory-row span:last-child { color: var(--muted); }
.artist-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.artist-type { border-top: 1px solid var(--paper); padding-top: 24px; }
.artist-type h3 { margin: 0 0 14px; font-size: 25px; }
.artist-type p { color: var(--muted); margin: 0; }
.principles { display: grid; grid-template-columns: 1fr 1fr; }
.principle { padding: 38px 38px 72px 0; border-top: 1px solid var(--line); }
.principle:nth-child(even) { padding-left: 38px; border-left: 1px solid var(--line); }
.principle h3 { margin: 0 0 14px; font-size: 27px; }
.principle p { color: var(--muted); max-width: 520px; margin: 0; }
.development { display: inline-flex; gap: 8px; align-items: center; color: var(--warm); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.development::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--warm); }
.beta-section { background: var(--paper); color: var(--ink); }
.beta-section .eyebrow, .beta-section .lede { color: #515451; }
.beta-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); gap: clamp(50px, 8vw, 120px); }
.beta-layout h2 { max-width: 760px; }
.beta-form { align-self: start; border-top: 1px solid #9b9b94; padding-top: 22px; }
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid #aaa9a2; border-radius: 0; background: transparent; color: var(--ink); padding: 13px 12px;
}
.field textarea { min-height: 105px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: #555; margin: 22px 0; }
.check input { margin-top: 3px; }
.beta-form .button { width: 100%; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.form-status { min-height: 24px; margin-top: 13px; font-size: 13px; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.site-footer { padding-block: 52px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-links strong { display: block; margin-bottom: 12px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.footer-links a { display: block; margin: 8px 0; color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.legal-main { min-height: 70vh; padding-block: clamp(70px, 10vw, 140px); }
.legal-main h1 { max-width: 1000px; font-size: clamp(50px, 8vw, 112px); }
.legal-grid { margin-top: 70px; display: grid; grid-template-columns: minmax(180px,.4fr) minmax(0,1fr); gap: 70px; }
.legal-copy { max-width: 800px; }
.legal-copy h2 { margin: 48px 0 14px; font-size: 28px; letter-spacing: -.03em; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p, .legal-copy li { color: var(--silver); }
.legal-copy a { color: var(--paper); }

@media (max-width: 960px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { cursor: pointer; list-style: none; padding: 10px 0; font-size: 14px; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-panel { position: absolute; right: 0; top: 48px; min-width: 250px; padding: 18px; background: var(--surface-2); border: 1px solid var(--line); }
  .mobile-panel a { display: block; padding: 11px 4px; text-decoration: none; }
  .hero-grid, .section-head, .split, .beta-layout { grid-template-columns: 1fr; }
  .hero-copy { justify-self: start; }
  .fragments { grid-template-columns: repeat(3, 1fr); }
  .fragment:nth-child(3) { border-right: 0; }
  .fragment:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .surface:nth-child(n) { grid-column: span 12; min-height: 280px; }
  .artist-types { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 620px) {
  .header-inner { min-height: 64px; }
  .hero { min-height: auto; padding-top: 96px; }
  h1 { font-size: clamp(54px, 17vw, 78px); }
  html[lang="ru"] h1 {
    max-width: 100%;
    font-size: clamp(48px, 14.5vw, 62px);
    line-height: .9;
    letter-spacing: -.06em;
    overflow-wrap: break-word;
  }
  .actions .button { width: 100%; }
  .fragments { grid-template-columns: 1fr; }
  .fragment { min-height: 118px; border-right: 0; border-bottom: 1px solid var(--line); }
  .fragment:last-child { border-bottom: 0; }
  .loop-step { grid-template-columns: 38px 1fr; }
  .loop-step p { grid-column: 2; }
  .field-row, .principles, .footer-grid, .footer-links, .legal-grid { grid-template-columns: 1fr; }
  .principle:nth-child(even) { padding-left: 0; border-left: 0; }
  .footer-bottom { flex-direction: column; }
  .legal-grid { gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
