/* ==========================================================================
   АгентНабор — магазин пакетов инструкций
   Стиль juliarakova.ru: тёплый кремовый фон, terra-акцент, Unbounded + Manrope.
   ========================================================================== */

@font-face {
  font-family: "Unbounded";
  src: url("/fonts/unbounded-cyrillic-ext.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F;
}
@font-face {
  font-family: "Unbounded";
  src: url("/fonts/unbounded-cyrillic.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  src: url("/fonts/unbounded-latin-ext.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308;
}
@font-face {
  font-family: "Unbounded";
  src: url("/fonts/unbounded-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2190-21BB, U+2212, U+2215;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-cyrillic-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-cyrillic.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2190-21BB, U+2212, U+2215;
}

:root {
  /* поверхности: глубокий зелёный холст + бумажные карточки */
  --bg: #102923;
  --bg-soft: #0c231e;
  --card: #f5f1e7;
  --card-2: #ece6d7;
  --border: #365044;
  --border-strong: #4d6146;
  /* текст на холсте */
  --text: #f4efe2;
  --muted: #a5b4a6;
  /* акценты */
  --accent: #cfbc8c;
  --accent-hover: #ddc99b;
  --accent-ink: #183c2e;
  --accent-soft: #eae5d5;
  --accent-2: #9fbf8f;
  --accent-2-soft: #1c392c;
  --gold: #cfbc8c;
  --danger: #e2a3a3;
  --danger-soft: #2a1f1f;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-xs: 5px;
  --container: 1180px;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Unbounded", "Onest", system-ui, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --shadow-card: none;
  --shadow-float: 0 30px 70px -44px rgba(0, 0, 0, 0.75);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.14;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--text); text-decoration: none; }

svg { display: block; }

button { font-family: inherit; }

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -70px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: var(--radius-xs);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow { max-width: 780px; }

/* ------------------------------------------------------------------ шапка */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 240, 0.94);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.logo-mark { flex: none; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius-xs);
  background: none;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-link:hover { color: var(--text); background: var(--card); }

/* ------------------------------------------------------------------ кнопки */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

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

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

.btn-soft {
  background: var(--accent-2-soft);
  border-color: rgba(61, 220, 151, 0.4);
  color: var(--accent-2);
}
.btn-soft:hover { border-color: var(--accent-2); }

.btn-block { width: 100%; }

.btn[disabled] { opacity: 0.55; cursor: default; }

.link-btn {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  text-align: left;
}
.link-btn:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.text-link {
  border: 0;
  background: none;
  padding: 0;
  min-height: 44px;
  color: var(--accent);
  font-size: 14px;
  cursor: pointer;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); }

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

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

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 12px;
  border: 1px solid rgba(61, 220, 151, 0.35);
  border-radius: 999px;
  background: var(--accent-2-soft);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 880px;
  font-size: clamp(27px, 4.2vw, 46px);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.hero-lead {
  max-width: 640px;
  margin-top: 20px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 40px 0 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
  overflow: hidden;
}

.hero-stats > div {
  padding: 16px 18px;
  background: var(--bg-soft);
}

.hero-stats dt {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-stats dd {
  margin: 6px 0 0;
  font-size: 22px;
  font-weight: 700;
}

/* --------------------------------------------------------------- секции */

.section { padding: 72px 0; }

.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.section-head h2 { font-size: clamp(24px, 3.4vw, 34px); }
.section-head p { color: var(--muted); }

.catalog-head {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.catalog-head p { font-size: 14px; }

.page-title { font-size: clamp(28px, 4vw, 40px); }
.lead { margin-top: 12px; color: var(--muted); }

/* ------------------------------------------------------------------ шаги */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.step {
  padding: 22px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.step-num {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.step h3 { font-size: 17px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* ------------------------------------------------------------ совместимость */

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

.plash {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--card);
  font-size: 14px;
  font-weight: 500;
}

.plash-mark {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
}

.plash:nth-child(even) .plash-mark { background: var(--accent-2); }

.compat-note {
  max-width: 720px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

/* -------------------------------------------------------------- фильтры */

.filters {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-row-secondary {
  flex-wrap: wrap;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.chip-row-secondary::-webkit-scrollbar { display: none; }

.chip-row-secondary .chip {
  flex: none;
  font-size: 13px;
  min-height: 40px;
  padding: 0 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.chip:hover { color: var(--text); border-color: var(--border-strong); }

.chip[aria-pressed="true"] {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text);
}

.search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 260px;
  flex: 0 1 340px;
}

.search svg {
  position: absolute;
  left: 14px;
  color: var(--muted);
  pointer-events: none;
}

.search input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px 0 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
}

.search input::placeholder { color: #7d8698; }
.search input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* -------------------------------------------------------------- карточки */

.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.agent-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  min-width: 0;
}

.card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-free {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(61, 220, 151, 0.45);
  border-radius: 7px;
  background: var(--accent-2-soft);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.agent-card h3 {
  font-size: 19px;
  line-height: 1.25;
}

.card-tagline {
  color: var(--muted);
  font-size: 14px;
  min-height: 42px;
}

.card-label {
  margin-bottom: 6px;
  color: #b9c1cf;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-list {
  display: grid;
  gap: 6px;
}

.card-list li {
  position: relative;
  padding-left: 14px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: var(--accent);
}

.card-io {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.card-io div { display: grid; gap: 2px; }

.card-io dt {
  color: #b9c1cf;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card-io dd {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.4;
}

.card-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.card-meta {
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

.card-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-2);
}

.price-note { color: var(--muted); font-size: 13px; }

.card-actions {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.card-actions .btn { flex: 1 1 auto; padding: 0 12px; font-size: 14px; }
.card-actions .text-link { flex: 0 0 auto; }

.empty {
  padding: 28px 0;
  color: var(--muted);
}

.more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* --------------------------------------------------------------- bundle */

.bundle {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--card);
}

.bundle-text h2 { font-size: clamp(24px, 3.4vw, 32px); }
.bundle-text p { margin-top: 12px; color: var(--muted); }

.bundle-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.bundle-list li {
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--muted);
  font-size: 12.5px;
}

.bundle-action {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}

.bundle-price {
  color: var(--accent-2);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.bundle-save { color: var(--muted); font-size: 13px; }

.fine {
  color: var(--muted);
  font-size: 12.5px;
}

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

.faq { display: grid; gap: 10px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
  padding: 2px 18px;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 12px 0;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  flex: none;
  color: var(--accent);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

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

.faq-item p {
  padding: 0 0 16px;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------------------------------------------------------------- агент */

.agent-view { padding: 40px 0 80px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}

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

.agent-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.agent-title {
  font-size: clamp(25px, 3.6vw, 38px);
  letter-spacing: -0.035em;
}

.agent-tagline {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

.agent-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.fact {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
}

.fact dt {
  color: #b9c1cf;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.fact dd {
  margin: 6px 0 0;
  color: var(--text);
  font-size: 15px;
}

.panel {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.panel + .panel { margin-top: 16px; }

.panel h2 { font-size: 20px; margin-bottom: 12px; }

.panel h3 { font-size: 16px; margin-bottom: 8px; }

.panel p { color: var(--muted); font-size: 14.5px; }

.bullet-list { display: grid; gap: 8px; margin-top: 10px; }

.bullet-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14.5px;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
}

.bullet-list.accent2 li::before { background: var(--accent-2); }
.bullet-list.limits li::before { background: var(--danger); }

.agent-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.preview-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.file-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 560px;
}

.file-table th,
.file-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.file-table th {
  color: #b9c1cf;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--bg-soft);
}

.file-table tr:last-child td { border-bottom: 0; }

.file-table td { color: var(--muted); }
.file-table td:first-child { color: var(--text); font-family: var(--mono); font-size: 13px; }

.file-table .always {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 6px;
  border: 1px solid rgba(61, 220, 151, 0.4);
  border-radius: 5px;
  color: var(--accent-2);
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.buy-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--card);
}

.buy-bar-text { flex: 1 1 260px; }

.buy-bar-price {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-2);
}

.buy-bar-note { color: var(--muted); font-size: 13px; }

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

/* ---------------------------------------------------------------- выдача */

.order-view { padding: 40px 0 80px; }

.order-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.order-title { font-size: clamp(28px, 4vw, 40px); }

.order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 14px;
}

.order-meta strong { color: var(--text); font-weight: 600; }

.order-note {
  margin-top: 16px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-2);
  border-radius: var(--radius-xs);
  background: var(--card);
  color: var(--muted);
  font-size: 14px;
}

.download-all {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
  padding: 20px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--card);
}

.download-all .grow { flex: 1 1 240px; }

.download-all p { color: var(--muted); font-size: 14px; }

.file-rows { display: grid; gap: 8px; }

.file-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  background: var(--card);
}

.file-row-main { flex: 1 1 240px; min-width: 0; }
.file-row-name { font-family: var(--mono); font-size: 13.5px; overflow-wrap: anywhere; }
.file-row-meta { color: var(--muted); font-size: 12.5px; }
.file-row-size { color: var(--muted); font-family: var(--mono); font-size: 13px; flex: none; }

.file-row .btn { min-height: 40px; padding: 0 14px; font-size: 13.5px; }

.group-label {
  margin: 22px 0 10px;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------------------------------------------------------------- модалка */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 19, 14, 0.42);
}

.modal-panel {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: min(88vh, 860px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--card);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.modal-title { font-size: 22px; }

.modal-body { display: grid; gap: 16px; }

.modal-sub {
  color: var(--muted);
  font-size: 14.5px;
}

.platform-locked {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border: 1px solid rgba(61, 220, 151, 0.3);
  border-radius: var(--radius-xs);
  background: var(--accent-2-soft);
  color: var(--text);
  font-size: 14px;
}

.platform-locked input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--accent-2);
}

