/* IDOT JOY PRO — landing build. A (Pier Ledger) + B (Operations Board). */

/* Self-hosted WOFF2. Latin + Cyrillic. No Google Fonts request. */
@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/literata-latin.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: "Literata";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/literata-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.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: "Manrope";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/plexmono-400-latin.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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/plexmono-400-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/plexmono-500-latin.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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/plexmono-500-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Noto Sans Thai";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/notosansthai-thai.woff2") format("woff2");
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

@font-face {
  font-family: "Noto Serif Thai";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/notoserifthai-thai.woff2") format("woff2");
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

:root {
  color-scheme: light dark;

  --paper: #F3EFE7;
  --paper-2: #E9E2D6;
  --surface: #FFFFFF;
  --surface-2: #F8F5EF;
  --ticket: #E9E2D6;

  --ink: #101116;
  --text: #14151A;
  --muted: #5A5F6C;
  --faint: #4E5460;

  --line: rgba(16, 17, 22, .12);
  --line-strong: rgba(16, 17, 22, .22);

  --red: #ED0733;
  --red-deep: #C40028;
  --red-soft: #FF6B85;
  --btn: #C40028;
  --btn-hover: #101116;
  --stamp: #C40028;
  --star: #C40028;
  --tag: #5B4BD6;

  --sea: #1D6B66;
  --violet: #7C6CFF;
  --green: #34D399;
  --amber: #FBBF24;

  --ok: #0B7A52;
  --ok-line: rgba(52, 211, 153, .45);
  --ok-bg: rgba(52, 211, 153, .10);
  --next: #8A5A00;
  --next-line: rgba(251, 191, 36, .5);
  --next-bg: rgba(251, 191, 36, .12);
  --gate: #5B4BD6;
  --gate-line: rgba(124, 108, 255, .4);
  --gate-bg: rgba(124, 108, 255, .10);
  --reply-bg: rgba(29, 107, 102, .06);

  --night: #101116;
  --night-2: #1A1D24;
  --on-night: #F2F4F8;
  --on-night-muted: #AAB3C5;

  --shadow: 0 18px 40px rgba(16, 17, 22, .08);
  --shadow-strong: 0 24px 48px rgba(16, 17, 22, .12);

  --serif: "Literata", "Noto Serif Thai", Georgia, "Times New Roman", serif;
  --ui: "Manrope", "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "Noto Sans Thai", ui-monospace, SFMono-Regular, Menlo, monospace;

  --max: 1240px;
  --pad: 56px;
}

html[data-theme="dark"] {
    --paper: #0E1014;
    --paper-2: #151922;
    --surface: #171A21;
    --surface-2: #1B1F27;
    --ticket: #1B1E26;

    --ink: #F2EEE6;
    --text: #E8E5DD;
    --muted: #AAB3C5;
    --faint: #9BA3B2;

    --line: rgba(255, 255, 255, .12);
    --line-strong: rgba(255, 255, 255, .22);

    --red: #FF4D6D;
    --red-deep: #D8002F;
    --red-soft: #FF8FA3;
    --btn: #D8002F;
    --btn-hover: #F2EEE6;
    --stamp: #FF4D6D;
    --star: #FF6B85;
    --tag: #C4B5FD;

    --sea: #6FBDB5;
    --violet: #A79BFF;
    --green: #4ADE80;
    --amber: #FCD34D;

    --ok: #6EE7B7;
    --ok-line: rgba(74, 222, 128, .45);
    --ok-bg: rgba(74, 222, 128, .09);
    --next: #FCD34D;
    --next-line: rgba(252, 211, 77, .45);
    --next-bg: rgba(252, 211, 77, .08);
    --gate: #C4B5FD;
    --gate-line: rgba(196, 181, 253, .4);
    --gate-bg: rgba(196, 181, 253, .08);
    --reply-bg: rgba(111, 189, 181, .08);

    --night: #08090C;
    --night-2: #151922;

    --shadow: 0 18px 40px rgba(0, 0, 0, .35);
    --shadow-strong: 0 24px 48px rgba(0, 0, 0, .5);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
      --paper: #0E1014;
      --paper-2: #151922;
      --surface: #171A21;
      --surface-2: #1B1F27;
      --ticket: #1B1E26;
  
      --ink: #F2EEE6;
      --text: #E8E5DD;
      --muted: #AAB3C5;
      --faint: #9BA3B2;
  
      --line: rgba(255, 255, 255, .12);
      --line-strong: rgba(255, 255, 255, .22);
  
      --red: #FF4D6D;
      --red-deep: #D8002F;
      --red-soft: #FF8FA3;
      --btn: #D8002F;
      --btn-hover: #F2EEE6;
      --stamp: #FF4D6D;
      --star: #FF6B85;
      --tag: #C4B5FD;
  
      --sea: #6FBDB5;
      --violet: #A79BFF;
      --green: #4ADE80;
      --amber: #FCD34D;
  
      --ok: #6EE7B7;
      --ok-line: rgba(74, 222, 128, .45);
      --ok-bg: rgba(74, 222, 128, .09);
      --next: #FCD34D;
      --next-line: rgba(252, 211, 77, .45);
      --next-bg: rgba(252, 211, 77, .08);
      --gate: #C4B5FD;
      --gate-line: rgba(196, 181, 253, .4);
      --gate-bg: rgba(196, 181, 253, .08);
      --reply-bg: rgba(111, 189, 181, .08);
  
      --night: #08090C;
      --night-2: #151922;
  
      --shadow: 0 18px 40px rgba(0, 0, 0, .35);
      --shadow-strong: 0 24px 48px rgba(0, 0, 0, .5);
  }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--ui);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
::selection { background: var(--red); color: #fff; }

.shell {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

h1, h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--text);
}

h1 {
  font-size: clamp(44px, 6.2vw, 88px);
  line-height: 1.0;
}

h2 {
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.05;
}

p { margin: 0; }

.lead {
  max-width: 52ch;
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
}

.sec-head h2,
.lang-grid h2,
.review-grid h2,
.island-grid h2,
.night-grid h2,
.geo h2,
.pilot-grid h2,
.pricing-grid h2,
.faq-grid h2 { margin-bottom: 12px; }

