:root {
  --red: #b42318;
  --red-dark: #7f1d16;
  --oak: #c66a22;
  --oak-soft: #fff4eb;
  --ink: #1f1a17;
  --muted: #6f625c;
  --line: #eaded8;
  --paper: #ffffff;
  --soft: #fff9f6;
  --shadow: 0 24px 70px rgba(91, 35, 19, 0.14);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(234, 222, 216, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 820;
  letter-spacing: 0;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

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

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.96rem;
  font-weight: 760;
}

.nav-cta,
.button.primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 28px rgba(180, 35, 24, 0.18);
}

.button.secondary {
  background: #fff;
  color: var(--red-dark);
  border-color: var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  min-height: auto;
  padding: clamp(52px, 7vw, 86px) clamp(20px, 5vw, 72px) 48px;
  background:
    linear-gradient(90deg, #fff 0%, #fff 58%, var(--soft) 58%, var(--soft) 100%);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3rem, 5.8vw, 5.25rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 760px;
  margin: 32px 0 0;
}

.hero-proof div {
  border-top: 2px solid var(--red);
  padding-top: 12px;
}

.hero-proof dt {
  font-size: 0.98rem;
  font-weight: 820;
}

.hero-proof dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.product-stage {
  position: relative;
}

.dashboard-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.dashboard-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.dashboard-top strong {
  margin-left: 8px;
  color: var(--ink);
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.window-dot.red { background: var(--red); }
.window-dot.oak { background: var(--oak); }
.window-dot.pale { background: #f0d8cc; }

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  padding: 18px;
  background: linear-gradient(135deg, #fff, #fff8f4);
}

.composer-card,
.approval-card,
.calendar-card,
.quote-grid figure,
.workflow-steps article,
.article-grid a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.composer-card {
  grid-row: span 2;
  min-height: 330px;
  padding: 22px;
}

.label,
.section-kicker,
.article-grid span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 860;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.composer-card h2 {
  margin: 22px 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.02;
}

.composer-card p,
.approval-card p,
.article-grid p,
.workflow-steps p,
.telegram-panel p,
.section-copy p,
.final-cta p,
.site-footer p,
.faq-section p {
  color: var(--muted);
}

.destination-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.destination-row span {
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--oak-soft);
  color: var(--red-dark);
  font-size: 0.85rem;
  font-weight: 730;
}

.approval-card,
.calendar-card {
  padding: 18px;
}

.approval-card strong {
  display: block;
  margin-top: 14px;
  font-size: 1.45rem;
}

.status-line,
.timeline-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.status-line span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--oak);
}

.status-line.ok span {
  background: #217a49;
}

.timeline-row {
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-row:last-child {
  border-bottom: 0;
}

.timeline-row time {
  color: var(--red);
  font-weight: 800;
}

.proof-band,
.workflow-section,
.telegram-section,
.comparison-section,
.seo-section,
.faq-section,
.final-cta,
.site-footer {
  padding: clamp(64px, 9vw, 116px) clamp(20px, 5vw, 72px);
}

.proof-band {
  padding-top: clamp(32px, 4vw, 54px);
  background: #fff;
  border-top: 1px solid var(--line);
}

.proof-band h2,
.section-copy h2,
.telegram-panel h2,
.final-cta h2,
.faq-section h2 {
  max-width: 860px;
  margin: 12px 0 0;
  font-size: clamp(2rem, 4.8vw, 4.3rem);
  line-height: 1;
  letter-spacing: 0;
}

.proof-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.proof-logos span {
  min-height: 66px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 780;
  text-align: center;
}

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

.quote-grid figure {
  margin: 0;
  padding: 24px;
}

.quote-grid blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 650;
}

.quote-grid figcaption {
  margin-top: 18px;
  color: var(--red);
  font-size: 0.88rem;
  font-weight: 800;
}

.workflow-section,
.comparison-section {
  background: var(--soft);
}

.section-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.6fr);
  gap: 34px;
  align-items: end;
}

.section-copy p {
  margin: 0;
  font-size: 1.08rem;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.workflow-steps article {
  padding: 24px;
}

.workflow-steps span {
  color: var(--oak);
  font-weight: 860;
}

.workflow-steps h3,
.article-grid h3 {
  margin: 14px 0 8px;
  font-size: 1.22rem;
}

.telegram-section {
  background: #fff;
}

.telegram-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 46px;
  align-items: start;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(180, 35, 24, 0.05), transparent 38%),
    #fff;
  box-shadow: var(--shadow);
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 16px 0 16px 34px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(var(--red), var(--red)) left 23px / 14px 2px no-repeat;
  font-weight: 700;
}

.comparison-table {
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.comparison-table [role="row"] {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
}

.comparison-table span {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.comparison-table span + span {
  border-left: 1px solid var(--line);
}

.comparison-table .table-head span {
  background: var(--red);
  color: #fff;
  font-weight: 820;
}

.comparison-table [role="row"]:last-child span {
  border-bottom: 0;
}

.seo-section {
  background: #fff;
}

.article-grid a {
  min-height: 240px;
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.article-grid a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.faq-section {
  background: var(--soft);
}

.faq-section details {
  max-width: 980px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.faq-section summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--ink);
  font-weight: 820;
}

.faq-section details div {
  padding: 0 22px 20px;
}

.final-cta {
  display: grid;
  place-items: center;
  text-align: center;
  background: #fff;
}

.final-cta h2,
.final-cta p {
  max-width: 760px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 34px;
  padding-bottom: 34px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  flex: 0 0 auto;
}

.site-footer p {
  max-width: 520px;
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
}

.page-hero,
.article-page {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.page-hero {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.page-hero h1,
.article-page h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  line-height: 0.98;
}

.page-hero p,
.article-page .dek {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(44px, 7vw, 84px) clamp(20px, 5vw, 72px);
}

.article-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.article-list a {
  display: block;
  min-height: 250px;
  padding: 28px;
}

.article-list h2 {
  margin: 12px 0;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1.08;
}

.article-page {
  max-width: 940px;
  margin: 0 auto;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.article-body {
  margin-top: 44px;
  font-size: 1.08rem;
}

.article-body h2 {
  margin: 42px 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.08;
}

.article-body h3 {
  margin: 28px 0 10px;
  font-size: 1.35rem;
}

.article-body p,
.article-body li {
  color: var(--muted);
}

.article-body strong {
  color: var(--ink);
}

.article-body ul,
.article-body ol {
  padding-left: 1.2rem;
}

.article-callout {
  margin: 34px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: var(--soft);
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .site-header {
    position: static;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .section-copy,
  .telegram-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    background: #fff;
  }

  .product-stage {
    max-width: 720px;
  }

  .proof-logos,
  .quote-grid,
  .article-grid,
  .workflow-steps,
  .article-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 15vw, 3.7rem);
  }

  .hero-proof,
  .dashboard-grid,
  .proof-logos,
  .quote-grid,
  .article-grid,
  .workflow-steps,
  .article-list,
  .comparison-table [role="row"] {
    grid-template-columns: 1fr;
  }

  .comparison-table span + span {
    border-left: 0;
  }

  .product-stage {
    margin-inline: -8px;
  }
}
