/* =========================================================
   DOS.PRO — шуточный лендинг курса MS-DOS
   Палитра: бумага, графит, глубокий зелёный
   ========================================================= */

:root {
  --paper: #f4f2eb;
  --paper-soft: #fbfaf5;
  --paper-tint: #ece9df;
  --ink: #14150f;
  --ink-soft: #45473c;
  --muted: #6d6f61;
  --line: #d7d3c6;
  --line-strong: #b9b5a6;
  --accent: #2f5b40;
  --accent-soft: #dde7d6;
  --accent-bright: #9fbe85;
  --danger: #a1362c;
  --dark: #15170f;
  --dark-2: #1b1e14;
  --dark-line: #353b2b;
  --dark-text: #f0eee5;
  --dark-muted: #9aa08c;

  --sans: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --container: 1180px;
  --gutter: clamp(18px, 4vw, 48px);
  --radius: 10px;
  --header-h: 72px;
}

/* ---------- Reset ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
}

body.nav-open {
  overflow: hidden;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote {
  margin: 0;
}

ul, ol {
  padding: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--accent);
  color: var(--paper-soft);
}

[hidden] {
  display: none !important;
}

.mono {
  font-family: var(--mono);
  font-size: 0.9em;
  letter-spacing: -0.02em;
}

/* ---------- Фон (заглушка под фото) ---------- */

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath d='M32 0.5H0.5V32' fill='none' stroke='%23d8d4c8' stroke-width='1'/%3E%3C/svg%3E") 0 0 / 32px 32px repeat;
  opacity: 0.42;
  transition: opacity 0.6s ease;
}

/* Если положить фото в assets/background.jpg, оно подхватится автоматически */
body.has-bg .page-bg {
  opacity: 0.13;
  filter: grayscale(1) contrast(0.92);
}

/* ---------- Утилиты ---------- */

.container {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper-soft);
  font-size: 0.85rem;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper-soft);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

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

.btn:active {
  transform: translateY(1px);
}

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

.btn-ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper-soft);
}

.btn-small {
  padding: 10px 16px;
  font-size: 0.82rem;
}

.btn-full {
  width: 100%;
}

.btn-light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.btn-light:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  color: var(--ink);
}

.btn:focus-visible,
.nav-toggle:focus-visible,
summary:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
}

.eyebrow-light {
  color: var(--dark-muted);
}

.eyebrow-light::before {
  background: var(--accent-bright);
}

