:root {
  color-scheme: light;
  --ink: #333334;
  --muted: #646060;
  --line: #ece7e4;
  --soft: #faf7f5;
  --white: #ffffff;
  --accent: #ea554a;
  --accent-strong: #e83468;
  --accent-warm: #f76a0c;
  --accent-soft: #fff0ee;
  --rose-soft: #fff3f6;
  --gold-soft: #fff6ed;
  --shadow: 0 18px 48px rgba(51, 51, 52, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(236, 231, 228, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.nav-contact {
  color: var(--accent-strong);
  font-weight: 900;
}

.menu-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.nav-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--ink);
  background: white;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px) 56px;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.98), rgba(250,247,245,0.9)),
    radial-gradient(circle at 82% 18%, rgba(232,52,104,0.13), transparent 34%),
    radial-gradient(circle at 70% 86%, rgba(247,106,12,0.10), transparent 28%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.96;
  font-weight: 900;
}

.lead {
  max-width: 670px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 900;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white;
  box-shadow: 0 12px 26px rgba(232, 52, 104, 0.24);
}

.button.secondary {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.button.secondary.light {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 600px;
  margin-top: 34px;
}

.hero-stats div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.84);
  padding: 14px;
}

.hero-stats strong {
  display: block;
  font-size: 24px;
}

.hero-stats span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.product-visual {
  border: 1px solid rgba(51, 51, 52, 0.1);
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual-topbar {
  display: flex;
  gap: 7px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: #fff8f6;
}

.visual-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px;
}

.metric {
  border-radius: 10px;
  padding: 14px;
  min-height: 96px;
}

.metric span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.metric strong {
  display: block;
  margin-top: 16px;
  font-size: 28px;
}

.metric.coral {
  background: var(--accent-soft);
}

.metric.blue {
  background: var(--rose-soft);
}

.metric.red {
  background: var(--gold-soft);
}

.chart {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 190px;
  margin: 8px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  background: linear-gradient(#fff8f6, white);
}

.chart i {
  display: block;
  flex: 1;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
}

.signal-list {
  display: grid;
  gap: 8px;
  padding: 0 16px 16px;
}

.signal-list div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 13px;
}

.signal-list span {
  color: var(--muted);
}

.section {
  padding: 72px clamp(20px, 5vw, 72px);
  background: white;
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.section-actions {
  margin-top: 22px;
}

.subpage-hero {
  padding: clamp(52px, 8vw, 96px) clamp(20px, 5vw, 72px) 64px;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.98), rgba(250,247,245,0.9)),
    radial-gradient(circle at 80% 20%, rgba(234,85,74,0.14), transparent 34%);
  border-bottom: 1px solid var(--line);
}

.subpage-hero h1 {
  max-width: 880px;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.05;
}

h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.feature-grid,
.pricing-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article,
.price-card,
.steps div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 22px;
}

.feature-grid p,
.price-card p,
.steps p,
.cta p {
  color: var(--muted);
  line-height: 1.65;
}

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

.topical-section {
  background: #fff8f6;
}

.screenshots-section {
  background: white;
}

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

.screenshot-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.screenshot-card-large {
  grid-column: 1 / -1;
}

.screenshot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  background: #f7f3f0;
}

.screenshot-card-large img {
  aspect-ratio: 16 / 8.8;
}

.screenshot-card figcaption {
  display: grid;
  gap: 5px;
  min-height: 92px;
  padding: 15px 16px 17px;
  border-top: 1px solid var(--line);
}

.screenshot-card strong {
  font-size: 15px;
}

.screenshot-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.detail-section {
  display: grid;
  gap: 28px;
  background: #fff8f6;
}

.screen-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.35fr);
  gap: 24px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 22px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.screen-detail:nth-child(even) {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
}

.screen-detail:nth-child(even) .screen-detail-copy {
  order: 2;
}

.screen-detail img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  object-position: top left;
  background: #f7f3f0;
}

.screen-detail-copy {
  align-self: center;
}

.screen-detail-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.detail-list {
  margin-top: 18px;
}

.detail-list li {
  font-size: 14px;
  line-height: 1.55;
}

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

.price-card {
  position: relative;
  min-height: 380px;
}

.price-card.featured {
  border-color: rgba(232, 52, 104, 0.42);
  box-shadow: var(--shadow);
}

.badge {
  display: inline-flex;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
}

.price {
  margin: 18px 0 10px;
  color: var(--ink);
  font-size: 38px;
  font-weight: 900;
}

.price span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

li {
  border-top: 1px solid var(--line);
  padding: 12px 0;
  color: var(--ink);
  font-weight: 700;
}

.steps span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white;
  font-weight: 900;
  margin-bottom: 16px;
}

.steps strong {
  display: block;
  font-size: 18px;
}

.cta {
  margin: 0;
  padding: 72px clamp(20px, 5vw, 72px);
  color: white;
  background:
    linear-gradient(135deg, #333334, #221f20),
    radial-gradient(circle at 84% 12%, rgba(234,85,74,0.24), transparent 34%);
}

.cta h2 {
  max-width: 780px;
}

.cta p {
  max-width: 620px;
  color: #f1ded9;
  font-size: 18px;
}

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

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 5vw, 72px);
  background: #262323;
  color: #f1ded9;
  font-size: 14px;
}

footer a {
  color: white;
  text-decoration: none;
  font-weight: 800;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

@media (max-width: 980px) {
  .hero,
  .feature-grid,
  .pricing-grid,
  .steps,
  .screenshots-grid,
  .screen-detail,
  .screen-detail:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .screen-detail:nth-child(even) .screen-detail-copy {
    order: 0;
  }

  .screenshot-card-large {
    grid-column: auto;
  }

  .product-visual {
    max-width: 680px;
  }

  .site-header {
    align-items: center;
  }

  .menu-button {
    display: flex;
    margin-left: auto;
  }

  .nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px clamp(20px, 5vw, 72px) 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 34px rgba(51, 51, 52, 0.10);
  }

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

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

  .menu-toggle:checked ~ .nav {
    display: flex;
  }
}

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

  .hero-stats,
  .visual-grid {
    grid-template-columns: 1fr;
  }

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

  .screen-detail {
    padding: 16px;
  }

  .screen-detail img {
    min-height: 240px;
  }

  footer,
  .footer-contact {
    justify-content: flex-start;
  }
}