.platform-locked small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.platform-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.platform-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  background: var(--bg-soft);
  cursor: pointer;
  font-size: 14px;
}

.platform-option:hover { border-color: var(--border-strong); }

.platform-option input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--accent);
}

.platform-option small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.selection-summary {
  padding: 12px 14px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-xs);
  color: var(--text);
  font-size: 14px;
}

.field { display: grid; gap: 6px; }

.field label { font-size: 13px; color: #b9c1cf; }

.field input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
}

.field input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.field-hint { color: var(--muted); font-size: 12.5px; }

.form-error {
  padding: 10px 14px;
  border: 1px solid rgba(180, 35, 24, 0.35);
  border-radius: var(--radius-xs);
  background: var(--danger-soft);
  color: #ffb3b3;
  font-size: 13.5px;
}

.form-error[hidden] { display: none; }

.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.modal-actions .btn { flex: 1 1 200px; }

.preview-text {
  max-height: 52vh;
  overflow: auto;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  background: var(--bg);
  color: #d7dce7;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.preview-tabs { display: flex; flex-wrap: wrap; gap: 8px; }

.legal-text { display: grid; gap: 12px; color: var(--muted); font-size: 14.5px; }
.legal-text h3 { color: var(--text); font-size: 15px; margin-top: 6px; }

/* ---------------------------------------------------------------- подвал */

.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.footer-logo { font-weight: 700; }

.footer-note {
  max-width: 420px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }

.footer-bottom {
  display: grid;
  gap: 8px;
  padding-top: 20px;
  color: var(--muted);
  font-size: 13px;
}

.footer-disclaimer { max-width: 860px; }

/* ------------------------------------------------------------ адаптив */

@media (max-width: 900px) {
  .bundle { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .header-nav { display: none; }
  .section { padding: 52px 0; }
  .hero { padding-top: 40px; }
  .agent-grid { grid-template-columns: 1fr; }
  .agent-grid-2 { grid-template-columns: 1fr; }
  .card-tagline { min-height: 0; }

  .chip-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .chip-row::-webkit-scrollbar { display: none; }
  .chip-row .chip { flex: none; }

  .filters { margin-bottom: 20px; }

  .catalog-head { align-items: stretch; }
  .search { flex: 1 1 100%; min-width: 0; }

  .modal { padding: 0; align-items: flex-end; }
  .modal-panel {
    max-width: none;
    max-height: 92vh;
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 20px 18px 24px;
  }

  .platform-locked {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border: 1px solid rgba(61, 220, 151, 0.3);
  border-radius: var(--radius-xs);
  background: var(--accent-2-soft);
  color: var(--text);
  font-size: 14px;
}

.platform-locked input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--accent-2);
}

.platform-locked small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.platform-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .platform-option { min-height: 56px; padding: 8px 10px; font-size: 13px; }
  .platform-option small { display: none; }
  .platform-option input { width: 16px; height: 16px; margin-top: 3px; }

  .file-table { min-width: 520px; }

  .container { padding: 0 18px; }
  .chip-row { margin: 0 -18px; padding-left: 18px; padding-right: 18px; }
}

@media (max-width: 420px) {
  .hero-stats dd { font-size: 19px; }
  .card-actions { flex-wrap: wrap; }
  .card-actions .btn { flex: 1 1 100%; }
  .card-actions .text-link { flex: 1 1 100%; justify-content: center; display: inline-flex; }
  .buy-bar, .download-all { padding: 16px; }
  .btn { font-size: 14.5px; }
}

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

/* == PATCH: dashboard 2026-11-10 == */
.dash {
  padding-top: 40px;
  padding-bottom: 72px;
}

.dash-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.dash-head h1 { margin-top: 10px; }

.dash-head .lead { margin-top: 14px; color: var(--muted); font-size: 17px; }

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}

.kpi {
  padding: 18px 18px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.kpi dt {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.kpi dd {
  margin: 8px 0 2px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  line-height: 1;
}

.kpi-note { font-size: 12px; color: var(--muted); }

.dash-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 16px;
  margin-bottom: 16px;
}

.dash-panel {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.dash-panel h2 {
  font-size: 20px;
  margin-bottom: 16px;
}

.bar-list { display: grid; gap: 4px; }

.bar-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 7px 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--text);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.bar-row:hover { background: var(--bg-soft); }
.bar-row.is-active { border-color: var(--accent); background: var(--accent-soft); }

.bar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.bar-track {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}

.bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
}

.bar-count { color: var(--muted); font-size: 13px; }

.dash-table-wrap { overflow-x: auto; }

.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.dash-table th {
  padding: 0 10px 10px;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  white-space: nowrap;
}

.dash-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.dash-table tbody tr:last-child td { border-bottom: 0; }

.dash-table-compact td { padding: 9px 10px; font-size: 13.5px; }

.dash-files { color: var(--muted); font-size: 12.5px; }

.dash-name {
  padding: 0;
  font-weight: 600;
  font-size: 15px;
  text-align: left;
}

.dash-role {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.btn-xs { min-height: 36px; padding: 0 12px; font-size: 13px; }

.dash-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.dash-toolbar h2 { margin-bottom: 0; }

.dash-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.dash-controls input[type="search"] {
  width: min(260px, 100%);
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 14px;
}

.dash-controls input[type="search"]:focus { outline: 2px solid var(--accent); outline-offset: 2px; }

.dash-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}

.dash-check input { accent-color: var(--accent); width: 18px; height: 18px; }

.seg {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}

.seg button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13.5px;
  cursor: pointer;
}

.seg button[aria-pressed="true"] {
  background: var(--card);
  color: var(--text);
  box-shadow: 0 1px 0 rgba(23, 19, 14, 0.08);
}

.dash-count { margin: 6px 0 14px; font-size: 12.5px; color: var(--muted); }

.dash-footer { margin-top: 24px; }

