:root {
  --ink: #17202a;
  --muted: #5c6b79;
  --line: #dce5ec;
  --surface: #ffffff;
  --soft: #f5f8fb;
  --soft-2: #eaf3f0;
  --accent: #0f766e;
  --accent-dark: #0b5c55;
  --gold: #e7a93c;
  --red: #d75a4a;
  --blue: #2f72d6;
  --shadow: 0 24px 70px rgba(23, 32, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(220, 229, 236, 0.82);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--accent);
  border-radius: 8px;
  font-size: 0.88rem;
}

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

.site-nav a:hover {
  color: var(--ink);
}

.nav-download {
  color: #fff !important;
  background: var(--ink);
  padding: 10px 15px;
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.88fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
  min-height: calc(92vh - 72px);
  padding: clamp(44px, 6vw, 78px) clamp(18px, 5vw, 80px) 34px;
  background:
    linear-gradient(115deg, rgba(15, 118, 110, 0.1), rgba(47, 114, 214, 0.08) 44%, rgba(231, 169, 60, 0.1)),
    #fbfdfe;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(2.35rem, 5.2vw, 4.75rem);
}

.hero-lead {
  max-width: 660px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
}

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

.hero-download {
  margin-top: 28px;
}

.hero-download .hero-actions {
  margin-top: 0;
}

.download-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 12px 32px rgba(15, 118, 110, 0.26);
}

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

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

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

.hero-stats div {
  min-width: 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(220, 229, 236, 0.9);
  border-radius: 8px;
}

.hero-stats dt {
  font-weight: 850;
}

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

.hero-visual {
  min-width: 0;
}

.hero-screenshot {
  max-width: 860px;
  margin: 0;
  overflow: hidden;
  background: #101820;
  border: 1px solid rgba(23, 32, 42, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top left;
}

.app-window {
  overflow: hidden;
  background: #101820;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  gap: 8px;
  padding: 14px;
  background: #192530;
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d75a4a;
}

.window-bar span:nth-child(2) {
  background: var(--gold);
}

.window-bar span:nth-child(3) {
  background: #4aaa6f;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 130px 1fr;
  min-height: 430px;
}

.preview-sidebar {
  padding: 24px 18px;
  color: rgba(255, 255, 255, 0.7);
  background: #111a22;
}

.preview-sidebar strong {
  display: block;
  margin-bottom: 28px;
  color: #fff;
}

.preview-sidebar p {
  margin: 16px 0;
  font-size: 0.88rem;
}

.preview-main {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 24px;
  background: #f8fbfd;
}

.preview-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-weight: 850;
}

.preview-toolbar button {
  border: 0;
  border-radius: 8px;
  padding: 9px 12px;
  color: #fff;
  background: var(--accent);
  font-weight: 800;
}

.problem-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.92rem;
}

.problem-row b,
.problem-row em {
  padding: 5px 8px;
  border-radius: 8px;
  font-style: normal;
  font-size: 0.78rem;
  white-space: nowrap;
}

.problem-row b {
  background: #eef4f8;
}

.solved em {
  color: #0d614c;
  background: #dff5ed;
}

.progress em {
  color: #805800;
  background: #fff0c7;
}

.failed em {
  color: #9c2d22;
  background: #ffe2df;
}

.chart-card {
  display: flex;
  align-items: end;
  gap: 14px;
  height: 138px;
  margin-top: 8px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.chart-card span {
  flex: 1;
  min-width: 22px;
  background: linear-gradient(180deg, var(--blue), var(--accent));
  border-radius: 8px 8px 3px 3px;
}

.section,
.guide,
.site-footer {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 80px);
}

#why {
  padding-bottom: clamp(40px, 5vw, 64px);
}

#blog {
  padding-top: clamp(40px, 5vw, 64px);
}

#screenshots {
  padding-left: clamp(18px, 3vw, 48px);
  padding-right: clamp(18px, 3vw, 48px);
}

.band {
  background: var(--soft);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading h2,
.split h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.feature-grid,
.screenshot-grid,
.article-cards,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.screenshot-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  gap: 18px;
  align-items: stretch;
}

.feature-card,
.proof-card,
.article-card,
.screenshot,
.timeline article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card,
.proof-card {
  padding: 24px;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 850;
}

.feature-card h3,
.proof-card h3,
.article-card h3,
.timeline h3 {
  margin: 18px 0 10px;
  font-size: 1.24rem;
}

.feature-card p,
.proof-card p,
.article-card p,
.timeline p,
.reason-list p {
  margin: 0;
  color: var(--muted);
}

.screenshot {
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(23, 32, 42, 0.08);
}

.screenshot-link {
  display: grid;
  place-items: center;
  height: 250px;
  padding: 10px;
  overflow: hidden;
  background: #f8fbfd;
  border-bottom: 1px solid var(--line);
}

.screenshot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #f8fbfd;
}

.screenshot figcaption {
  flex: 1;
  min-height: 94px;
  padding: 18px;
  color: var(--muted);
  font-size: 1.02rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 72px);
}

.reason-list {
  display: grid;
  gap: 18px;
}

.reason-list p {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.timeline {
  display: grid;
  gap: 16px;
  max-width: 900px;
}

.timeline article {
  padding: 24px;
}

.timeline time {
  color: var(--accent);
  font-weight: 850;
}

.article-card {
  display: block;
  padding: 24px;
}

.article-card span {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.final-cta {
  background: linear-gradient(115deg, rgba(15, 118, 110, 0.1), rgba(47, 114, 214, 0.08) 48%, rgba(231, 169, 60, 0.1)), #fbfdfe;
}

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

.final-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.final-cta p:not(.eyebrow) {
  max-width: 680px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.final-cta .hero-actions {
  justify-content: center;
}

.guide {
  max-width: 980px;
  margin: 0 auto;
}

.guide-header {
  margin-bottom: 24px;
}

.guide h1 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.2rem);
}

.guide-meta {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.guide h2 {
  margin: 44px 0 12px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.guide h3 {
  margin: 28px 0 10px;
  font-size: 1.25rem;
}

.guide p {
  margin: 0 0 18px;
  color: #334251;
  font-size: 1.04rem;
}

.ad-slot {
  display: grid;
  place-items: center;
  min-height: 108px;
  margin: 28px 0;
  color: #607180;
  background: repeating-linear-gradient(135deg, #f4f7fa, #f4f7fa 12px, #edf2f6 12px, #edf2f6 24px);
  border: 1px dashed #b7c6d1;
  border-radius: 8px;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  color: rgba(255, 255, 255, 0.76);
  background: #101820;
}

.site-footer .brand {
  color: #fff;
}

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

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: flex-end;
  gap: 14px 20px;
}

.site-footer a:hover {
  color: #fff;
}

@media (max-width: 980px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    max-width: 720px;
  }

  .feature-grid,
  .proof-grid,
  .article-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screenshot-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .nav-download {
    text-align: center;
  }

  .hero-stats,
  .feature-grid,
  .proof-grid,
  .article-cards {
    grid-template-columns: 1fr;
  }

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

  .preview-sidebar {
    display: none;
  }

  .problem-row {
    grid-template-columns: 1fr;
  }

  .screenshot-link {
    height: 220px;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 460px) {
  .hero-actions .button {
    width: 100%;
  }

  .chart-card {
    gap: 8px;
  }
}