.sec-top {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
}

.sec-no {
  font-size: 10.5px;
  color: var(--faint);
}

.micro {
  font-size: 9.5px;
  color: var(--faint);
  letter-spacing: .12em;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: 600 14px/1 var(--ui);
  letter-spacing: .01em;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.btn-primary {
  background: var(--btn);
  border-color: var(--btn);
  color: #fff;
}

.btn-primary:hover {
  background: var(--btn-hover);
  border-color: var(--btn-hover);
  color: var(--paper);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--text); }

.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 12.5px;
  border-color: var(--line-strong);
}

/* ---------- top bar ---------- */

.top {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.top-in {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand img {
  width: auto;
  height: 30px;
}

.brand-joy {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.top-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.top-meta .mono {
  font-size: 10px;
  color: var(--faint);
  white-space: nowrap;
}

.top-meta #clock {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted) !important;
}

.live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}

.top-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang-current { color: var(--faint); }

.top-link {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.top-link:hover { color: var(--text); }

/* ---------- hero ---------- */

.hero {
  padding: 64px 0 74px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: start;
}

.hero-copy { min-width: 0; }

.hero .eyebrow {
  margin-bottom: 16px;
  font-size: 11px;
  color: var(--faint);
  letter-spacing: .08em;
}

.hero h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 4.6vw, 59px);
  line-height: 1.02;
  letter-spacing: -.025em;
}

.hero-bottom { min-width: 0; }

.hero .lead { max-width: 46ch; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 34px;
}

.facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.facts dd {
  margin: 0;
  font-size: 10px;
  color: var(--faint);
  text-align: right;
  letter-spacing: .04em;
}

.hero-media {
  position: relative;
  min-width: 0;
  margin-top: 6px;
  margin-bottom: 54px;
}

.shot {
  margin: 0;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-strong);
}

.shot-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  position: relative;
}
.shot-zoom:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.shot-zoom-hint {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 8px;
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--line);
  opacity: 0;
  transition: opacity .15s;
}
.shot-zoom:hover .shot-zoom-hint,
.shot-zoom:focus-visible .shot-zoom-hint { opacity: 1; }

/* лайтбокс скриншота */
html.lb-open { overflow: hidden; }
.lb {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(9, 10, 13, .94);
}
.lb[hidden] { display: none; }
.lb-img {
  max-width: min(1600px, 96vw);
  max-height: 92vh;
  width: auto;
  height: auto;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  cursor: zoom-out;
}
.lb-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #F3EFE7;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  cursor: pointer;
}
.lb-close:hover { background: rgba(255, 255, 255, .16); }
@media (max-width: 720px) {
  .lb { padding: 10px; }
  .lb-img { max-height: 88vh; }
  .shot-zoom-hint { opacity: 1; font-size: 8px; }
}

.shot picture { display: block; }

.shot img {
  width: 100%;
  height: auto;
}

.shot figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 2px 0;
  font-size: 9.5px;
  color: var(--faint);
}

.ticket {
  position: absolute;
  left: -26px;
  bottom: -54px;
  width: 300px;
  padding: 18px 20px 13px;
  background: var(--ticket);
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 38px rgba(16, 17, 22, .16);
  transform: rotate(-1.6deg);
}

.ticket::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 6px;
  background-image: radial-gradient(circle, var(--paper) 2px, transparent 2.4px);
  background-size: 10px 10px;
  opacity: .9;
}

.ticket-head {
  font-size: 9px;
  color: var(--faint);
  /* 15.11.2026: длинные подписи (БРОНИРОВАНИЕ, RÉSERVATION) уходили под штамп. */
  padding-right: 96px;
  line-height: 1.5;
}

.ticket-no {
  margin: 6px 0 10px;
  font-size: 15px;
  color: var(--text);
}

.ticket-title {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.15;
  color: var(--text);
}

.ticket-meta {
  font-size: 9px;
  line-height: 1.7;
  color: var(--muted);
}

.ticket-paid {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .05em;
  color: var(--sea);
}

.ticket-paid i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex: 0 0 auto;
}

.stamp {
  position: absolute;
  right: 12px;
  top: 15px;
  padding: 3px 6px;
  border: 2px solid var(--stamp);
  color: var(--stamp);
  font-size: 8.5px;
  letter-spacing: .10em;
  transform: rotate(-6deg);
  opacity: .9;
}

.ticket-stub {
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px dashed var(--line-strong);
  font-size: 8.5px;
  color: var(--faint);
}

/* ---------- operations board (B) ---------- */

.board {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 8px 0 6px;
}

.board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0 14px;
}

.board-head h2 {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--faint);
}

.board-sum {
  display: flex;
  gap: 18px;
  font-size: 9px;
  color: var(--faint);
}

.board-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border-top: 1px solid var(--line-strong);
}

.board-table th {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: .08em;
  text-align: left;
  text-transform: uppercase;
}

.board-table th:nth-child(1) { width: 88px; }
.board-table th:nth-child(3) { width: 190px; text-align: right; }

.board-table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.cell-time { width: 88px; }
.cell-meta { text-align: right; }

.b-time {
  font-size: 18px;
  letter-spacing: .02em;
  color: var(--text);
}