@media (max-width: 980px) {
  .kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dash-cols { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .dash { padding-top: 24px; padding-bottom: 48px; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi dd { font-size: 24px; }
  .dash-panel { padding: 18px; }
  .dash-controls { width: 100%; }
  .dash-controls input[type="search"] { width: 100%; }
  .seg { width: 100%; }
  .seg button { flex: 1 1 auto; }

  /* таблица агентов превращается в карточки: без горизонтального скролла */
  .dash-table-wrap { overflow: visible; }
  .dash-table,
  .dash-table tbody,
  .dash-table tr,
  .dash-table td { display: block; width: 100%; }
  .dash-table thead { display: none; }
  .dash-table tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }
  .dash-table tbody tr:last-child { border-bottom: 0; padding-bottom: 0; }
  .dash-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0;
    border: 0;
    font-size: 14px;
  }
  .dash-table td:first-child { display: block; }
  .dash-table td:nth-child(3),
  .dash-table td:nth-child(4) { display: none; }
  .dash-table td:nth-child(2) { margin-top: 6px; }
  .dash-table td:nth-child(2)::before,
  .dash-table td:nth-child(5)::before {
    content: attr(data-label);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .dash-table td:nth-child(6) { margin-top: 10px; justify-content: flex-start; }
  .dash-table td:nth-child(6) .btn { width: 100%; }
}
/* == /PATCH == */

/* == PATCH: premium theme 2026-11-13 == */
@font-face {
  font-family: "Onest";
  src: url("/fonts2/onest-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  src: url("/fonts2/onest-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: "Onest";
  src: url("/fonts2/onest-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  src: url("/fonts2/onest-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: "Onest";
  src: url("/fonts2/onest-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  src: url("/fonts2/onest-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.eyebrow,
.card-label,
.card-io dt,
.dash-table th {
  font-family: var(--font);
  letter-spacing: 0.12em;
}

.eyebrow { color: var(--gold); font-size: 10px; }

.site-header {
  background: rgba(12, 35, 30, 0.94);
  border-bottom: 1px solid var(--line, #365044);
  backdrop-filter: blur(6px);
}

.logo { color: var(--ink-strong, #f4efe2); }
.nav-link { color: var(--muted); font-size: 13px; }
.nav-link:hover { color: var(--gold); }

/* бумажные поверхности */
.agent-card,
.dash-panel,
.modal-panel,
.step,
.faq-item,
.bundle,
.panel,
.buy-bar,
.preview-text,
.file-table,
.legal-text {
  background: var(--card);
  color: #183c2e;
  border: 1px solid #ded6c5;
  border-radius: 10px;
  box-shadow: none;
}

.agent-card h3,
.dash-panel h2,
.step h3,
.faq-item summary,
.bundle h2,
.buy-bar h2,
.preview-text h3 {
  color: #183c2e;
}

.card-tagline,
.card-list li,
.card-io dd,
.card-meta,
.card-label,
.card-io dt,
.dash-role,
.kpi-note,
.step p,
.step .card-label,
.faq-body,
.modal-sub,
.field-hint,
.bundle p,
.buy-bar p {
  color: #78836e;
}

.card-io,
.card-foot,
.dash-table th,
.dash-table td,
.faq-item {
  border-color: #ded6c5;
}

.tag {
  border-color: #d8d0bf;
  color: #6f7d64;
  font-size: 10px;
  letter-spacing: 0.14em;
  border-radius: 5px;
}

.badge-free {
  border-color: #b6c9a8;
  background: #e6efdf;
  color: #2f5a3e;
  border-radius: 5px;
}

.badge-free,
.tag { text-transform: uppercase; }

.price { color: #183c2e; font-family: var(--font-display); }
.price-note { color: #819078; }

.card-list li::before { background: #cfbc8c; border-radius: 1px; }

/* кнопки */
.btn {
  border-radius: 5px;
  font-family: var(--font);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: #244b37;
  color: #ffffff;
  border-color: #244b37;
}
.btn-primary:hover { background: #3d6248; border-color: #3d6248; }

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

.agent-card .btn-ghost,
.dash-panel .btn-ghost,
.modal-panel .btn-ghost,
.step .btn-ghost {
  border-color: #c9c1ae;
  color: #244b37;
}
.agent-card .btn-ghost:hover,
.dash-panel .btn-ghost:hover,
.modal-panel .btn-ghost:hover { border-color: #244b37; color: #183c2e; }

.btn-soft {
  background: #e6efdf;
  border-color: #b6c9a8;
  color: #2f5a3e;
}
.btn-soft:hover { border-color: #2f5a3e; }

.text-link { color: #8a6f2f; }
.text-link:hover { color: #183c2e; }

/* чипы и поиск */
.chip {
  background: transparent;
  border-color: var(--border);
  color: var(--muted);
  border-radius: 5px;
  font-size: 13px;
}
.chip:hover { color: var(--text); border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent-soft); color: #183c2e; }

.search input {
  background: rgba(245, 241, 231, 0.06);
  border-color: var(--border);
  color: var(--text);
  border-radius: 5px;
}
.search input::placeholder { color: #8a9a87; }

/* шапка страницы агента */
.agent-title, .page-title { color: var(--text); }
.agent-tagline, .lead { color: var(--muted); }
.breadcrumb { color: var(--muted); }

/* дашборд */
.kpi {
  background: var(--card);
  color: #183c2e;
  border-color: #ded6c5;
  border-radius: 10px;
}
.kpi dt { color: #819078; }
.kpi dd { color: #183c2e; }
.bar-row { color: #183c2e; }
.bar-row:hover { background: #ece6d7; }
.bar-track { background: #ded6c5; }
.bar-fill { background: #cfbc8c; }
.bar-count { color: #819078; }
.bar-row.is-active { border-color: #cfbc8c; background: #eae5d5; }
.seg { background: #ece6d7; border-color: #ded6c5; }
.seg button { color: #6f7d64; }
.seg button[aria-pressed="true"] { background: #f5f1e7; color: #183c2e; }
.dash-check { color: #78836e; }
.dash-controls input[type="search"] { background: #fbf8f0; color: #183c2e; border-color: #ded6c5; }

/* модалка */
.modal-backdrop { background: rgba(6, 20, 16, 0.72); }
.modal-panel { border-radius: 12px; }
.modal-title { color: #183c2e; }
.modal-sub { color: #78836e; }
.platform-option { background: #fbf8f0; border-color: #e0d8c7; color: #183c2e; }
.platform-option:hover { border-color: #c9c1ae; }
.platform-option small { color: #819078; }
.platform-locked { background: #eef3e6; border-color: #c8d7bb; color: #183c2e; }
.selection-summary { border-color: #d8d0bf; color: #6f7d64; }
.field input, .field textarea, .field select { background: #fbf8f0; color: #183c2e; border-color: #e0d8c7; }
.field label { color: #78836e; }

/* подвал */
.site-footer { background: #0c231e; border-top: 1px solid var(--border); color: var(--muted); }
.footer-logo { font-family: var(--font-display); color: var(--text); }
.footer-note, .footer-bottom, .footer-disclaimer { color: #8a9a87; }
.link-btn { color: #c5b681; }

/* фоновые секции */
.section-soft { background: #0c231e; }

/* заголовки-акценты */
.section-head h2, .hero-title { color: var(--text); }
.hero-lead { color: var(--muted); }

/* карточки шагов / FAQ на бумаге */
.step-num { color: var(--gold); }
.step .card-label { color: #819078; }
.faq-item summary { color: #183c2e; }
.faq-body, .faq-item p { color: #78836e; }

/* прочее: длины строк */
.hero-title { max-width: 900px; line-height: 1.25; letter-spacing: -0.035em; }
.card-tagline { min-height: 46px; }
/* == /PATCH == */

/* == PATCH: wide layout 2026-11-13 == */
.container {
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  padding-left: clamp(20px, 2.2vw, 40px);
  padding-right: clamp(20px, 2.2vw, 40px);
}

.container-narrow {
  max-width: 80ch;
}

.hero-title, .dash-head, .dash-head .lead, .section-head p {
  max-width: 72ch;
}

.agent-grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

@media (min-width: 1600px) {
  .agent-grid { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
}
/* == /PATCH == */

/* == PATCH: contrast fix 2026-11-13 == */
.plash {
  background: #f5f1e7;
  border-color: #ded6c5;
  color: #183c2e;
  font-weight: 500;
  border-radius: 5px;
}
.plash-mark { background: #cfbc8c; }
.plash:nth-child(even) .plash-mark { background: #2f5a3e; }

.card-tagline,
.card-list li,
.card-io dd,
.card-meta { color: #5f6b53; }

.card-label,
.card-io dt { color: #7c8a6e; }

.chip { color: #cfd8c6; }
.chip[aria-pressed="true"] { color: #183c2e; background: #eae5d5; border-color: #eae5d5; }
.chip:hover { color: #f4efe2; border-color: var(--gold); }

.bundle p,
.bundle-save { color: #5f6b53; }
.bundle-price { color: #183c2e; }

.faq-item summary { color: #183c2e; }

.step p { color: #5f6b53; }

/* карточки-«факты» на странице агента */
.agent-facts, .agent-facts p, .agent-facts li { color: #183c2e; }
.agent-facts { background: #f5f1e7; border-color: #ded6c5; }

/* таблица файлов в карточке агента */
.file-table, .file-table td, .file-table th { color: #183c2e; border-color: #ded6c5; }
.file-table th { color: #7c8a6e; }

/* выдача */
.order-view, .order-title, .order-meta { color: var(--text); }
.file-row { background: #f5f1e7; border-color: #ded6c5; color: #183c2e; }
.file-row-name { color: #183c2e; }
.file-row-meta, .file-row-size { color: #7c8a6e; }
/* == /PATCH == */

/* == PATCH: bundle + scale 2026-11-13 == */
.bundle-text p { color: #5f6b53; }
.bundle-list li {
  background: #fbf8f0;
  border-color: #ded6c5;
  color: #183c2e;
}
.bundle-action {
  background: #16362b;
  border-color: #365044;
}
.bundle-action .bundle-price { color: var(--gold); }
.bundle-action .bundle-save { color: #c3d1ba; }
.bundle-action .fine { color: #a9baa2; }
.bundle-action .btn-primary {
  background: var(--gold);
  color: #183c2e;
  border-color: var(--gold);
}
.bundle-action .btn-primary:hover { background: #ddc99b; border-color: #ddc99b; }

@media (min-width: 1500px) {
  .hero-title { font-size: clamp(40px, 3.1vw, 62px); }
  .section-head h2 { font-size: clamp(28px, 2vw, 40px); }
  .page-title { font-size: clamp(32px, 2.6vw, 48px); }
  .agent-card h3 { font-size: 20px; }
  .card-tagline, .card-io dd, .card-list li { font-size: 14.5px; }
  body { font-size: 16px; }
}

@media (min-width: 1700px) {
  .hero-title { font-size: clamp(52px, 3.2vw, 68px); }
}
/* == /PATCH == */

/* == PATCH: dash contrast 2026-11-13 == */
.dash-table td { color: #183c2e; }
.dash-name { color: #244b37; }
.dash-role { color: #7c8a6e; }
.dash-table .badge-free { color: #2f5a3e; }
.dash-more { margin-top: 18px; }
.dash-more .btn-ghost { border-color: #c9c1ae; color: #244b37; }
/* == /PATCH == */

/* == PATCH: hero art 2026-11-13 == */
.hero { padding: 56px 0 48px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center;
  gap: clamp(24px, 3vw, 56px);
}
.hero-copy { min-width: 0; }

.hero-art { display: flex; justify-content: flex-end; }

.pack-card {
  width: min(420px, 100%);
  padding: 22px;
  border: 1px solid #ded6c5;
  border-radius: 12px;
  background: var(--card);
  color: #183c2e;
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.9);
  transform: rotate(-1.2deg);
}

.pack-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2dac9;
  color: #7c8a6e;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.pack-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2f5a3e;
}

.pack-badge {
  margin-left: auto;
  padding: 2px 8px;
  border: 1px solid #d8cfbb;
  border-radius: 4px;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7c8a6e;
}

.pack-title {
  margin: 16px 0 8px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.pack-desc { color: #5f6b53; font-size: 13px; line-height: 1.6; }

.pack-files {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0;
}

.pack-files li {
  padding: 4px 8px;
  border: 1px solid #e0d8c7;
  border-radius: 4px;
  background: #fbf8f0;
  color: #5f6b53;
  font-family: var(--mono);
  font-size: 10.5px;
}

.pack-foot {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #e2dac9;
}

.pack-price {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.pack-note { color: #7c8a6e; font-size: 12px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { display: none; }
  .hero { padding: 36px 0 32px; }
}
/* == /PATCH == */

/* == PATCH: hero rhythm 2026-11-13 == */
.hero { padding: clamp(32px, 4vw, 72px) 0 clamp(28px, 3.4vw, 64px); }
.hero-title { font-size: clamp(28px, 4.4vw, 54px); max-width: 56ch; }
.hero-lead { max-width: 56ch; }
.hero-actions { margin-top: 26px; }
.hero-stats { margin-top: 32px; }
.pack-card { width: min(460px, 100%); }
@media (max-width: 900px) {
  .hero-title { font-size: clamp(26px, 6.6vw, 34px); }
}
/* == /PATCH == */

/* == PATCH: buttons on dark 2026-11-13 == */
.btn-primary {
  background: var(--gold);
  color: #183c2e;
  border-color: var(--gold);
}
.btn-primary:hover { background: #ddc99b; border-color: #ddc99b; }

.agent-card .btn-primary,
.modal-panel .btn-primary,
.dash-panel .btn-primary,
.step .btn-primary,
.buy-bar .btn-primary,
.preview-text .btn-primary {
  background: #244b37;
  border-color: #244b37;
  color: #ffffff;
}
.agent-card .btn-primary:hover,
.modal-panel .btn-primary:hover,
.dash-panel .btn-primary:hover,
.step .btn-primary:hover,
.buy-bar .btn-primary:hover { background: #3d6248; border-color: #3d6248; }
/* == /PATCH == */

/* == PATCH: modal text contrast 2026-11-13 == */
.platform-option small,
.platform-locked small { color: #6f7d64; }
/* == /PATCH == */

/* == PATCH: label contrast 2026-11-13 == */
.card-label,
.card-io dt { color: #6b7a63; }
/* == /PATCH == */

/* == PATCH: deep premium 2026-11-13 == */
:root {
  --bg: #06140F;
  --bg-soft: #081A14;
  --card: #F3EBD9;
  --card-2: #E9DFC9;
  --border: #234134;
  --border-strong: #365446;
  --text: #F2EADA;
  --muted: #9DAC9C;
  --accent: #C9A25F;
  --accent-hover: #D9B678;
  --accent-ink: #16281E;
  --accent-soft: #EADFC6;
  --accent-2: #8FB381;
  --accent-2-soft: #E4EEDC;
  --gold: #C9A25F;
  --danger: #E8A7A1;
}

body { background: #06140F; color: #F2EADA; }

.site-header { background: rgba(6, 20, 15, 0.92); border-bottom: 1px solid rgba(201, 162, 95, 0.18); }

.eyebrow { color: var(--gold); letter-spacing: 0.2em; }

.hero {
  position: relative;
  min-height: clamp(520px, 62vh, 720px);
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(201, 162, 95, 0.16);
}

.hero-media { position: absolute; inset: 0; z-index: -2; }

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  display: block;
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #05110D 0%, rgba(5, 17, 13, 0.92) 34%, rgba(5, 17, 13, 0.55) 58%, rgba(5, 17, 13, 0.15) 100%),
    linear-gradient(180deg, rgba(6, 20, 15, 0.55) 0%, rgba(6, 20, 15, 0) 30%, rgba(6, 20, 15, 0.65) 100%);
}

.hero-grid { display: block; padding-top: 72px; padding-bottom: 72px; }
.hero-copy { max-width: 720px; }
.hero-title {
  font-size: clamp(34px, 4.6vw, 66px);
  line-height: 1.16;
  letter-spacing: -0.04em;
  color: #F7F0E1;
  max-width: 22ch;
}
.hero-lead { margin-top: 22px; max-width: 52ch; color: #B9C6B7; font-size: clamp(15px, 1.15vw, 18px); }
.hero-actions { margin-top: 30px; gap: 12px; }
.hero-stats {
  margin-top: 40px;
  border: 1px solid rgba(201, 162, 95, 0.22);
  background: rgba(6, 20, 15, 0.45);
  backdrop-filter: blur(4px);
}
.hero-stats dt { color: #A9B8A7; letter-spacing: 0.12em; }
.hero-stats dd { color: #F3EAD9; }

.btn { border-radius: 4px; letter-spacing: 0.02em; }
.btn-primary {
  background: #C9A25F;
  border-color: #C9A25F;
  color: #16281E;
  font-weight: 600;
}
.btn-primary:hover { background: #DCBB7E; border-color: #DCBB7E; color: #16281E; }
.btn-ghost { border-color: rgba(201, 162, 95, 0.42); color: #F2EADA; }
.btn-ghost:hover { border-color: #C9A25F; color: #F4D9A6; }

.section-soft { background: #081A14; }
.section { border-top: 1px solid rgba(201, 162, 95, 0.1); }
.section-head h2 { letter-spacing: -0.035em; }

/* карточки: тёплая бумага, тонкая золотая линия сверху */
.agent-card {
  background: #F3EBD9;
  border: 1px solid #DFD3BC;
  border-radius: 6px;
  position: relative;
  padding: 24px;
}
.agent-card:before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 162, 95, 0) 0%, #C9A25F 45%, rgba(201, 162, 95, 0) 100%);
  opacity: 0.9;
}
.agent-card h3 { font-size: 18px; letter-spacing: -0.02em; }
.tag { border-color: #D8CBB2; color: #7C6A46; }
.badge-free { background: #E4EEDC; border-color: #BFD1B2; color: #2F5A3E; }

/* шаги */
.step { background: #F3EBD9; border: 1px solid #DFD3BC; border-radius: 6px; }
.step-num { font-family: var(--font-display); color: #B08A48; font-size: 13px; }

/* bundle */
.bundle { background: #F3EBD9; border: 1px solid #DFD3BC; border-radius: 6px; }
.bundle-action { background: #0B241C; border-color: rgba(201, 162, 95, 0.3); border-radius: 4px; }
.bundle-action .btn-primary { background: #C9A25F; color: #16281E; border-color: #C9A25F; }

/* FAQ */
.faq-item { background: #F3EBD9; border-color: #DFD3BC; border-radius: 4px; }

/* CTA */
.cta { padding: clamp(40px, 5vw, 80px) 0; border-top: 1px solid rgba(201, 162, 95, 0.16); }
.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.cta-media { border: 1px solid rgba(201, 162, 95, 0.25); border-radius: 6px; overflow: hidden; }
.cta-media img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.cta-copy h2 { font-size: clamp(26px, 2.8vw, 44px); line-height: 1.22; color: #F7F0E1; max-width: 20ch; }
.cta-lead { margin-top: 16px; color: #B9C6B7; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* подвал */
.site-footer { background: #04100C; border-top: 1px solid rgba(201, 162, 95, 0.16); }

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-media img { object-position: 76% center; opacity: 0.75; }
  .hero:after { background: linear-gradient(180deg, rgba(5, 17, 13, 0.9) 0%, rgba(5, 17, 13, 0.75) 55%, #06140F 100%); }
  .hero-grid { padding-top: 44px; padding-bottom: 44px; }
  .hero-title { max-width: none; font-size: clamp(28px, 7.6vw, 36px); }
  .hero-stats { background: rgba(6, 20, 15, 0.6); }
  .cta-inner { grid-template-columns: minmax(0, 1fr); }
  .cta-media { order: 2; }
}
/* == /PATCH == */

/* == PATCH: eyebrow line 2026-11-13 == */
.eyebrow {
  padding: 0 0 0 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #C9A25F;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  position: relative;
}
.eyebrow:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 1px;
  background: #C9A25F;
  transform: translateY(-50%);
}
/* == /PATCH == */

/* == PATCH: hero measure 2026-11-13 == */
.hero-copy { max-width: 820px; }
.hero-title { max-width: 26ch; font-size: clamp(34px, 4.4vw, 62px); }
.cta-media img { object-position: 65% center; }
/* == /PATCH == */

/* == PATCH: mobile hero legibility 2026-11-14 == */
@media (max-width: 900px) {
  .hero:after {
    background:
      linear-gradient(180deg, rgba(5, 17, 13, 0.96) 0%, rgba(5, 17, 13, 0.9) 46%, rgba(6, 20, 15, 0.98) 100%);
  }
  .hero-media img { opacity: 0.55; object-position: 62% 28%; }
  .hero-title { font-size: clamp(26px, 7vw, 32px); line-height: 1.22; }
  .hero-lead { font-size: 14.5px; }
}
/* == /PATCH == */

/* == PATCH: hero image contained 2026-11-14 == */
.hero {
  min-height: 0;
  display: block;
  padding: 0;
  background:
    radial-gradient(120% 90% at 78% 45%, #103027 0%, #081A14 46%, #06140F 78%);
  border-bottom: 1px solid rgba(201, 162, 95, 0.16);
  overflow: hidden;
}
.hero:after { display: none; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(24px, 3.2vw, 56px);
  padding-top: clamp(36px, 4vw, 64px);
  padding-bottom: clamp(32px, 3.4vw, 56px);
}

.hero-copy { max-width: none; }

.hero-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(380px, 40vw, 560px);
}

.hero-media:before {
  content: "";
  position: absolute;
  inset: -8% -6%;
  background: radial-gradient(closest-side, rgba(201, 162, 95, 0.16), rgba(201, 162, 95, 0) 72%);
  filter: blur(4px);
}

.hero-media img {
  position: relative;
  width: 100%;
  height: auto;
  max-height: clamp(380px, 44vw, 620px);
  object-fit: contain;
  object-position: center;
  display: block;
  filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.55));
  -webkit-mask-image: radial-gradient(115% 100% at 55% 50%, #000 62%, transparent 92%);
  mask-image: radial-gradient(115% 100% at 55% 50%, #000 62%, transparent 92%);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hero-media { order: -1; min-height: 0; margin: 0 -8px; }
  .hero-media img { max-height: 300px; }
  .hero-media:before { inset: -4%; }
}
/* == /PATCH == */

/* == PATCH: hero image blend 2026-11-14 == */
.hero-title { font-size: clamp(32px, 3.9vw, 54px); max-width: none; }
.hero-media img {
  max-height: clamp(400px, 46vw, 640px);
  -webkit-mask-image: radial-gradient(72% 74% at 56% 50%, #000 44%, rgba(0, 0, 0, 0.55) 68%, transparent 86%);
  mask-image: radial-gradient(72% 74% at 56% 50%, #000 44%, rgba(0, 0, 0, 0.55) 68%, transparent 86%);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5)) contrast(1.04) saturate(1.02);
}
@media (max-width: 900px) {
  .hero-media img { max-height: 260px; }
}
/* == /PATCH == */

/* == PATCH: hero image screen blend 2026-11-14 == */
.hero {
  background:
    radial-gradient(80% 70% at 82% 46%, #12332A 0%, #0B241C 42%, #06140F 76%);
}
.hero-media img {
  mix-blend-mode: screen;
  opacity: 0.96;
  max-height: clamp(420px, 48vw, 660px);
  -webkit-mask-image: radial-gradient(76% 78% at 55% 50%, #000 52%, rgba(0, 0, 0, 0.5) 74%, transparent 92%);
  mask-image: radial-gradient(76% 78% at 55% 50%, #000 52%, rgba(0, 0, 0, 0.5) 74%, transparent 92%);
}
/* == /PATCH == */

/* == PATCH: hero framed artwork 2026-11-14 == */
.hero {
  background:
    radial-gradient(70% 80% at 84% 50%, #0E2A22 0%, #081A14 52%, #06140F 82%);
}
.hero-media {
  position: relative;
  display: block;
  min-height: 0;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(201, 162, 95, 0.26);
  border-radius: 8px;
  overflow: hidden;
  background: #0B241C;
}
.hero-media:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(201, 162, 95, 0.12), inset 0 40px 80px -60px rgba(0, 0, 0, 0.9);
  background: linear-gradient(180deg, rgba(6, 20, 15, 0.25) 0%, rgba(6, 20, 15, 0) 35%, rgba(6, 20, 15, 0.35) 100%);
}
.hero-media img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: 58% 46%;
  display: block;
  mix-blend-mode: normal;
  opacity: 1;
  filter: contrast(1.03) saturate(1.02);
  -webkit-mask-image: none;
  mask-image: none;
}
@media (max-width: 900px) {
  .hero-media { order: -1; aspect-ratio: 16 / 11; margin: 0; }
  .hero-media img { object-position: 62% 44%; }
}
/* == /PATCH == */

/* == PATCH: hero composition 2026-11-14 == */
.hero-media img { object-position: 68% 44%; }
/* == /PATCH == */

/* == PATCH: full-bleed hero 2026-11-14 == */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  background: #05110D;
  border-bottom: 1px solid rgba(201, 162, 95, 0.18);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  min-height: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: none;
}
.hero-media:before { display: none; }

.hero-media img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: 70% center;
  display: block;
  opacity: 1;
  filter: contrast(1.04) saturate(1.03);
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  background:
    linear-gradient(90deg,
      #04100C 0%,
      rgba(4, 16, 12, 0.97) 22%,
      rgba(4, 16, 12, 0.88) 38%,
      rgba(5, 17, 13, 0.55) 54%,
      rgba(5, 17, 13, 0.18) 68%,
      rgba(5, 17, 13, 0) 82%),
    linear-gradient(180deg, rgba(4, 16, 12, 0.55) 0%, rgba(4, 16, 12, 0) 26%, rgba(4, 16, 12, 0.45) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: block;
  padding-top: clamp(48px, 6vw, 96px);
  padding-bottom: clamp(48px, 6vw, 96px);
}

.hero-copy { max-width: 640px; }
.hero-title { max-width: 15ch; font-size: clamp(34px, 4.5vw, 66px); }
.hero-lead { max-width: 46ch; }

@media (max-width: 900px) {
  .hero { min-height: min(92svh, 780px); align-items: flex-end; }
  .hero-media img { object-position: 66% 22%; opacity: 0.9; }
  .hero:after {
    background:
      linear-gradient(180deg, rgba(4, 16, 12, 0.86) 0%, rgba(4, 16, 12, 0.72) 38%, rgba(4, 16, 12, 0.94) 78%, #05110D 100%);
  }
  .hero-grid { padding-top: 40px; padding-bottom: 44px; }
  .hero-title { max-width: none; }
}
/* == /PATCH == */

/* == PATCH: mobile hero overlay 2026-11-14 == */
@media (max-width: 900px) {
  .hero-media img { opacity: 0.8; object-position: 68% 20%; }
  .hero:after {
    background:
      linear-gradient(180deg,
        rgba(4, 16, 12, 0.94) 0%,
        rgba(4, 16, 12, 0.88) 28%,
        rgba(4, 16, 12, 0.9) 58%,
        rgba(4, 16, 12, 0.96) 88%,
        #05110D 100%);
  }
  .hero-lead { color: #C4CFBE; }
}
/* == /PATCH == */

/* == PATCH: mobile hero text zone 2026-11-14 == */
@media (max-width: 900px) {
  .hero-media img { object-position: 62% 12%; opacity: 0.9; }
  .hero:after {
    background: linear-gradient(180deg,
      rgba(4, 16, 12, 0.5) 0%,
      rgba(4, 16, 12, 0.82) 18%,
      rgba(4, 16, 12, 0.95) 34%,
      rgba(5, 17, 13, 0.98) 62%,
      #05110D 100%);
  }
  .hero-copy { padding-top: 84px; }
}
/* == /PATCH == */

/* == PATCH: mobile hero uniform dim 2026-11-14 == */
@media (max-width: 900px) {
  .hero-media img { opacity: 0.62; object-position: 66% 14%; }
  .hero:after {
    background:
      radial-gradient(120% 80% at 78% 8%, rgba(201, 162, 95, 0.12) 0%, rgba(4, 16, 12, 0) 62%),
      linear-gradient(180deg,
        rgba(4, 16, 12, 0.9) 0%,
        rgba(4, 16, 12, 0.93) 46%,
        rgba(5, 17, 13, 0.97) 78%,
        #05110D 100%);
  }
  .hero-copy { padding-top: 24px; }
}
/* == /PATCH == */

/* == PATCH: hero full bleed 2026-11-14 == */
.hero-grid { position: static; z-index: auto; }
.hero-copy { position: relative; z-index: 2; }
.hero-media { z-index: -2; }
.hero:after { z-index: -1; }
/* == /PATCH == */

/* == PATCH: sets page 2026-11-15 == */
.gift-panel {
  background: var(--card);
  color: #183c2e;
  border: 1px solid #DFD3BC;
  border-radius: 8px;
  padding: clamp(22px, 2.4vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  position: relative;
}
.gift-panel:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 162, 95, 0) 0%, #C9A25F 40%, rgba(201, 162, 95, 0) 100%);
}
.gift-head h2 { font-size: clamp(24px, 2.4vw, 34px); color: #183c2e; }
.gift-lead { margin-top: 12px; color: #5f6b53; max-width: 46ch; }
.gift-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 20px; }
.gift-note { color: #7c8a6e; font-size: 12.5px; }

.gift-list { display: grid; gap: 0; border-top: 1px solid #E2DAC9; }
.gift-list li {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 10px 14px;
  padding: 10px 0;
  border-bottom: 1px solid #E2DAC9;
  align-items: baseline;
}
.gift-list b { color: #183c2e; font-size: 14px; font-weight: 600; }
.gift-list span { color: #6f7d64; font-size: 13px; }
.gift-role {
  font-family: var(--mono);
  font-size: 10px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a6f2f !important;
}
.gift-list li > span:last-child { grid-column: 2; color: #78836e; font-size: 12.5px; }

.sets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

.set-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  background: var(--card);
  color: #183c2e;
  border: 1px solid #DFD3BC;
  border-radius: 6px;
  position: relative;
}
.set-card:before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 162, 95, 0) 0%, #C9A25F 45%, rgba(201, 162, 95, 0) 100%);
}
.set-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.set-count { color: #7c8a6e; font-size: 11px; letter-spacing: 0.04em; }
.set-card h3 { font-size: 19px; color: #183c2e; }
.set-tagline { color: #5f6b53; font-size: 13.5px; line-height: 1.55; }
.set-agents { display: grid; gap: 5px; padding-top: 12px; border-top: 1px solid #E2DAC9; }
.set-agents li { position: relative; padding-left: 13px; color: #3f4a37; font-size: 13px; }
.set-agents li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 1px;
  background: #C9A25F;
}
.set-rest { color: #7c8a6e; font-size: 12.5px; }
.set-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid #E2DAC9; }
.set-price { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: #183c2e; letter-spacing: -0.02em; }
.set-price.is-free { color: #2f5a3e; }
.set-card .btn { padding: 0 16px; }

.portal-note {
  margin-top: clamp(28px, 3vw, 44px);
  padding: 18px 22px;
  border: 1px solid rgba(201, 162, 95, 0.3);
  border-radius: 6px;
  background: rgba(201, 162, 95, 0.05);
}
.portal-note-text { color: #C4CFBE; font-size: 14px; max-width: 92ch; }
.portal-note-text a { color: var(--gold); border-bottom: 1px solid rgba(201, 162, 95, 0.5); }

.set-view { padding-top: clamp(24px, 3vw, 44px); padding-bottom: clamp(40px, 5vw, 72px); }
.breadcrumb { display: flex; gap: 10px; color: var(--muted); font-size: 12.5px; margin-bottom: 26px; }
.set-head { max-width: 900px; }
.set-head .lead { margin-top: 14px; color: var(--muted); font-size: 17px; }
.set-head-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px; margin-top: 22px; }
.set-price-big { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; color: var(--gold); letter-spacing: -0.03em; }
.set-head-meta .mono { color: var(--muted); font-size: 12px; }
.set-head-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.portal-hint { margin-top: 14px; color: #A9B8A7; font-size: 13px; max-width: 70ch; }
.portal-hint a { color: var(--gold); }

.set-composition { margin-top: clamp(34px, 4vw, 56px); }
.set-composition h2, .set-inside h2 { font-size: clamp(22px, 2vw, 30px); margin-bottom: 18px; }
.table-wrap { overflow-x: auto; }
.set-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid #DFD3BC; border-radius: 6px; overflow: hidden; }
.set-table th {
  padding: 12px 14px;
  background: #EADFC6;
  color: #6f5b33;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
}
.set-table td { padding: 12px 14px; border-top: 1px solid #E2DAC9; color: #3f4a37; font-size: 13.5px; vertical-align: top; }
.set-table td b { color: #183c2e; display: block; font-size: 14.5px; }
.set-table td small { display: block; color: #8a947e; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }
.set-table td.mono { color: #8a6f2f; width: 52px; }
.set-inside { margin-top: clamp(28px, 3vw, 44px); }
.bullet-list { display: grid; gap: 8px; }
.bullet-list li { position: relative; padding-left: 16px; color: var(--muted); }
.bullet-list li:before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 1px; background: var(--gold); }

.faq-item { background: var(--card); border: 1px solid #DFD3BC; border-radius: 4px; color: #183c2e; margin-bottom: 8px; }
.faq-item summary { padding: 16px 18px; cursor: pointer; font-weight: 500; color: #183c2e; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-body { padding: 0 18px 16px; color: #5f6b53; font-size: 14px; }

@media (max-width: 900px) {
  .gift-panel { grid-template-columns: minmax(0, 1fr); }
  .gift-list li { grid-template-columns: 92px minmax(0, 1fr); }
  .sets-grid { grid-template-columns: minmax(0, 1fr); }
  .set-table th:nth-child(2), .set-table td:nth-child(2) { min-width: 150px; }
}
/* == /PATCH == */

/* == PATCH: sets layout 2026-11-15 == */
.gift-panel {
  display: block;
}
.gift-head { max-width: 78ch; }
.gift-list {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
  border-top: 1px solid #E2DAC9;
}
.gift-list li { grid-template-columns: 96px minmax(0, 1fr); }
.gift-list li > span:last-child { grid-column: 2; }
.gift-actions { margin-top: 22px; }

.sets-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 1100px) {
  .sets-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .sets-grid { grid-template-columns: minmax(0, 1fr); }
  .gift-list { grid-template-columns: minmax(0, 1fr); }
}
/* == /PATCH == */

/* == PATCH: modal checkboxes 2026-11-15 == */
.modal-panel { color-scheme: light; }
.modal-panel input[type="checkbox"] { accent-color: #244b37; }
/* == /PATCH == */

/* == PATCH: full set contents 2026-11-15 == */
.set-label {
  margin: 4px 0 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a6f2f;
}
.set-agents { gap: 6px; }
.set-agents li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  padding-left: 0;
  color: #3f4a37;
  font-size: 13px;
  line-height: 1.4;
}
.set-agents li:before { display: none; }
.set-agent-role {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a947e;
}
.set-card { height: 100%; }
.sets-grid { align-items: stretch; }
@media (max-width: 720px) {
  .set-agents li { grid-template-columns: 84px minmax(0, 1fr); }
}
/* == /PATCH == */

/* == PATCH: guide cards 2026-11-15 == */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}
.guide-card {
  background: var(--card);
  color: #183c2e;
  border: 1px solid #DFD3BC;
  border-radius: 6px;
  padding: 22px;
  position: relative;
}
.guide-card:before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 162, 95, 0) 0%, #C9A25F 45%, rgba(201, 162, 95, 0) 100%);
}
.guide-num {
  display: block;
  margin-bottom: 10px;
  color: #B08A48;
  font-size: 11px;
  letter-spacing: 0.14em;
}
.guide-card h3 { font-size: 18px; color: #183c2e; margin-bottom: 10px; line-height: 1.35; }
.guide-card p { color: #5f6b53; font-size: 13.5px; line-height: 1.6; }
.guide-card p + p { margin-top: 10px; }
.guide-card a { color: #8a6f2f; border-bottom: 1px solid rgba(138, 111, 47, 0.35); }
.guide-card code {
  font-family: var(--mono);
  font-size: 11.5px;
  padding: 1px 5px;
  border-radius: 3px;
  background: #EADFC6;
  color: #4a3d22;
}
.guide-list { display: grid; gap: 7px; margin-top: 12px; }
.guide-list li {
  position: relative;
  padding-left: 14px;
  color: #5f6b53;
  font-size: 13px;
  line-height: 1.5;
}
.guide-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 1px;
  background: #C9A25F;
}
.guide-list b { color: #183c2e; font-weight: 600; }
.guide-card-wide { grid-column: span 2; }

@media (max-width: 1100px) {
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-card-wide { grid-column: span 2; }
}
@media (max-width: 720px) {
  .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .guide-card-wide { grid-column: auto; }
}
/* == /PATCH == */

/* == PATCH: guide grid balance 2026-11-15 == */
.guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.guide-card-wide { grid-column: span 2; }
.guide-card h3 { font-size: 20px; }
.guide-card p, .guide-list li { font-size: 14px; }
@media (max-width: 1100px) {
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .guide-card-wide { grid-column: auto; }
}
/* == /PATCH == */

/* == PATCH: text contrast 2026-11-15 == */
:root {
  --muted: #C3CEC0;
  --text: #F6F0E3;
}

/* на тёмном фоне */
.section-head p,
.lead,
.hero-lead,
.portal-note-text,
.set-head .lead,
.portal-hint,
.bullet-list li { color: #C6D1C3; }
.nav-link { color: #C6D1C3; }
.breadcrumb { color: #AEBBAB; }

/* на кремовой бумаге: вторичный текст */
.gift-lead,
.gift-note,
.gift-list span,
.gift-list li > span:last-child,
.set-tagline,
.set-agents li,
.set-rest,
.faq-body,
.guide-card p,
.guide-list li,
.set-table td {
  color: #3B4733;
}

/* подписи и метки — чуть светлее, но читаемые */
.set-count,
.set-agent-role,
.guide-num,
.set-table td small,
.gift-role,
.card-meta { color: #5A4E34; }

/* заголовки и акценты */
.guide-card h3,
.set-card h3,
.gift-head h2,
.set-table td b,
.set-agents b,
.gift-list b { color: #14271D; }

/* код и чипы */
.guide-card code,
.set-table code { background: #E3D6BC; color: #33290F; }

/* ссылки на бумаге */
.guide-card a { color: #6E5210; border-bottom-color: rgba(110, 82, 16, 0.45); }

/* кнопки-призраки на тёмном */
.btn-ghost { color: #F2EADA; border-color: rgba(201, 162, 95, 0.55); }
/* == /PATCH == */

/* == PATCH: gold gradient buttons 2026-11-15 == */
.btn-primary {
  background: linear-gradient(120deg, #FFD08A 0%, #F59E0B 52%, #E9762B 100%);
  color: #2A1403;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(245, 158, 11, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}
.btn-primary:hover {
  background: linear-gradient(120deg, #FFD08A 0%, #F59E0B 52%, #E9762B 100%);
  color: #2A1403;
  transform: translateY(-2px);
  box-shadow: 0 26px 56px rgba(245, 158, 11, 0.48), 0 0 40px rgba(245, 158, 11, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  filter: brightness(1.04);
}
.btn-primary:active { transform: translateY(0); filter: brightness(0.98); }

/* на кремовых карточках тень мягче, чтобы не «пачкала» бумагу */
.set-card .btn-primary,
.guide-card .btn-primary,
.gift-panel .btn-primary {
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

/* фокус виден на золоте */
.btn-primary:focus-visible { outline: 2px solid #2A1403; outline-offset: 3px; }
/* == /PATCH == */

/* == PATCH: button shadow on paper 2026-11-15 == */
.set-card .btn-primary,
.guide-card .btn-primary,
.gift-panel .btn-primary {
  box-shadow: 0 8px 18px -8px rgba(245, 158, 11, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.set-card .btn-primary:hover,
.guide-card .btn-primary:hover,
.gift-panel .btn-primary:hover {
  box-shadow: 0 12px 24px -10px rgba(245, 158, 11, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
/* == /PATCH == */

/* == PATCH: typography scale up 2026-11-15 == */
body { font-size: 17px; line-height: 1.65; }

.nav-link { font-size: 14.5px; }
.eyebrow { font-size: 11.5px; letter-spacing: 0.18em; }

.hero-lead { font-size: clamp(17px, 1.35vw, 20px); }
.hero-stats dt { font-size: 11.5px; }
.hero-stats dd { font-size: 20px; }

.section-head h2 { font-size: clamp(28px, 2.4vw, 40px); }
.section-head p { font-size: 17px; line-height: 1.6; }

.btn { font-size: 16px; min-height: 48px; }
.nav-link { min-height: 36px; }

/* наборы */
.set-card h3 { font-size: 22px; }
.set-tagline { font-size: 15.5px; line-height: 1.6; }
.set-count { font-size: 12.5px; }
.set-label { font-size: 11px; }
.set-agents { gap: 7px; }
.set-agents li { font-size: 15px; }
.set-agent-role { font-size: 10.5px; }
.set-rest { font-size: 14px; }
.set-price { font-size: 23px; }
.set-card .btn { font-size: 15.5px; padding: 0 20px; }

/* инструкция */
.guide-num { font-size: 12px; }
.guide-card h3 { font-size: 22px; }
.guide-card p, .guide-list li { font-size: 15.5px; line-height: 1.62; }
.guide-card code, .set-table code { font-size: 13px; }
.guide-list { gap: 9px; }

/* подарок */
.gift-head h2 { font-size: clamp(26px, 2.6vw, 38px); }
.gift-lead { font-size: 16.5px; }
.gift-list b { font-size: 16px; }
.gift-list span { font-size: 14.5px; }
.gift-list li > span:last-child { font-size: 14px; }
.gift-role { font-size: 11px !important; }
.gift-note { font-size: 14px; }

/* страница набора */
.lead { font-size: 18px; }
.set-head .lead { font-size: 18.5px; }
.set-price-big { font-size: clamp(30px, 2.9vw, 42px); }
.set-head-meta .mono { font-size: 13.5px; }
.portal-hint { font-size: 15px; }
.set-composition h2, .set-inside h2 { font-size: clamp(26px, 2.2vw, 34px); }
.set-table th { font-size: 11.5px; }
.set-table td { font-size: 15px; line-height: 1.5; }
.set-table td b { font-size: 16.5px; }
.set-table td small { font-size: 12px; }
.bullet-list li { font-size: 16px; }
.breadcrumb { font-size: 14px; }

/* FAQ */
.faq-item summary { font-size: 16.5px; }
.faq-body { font-size: 15.5px; line-height: 1.6; }

/* портал и CTA */
.portal-note-text { font-size: 15.5px; line-height: 1.65; }
.cta-lead { font-size: 17px; }

@media (max-width: 900px) {
  body { font-size: 16.5px; }
  .set-card h3, .guide-card h3 { font-size: 21px; }
  .set-agents li { font-size: 15px; }
  .set-agents li { grid-template-columns: 88px minmax(0, 1fr); }
  .guide-card p, .guide-list li { font-size: 15.5px; }
}
/* == /PATCH == */

/* == PATCH: set agent details 2026-11-15 == */
.set-composition-lead { color: var(--muted); font-size: 16px; margin-bottom: 20px; }
.set-agents-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.set-agent-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: var(--card);
  color: #183c2e;
  border: 1px solid #DFD3BC;
  border-radius: 6px;
  height: 100%;
  position: relative;
}
.set-agent-card:before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 162, 95, 0) 0%, #C9A25F 45%, rgba(201, 162, 95, 0) 100%);
}
.set-agent-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.set-agent-num { color: #B08A48; font-size: 11.5px; letter-spacing: 0.12em; }
.set-agent-role-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5A4E34;
}
.set-agent-card h3 { font-size: 21px; color: #14271D; line-height: 1.3; }
.set-agent-tagline { color: #3B4733; font-size: 15px; line-height: 1.6; }
.set-agent-label {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5A4E34;
}
.set-agent-does { display: grid; gap: 7px; }
.set-agent-does li { position: relative; padding-left: 14px; color: #3B4733; font-size: 14.5px; line-height: 1.55; }
.set-agent-does li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 1px;
  background: #C9A25F;
}
.set-agent-io { display: grid; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid #E2DAC9; }
.set-agent-io dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5A4E34;
  margin-bottom: 3px;
}
.set-agent-io dd { color: #3B4733; font-size: 14px; line-height: 1.5; }
.set-agent-io div { display: grid; align-content: start; }

@media (max-width: 900px) {
  .set-agents-grid { grid-template-columns: minmax(0, 1fr); }
}
/* == /PATCH == */

/* == PATCH: hero cards, mint btn, collapsible guide 2026-11-15 == */
/* hero: две строки заголовка */
.hero-title { font-size: 1em; line-height: 1; display: grid; gap: clamp(8px, 0.9vw, 14px); }
.hero-title-top {
  display: block;
  font-size: clamp(22px, 2.1vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--gold);
}
.hero-title-bottom {
  display: block;
  font-size: clamp(34px, 3.3vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--text);
}
.hero-lead + .hero-lead { margin-top: 10px; }

/* мятная кнопка */
.btn-mint {
  background: linear-gradient(120deg, #E1F4D5 0%, #A9CB98 55%, #87AE76 100%);
  color: #12281B;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 14px 30px -10px rgba(143, 179, 129, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}
.btn-mint:hover {
  color: #12281B;
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 18px 34px -12px rgba(143, 179, 129, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn-mint:active { transform: translateY(0); filter: brightness(0.98); }
.btn-mint:focus-visible { outline: 2px solid #12281B; outline-offset: 3px; }

/* карточки-показатели в hero */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(28px, 3vw, 40px);
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  overflow: visible;
}
.hero-stats .stat-card {
  display: grid;
  gap: 4px;
  align-content: start;
  padding: 16px 18px;
  border: 1px solid rgba(201, 162, 95, 0.26);
  border-radius: 6px;
  background: rgba(201, 162, 95, 0.06);
  position: relative;
  overflow: hidden;
}
.hero-stats .stat-card:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(201, 162, 95, 0) 0%, #C9A25F 50%, rgba(201, 162, 95, 0) 100%);
}
.hero-stats dt {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C9A25F;
}
.hero-stats dd {
  font-family: var(--font-display);
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* инструкция: раскрывающиеся карточки */
.guide-grid { align-items: start; }
.guide-card { padding: 0; overflow: hidden; display: block; }
.guide-card[open] { box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.35); }
.guide-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 14px;
  padding: 22px;
  cursor: pointer;
  list-style: none;
  align-items: start;
}
.guide-summary::-webkit-details-marker { display: none; }
.guide-summary .guide-num { grid-column: 1; margin: 2px 0 0; }
.guide-summary h3 { grid-column: 2; margin: 0; font-size: 20px; line-height: 1.3; }
.guide-summary .guide-one { grid-column: 2; margin: 6px 0 0; color: #3B4733; font-size: 14.5px; line-height: 1.55; }
.guide-read {
  grid-column: 2;
  justify-self: start;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 15px;
  border: 1px solid rgba(138, 111, 47, 0.45);
  border-radius: 999px;
  color: #6E5210;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.guide-read:after { content: "→"; font-size: 14px; line-height: 1; }
.guide-card[open] .guide-read:after { content: "↑"; }
.guide-summary:hover .guide-read { background: rgba(201, 162, 95, 0.14); border-color: rgba(138, 111, 47, 0.7); }
.guide-body { padding: 16px 22px 22px; border-top: 1px solid #E2DAC9; }
.guide-body p { color: #3B4733; font-size: 15px; line-height: 1.62; }
.guide-body p + p { margin-top: 10px; }
.guide-body .guide-list { margin-top: 12px; }

@media (max-width: 1100px) {
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .hero-title-top { font-size: clamp(19px, 5.4vw, 24px); }
  .hero-title-bottom { font-size: clamp(30px, 8.4vw, 40px); }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hero-stats .stat-card { padding: 14px; }
  .guide-summary { padding: 18px; }
  .guide-body { padding: 14px 18px 18px; }
  .guide-summary h3 { font-size: 19px; }
  .guide-summary .guide-one { font-size: 14px; }
}
/* == /PATCH == */

/* == PATCH: hero title width 2026-11-15 == */
.hero-title { max-width: 900px; }
.hero-copy { max-width: 760px; }
.hero-title-bottom { max-width: 100%; }
/* == /PATCH == */

/* == PATCH: mobile eyebrow fit 2026-11-15 == */
@media (max-width: 520px) {
  .hero .eyebrow { font-size: 9.5px; letter-spacing: 0.12em; padding-left: 18px; white-space: nowrap; }
  .hero .eyebrow:before { width: 9px; }
  .hero-stats .stat-card { padding: 13px 14px; }
  .hero-stats dt { font-size: 9.5px; letter-spacing: 0.08em; }
  .hero-stats dd { font-size: clamp(22px, 7vw, 28px); }
}
/* == /PATCH == */

/* == PATCH: back button + set final actions 2026-11-15 == */
.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  margin-left: auto;
  margin-right: 6px;
  padding: 0 14px 0 11px;
  border: 1px solid rgba(201, 162, 95, 0.32);
  border-radius: 999px;
  background: rgba(201, 162, 95, 0.07);
  color: #D9C7A2;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.nav-back:hover { background: rgba(201, 162, 95, 0.16); border-color: rgba(201, 162, 95, 0.6); color: #F2EADA; }
.nav-back:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.nav-back[hidden] { display: none; }

.set-final {
  margin-top: clamp(30px, 3.4vw, 48px);
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid rgba(201, 162, 95, 0.26);
  border-radius: 6px;
  background: rgba(201, 162, 95, 0.05);
}
.set-final-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.set-final-note { margin-top: 14px; color: #C6D1C3; font-size: 14px; }

@media (max-width: 900px) {
  .nav-back { min-height: 36px; padding: 0 12px 0 9px; font-size: 12.5px; }
  .set-final-actions .btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 760px) {
  .nav-back { margin-right: 0; }
}
/* == /PATCH == */

/* == PATCH: prompt box 2026-11-15 == */
.prompt-box {
  margin-top: 16px;
  border: 1px solid rgba(201, 162, 95, 0.3);
  border-radius: 6px;
  background: #0B2319;
  overflow: hidden;
}
.prompt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(201, 162, 95, 0.22);
  background: rgba(201, 162, 95, 0.06);
}
.prompt-title {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C9A25F;
}
.copy-btn {
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(201, 162, 95, 0.5);
  border-radius: 999px;
  background: transparent;
  color: #F2EADA;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.copy-btn:hover { background: rgba(201, 162, 95, 0.18); }
.copy-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.prompt-box pre {
  margin: 0;
  padding: 16px;
  max-height: 420px;
  overflow: auto;
  color: #E2EDDB;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}
.prompt-box pre::selection { background: rgba(201, 162, 95, 0.4); }
.guide-body p + .prompt-box { margin-top: 14px; }

@media (max-width: 720px) {
  .prompt-box pre { font-size: 11.5px; padding: 13px; max-height: none; }
  .prompt-head { flex-wrap: wrap; }
}
/* == /PATCH == */

/* == PATCH: prompt box full height 2026-11-15 == */
.prompt-box pre { max-height: none; overflow: visible; }
/* == /PATCH == */

/* == PATCH: prompt box spacing 2026-11-15 == */
.guide-body .prompt-box { margin-bottom: 16px; }
/* == /PATCH == */

/* == PATCH: legal disclaimer 2026-11-15 == */
.legal {
  padding: clamp(30px, 3.4vw, 48px) 0 clamp(36px, 4vw, 56px);
  border-top: 1px solid rgba(201, 162, 95, 0.16);
}
.legal-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C9A25F;
  margin-bottom: 16px;
}
.legal p {
  color: #C6D1C3;
  font-size: 13.5px;
  line-height: 1.65;
}
.legal p + p { margin-top: 12px; }
@media (max-width: 720px) {
  .legal p { font-size: 13px; }
}
/* == /PATCH == */

/* == PATCH: legal width 2026-11-15 == */
.legal p { max-width: 104ch; }
/* == /PATCH == */

/* == PATCH: cta mint button shape 2026-11-15 == */
.cta-actions .btn-mint { border-radius: 999px; }
/* == /PATCH == */

/* == PATCH: pdf link 2026-11-15 == */
.pdf-line { margin-top: 16px; }
.pdf-line .btn { min-height: 44px; }
/* == /PATCH == */

/* == PATCH: static gift downloads 2026-11-15 == */
.gift-downloads { display: grid; gap: 8px; margin: 6px 0 2px; }
.gift-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #DFD3BC;
  border-radius: 6px;
  background: #FBF6EA;
  color: #14271D;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.gift-download:hover { border-color: #B08A48; background: #F7EFDD; transform: translateY(-1px); }
.gift-download b { color: #6B7566; font-size: 11.5px; font-weight: 500; white-space: nowrap; }
/* == /PATCH == */

/* == PATCH: activation instruction 2026-11-15 == */
.instruction-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 44px);
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid rgba(201, 162, 95, 0.3);
  border-radius: 6px;
  background: rgba(201, 162, 95, 0.05);
  position: relative;
}
.instruction-panel:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(201, 162, 95, 0) 0%, #C9A25F 50%, rgba(201, 162, 95, 0) 100%);
}
.instruction-copy h2 { font-size: clamp(24px, 2.2vw, 34px); margin-bottom: 10px; color: var(--text); }
.instruction-copy p { color: #C6D1C3; font-size: 15.5px; line-height: 1.6; max-width: 78ch; }
.instruction-copy .eyebrow { margin-bottom: 10px; }
.instruction-panel .btn { flex: 0 0 auto; }

.modal-extra {
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid #E2DAC9;
}
.modal-extra-title { color: #14271D; font-weight: 600; font-size: 15.5px; }
.modal-extra-note { margin: 4px 0 12px; color: #3B4733; font-size: 13.5px; line-height: 1.5; }
.modal-extra .btn { border-radius: 999px; }

@media (max-width: 720px) {
  .instruction-panel { flex-wrap: wrap; }
  .instruction-panel .btn { width: 100%; justify-content: center; }
}
/* == /PATCH == */

/* == PATCH: legal full width 2026-11-15 == */
.legal p { max-width: none; }
/* == /PATCH == */

/* == PATCH: hero stats three cards 2026-11-15 == */
.hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) {
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* == /PATCH == */

/* == PATCH: hero stat cards width 2026-11-16 == */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  grid-template-columns: none;
}
.hero-stats .stat-card {
  flex: 0 0 auto;
  min-width: 132px;
  padding: 14px 18px;
}
.hero-stats dd { font-size: clamp(22px, 1.7vw, 26px); }
@media (max-width: 720px) {
  .hero-stats { display: flex; gap: 10px; }
  .hero-stats .stat-card { flex: 1 1 0; min-width: 104px; padding: 12px 13px; }
  .hero-stats dt { font-size: 9px; letter-spacing: 0.06em; }
  .hero-stats dd { font-size: 22px; }
}
/* == /PATCH == */
