:root {
  --bg: #f7f4ee;
  --panel: #ffffff;
  --panel-soft: #f9fbfa;
  --ink: #18222f;
  --ink-soft: #354457;
  --muted: #5f6f7e;
  --line: #dbe3df;
  --line-strong: #c7d5d0;
  --accent: #0f766e;
  --accent-dark: #0b5953;
  --accent-soft: #e7f3f1;
  --blue-soft: #edf5f8;
  --cream: #fbf7ef;
  --warning: #9a6a1f;
  --danger: #a64646;
  --shadow: 0 18px 44px rgba(37, 52, 64, 0.09);
  --shadow-soft: 0 8px 22px rgba(37, 52, 64, 0.06);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.07), transparent 34rem),
    linear-gradient(180deg, #faf7f1 0%, var(--bg) 100%);
  color: var(--ink);
  font-weight: 400;
}

button,
input,
select {
  font: inherit;
}

button {
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

button:hover {
  transform: translateY(-1px);
}

.app {
  width: min(1460px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.hero {
  min-height: 250px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 36px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(18, 45, 58, 0.92), rgba(15, 118, 110, 0.56)),
   url("hero-analytics.png");
  background-size: cover;
  background-position: center 70%;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 10px;
  color: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
strong {
  color: var(--ink);
}

.hero h1,
.hero strong {
  color: #fff;
}

h1 {
  max-width: 790px;
  margin-bottom: 14px;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 820px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.55;
}

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

.primary-button,
.ghost-button,
.tab-button,
.mini-button {
  min-height: 42px;
  border-radius: 8px;
  cursor: pointer;
}

.primary-button {
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  background: #f6fbfa;
  color: var(--accent-dark);
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.ghost-button {
  padding: 0 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.mini-button {
  padding: 0 16px;
  border: 1px solid var(--accent-dark);
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}

.test-launch-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 14px 0 18px;
  padding: 14px 16px;
  border: 1px solid #d7e5e1;
  border-radius: 8px;
  background: #f3faf8;
  color: #244d4a;
}

.test-launch-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.marketplace-switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.marketplace-card {
  min-height: 152px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  text-align: left;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  overflow: hidden;
}

.marketplace-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 12px 28px rgba(37, 52, 64, 0.09);
}

.marketplace-card span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
}

.marketplace-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 760;
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.marketplace-card small {
  display: block;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.48;
}

.marketplace-card.active {
  border-color: rgba(15, 118, 110, 0.46);
  background: #f2faf8;
  box-shadow:
    inset 0 0 0 1px rgba(15, 118, 110, 0.12),
    0 14px 30px rgba(15, 118, 110, 0.13);
}

.marketplace-card[data-marketplace="Ozon"] {
  background: #fbfdff;
}

.marketplace-card[data-marketplace="Яндекс Маркет"],
.marketplace-card[data-marketplace="РЇРЅРґРµРєСЃ РњР°СЂРєРµС‚"] {
  background: #fffdf8;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.metric-card,
.calculator,
.result-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.metric-card {
  min-height: 128px;
  padding: 20px;
}

.metric-card span,
.result-grid span,
.price-row span,
.details-list dt,
.progress-label span,
.plan-tile span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.metric-card strong {
  display: block;
  margin: 10px 0 6px;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

.metric-card small {
  color: var(--muted);
  font-size: 13px;
}

.metric-card.good {
  border-color: rgba(15, 118, 110, 0.36);
  background: linear-gradient(180deg, #ffffff 0%, #f5fbfa 100%);
}

.metric-card.warn {
  border-color: rgba(154, 106, 31, 0.36);
  background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
}

.metric-card.bad {
  border-color: rgba(166, 70, 70, 0.36);
  background: linear-gradient(180deg, #ffffff 0%, #fff5f5 100%);
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 440px);
  gap: 18px;
  align-items: start;
}

.calculator,
.result-panel {
  min-width: 0;
  padding: 28px;
  overflow: hidden;
}

.result-panel {
  position: sticky;
  top: 18px;
  border-color: rgba(15, 118, 110, 0.28);
  box-shadow: 0 20px 48px rgba(26, 74, 82, 0.12);
}

.form-header,
.result-header,
.price-row,
.progress-label {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.form-header h2,
.result-header h2 {
  margin-bottom: 6px;
  font-size: 25px;
  line-height: 1.18;
}

.form-header p,
.ad-header p,
.muted {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.select-label {
  min-width: 230px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
}

label {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
}

select,
input {
  width: 100%;
  height: 46px;
  margin-top: 8px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(24, 34, 47, 0.02);
}

input[type="number"] {
  font-variant-numeric: tabular-nums;
}

input[type="checkbox"] {
  width: 21px;
  height: 21px;
  min-width: 21px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--accent);
}

input:focus,
select:focus {
  outline: 3px solid rgba(15, 118, 110, 0.14);
  border-color: var(--accent);
}

.mode-panel {
  display: grid;
  gap: 9px;
  margin: 20px 0 18px;
  padding: 14px;
  border: 1px solid #d7e5e1;
  border-radius: 12px;
  background: #f7fbfa;
}

.mode-switcher {
  display: inline-flex;
  width: fit-content;
  gap: 4px;
  padding: 4px;
  border: 1px solid #dfe8e5;
  border-radius: 999px;
  background: #ffffff;
}

.mode-button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.mode-button.active {
  color: #ffffff;
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 8px 16px rgba(15, 118, 110, 0.16);
}

.mode-button:not(.active):hover {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.mode-panel p {
  max-width: 880px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.calculator.beginner-mode .advanced-field {
  display: none;
}

.section-tabs {
  display: flex;
  gap: 6px;
  margin: 24px 0;
  padding: 6px;
  border: 1px solid #e4ebe8;
  border-radius: 8px;
  background: #f4f7f5;
  overflow-x: auto;
}

.tab-button {
  min-width: max-content;
  padding: 0 15px;
  border: 1px solid transparent;
  color: var(--muted);
  background: transparent;
  font-weight: 700;
  white-space: nowrap;
}

.tab-button:hover {
  background: #ffffff;
  border-color: var(--line);
}

.tab-button.active,
.tab-button.accent-tab.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 8px 16px rgba(15, 118, 110, 0.18);
}

.tab-button.accent-tab {
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-color: rgba(15, 118, 110, 0.18);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  padding-top: 4px;
}

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

.logistics-card,
.model-cost-card {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #d7e5e1;
  border-radius: 12px;
  background: #f7fbfa;
}

.logistics-card-header,
.model-cost-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.logistics-card h3,
.model-cost-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.logistics-card p,
.model-cost-card p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.logistics-mode-label {
  min-width: 220px;
}

.logistics-summary,
.tariff-result {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.logistics-summary div,
.tariff-result {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.logistics-summary span,
.tariff-result span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.logistics-summary strong,
.tariff-result strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 820;
  line-height: 1.1;
}

.logistics-summary small {
  display: block;
  margin-top: 6px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.tariff-fields {
  display: grid;
  gap: 12px;
  padding-top: 2px;
}

.tariff-result {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #f3faf8;
}

.panel-note,
.subscription-teaser,
.aside-subscription,
.ad-help,
.note {
  border-radius: 8px;
  line-height: 1.5;
}

.panel-note,
.ad-help {
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid #d7e5e1;
  background: #f3faf8;
  color: #325c59;
}

.subscription-teaser {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid #d7e5e1;
  background: #f3faf8;
}

.subscription-teaser strong,
.subscription-teaser span {
  display: block;
}

.subscription-teaser span,
.aside-subscription span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.hidden {
  display: none;
}

.ad-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.ad-header h3 {
  margin: 0 0 6px;
  font-size: 21px;
}

#adBadge,
#marketplaceBadge {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.ad-help strong {
  display: block;
  margin-bottom: 10px;
  color: #244d4a;
  font-size: 16px;
  font-weight: 800;
}

.ad-help ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0;
  padding-left: 18px;
}

.ad-help li {
  color: #4f6572;
  line-height: 1.45;
}

.ad-plan {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.ad-plan-warning {
  grid-column: 1 / -1;
  padding: 13px 15px;
  border: 1px solid rgba(154, 106, 31, 0.26);
  border-radius: 8px;
  background: #fffaf0;
  color: #6d511b;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.plan-tile {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
}

.plan-tile strong {
  display: block;
  margin-top: 7px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.12;
}

.plan-tile small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.plan-tile.good {
  border-color: rgba(15, 118, 110, 0.28);
  background: #f1faf8;
}

.plan-tile.warn {
  border-color: rgba(154, 106, 31, 0.3);
  background: #fffaf0;
}

.plan-tile.risk {
  border-color: rgba(166, 70, 70, 0.28);
  background: #fff5f5;
}

.plan-tile.status-card strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 760;
  line-height: 1.35;
}

.plan-tile.status-card.good strong {
  color: var(--accent-dark);
}

.plan-tile.status-card.warn strong {
  color: #74551a;
}

.plan-tile.status-card.risk strong {
  color: #7d3535;
}

.ad-header,
.ad-header h3,
.ad-header p,
.ad-help,
.ad-help strong,
.ad-help li,
.ad-plan,
.plan-tile,
.plan-tile span,
.plan-tile strong,
.plan-tile small {
  letter-spacing: normal;
}

.ad-header h3 {
  font-size: 21px;
  line-height: 1.3;
}

.ad-header p {
  font-size: 15px;
  line-height: 1.5;
}

.ad-help {
  margin-bottom: 16px;
  padding: 18px 22px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.45;
}

.ad-help strong {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.25;
}

.ad-help p {
  max-width: 900px;
  margin: 0 0 14px;
  color: #47656f;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: normal;
}

.ad-help ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 10px 24px;
  margin: 0;
  padding-left: 20px;
}

.ad-help li {
  max-width: 620px;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
}

.plan-tile {
  padding: 14px;
}

.plan-tile span {
  font-size: 13px;
  line-height: 1.35;
}

.plan-tile strong {
  margin-top: 6px;
  font-size: 21px;
  line-height: 1.15;
}

.plan-tile small {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.45;
}

.plan-tile.status-card strong {
  font-size: 15px;
  line-height: 1.45;
}

.price-row {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 8px;
  background: linear-gradient(180deg, #f2faf8 0%, #ffffff 100%);
}

.price-row strong {
  color: var(--accent-dark);
  font-size: 31px;
  font-weight: 850;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.progress-track {
  height: 9px;
  margin: 10px 0 18px;
  border-radius: 99px;
  background: #e3ebe8;
  overflow: hidden;
}

.progress-track div {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #3f9b8e);
  transition: width 0.2s ease;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.result-grid div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
}

.result-grid strong {
  display: block;
  margin-top: 7px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

h3 {
  margin: 19px 0 11px;
  font-size: 17px;
  line-height: 1.25;
}

.cost-bars {
  display: grid;
  gap: 10px;
}

.bar-item {
  display: grid;
  gap: 6px;
}

.bar-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 13px;
}

.bar-bg {
  height: 8px;
  border-radius: 99px;
  background: #e5ece9;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--accent) !important;
}

.details-list {
  display: grid;
  gap: 7px;
  margin: 0;
}

.details-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #edf1ef;
}

.details-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.note {
  margin-top: 18px;
  padding: 15px 16px;
  border: 1px solid #d7e5e1;
  color: #244d4a;
  background: #f3faf8;
}

.note.good {
  border-color: rgba(15, 118, 110, 0.26);
  color: #244d4a;
  background: #f1faf8;
}

.note.bad {
  border-color: rgba(166, 70, 70, 0.22);
  color: #733333;
  background: #fff5f5;
}

.note.warn {
  border-color: rgba(154, 106, 31, 0.25);
  color: #6d511b;
  background: #fffaf0;
}

.verdict {
  display: grid;
  gap: 12px;
}

.verdict-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.25;
}

.note.warn .verdict-status {
  background: rgba(154, 106, 31, 0.12);
  color: #74551a;
}

.note.bad .verdict-status {
  background: rgba(166, 70, 70, 0.12);
  color: #7d3535;
}

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

.verdict-columns span {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.verdict-columns ul {
  margin: 0;
  padding-left: 17px;
}

.verdict-columns li {
  margin-bottom: 5px;
  font-size: 13px;
  line-height: 1.45;
}

.verdict-columns li:last-child {
  margin-bottom: 0;
}

.aside-subscription {
  display: none;
  margin-bottom: 18px;
  padding: 15px 16px;
  border: 1px solid #d7e5e1;
  background: #f3faf8;
  color: #244d4a;
}

.aside-subscription.visible {
  display: block;
}

.aside-subscription strong,
.aside-subscription span {
  display: block;
}

.subscription-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 28px;
  align-items: start;
}

.subscription-layout h3 {
  margin-top: 0;
  font-size: 26px;
  line-height: 1.2;
}

.subscription-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
}

.check-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: auto;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
  cursor: pointer;
  font-weight: 400;
  overflow: hidden;
}

.check-row span {
  display: grid;
  grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.check-row input[type="checkbox"] {
  margin: 0;
}

.check-row:hover {
  border-color: var(--line-strong);
  background: #ffffff;
}

.check-row strong,
.check-row small {
  display: block;
}

.check-row strong {
  margin-bottom: 0;
  font-size: clamp(19px, 1.35vw, 22px);
  font-weight: 760;
  line-height: 1.18;
  overflow-wrap: normal;
}

.check-row small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.price-box {
  min-width: 0;
  padding: 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0b5953, #21867d);
  color: #fff;
  box-shadow: 0 18px 34px rgba(15, 118, 110, 0.2);
}

.price-box span,
.price-box small {
  display: block;
  color: rgba(255, 255, 255, 0.83);
}

.price-box strong {
  display: block;
  margin: 12px 0;
  color: #fff;
  font-size: clamp(31px, 3.2vw, 42px);
  font-weight: 850;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.feedback-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid #d7e5e1;
  border-radius: 8px;
  background: #f3faf8;
  color: #244d4a;
}

.feedback-card span,
.feedback-card small {
  display: block;
  color: var(--muted);
}

.feedback-card strong {
  display: block;
  margin: 9px 0;
  color: var(--ink);
  font-size: clamp(24px, 2vw, 31px);
  font-weight: 820;
  line-height: 1.12;
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.feedback-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
}

.feedback-grid h4 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.feedback-grid ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.feedback-grid li + li {
  margin-top: 6px;
}

.feedback-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 18px;
  padding: 0 18px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 760;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(15, 118, 110, 0.14);
}

.feedback-button:hover {
  background: var(--accent-dark);
}

.feedback-caption {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.tariff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.tariff-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
}

.tariff-grid span,
.tariff-grid small {
  display: block;
  color: var(--muted);
}

.tariff-grid strong {
  display: block;
  margin: 9px 0;
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 820;
  line-height: 1.08;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1180px) {
  .summary-grid,
  .marketplace-switcher,
  .tariff-grid,
  .ad-plan {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .result-panel {
    position: static;
  }

  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .subscription-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .app {
    width: min(100% - 20px, 640px);
    padding: 10px 0 34px;
  }

  .hero {
    min-height: auto;
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
  }

  h1 {
    font-size: 40px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-actions {
    justify-content: stretch;
  }

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

  .summary-grid,
  .marketplace-switcher,
  .field-grid,
  .result-grid,
  .logistics-summary,
  .tariff-result,
  .subscription-options,
  .feedback-grid,
  .tariff-grid,
  .ad-plan,
  .ad-help ul,
  .verdict-columns {
    grid-template-columns: 1fr;
  }

  .calculator,
  .result-panel {
    padding: 20px;
  }

  .mode-panel {
    padding: 12px;
  }

  .mode-switcher {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .mode-button {
    width: 100%;
  }

  .form-header,
  .result-header,
  .price-row,
  .logistics-card-header,
  .model-cost-header,
  .test-launch-banner,
  .subscription-teaser,
  .ad-header {
    align-items: stretch;
    flex-direction: column;
  }

  .select-label,
  .logistics-mode-label {
    min-width: 0;
  }

  .section-tabs {
    margin: 20px -2px;
  }

  .tab-button {
    min-height: 40px;
  }

  .marketplace-card,
  .check-row {
    min-height: auto;
  }

  .price-row strong {
    text-align: left;
  }

  .check-row {
    align-items: start;
  }

  .check-row span {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