.b-route {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.b-route b {
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.b-route i {
  color: var(--faint);
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

.b-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-size: 10.5px;
  color: var(--muted);
}

.st {
  padding: 4px 7px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 8.5px;
  letter-spacing: .1em;
  white-space: nowrap;
}

.st.ok {
  color: var(--ok);
  border-color: var(--ok-line);
  background: var(--ok-bg);
}

.st.next {
  color: var(--next);
  border-color: var(--next-line);
  background: var(--next-bg);
}

.board-foot {
  padding: 10px 0 4px;
  font-size: 8.5px;
  color: var(--faint);
}

/* ---------- one day ---------- */

.day {
  padding: 94px 0 82px;
}

.sec-head {
  max-width: 640px;
  margin-bottom: 42px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding-top: 14px;
  border-top: 1px solid var(--line-strong);
}

.step-time {
  display: block;
  margin-bottom: 12px;
  font-size: 10.5px;
  color: var(--faint);
}

.step-body b {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.step-body p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.step-tag {
  display: inline-block;
  margin-top: 12px;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
  color: var(--faint);
  font-size: 8.5px;
}

/* ---------- photos ---------- */

.photos { padding: 0 0 88px; }

.strip {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 24px;
}

.strip figure { margin: 0; }

.strip img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.strip figcaption {
  padding-top: 8px;
  font-size: 9px;
  color: var(--faint);
}

/* ---------- chapters ---------- */

.chapters { padding-bottom: 34px; }

.chapter {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 64px;
  align-items: center;
  padding: 52px 0;
  border-top: 1px solid var(--line);
}

.chapter.reverse { grid-template-columns: 5fr 7fr; }
.chapter.reverse .chapter-text { order: 2; }
.chapter.reverse .chapter-art { order: 1; }

.chapter h2 { margin-bottom: 22px; }

.facts-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.facts-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.artifact {
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.artifact-head {
  margin-bottom: 12px;
  font-size: 9px;
  color: var(--faint);
}

.artifact-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.artifact-row b {
  color: var(--text);
  font-size: 15px;
}

.artifact-row .mono {
  color: var(--text);
  font-size: 10px;
}

.artifact-meta {
  margin-top: 6px;
  font-size: 9px;
  color: var(--faint);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.chip {
  padding: 4px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 9px;
}

.chip.ok {
  color: var(--ok);
  border-color: var(--ok-line);
  background: var(--ok-bg);
}

.chips.big .chip {
  padding: 7px 12px;
  font-size: 9.5px;
}

.artifact-line {
  margin-top: 14px;
  padding-top: 9px;
  border-top: 1px dashed var(--line-strong);
  font-size: 8.5px;
  color: var(--faint);
}

.manifest-art .m-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
}

.manifest-art .m-row:first-of-type { border-top: 0; }
.manifest-art .m-row span:last-child { color: var(--muted); font-size: 12px; }

/* Права по ролям: первая колонка шире — «ВЛАДЕЛЕЦ» не должен липнуть к тексту. */
.access-art .m-row { grid-template-columns: 100px 1fr auto; }
.access-art .m-row span:first-child { letter-spacing: .02em; }

@media (max-width: 720px) {
  .access-art .m-row { grid-template-columns: 84px 1fr auto; }
}

.lang-mini {
  display: flex;
  gap: 4px;
  margin-top: 16px;
}

.lang-mini span {
  padding: 3px 6px;
  border: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}

.lang-mini .is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* ---------- languages ---------- */

.langs {
  padding: 80px 0 88px;
  border-top: 1px solid var(--line);
}

.lang-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}

.lang-box {
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
}

.lang-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.lang-tabs button {
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  cursor: pointer;
}

.lang-tabs button.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.lang-line {
  min-height: 96px;
  margin: 22px 0 18px;
  color: var(--text);
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.35;
}

.lang-note {
  font-size: 8.5px;
  color: var(--faint);
}

/* ---------- review ---------- */

.review {
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

.review-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}

.review-card {
  padding: 26px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.rev-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.stars {
  color: var(--star);
  font-size: 15px;
  letter-spacing: 2px;
}

.rev-top b {
  color: var(--muted);
  font-size: 10px;
}

.rev-who {
  color: var(--muted);
  font-size: 12px;
}

.tag {
  padding: 2px 7px;
  border: 1px solid var(--gate-line);
  border-radius: 999px;
  color: var(--tag);
  font-size: 8px;
}

.review-card blockquote {
  margin: 18px 0 10px;
  color: var(--text);
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.45;
}

.rev-tr {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13.5px;
}

.reply {
  padding: 12px 14px;
  background: var(--reply-bg);
  border-left: 2px solid var(--sea);
}

.reply .mono {
  font-size: 8.5px;
  color: var(--sea);
}

.reply p {
  margin-top: 5px;
  color: var(--text);
  font-size: 14px;
}

.rev-meta {
  margin-top: 14px;
  font-size: 8.5px;
  color: var(--faint);
}

/* ---------- island ---------- */

.island {
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

.island-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}

.island-facts {
  margin: 0;
  border-top: 1px solid var(--line-strong);
}

.island-facts > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.island-facts dt {
  font-size: 10.5px;
  color: var(--faint);
}

.island-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* ---------- night ---------- */

.night {
  padding: 88px 0;
  background: var(--night);
  color: var(--on-night);
}

.night .mono { color: var(--on-night-muted); }

.night-grid {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: 64px;
  align-items: center;
}

.night-time {
  margin-bottom: 8px;
  color: var(--red-soft);
  font-size: 64px;
  letter-spacing: .02em;
}

.night h2 {
  margin-bottom: 16px;
  color: var(--on-night);
  font-size: 40px;
}

.night p {
  max-width: 46ch;
  color: var(--on-night-muted);
  font-size: 15px;
}

.night-link {
  display: inline-block;
  margin-top: 20px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  color: var(--on-night);
  font-size: 9.5px;
}

.night-link:hover { border-bottom-color: var(--on-night); }

.night-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 20px;
}

.night-links .night-link { margin-top: 0; }

.night-panel {
  padding: 20px 22px;
  background: var(--night-2);
  border: 1px solid rgba(255, 255, 255, .12);
}

.night-panel .artifact-head { color: var(--on-night-muted); }

.night-panel .m-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, .10);
  color: var(--on-night);
  font-size: 13px;
}

.night-panel .m-row .mono { color: var(--on-night); }
.night-panel .m-row span:last-child { color: var(--on-night-muted); font-size: 12px; }

.night-note {
  margin-top: 14px;
  font-size: 8.5px;
  line-height: 1.8;
  color: var(--on-night-muted) !important;
}

/* ---------- geography ---------- */

.geo { padding: 86px 0; }

.geo-rows {
  margin-top: 32px;
  border-top: 1px solid var(--line-strong);
}

.geo-rows > div {
  display: grid;
  grid-template-columns: 140px 14px 110px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.geo-rows b { font-size: 10.5px; color: var(--text); }
.geo-rows .mono { font-size: 9.5px; color: var(--faint); }
.geo-rows span:last-child { color: var(--muted); font-size: 13.5px; }

.dot-live,
.dot-next {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.dot-live { background: var(--green); }
.dot-next { background: var(--amber); }

.geo-note {
  margin-top: 18px;
  font-size: 8.5px;
  color: var(--faint);
}

/* ---------- pricing (15.11.2026) ---------- */

.pricing {
  padding: 86px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: start;
}

.pricing-rows {
  border-top: 1px solid var(--line-strong);
}

.pricing-rows > div {
  display: grid;
  grid-template-columns: 150px 140px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.pricing-rows b {
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--text);
}

.pricing-rows .mono {
  font-size: 10.5px;
  color: var(--faint);
}

.pricing-rows span:last-child {
  color: var(--muted);
  font-size: 13.5px;
}

.pricing-note {
  margin-top: 18px;
  font-size: 10.5px;
  letter-spacing: .06em;
  color: var(--faint);
}

@media (max-width: 980px) {
  .pricing { padding: 64px 0; }
  .pricing-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 720px) {
  .pricing-rows > div {
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding: 14px 0;
  }
  .pricing-rows span:last-child {
    grid-column: 1 / -1;
    font-size: 13px;
  }
}

/* ---------- pilot ---------- */

.pilot {
  padding: 88px 0;
  background: var(--paper-2);
}

.pilot-grid {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: 64px;
  align-items: start;
}

.pilot-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
}

.pilot-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.pilot-form label.full { grid-column: 1 / -1; }

.pilot-form input,
.pilot-form textarea {
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: 400 16px/1.4 var(--ui);
  outline: none;
}

.pilot-form textarea {
  min-height: 132px;
  resize: vertical;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 10px 12px;
}

.pilot-form input:focus,
.pilot-form textarea:focus { border-color: var(--text); }

.pilot-form input:focus-visible,
.pilot-form textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.pilot-form input::placeholder,
.pilot-form textarea::placeholder {
  color: var(--faint);
  opacity: .85;
}

.pilot-form .btn {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 6px;
}

.form-note {
  grid-column: 1 / -1;
  margin-top: 2px;
  font-size: 8.5px;
  color: var(--muted);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-legal {
  grid-column: 1 / -1;
  max-width: 52ch;
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- FAQ ---------- */

.faq {
  padding: 88px 0 96px;
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}

.faq-list { border-top: 1px solid var(--line-strong); }

.faq-list details {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  color: var(--faint);
  font-family: var(--mono);
  font-weight: 400;
}

.faq-list details[open] summary::after { content: "–"; }

.faq-list p {
  max-width: 60ch;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* 18.11.2026: справка-вопросы. Скриншот лежит внутри ответа и грузится
   только когда вопрос раскрыли — главная не растёт от картинок. */
.faq-shot {
  margin: 16px 0 2px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

.faq-shot img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

.faq-shot .shot-dark { display: none; }
html[data-theme="dark"] .faq-shot .shot-light { display: none; }
html[data-theme="dark"] .faq-shot .shot-dark { display: block; }

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .faq-shot .shot-light { display: none; }
  html:not([data-theme="light"]) .faq-shot .shot-dark { display: block; }
}

.faq-shot figcaption {
  padding: 8px 10px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 9px;
  letter-spacing: .08em;
}

/* 18.11.2026: телефонные экраны внутри ответа не растягиваем на всю колонку. */
.faq-shot.is-phone { max-width: 360px; }

/* 18.11.2026: схема пути гостя в первом вопросе — линия со станциями. */
.faq-route { margin: 18px 0 4px; }

.route-entries {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.route-entries span {
  padding: 5px 8px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.route-merge {
  display: flex;
  justify-content: center;
  padding: 5px 0 2px;
  color: var(--line-strong);
}

.route-stations {
  list-style: none;
  margin: 0;
  padding: 0;
}

.route-stations li {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding-bottom: 16px;
}

.route-stations li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 24px;
  bottom: 0;
  width: 1px;
  background: var(--line-strong);
}

.route-stations li:last-child { padding-bottom: 0; }
.route-stations li:last-child::before { display: none; }

.route-no {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  color: var(--red);
  font-size: 10px;
}

.route-stations strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}

.route-stations p {
  margin: 3px 0 0;
  max-width: 46ch;
  font-size: 12.5px;
  line-height: 1.5;
}

/* 18.11.2026: второстепенные вопросы — ниже основных, тот же аккордеон. */
.faq-more-title {
  margin: 26px 0 0;
  color: var(--faint);
  font-size: 9.5px;
  letter-spacing: .1em;
}

.faq-list-more { border-top: 0; }

/* ---------- footer ---------- */

footer {
  padding: 52px 0 44px;
  background: var(--night);
  color: var(--on-night);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.foot-brand img { width: auto; height: 28px; }
.foot-brand .brand-joy { color: var(--on-night-muted); }
footer .mono { color: var(--on-night-muted); }

.foot-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.foot-links a:hover { color: #fff; }

.foot-meta {
  text-align: right;
  line-height: 1.9;
}

.foot-langs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  margin: 0;
}

.foot-langs a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: inherit;
  text-decoration: none;
}

.foot-langs a + a::before {
  content: "·";
  margin: 0 7px;
  color: var(--on-night-muted);
}

.foot-langs a:hover { color: #fff; }

.foot-langs a.is-active {
  color: var(--red-soft);
  font-weight: 600;
}

/* ---------- utilities ---------- */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
}

.skip:focus { left: 16px; top: 16px; }

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

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  :root { --pad: 36px; }
  .hero-grid { column-gap: 40px; }
  .ticket { left: -18px; width: 280px; }
  .chapter, .chapter.reverse { gap: 40px; }
  .lang-grid, .review-grid, .island-grid, .night-grid, .pilot-grid, .faq-grid { gap: 44px; }
}

@media (max-width: 1024px) {
  .top-meta { gap: 12px; }
  .top-meta .mono:nth-child(1) { display: none; }
  .hero { padding-top: 52px; }
  .steps { gap: 16px; }
  .step-body p { font-size: 12.5px; }
  .board-table th:nth-child(1),
  .cell-time { width: 76px; }
  .b-route { gap: 8px; }
}

@media (max-width: 980px) {
  .top-in { height: 56px; }
  .top-meta .mono:last-child { display: none; }

  .hero-grid { display: flex; flex-direction: column; gap: 0; }
  .hero-copy { display: contents; }
  .hero .eyebrow { order: 1; }
  .hero h1 { order: 2; font-size: clamp(44px, 7vw, 60px); }
  .hero-bottom { display: contents; }
  .hero-sub { order: 3; }
  .hero .lead { order: 4; margin-top: 18px; }
  .hero-langs { order: 5; }
  .hero-actions { order: 6; }
  .hero-media {
    order: 7;
    width: 100%;
    margin: 34px 0 0;
  }
  .facts { order: 8; margin-top: 34px; }

  .ticket {
    position: relative;
    left: 0;
    bottom: 0;
    width: 320px;
    margin: -24px 0 0 20px;
    transform: rotate(-1.2deg);
  }

  .photo-strip,
  .strip { grid-template-columns: 1fr; }

  .chapter,
  .chapter.reverse,
  .lang-grid,
  .review-grid,
  .island-grid,
  .night-grid,
  .pilot-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .chapter.reverse .chapter-text,
  .chapter.reverse .chapter-art { order: 0; }

  .chapter { padding: 42px 0; }
  .chapter h2 { font-size: clamp(30px, 4.4vw, 40px); }

  .steps { grid-template-columns: repeat(2, 1fr); gap: 20px 24px; }
  .steps li:last-child { grid-column: 1 / -1; max-width: 50%; }

  .lang-line { min-height: 88px; font-size: 23px; }

  .night h2 { font-size: 34px; }
  .night-time { font-size: 56px; }

  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-meta { grid-column: 1 / -1; text-align: left; }
  .foot-langs { justify-content: flex-start; }
}

@media (max-width: 720px) {
  :root { --pad: 22px; }

  body { font-size: 16px; }

  .top-meta { display: none; }
  .top-nav { gap: 12px; }
  .top-link { display: none; }
  .brand img { height: 27px; }

  .hero { padding: 44px 0 56px; }
  .hero h1 { font-size: clamp(38px, 9vw, 56px); margin-bottom: 18px; }
  .hero .lead { font-size: 17px; }
  .hero-actions { margin: 22px 0 26px; }
  .facts dt { font-size: 12.5px; }
  .facts dd { font-size: 9px; }

  .ticket {
    width: 100%;
    max-width: none;
    margin: 14px 0 0;
    padding: 16px 18px 12px;
    transform: none;
  }

  .board-head { align-items: flex-start; flex-direction: column; gap: 6px; }
  .board-sum { gap: 12px; }
  .board-table { border-top: 0; }
  .board-table thead { display: none; }
  .board-table,
  .board-table tbody,
  .board-table tr,
  .board-table td { display: block; }
  .board-table tbody tr {
    display: grid;
    grid-template-columns: 64px 1fr;
    grid-template-areas:
      "time route"
      "time meta";
    gap: 4px 12px;
    padding: 13px 0;
    border-top: 1px solid var(--line);
  }
  .board-table td {
    padding: 0;
    border: 0;
  }
  .cell-time { grid-area: time; width: auto; }
  .cell-route { grid-area: route; }
  .cell-meta { grid-area: meta; text-align: left; }
  .b-time { grid-area: time; align-self: start; font-size: 17px; }
  .b-route { grid-area: route; flex-direction: column; gap: 1px; }
  .b-route b { white-space: normal; }
  .b-meta { grid-area: meta; justify-content: flex-start; gap: 8px; }

  .day { padding: 76px 0 64px; }
  .sec-head { margin-bottom: 30px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }
  .steps li:last-child { max-width: none; }
  .step-time { grid-column: 1; margin: 0; }
  .step-body { grid-column: 2; }
  .step-body p { font-size: 13px; }
  .step-tag { margin-top: 8px; }

  .photos { padding-bottom: 64px; }
  .strip { gap: 18px; }
  .strip img { height: 240px; }

  .chapters { padding-bottom: 18px; }
  .chapter { padding: 34px 0; }
  .chapter h2 { font-size: 30px; }
  .artifact { padding: 16px; }

  .langs, .review, .island, .geo, .pilot, .faq { padding: 64px 0; }
  .lang-line { min-height: 112px; font-size: 21px; }

  .review-card { padding: 20px; }
  .review-card blockquote { font-size: 20px; }
  .rev-tr { font-size: 13px; }

  .island-facts > div { grid-template-columns: 1fr; gap: 3px; padding: 13px 0; }
  .island-facts dd { font-size: 13.5px; }

  .night { padding: 64px 0; }
  .night h2 { font-size: 30px; }
  .night-time { font-size: 48px; }
  .night-panel { padding: 16px; }
  .night-panel .m-row { grid-template-columns: 48px 1fr auto; font-size: 12px; }

  .geo-rows > div {
    grid-template-columns: 100px 12px 1fr;
    gap: 8px 10px;
    padding: 14px 0;
  }
  .geo-rows span:last-child { grid-column: 1 / -1; font-size: 13px; }

  .pilot-form { grid-template-columns: 1fr; }
  .pilot-form label.full { grid-column: auto; }
  .pilot-form .btn { grid-column: auto; width: 100%; }
  .form-note { grid-column: auto; }

  .faq-list summary { font-size: 14px; }
  .faq-list p { font-size: 13.5px; }

  footer { padding: 40px 0 34px; }
  .foot-grid { grid-template-columns: 1fr; gap: 22px; }
  .foot-meta { grid-column: auto; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 38px; }
  .hero-actions .btn { flex: 1 1 auto; padding: 0 14px; font-size: 13px; }
  .shot { padding: 6px; }
  .shot figcaption { font-size: 8px; }
  .top-nav .btn-sm { padding: 0 10px; font-size: 11.5px; }
  .brand-joy { display: inline; font-size: 8.5px; letter-spacing: .1em; }
}

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

/* ---------- readability pass 14.11.2026 ----------
   Editorial micro-type stays, but no UI text below ~9.5–10 px. */
/* ---------- readability pass 15.11.2026 (по ревью: контраст мелкого моно) ----------
   Кегль мелких подписей поднят ещё на 0.5–1 px, «faint» стал темнее/светлее по теме. */
.sec-no { font-size: 11px; }
.micro { font-size: 11px; }
.brand-joy { font-size: 10.5px; }
.top-meta .mono { font-size: 10.5px; }
.facts dd { font-size: 11px; }
.shot figcaption { font-size: 10.5px; }
.ticket-head,
.ticket-meta,
.ticket-paid,
.stamp { font-size: 10.5px; }
.ticket-stub { font-size: 10px; }
.board-head h2 { font-size: 11px; }
.board-sum { font-size: 10.5px; }
.board-table th { font-size: 10.5px; }
.b-meta { font-size: 11px; }
.st { font-size: 10px; }
.board-foot { font-size: 10px; }
.step-tag { font-size: 10px; }
.strip figcaption { font-size: 10.5px; }
.artifact-head,
.artifact-meta { font-size: 10.5px; }
.chip { font-size: 10px; }
.chips.big .chip { font-size: 10.5px; }
.artifact-row .mono { font-size: 10.5px; }
.artifact-line { font-size: 10px; }
.lang-mini span { font-size: 10.5px; }
.lang-tabs button { font-size: 10.5px; }
.lang-note { font-size: 10px; }
.tag { font-size: 10px; }
.reply .mono,
.rev-meta,
.rev-top b { font-size: 10.5px; }
.island-facts dt { font-size: 11px; }
.night-link,
.night-note,
.geo-note { font-size: 10.5px; }
.geo-rows b { font-size: 11px; }
.geo-rows .mono { font-size: 10.5px; }
.pilot-form label { font-size: 10.5px; }
.form-note { font-size: 10.5px; }
.form-legal { font-size: 12.5px; }

@media (max-width: 720px) {
  .facts dd { font-size: 10.5px; }
  .shot figcaption { font-size: 10.5px; }
  .brand-joy { font-size: 9.5px; }
}

/* ---------- language switcher + localized display type ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-lang {
  display: inline-flex;
  align-items: center;
}

.site-lang select {
  appearance: none;
  padding: 3px 14px 3px 0;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - 7px) 45% / 4px 4px no-repeat,
    linear-gradient(135deg, var(--muted) 50%, transparent 50%) calc(100% - 3px) 45% / 4px 4px no-repeat,
    transparent;
  color: var(--muted);
  font: 400 10.5px/1 var(--mono);
  letter-spacing: .08em;
  cursor: pointer;
}

.site-lang select:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

@media (min-width: 981px) {
  html[lang="ru"] .hero h1 { font-size: clamp(44px, 4.1vw, 56px); }
  html[lang="de"] .hero h1 { font-size: clamp(40px, 3.5vw, 50px); }
  html[lang="fr"] .hero h1 { font-size: clamp(42px, 3.9vw, 54px); }
  html[lang="th"] .hero h1 { font-size: clamp(40px, 3.8vw, 52px); line-height: 1.16; }
}

@media (max-width: 480px) {
  .top-nav .top-link { display: none; }
  .site-lang select { font-size: 10px; }
}

/* ---------- readability pass 2 + one paper block in dark mode ---------- */
.micro { font-size: 11px; }
.facts dd { font-size: 11.5px; }
.board-sum { font-size: 10.5px; }
.board-table th { font-size: 10.5px; }
.b-meta { font-size: 11.5px; }
.st { font-size: 10px; }
.board-foot { font-size: 10px; }
.ticket-head,
.ticket-meta,
.ticket-paid,
.stamp { font-size: 10.5px; }
.ticket-stub { font-size: 10px; }
.step-tag { font-size: 10px; }
.shot figcaption,
.strip figcaption { font-size: 10.5px; }
.artifact-head,
.artifact-meta { font-size: 10.5px; }
.artifact-row .mono { font-size: 10.5px; }
.chip,
.chips.big .chip { font-size: 10px; }
.artifact-line { font-size: 10px; }
.lang-mini span,
.lang-tabs button { font-size: 10.5px; }
.lang-note,
.tag,
.reply .mono,
.rev-meta,
.night-note,
.geo-note,
.night-link { font-size: 10px; }
.island-facts dt,
.geo-rows b { font-size: 11px; }
.geo-rows .mono { font-size: 10px; }
.pilot-form label,
.form-note { font-size: 10.5px; }

@media (prefers-color-scheme: dark) {
  /* The reviewer asked for one light editorial breath in the dark reading mode.
     Languages are the right place: the demo is about the product's five voices. */
  html:not([data-theme="light"]) .langs {
    --paper: #F3EFE7;
    --ink: #101116;
    --text: #14151A;
    --muted: #5A5F6C;
    --faint: #5F6470;
    --line: rgba(16, 17, 22, .12);
    --line-strong: rgba(16, 17, 22, .22);
    background: #F3EFE7;
    color: #14151A;
  }
}

/* то же самое, когда тёмная тема выбрана вручную */
html[data-theme="dark"] .langs {
  --paper: #F3EFE7;
  --ink: #101116;
  --text: #14151A;
  --muted: #5A5F6C;
  --faint: #5F6470;
  --line: rgba(16, 17, 22, .12);
  --line-strong: rgba(16, 17, 22, .22);
  background: #F3EFE7;
  color: #14151A;
}


@media (max-width: 720px) {
  .facts dd { font-size: 11px; }
  .shot figcaption { font-size: 10.5px; }
  .micro { font-size: 10.5px; }
}

/* ---------- readability pass 3: laptop screens (1440/1280) ---------- */
.facts dd { font-size: 12.5px; line-height: 1.45; }
.board-sum { font-size: 11px; }
.board-table th { font-size: 11.5px; }
.b-meta { font-size: 12px; }
.st { font-size: 10.5px; }
.board-foot { font-size: 10.5px; }
.ticket-head,
.ticket-meta,
.ticket-paid,
.stamp { font-size: 11px; }
.ticket-stub { font-size: 10.5px; }
.step-tag { font-size: 10.5px; }
.shot figcaption,
.strip figcaption { font-size: 11px; }
.artifact-head,
.artifact-meta,
.artifact-row .mono { font-size: 11px; }
.artifact-line { font-size: 10.5px; }
.chip,
.chips.big .chip { font-size: 10.5px; }
.lang-note,
.tag,
.reply .mono,
.rev-meta,
.night-note,
.geo-note,
.night-link { font-size: 10.5px; }
.geo-rows .mono { font-size: 10.5px; }
.form-note,
.pilot-form label { font-size: 11px; }

@media (max-width: 720px) {
  .facts dd { font-size: 11.5px; }
  .board-table th { font-size: 11px; }
  .shot figcaption { font-size: 11px; }
}

/* ---------- multilingual proof in the hero ---------- */
.hero-langs {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px 10px;
  margin: 16px 0 0;
  padding-left: 0;
  border-left: 0;
}
.hero-langs-label {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 2px;
}
.hero-langs b {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--text);
  white-space: nowrap;
}
@media (max-width: 720px) {
  .hero-langs-label { font-size: 10.5px; }
  .hero-langs b { font-size: 12px; }
}

/* ---------- multilingual hero: subhead + language chips ---------- */
.hero-sub {
  margin: -4px 0 14px;
  font: 500 22px/1.25 var(--ui);
  letter-spacing: -.015em;
  color: var(--text);
}
.hero-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
}
.lang-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 30px;
  padding: 0 8px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--surface-2);
  color: var(--text);
  font: 500 10.5px/1 var(--mono);
  letter-spacing: .06em;
}
@media (max-width: 720px) {
  .hero-sub { font-size: 20px; }
}

