/* Токены — портированы из app/lib/shared/theme/design_tokens.dart,
   направление «Тёплый разговорник». Держать в синхроне при смене темы. */
:root {
  --paper: #F6F1E7;
  --paper-light: #FBF7EF;
  --card: #FFFFFF;
  --surface-sunken: #EFE7D8;
  --line: #E5DCCD;

  --ink: #211C16;
  --ink-secondary: #6F665A;
  --ink-placeholder: #9C9285;

  --clay: #C75D3C;
  --clay-pressed: #A94A2D;
  --clay-tint: #F3E1D7;

  --pine: #2B6A5E;
  --pine-tint: #DCE9E2;
  --pine-tint-border: #BFD9CF;

  --radius-sm: 10px;
  --radius-chip: 13px;
  --radius-field: 16px;
  --radius-card: 21px;
  --radius-pill: 999px;

  --shadow-card: 0 1px 2px rgba(33,28,22,0.05), 0 6px 20px rgba(33,28,22,0.05);
  --shadow-raised: 0 2px 4px rgba(33,28,22,0.06), 0 14px 30px rgba(33,28,22,0.10);
  --shadow-clay: 0 8px 18px rgba(199,93,60,0.32);

  --font-serif: 'Spectral', Georgia, serif;
  --font-sans: 'Onest', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 12px;
}

p { margin: 0 0 12px; }

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

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.material-symbols-rounded {
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  line-height: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246,241,231,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 19px;
}

.brand img { border-radius: 8px; display: block; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-clay {
  background: var(--clay);
  color: var(--paper-light);
  box-shadow: var(--shadow-clay);
}
.btn-clay:hover { background: var(--clay-pressed); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--clay); color: var(--clay); }

.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }

/* Hero */
.hero { padding: 72px 0 56px; }

.hero-inner { max-width: 760px; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--ink-secondary);
  max-width: 620px;
  margin-bottom: 32px;
}

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

/* Section title */
.section-title {
  font-size: 30px;
  text-align: center;
  margin-bottom: 40px;
}

/* Steps */
.steps { padding: 64px 0; }

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

.step-card {
  background: var(--card);
  border-radius: var(--radius-card);
  padding: 26px 22px;
  box-shadow: var(--shadow-card);
}

.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { color: var(--ink-secondary); font-size: 14.5px; margin: 0; }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 24px;
}

.icon-badge.clay { background: var(--clay-tint); color: var(--clay); }
.icon-badge.pine { background: var(--pine-tint); color: var(--pine); }

/* Showcase */
.showcase { padding: 64px 0; background: var(--surface-sunken); }

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

.showcase-item {
  margin: 0;
  background: var(--card);
  border-radius: var(--radius-card);
  padding: 12px 12px 18px;
  box-shadow: var(--shadow-raised);
  text-align: center;
}

.showcase-item img {
  width: 100%;
  border-radius: var(--radius-field);
  display: block;
  margin-bottom: 14px;
}

.showcase-item figcaption {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-secondary);
}

/* Benefits */
.benefits { padding: 64px 0; }

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

.benefit-card {
  background: var(--card);
  border-radius: var(--radius-card);
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
}

.benefit-card h3 { font-size: 17px; margin-bottom: 6px; }
.benefit-card p { color: var(--ink-secondary); font-size: 14.5px; margin: 0; }

/* Audience */
.audience { padding: 56px 0; }

.audience-inner {
  max-width: 680px;
  text-align: center;
  margin: 0 auto;
}

.audience h2 { font-size: 26px; }
.audience p { color: var(--ink-secondary); font-size: 16px; }

/* Final CTA */
.final-cta {
  padding: 72px 0 88px;
  background: var(--surface-sunken);
}

.final-cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.final-cta h2 { font-size: 32px; }
.final-cta p { color: var(--ink-secondary); font-size: 16px; margin-bottom: 32px; }

.store-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-field);
  padding: 12px 20px;
  box-shadow: var(--shadow-card);
  min-width: 180px;
  text-align: left;
}

.store-badge .material-symbols-rounded { font-size: 26px; color: var(--ink-secondary); }

.store-text { display: flex; flex-direction: column; }
.store-text strong { font-size: 14.5px; }
.store-text small { font-size: 12.5px; color: var(--ink-secondary); }

.store-primary {
  background: var(--clay);
  border-color: var(--clay);
  color: var(--paper-light);
}
.store-primary .material-symbols-rounded { color: var(--paper-light); }
.store-primary .store-text small { color: rgba(251,247,239,0.8); }
.store-primary:hover { background: var(--clay-pressed); border-color: var(--clay-pressed); }

.store-disabled {
  opacity: 0.55;
  cursor: default;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-placeholder);
}

/* Responsive */
@media (max-width: 860px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 32px; }
  .hero-subtitle { font-size: 16px; }
  .steps-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 24px; }
  .final-cta h2 { font-size: 26px; }
  .store-badge { flex: 1 1 100%; }
  .brand span { font-size: 16px; }
  .brand img { width: 26px; height: 26px; }
  .header-inner .btn-sm { padding: 8px 14px; font-size: 13px; }
}

@media (max-width: 400px) {
  .brand span { display: none; }
}
