:root {
  color-scheme: light;
  --ink: #101316;
  --muted: #58636f;
  --paper: #f5f7f8;
  --surface: #ffffff;
  --line: #d8e0e6;
  --yellow: #ffd329;
  --yellow-dark: #c69000;
  --blue: #175f8f;
  --red: #e23d31;
  --green: #26684f;
  --shadow: 0 24px 70px rgba(16, 19, 22, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 247, 248, 0.92);
  border-bottom: 1px solid rgba(16, 19, 22, 0.08);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

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

.nav-links a { text-decoration: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(16, 19, 22, 0.14);
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #24282d;
  box-shadow: 0 16px 34px rgba(16, 19, 22, 0.2);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border-color: rgba(16, 19, 22, 0.18);
  box-shadow: none;
}

.button.app-store {
  background: #050607;
  color: #fff;
  border-color: #050607;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4)),
    linear-gradient(145deg, #f9fbfc 0%, #eef3f6 48%, #ffe274 100%);
}

.hero-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  gap: 56px;
  align-items: center;
  padding: 56px 0 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #8a5d00;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(42px, 7vw, 78px);
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: #303a43;
  font-size: 21px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 0;
}

.proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}

.proof > span,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid rgba(16, 19, 22, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  color: #37414b;
  font-size: 13px;
  font-weight: 850;
}

.rating-pill {
  gap: 8px;
}

.phone-stage {
  position: relative;
  min-height: 540px;
}

.phone-stage .app-icon {
  position: absolute;
  top: 0;
  right: 28px;
  width: 96px;
  height: 96px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  z-index: 3;
}

.phone-shot {
  position: absolute;
  width: min(43vw, 220px);
  border-radius: 19px;
  box-shadow: 0 24px 58px rgba(16, 19, 22, 0.22);
  background: #fff;
}

.phone-shot.one {
  left: 34px;
  top: 78px;
  transform: rotate(-5deg);
}

.phone-shot.two {
  right: 18px;
  top: 118px;
  transform: rotate(5deg);
}

main section { padding: 68px 0; }

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.download-panel,
.cta-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #f8fafb);
  box-shadow: 0 18px 48px rgba(16, 19, 22, 0.08);
}

.download-panel img,
.cta-panel img {
  width: 92px;
  height: 92px;
  border-radius: 18px;
}

.download-panel h2,
.cta-panel h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.download-panel p,
.cta-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.metrics,
.feature-grid,
.guide-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.metric,
.feature-card,
.guide-card,
.faq-card,
.step {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.metric strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
}

.metric span,
.feature-card p,
.guide-card p,
.faq-card p,
.step p {
  color: var(--muted);
}

.feature-card strong {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(170px, 1fr));
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 0;
  background: transparent;
  scroll-snap-type: x mandatory;
}

.screenshot-grid figure {
  margin: 0;
  min-width: 170px;
  background: transparent;
  scroll-snap-align: start;
}

.screenshot-grid img {
  border-radius: 28px;
}

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

.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--yellow);
  font-weight: 950;
}

.guide-card,
.faq-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
}

.guide-card a,
.faq-card a,
.text-link {
  margin-top: auto;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.guide-card a:hover,
.faq-card a:hover,
.text-link:hover { text-decoration: underline; }

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

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: #111418;
  color: #fff;
}

.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.guide-hero {
  padding: 54px 0;
  background: linear-gradient(145deg, #f9fbfc, #fff1a4);
  border-bottom: 1px solid var(--line);
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: start;
}

.guide-content {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.guide-content h2 {
  margin-top: 34px;
  font-size: 32px;
}

.guide-content h2:first-child { margin-top: 0; }
.guide-content p,
.guide-content li { color: #34404a; font-size: 18px; }
.guide-content li { margin: 9px 0; }

.guide-sidebar {
  position: sticky;
  top: 96px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.guide-sidebar img {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  margin-bottom: 16px;
}

.guide-sidebar ul {
  padding-left: 18px;
  color: var(--muted);
}

@media (max-width: 960px) {
  .hero-inner,
  .guide-layout {
    grid-template-columns: 1fr;
  }
  .hero-inner {
    padding: 38px 0 34px;
  }
  .phone-stage {
    display: none;
  }
  .metrics,
  .feature-grid,
  .guide-grid,
  .faq-grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .download-panel,
  .cta-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  main section {
    padding: 25px 0;
  }
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }
  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .nav-links .button {
    display: none;
  }
  .screenshot-grid {
    display: flex;
    gap: 15px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 0 16px 4px;
    scroll-padding-left: 16px;
  }
  .screenshot-grid figure {
    flex: 0 0 min(72vw, 220px);
    min-width: 0;
  }
  .rating-pill {
    display: none;
  }
  .hero-inner {
    gap: 24px;
    padding: 24px 0 26px;
  }
  .hero-copy { font-size: 18px; }
  .section-head,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .metrics,
  .feature-grid,
  .guide-grid,
  .guide-content {
    padding: 24px;
  }
}