/* ---------- make the multilingual feature the hero accent ---------- */
.hero-sub {
  font-size: 24px;
  font-weight: 500;
}
.hero-sub strong {
  color: var(--red);
  font-weight: 700;
}
.hero-langs {
  padding-left: 0;
  border-left: 0;
}
.lang-chip {
  min-width: 38px;
  height: 34px;
  font-size: 11px;
  background: var(--surface);
}
@media (max-width: 720px) {
  .hero-sub { font-size: 21px; }
  .lang-chip { height: 32px; min-width: 36px; font-size: 10.5px; }
}

/* ---------- clickable hero language chips ---------- */
.lang-chip {
  text-decoration: none;
  cursor: pointer;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}
.lang-chip:not(.is-active):hover {
  border-color: var(--red);
  color: var(--red);
}
.lang-chip.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.lang-chip:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ============================================================
   PRODUCT FILM — плеер с переключением языка (16.11.2026)
   ============================================================ */
.film { padding: 60px 0 52px; border-bottom: 1px solid var(--line); }
.film-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-bottom: 24px; }
.film-head h2 { font-family: var(--serif); font-weight: 500; font-size: 46px; line-height: 1.06; letter-spacing: -.012em; margin: 10px 0 10px; max-width: 26ch; text-wrap: balance; }
.film-sub { color: var(--muted); font-size: 16.5px; line-height: 1.5; max-width: 54ch; }
.film-side { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); text-align: right; line-height: 1.9; }