h2 {
  font-size: clamp(2rem, 3.7vw, 3.25rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.038em;
}

.section {
  padding: clamp(76px, 9vw, 128px) 0;
}

.section-tinted {
  background: var(--paper-tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: clamp(24px, 4vw, 56px);
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-intro {
  justify-self: end;
  max-width: 46ch;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 242, 235, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(244, 242, 235, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-mark {
  color: var(--accent);
}

.logo-cursor {
  color: var(--accent);
  animation: blink 1.2s steps(1) infinite;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 28px);
  margin-left: auto;
}

.nav a {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: clamp(18px, 2.5vw, 30px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(52px, 7vw, 92px) 0 clamp(64px, 8vw, 104px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(251, 250, 245, 0.6);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(47, 91, 64, 0.35);
  animation: pulse 2.4s ease-out infinite;
}

.hero h1 {
  margin: 22px 0 24px;
  font-size: clamp(2.75rem, 5.6vw, 5.1rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.048em;
  text-wrap: balance;
}

.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.03em;
  letter-spacing: -0.02em;
  color: var(--accent);
  white-space: nowrap;
}

.hero-lead {
  max-width: 55ch;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-trust {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.hero-trust strong {
  color: var(--accent);
  font-weight: 600;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(36px, 4.5vw, 52px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-stats div + div {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.hero-stats strong {
  display: block;
  font-family: var(--mono);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.hero-stats span {
  display: block;
  margin-top: 6px;
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--muted);
}

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

/* ---------- Terminal ---------- */

.terminal {
  overflow: hidden;
  border: 1px solid #2c3122;
  border-radius: 10px;
  background: var(--dark);
  color: #cfd8c3;
  font-family: var(--mono);
  font-size: clamp(10.5px, 1.15vw, 12.5px);
  box-shadow: 0 30px 60px rgba(20, 21, 15, 0.14);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid #2c3122;
  background: #191c12;
}

.terminal-dots {
  display: inline-flex;
  gap: 5px;
}

.terminal-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4a513d;
}

.terminal-dots i:nth-child(2) {
  background: #6b6a45;
}

.terminal-dots i:nth-child(3) {
  background: #6d4b3f;
}

.terminal-title {
  overflow: hidden;
  color: #8f9782;
  font-size: 9.5px;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.terminal-badge {
  margin-left: auto;
  color: #707865;
  font-size: 8.5px;
  letter-spacing: 0.08em;
}

.terminal-body {
  padding: 20px 20px 24px;
  line-height: 1.85;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.terminal-body p {
  margin: 0;
}

.t-prompt {
  color: #9fbe85;
}

.t-ok {
  color: #d6c98e;
}

.t-dim {
  color: #75806a;
}

.t-cursor {
  display: inline-block;
  width: 0.62em;
  height: 1.05em;
  margin-left: 1px;
  background: #9fbe85;
  vertical-align: text-bottom;
  animation: blink 1.1s steps(1) infinite;
}

.terminal-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 10px 20px;
  border-top: 1px solid #2c3122;
  background: #191c12;
  color: #707865;
  font-size: 8.5px;
  letter-spacing: 0.12em;
}

.terminal-caption {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-align: center;
}

/* ---------- Ticker ---------- */

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 245, 0.55);
  padding: 13px 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 44s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
}

.ticker-group span {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  white-space: nowrap;
  color: var(--ink-soft);
}

.ticker-sep {
  font-size: 7px !important;
  color: var(--accent) !important;
}

/* ---------- Advantages ---------- */

.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.adv-card {
  display: flex;
  flex-direction: column;
  min-height: 206px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(251, 250, 245, 0.62);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.adv-card:hover {
  border-color: var(--ink);
  background: var(--paper-soft);
  transform: translateY(-2px);
}

.adv-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.adv-card h3 {
  margin: 28px 0 8px;
  font-size: 1.03rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.25;
}

.adv-card p {
  font-size: 0.865rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Program ---------- */

.program-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.75fr;
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
}

.module-list {
  list-style: none;
}

.module {
  display: grid;
  grid-template-columns: 44px 1fr 24px;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line-strong);
  transition: padding-left 0.25s ease;
}

.module:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.module:hover {
  padding-left: 6px;
}

.module-num {
  padding-top: 3px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.module h3 {
  margin-bottom: 6px;
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.module-bonus h3 {
  color: var(--accent);
}

.module p {
  max-width: 58ch;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.module-tags span {
  padding: 4px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.module-arrow {
  align-self: center;
  color: var(--muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.module:hover .module-arrow {
  opacity: 1;
  transform: none;
  color: var(--accent);
}

.format-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper-soft);
}

.format-label {
  font-family: var(--mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.format-list {
  list-style: none;
  margin: 16px 0 24px;
}

.format-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.format-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.format-list li span {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--accent);
}

.format-note {
  margin-top: 12px;
  font-size: 0.73rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

/* ---------- Seats ---------- */

.seats {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 116px) 0;
  background: var(--dark);
  color: var(--dark-text);
}

.seats::before {
  content: "640 KB";
  position: absolute;
  right: -0.06em;
  bottom: -0.18em;
  font-family: var(--mono);
  font-size: clamp(120px, 26vw, 340px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.055);
  pointer-events: none;
  user-select: none;
}

.seats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
}

.seats h2 {
  max-width: 17ch;
  margin-bottom: 20px;
  color: var(--dark-text);
}

.seats-copy {
  max-width: 48ch;
  color: #b9bdae;
  font-size: 0.95rem;
  line-height: 1.7;
}

.seats-note {
  margin-top: 24px;
  padding-left: 12px;
  border-left: 2px solid var(--accent-bright);
  font-family: var(--mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dark-muted);
}

.seats-panel {
  padding: clamp(24px, 3.5vw, 36px);
  border: 1px solid var(--dark-line);
  border-radius: 12px;
  background: var(--dark-2);
}

.seats-label {
  font-family: var(--mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--dark-muted);
}

.seats-number {
  margin: 10px 0 20px;
  font-family: var(--mono);
  font-size: clamp(5rem, 11vw, 8.4rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.07em;
  color: var(--dark-text);
  font-variant-numeric: tabular-nums;
}

.seats-bar {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #313728;
}

.seats-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent-bright);
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.seats-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8f9582;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 28px 0 24px;
}

.countdown div {
  padding: 10px 6px;
  border: 1px solid var(--dark-line);
  border-radius: 6px;
  background: #171a11;
  text-align: center;
}

.countdown strong {
  display: block;
  font-family: var(--mono);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--dark-text);
  font-variant-numeric: tabular-nums;
}

.countdown span {
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dark-muted);
}

.seats-fine {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7e8474;
  text-align: center;
}

/* ---------- Reviews ---------- */

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.review {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(251, 250, 245, 0.62);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.review:hover {
  border-color: var(--line-strong);
  background: var(--paper-soft);
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-id {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.review-stars {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.review blockquote {
  flex: 1;
  margin: 28px 0;
  font-size: 1.05rem;
  line-height: 1.48;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.review figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
}

.review figcaption strong {
  display: block;
  font-size: 0.87rem;
  font-weight: 600;
  line-height: 1.3;
}

.review figcaption small {
  display: block;
  margin-top: 2px;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ---------- Pricing ---------- */

.price-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
}

.price-copy h2 {
  max-width: 15ch;
  margin-bottom: 20px;
}

.price-copy > p:not(.eyebrow) {
  max-width: 46ch;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.price-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}

.price-facts strong {
  display: block;
  font-family: var(--mono);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.price-facts span {
  display: block;
  margin-top: 4px;
  font-size: 0.73rem;
  color: var(--muted);
}

.price-card {
  position: relative;
  padding: clamp(26px, 3.5vw, 38px);
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: var(--paper-soft);
  box-shadow: 0 24px 60px rgba(20, 21, 15, 0.08);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-soft);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.price-card h3 {
  margin: 8px 0 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.price-old {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.price-now {
  margin-top: 4px;
  font-size: clamp(2.8rem, 4.5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1;
}

.price-now span {
  font-size: 0.48em;
  font-weight: 500;
  color: var(--accent);
}

.price-installment {
  margin: 10px 0 24px;
  font-size: 0.77rem;
  color: var(--muted);
}

.price-list {
  list-style: none;
  border-top: 1px solid var(--line);
}

.price-list li {
  display: flex;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
  line-height: 1.45;
}

.price-list li::before {
  content: "✓";
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--accent);
}

.price-card .btn {
  margin-top: 24px;
}

.price-fine {
  margin-top: 10px;
  font-size: 0.7rem;
  color: var(--muted);
  text-align: center;
}

/* ---------- Guarantee ---------- */

.guarantee {
  display: grid;
  grid-template-columns: 180px minmax(0, 1.2fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(36px, 5vw, 64px);
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: var(--paper-soft);
  box-shadow: 0 20px 50px rgba(20, 21, 15, 0.05);
}

.guarantee-seal {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper-tint);
}

.guarantee-seal::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed var(--line-strong);
  border-radius: 50%;
  pointer-events: none;
}

.guarantee-seal span {
  font-family: var(--mono);
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.guarantee-seal strong {
  margin: 4px 0 2px;
  font-family: var(--mono);
  font-size: clamp(3.4rem, 5.5vw, 4.8rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.08em;
  color: var(--accent);
}

.guarantee-main .eyebrow {
  margin-bottom: 12px;
}

.guarantee-main h3 {
  max-width: 18ch;
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.guarantee-main > p:not(.eyebrow) {
  max-width: 46ch;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}

.guarantee-main .btn {
  margin-top: 20px;
}

.guarantee-terms {
  padding-left: clamp(20px, 3vw, 40px);
  border-left: 1px solid var(--line);
}

.guarantee-terms-title {
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.guarantee-terms ul {
  list-style: none;
}

.guarantee-terms li {
  position: relative;
  padding: 9px 0 9px 18px;
  border-top: 1px solid var(--line);
  font-size: 0.83rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.guarantee-terms li::before {
  content: "✓";
  position: absolute;
  top: 9px;
  left: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
}

.guarantee-terms li:last-child {
  border-bottom: 1px solid var(--line);
}

.guarantee-fine {
  margin-top: 12px;
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--muted);
}

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

.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  align-items: start;
  gap: clamp(32px, 6vw, 80px);
}

.faq-head h2 {
  max-width: 13ch;
  margin-bottom: 20px;
}

.faq-head .section-intro {
  justify-self: start;
}

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

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

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

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

.faq-list summary::after {
  content: "+";
  flex: none;
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.faq-list details[open] summary::after {
  content: "−";
  color: var(--accent);
}

.faq-list summary:hover {
  color: var(--accent);
}

.faq-list details p {
  max-width: 65ch;
  padding: 0 40px 22px 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ---------- Contact ---------- */

.contact-section {
  border-top: 1px solid var(--line);
  background: rgba(236, 233, 223, 0.55);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: start;
  gap: clamp(36px, 6vw, 80px);
}

.contact-copy h2 {
  max-width: 14ch;
  margin-bottom: 20px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 44ch;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.contact-points {
  list-style: none;
  margin-top: 30px;
}

.contact-points li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--line-strong);
  font-size: 0.87rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.contact-points li:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.contact-points span {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--accent);
}

.contact-terminal {
  margin-top: 28px;
  padding: 18px;
  border-radius: 8px;
  background: var(--dark);
  color: #cfd8c3;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.form-card {
  padding: clamp(22px, 3.5vw, 36px);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--paper-soft);
  box-shadow: 0 20px 50px rgba(20, 21, 15, 0.06);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.field label > span[aria-hidden] {
  color: var(--accent);
}

.label-optional {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #d6d2c6;
  border-radius: 6px;
  background: #fffdf8;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 104px;
  resize: vertical;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%236d6f61' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  cursor: pointer;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a3a193;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47, 91, 64, 0.12);
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(161, 54, 44, 0.08);
}

.field-error {
  display: none;
  margin-top: 6px;
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--danger);
}

.field.invalid .field-error {
  display: block;
}

.field-check {
  margin-top: 4px;
}

.field label.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  cursor: pointer;
}

.field label.checkbox input {
  width: 17px;
  height: 17px;
  flex: none;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  accent-color: var(--accent);
  cursor: pointer;
}

.field label.checkbox input:focus {
  box-shadow: none;
}

.form-note {
  margin-top: 10px;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

.form-success {
  padding: 4px 0;
}

.form-success-label {
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.form-success h3 {
  margin-bottom: 12px;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.form-success > p:not(.form-success-label):not(.form-success-note) {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.form-success-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--muted);
}

.form-success .btn {
  margin-top: 20px;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 56px 0 28px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.footer-tagline {
  margin-top: 16px;
  max-width: 34ch;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-title {
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-mono {
  font-family: var(--mono);
  font-size: 0.73rem;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--muted);
}

.footer-disclaimer {
  max-width: 68ch;
}

.footer-disclaimer strong {
  color: var(--ink-soft);
}

/* ---------- Toasts ---------- */

.toast-region {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  width: min(336px, calc(100vw - 32px));
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  background: #fffdf7;
  box-shadow: 0 12px 30px rgba(20, 21, 15, 0.14);
  pointer-events: auto;
  animation: toast-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.toast.is-out {
  animation: toast-out 0.3s ease forwards;
}

.toast-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
}

.toast-content {
  flex: 1;
  min-width: 0;
  padding-top: 1px;
}

.toast-content p {
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--ink-soft);
}

.toast-content strong {
  font-weight: 600;
  color: var(--ink);
}

.toast-content small {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.toast-close {
  flex: none;
  padding: 0 2px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
  transition: color 0.2s ease;
}

.toast-close:hover {
  color: var(--ink);
}

/* ---------- Reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Animations ---------- */

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 91, 64, 0.35); }
  70% { box-shadow: 0 0 0 7px rgba(47, 91, 64, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 91, 64, 0); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes toast-out {
  to { opacity: 0; transform: translateY(8px); }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-intro {
    justify-self: start;
    max-width: 60ch;
  }

  .guarantee {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .guarantee-seal {
    grid-row: 1 / span 2;
  }

  .guarantee-terms {
    grid-column: 2;
    padding-top: 22px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 640px;
    margin-top: 12px;
  }

  .seats-grid,
  .price-grid,
  .contact-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .seats-grid {
    gap: 36px;
  }

  .seats h2,
  .price-copy h2,
  .contact-copy h2,
  .faq-head h2 {
    max-width: 22ch;
  }

  .seats-panel {
    max-width: 560px;
  }

  .program-grid {
    grid-template-columns: 1fr;
  }

  .format-card {
    position: static;
    max-width: 560px;
  }

  .price-card {
    max-width: 520px;
  }

  .review-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
  }

  .review blockquote {
    margin: 20px 0;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 64px;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 6px var(--gutter) 14px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 20px 30px rgba(20, 21, 15, 0.06);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .header-actions {
    margin-left: auto;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 40px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 10px;
  }

  .hero-stats div + div {
    padding-left: 10px;
  }

  .hero-stats span {
    font-size: 0.68rem;
  }

  .terminal-body {
    padding: 16px 14px 20px;
  }

  .terminal-foot {
    padding: 10px 14px;
  }

  .adv-grid {
    grid-template-columns: 1fr;
  }

  .adv-card {
    min-height: 0;
  }

  .adv-card h3 {
    margin-top: 18px;
  }

  .module {
    grid-template-columns: 34px 1fr;
    gap: 12px;
  }

  .module-arrow {
    display: none;
  }

  .module:hover {
    padding-left: 0;
  }

  .faq-list details p {
    padding-right: 12px;
  }

  .price-facts {
    gap: 20px;
  }

  .guarantee {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }

  .guarantee-seal {
    width: 132px;
    justify-self: start;
    grid-row: auto;
  }

  .guarantee-terms {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .seats::before {
    opacity: 0.7;
  }
}

@media (max-width: 480px) {
  .header-actions .btn {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.1rem);
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-stats div + div {
    padding-top: 12px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-stats span {
    margin-top: 2px;
  }

  .badge {
    font-size: 9px;
  }

  .countdown strong {
    font-size: 1.2rem;
  }

  .seats-meta {
    font-size: 8px;
  }

  .toast-region {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .toast {
    width: 100%;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ticker-track {
    animation: none;
  }

  .ticker {
    overflow-x: auto;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
