:root {
  color-scheme: dark;
  --bg: #071111;
  --bg-soft: #0c1817;
  --ink: #f4fbf7;
  --muted: #a7b2ac;
  --soft: rgba(244, 251, 247, 0.72);
  --line: rgba(255, 255, 255, 0.14);
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --accent: #59d09a;
  --accent-deep: #2f9d71;
  --warn: #ff6f61;
  --shadow: rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at 78% 12%, rgba(89, 208, 154, 0.22), transparent 28rem),
    linear-gradient(180deg, #071111 0%, #091413 48%, #050b0b 100%);
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  font-weight: 950;
  letter-spacing: 0;
}

.brand-link img {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  box-shadow: 0 12px 30px rgba(89, 208, 154, 0.28);
}

.brand-link span {
  font-size: 20px;
}

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

.nav a {
  text-decoration: none;
}

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

.shell {
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(34px, 6vw, 82px);
  padding: 38px 0 70px;
}

.eyebrow {
  color: var(--accent);
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(56px, 8.5vw, 112px);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
}

.hero-copy p {
  max-width: 610px;
  color: var(--soft);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.24;
  font-weight: 760;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.app-store-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

.app-store-link[hidden] {
  display: none;
}

.app-store-link img {
  display: block;
  height: 48px;
  width: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  font-weight: 950;
}

.button:hover {
  border-color: rgba(89, 208, 154, 0.52);
  color: var(--accent);
}

.product-visual {
  position: relative;
  justify-self: center;
  width: min(430px, 100%);
}

.phone-frame {
  position: relative;
  overflow: hidden;
  width: min(360px, 76vw);
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background: #050b0b;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.7), 0 0 90px rgba(89, 208, 154, 0.18);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.visual-note {
  position: absolute;
  right: 0;
  bottom: 12%;
  width: min(250px, 62vw);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(7, 17, 17, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.34);
}

.visual-note strong {
  display: block;
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 24px;
}

.visual-note span {
  color: var(--soft);
  font-weight: 800;
}

.section {
  padding: clamp(54px, 8vw, 96px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.section-heading {
  max-width: 740px;
}

.section-heading h2,
.page-title h1 {
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.95;
  letter-spacing: 0;
  margin-bottom: 16px;
}

.section-heading p,
.page-title p {
  color: var(--soft);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.35;
  font-weight: 760;
}

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

.feature {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, var(--panel-strong), rgba(255, 255, 255, 0.035));
}

.feature span {
  color: var(--accent);
  font-size: 36px;
  font-weight: 950;
}

.feature h3 {
  margin: 18px 0 10px;
  font-size: 25px;
  line-height: 1;
}

.feature p,
.faq p,
.text-page p,
.text-page li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.workflow {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 36px;
  align-items: center;
}

.steps {
  display: grid;
  gap: 18px;
}

.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.step b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: #05100f;
  background: var(--accent);
  font-size: 20px;
}

.step h3 {
  margin-bottom: 6px;
  font-size: 24px;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.report-preview {
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
}

.report-bar {
  height: 12px;
  margin: 16px 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.report-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.report-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--soft);
  font-weight: 850;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.faq {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
}

.faq h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.faq p {
  margin-bottom: 0;
}

.final-cta {
  text-align: center;
  padding: clamp(64px, 10vw, 112px) 0;
}

.final-cta h2 {
  margin-bottom: 14px;
  font-size: clamp(48px, 8vw, 86px);
  line-height: 0.92;
}

.final-cta p {
  max-width: 620px;
  margin: 0 auto 24px;
  color: var(--soft);
  font-size: 22px;
  font-weight: 760;
}

.site-footer {
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 750;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.page-main {
  padding: 52px 0 84px;
}

.page-title {
  max-width: 840px;
  margin-bottom: 34px;
}

.text-page {
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.065);
}

.text-page h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1;
}

.text-page h2:first-child {
  margin-top: 0;
}

.text-page h3 {
  margin-top: 22px;
  margin-bottom: 8px;
}

.text-page ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.muted {
  color: var(--muted);
}

[data-reveal] {
  transform: translateY(0);
  opacity: 1;
  transition: opacity 560ms ease, transform 560ms ease;
}

[data-reveal].is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    transform: none;
    opacity: 1;
    transition: none;
  }
}

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

  .nav {
    display: none;
  }

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

  .hero {
    min-height: auto;
    padding-top: 26px;
  }

  .product-visual {
    width: min(420px, 100%);
  }

  .visual-note {
    right: 12px;
  }

  .feature-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .shell,
  .site-header,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .brand-link img {
    width: 38px;
    height: 38px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button,
  .app-store-link {
    width: 100%;
  }

  .app-store-link img {
    height: 44px;
  }

  .phone-frame {
    border-radius: 34px;
  }

  .visual-note {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: -18px;
  }

  .feature {
    min-height: 0;
  }
}