.film-player { margin: 0; }
.film-stage { position: relative; aspect-ratio: 16 / 9; background: #0E1014; border: 1px solid var(--line-strong); overflow: hidden; }
.film-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #0E1014; opacity: 0; transition: opacity .18s linear; }
.film-stage video.show { opacity: 1; }

.film-cap { position: absolute; left: 50%; transform: translateX(-50%); bottom: 66px; max-width: 84%;
  background: rgba(243, 239, 231, .96); color: #14151A; border-left: 3px solid #ED0733;
  padding: 9px 18px 10px; font-size: 17px; line-height: 1.34; text-align: center;
  box-shadow: 0 10px 26px rgba(14, 16, 20, .3); opacity: 0; transition: opacity .12s; pointer-events: none; z-index: 3; }
.film-cap.on { opacity: 1; }
/* до первого запуска ролик показывает постер — плашка субтитров не должна спорить с картинкой:
   делаем её «стеклянной» (полупрозрачный фон + размытие), при воспроизведении возвращаем полную */
.film-player.is-idle .film-cap { background: rgba(243, 239, 231, .62); color: rgba(20, 21, 26, .78);
  border-left-color: rgba(237, 7, 51, .5); box-shadow: 0 6px 20px rgba(14, 16, 20, .14);
  -webkit-backdrop-filter: blur(9px) saturate(1.08); backdrop-filter: blur(9px) saturate(1.08);
  font-size: 15.5px; padding: 8px 16px 9px; }
.film-player.is-idle .film-cap.on { opacity: .9; }

.film-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 52px; display: flex; align-items: center; gap: 12px;
  padding: 0 12px; background: linear-gradient(to top, rgba(14, 16, 20, .94), rgba(14, 16, 20, .5));
  color: #F3EFE7; z-index: 4; }
.film-bar button { background: none; border: 0; color: inherit; cursor: pointer; font: inherit; font-size: 13px;
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; }
.film-bar button:hover { background: rgba(243, 239, 231, .12); }
.film-bar button:focus-visible { outline: 2px solid #ED0733; outline-offset: 2px; }
.film-time { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; color: rgba(243, 239, 231, .72); min-width: 88px; }
.film-track { flex: 1; height: 3px; background: rgba(243, 239, 231, .26); position: relative; cursor: pointer; }
.film-track i { position: absolute; left: 0; top: 0; bottom: 0; background: #ED0733; width: 0; }
.film-langwrap { position: relative; }
.film-pill { border: 1px solid rgba(243, 239, 231, .45); border-radius: 999px; padding: 4px 10px !important;
  font-family: var(--mono); font-size: 11px !important; letter-spacing: .12em; gap: 7px !important; }
.film-pill .code { background: #ED0733; color: #fff; padding: 2px 6px; border-radius: 2px; font-size: 10px; }
.film-menu { position: absolute; right: 0; bottom: 40px; min-width: 206px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(14, 16, 20, .34); padding: 5px; display: none; z-index: 6; }
.film-menu.open { display: block; }
.film-menu button { width: 100%; justify-content: space-between; color: var(--text); font-size: 14.5px; padding: 9px 10px; }
.film-menu button:hover { background: var(--paper-2); }
.film-menu .tick { color: var(--red); opacity: 0; font-family: var(--mono); }
.film-menu button[aria-selected="true"] .tick { opacity: 1; }

.film-foot { display: flex; justify-content: space-between; gap: 16px; padding: 10px 2px 0;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }

.film-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.film-chips .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-right: 4px; }
.film-chip { border: 1px solid var(--line); background: transparent; color: var(--muted); font: inherit; font-size: 14px;
  padding: 8px 15px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.film-chip:hover { border-color: var(--line-strong); color: var(--text); }
.film-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.film-hint { margin: 14px 0 0; color: var(--faint); font-size: 14px; line-height: 1.5; }
.film-hint b { color: var(--text); font-weight: 600; }

/* теме переключатель */
.theme-btn { border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; padding: 7px 10px; display: inline-flex; align-items: center; gap: 6px; }
.theme-btn:hover { background: var(--paper-2); }
.theme-btn .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text); display: inline-block; }
.theme-btn[data-mode="dark"] .dot { background: #F2EEE6; }
.theme-btn[data-mode="light"] .dot { background: #101116; }

/* логотип в двух вариантах: тема переключается вручную */
.brand .logo-dark { display: none; }
html[data-theme="dark"] .brand .logo-light { display: none; }
html[data-theme="dark"] .brand .logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .brand .logo-light { display: none; }
  html:not([data-theme="light"]) .brand .logo-dark { display: block; }
}

@media (max-width: 900px) {
  .film-head h2 { font-size: 34px; }
  .film-side { display: none; }
}
@media (max-width: 720px) {
  .film { padding: 40px 0 36px; }
  .film-head { margin-bottom: 18px; }
  .film-head h2 { font-size: 28px; max-width: none; }
  .film-sub { font-size: 14.5px; }
  .film-bar { height: 44px; gap: 8px; padding: 0 8px; }
  .film-bar button { padding: 6px 7px; font-size: 12px; min-height: 36px; }
  .film-time { display: none; }
  .film-cap { left: 8px; right: 8px; transform: none; max-width: none; bottom: 50px;
    font-size: 12.5px; line-height: 1.3; padding: 6px 9px 7px; }
  .film-player.is-idle .film-cap { font-size: 12px; padding: 5px 8px 6px; }
  .film-chips { margin-top: 14px; gap: 8px; }
  .film-chip { font-size: 13px; padding: 8px 12px; }
  .film-foot { font-size: 9.5px; }
  .film-hint { font-size: 12.5px; }
}

/* ---------- section nav + pricing page (23.11.2026) ---------- */

.section-nav {
  position: sticky;
  top: 0;
  z-index: 9;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.section-nav-in {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 44px;
  overflow-x: auto;
  scrollbar-width: none;
}

.section-nav-in::-webkit-scrollbar { display: none; }

.section-nav a {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-nav a:hover,
.section-nav a[aria-current="page"] { color: var(--text); }
.section-nav a[aria-current="page"] { color: var(--red); }

section[id] { scroll-margin-top: 64px; }

.pricing-hero {
  padding: 76px 0 44px;
}

.pricing-hero-in { max-width: 880px; }
.pricing-hero h1 {
  margin: 10px 0 16px;
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.035em;
}
.pricing-hero .lead { max-width: 58ch; }
.pricing-hero .hero-actions { margin-top: 26px; }

.price-cards { padding: 0 0 90px; }

.price-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.price-card.is-featured {
  border-color: var(--red);
  box-shadow: 0 22px 52px rgba(196, 0, 40, .14);
}

.price-kicker {
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: .08em;
}

.price-amount {
  margin: 14px 0 2px;
  font-family: var(--serif);
  font-size: 54px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.04em;
}

.price-period {
  color: var(--faint);
  font-size: 10.5px;
  letter-spacing: .06em;
}

.price-card p {
  margin: 18px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.price-list {
  display: grid;
  gap: 9px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.price-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.4;
}

.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 12px;
}

.price-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.pricing-detail {
  padding: 86px 0;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}

.pricing-faq {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .price-cards-grid { grid-template-columns: 1fr; }
  .price-card { max-width: 620px; }
  .pricing-hero { padding: 58px 0 36px; }
}

@media (max-width: 720px) {
  .section-nav-in { gap: 18px; }
  .pricing-hero h1 { font-size: clamp(38px, 12vw, 56px); }
  .price-amount { font-size: 46px; }
}

/* 24.11.2026: в меню стало семь пунктов («Видео» + «Демо» на страницу демо).
   На узких экранах ужимаем отступ, чтобы строка влезала целиком без обрезки FAQ. */
@media (max-width: 460px) {
  .section-nav-in { gap: 12px; }
  .section-nav a { font-size: 9.5px; letter-spacing: .03em; }
}
.pricing-more { margin-top: 18px; }
.pricing-rows.is-detail > div { grid-template-columns: 180px 1fr; }
@media (max-width: 720px) {
  .pricing-rows.is-detail > div { grid-template-columns: 1fr; }
}

/* 23.11.2026: красная кнопка «наверх» слева + мобильная шапка без переполнения. */
.to-top {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  /* Same red as the support chat launcher. */
  background: linear-gradient(135deg, #ED0733, #B80027);
  color: #fff;
  font: 500 24px/1 var(--ui);
  box-shadow: 0 8px 24px rgba(237, 7, 51, .35);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease, box-shadow .18s ease;
}

.to-top.is-on {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: linear-gradient(135deg, #F01442, #C40028);
  box-shadow: 0 10px 28px rgba(237, 7, 51, .45);
  transform: translateY(-1px);
}
.to-top:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }

@media (max-width: 720px) {
  .top-nav .btn-sm { display: none; }
  .to-top { left: 12px; bottom: 12px; width: 56px; height: 56px; font-size: 24px; }
}
@media (max-width: 360px) {
  .section-nav-in { gap: 10px; }
  .section-nav a { font-size: 9px; letter-spacing: .04em; }
}
