:root {
  color-scheme: light;
  --ink: #1b2028;
  --muted: #5d6877;
  --line: #dfe5ec;
  --paper: #ffffff;
  --wash: #f4f8fb;
  --green: #1f8a70;
  --blue: #265f9d;
  --violet: #6b4fc3;
  --shadow: 0 24px 70px rgba(26, 39, 60, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--wash);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

.hero {
  min-height: 82vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  gap: 64px;
  padding: 72px 0 48px;
}

.hero-copy,
.product-visual {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(4rem, 9vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.lede {
  max-width: 660px;
  margin-bottom: 28px;
  color: #303a49;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  overflow-wrap: break-word;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: 3px solid rgba(38, 95, 157, 0.26);
  outline-offset: 3px;
}

.primary {
  border-color: #194d84;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 24px rgba(38, 95, 157, 0.22);
}

.secondary {
  background: var(--paper);
  color: var(--blue);
}

.hint {
  max-width: 540px;
  color: var(--muted);
}

.product-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
  overflow: hidden;
}

.product-visual img {
  width: 192px;
  height: 192px;
  border-radius: 38px;
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
  z-index: 2;
}

.mini-app {
  position: absolute;
  right: 0;
  bottom: 28px;
  width: 260px;
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 18px;
}

.mini-app-bar {
  display: flex;
  gap: 7px;
  margin-bottom: 26px;
}

.mini-app-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.mini-row,
.mini-checklist span {
  display: block;
  height: 12px;
  border-radius: 8px;
  background: #d7e0e9;
}

.mini-row {
  width: 86%;
  margin-bottom: 14px;
}

.mini-row.strong {
  width: 64%;
  height: 18px;
  background: var(--violet);
}

.mini-checklist {
  display: grid;
  gap: 13px;
  margin-top: 28px;
}

.mini-checklist span:nth-child(1) {
  width: 76%;
  background: #b9dcca;
}

.mini-checklist span:nth-child(2) {
  width: 91%;
}

.mini-checklist span:nth-child(3) {
  width: 58%;
}

.details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.details article {
  min-height: 188px;
  background: var(--paper);
  padding: 28px;
}

h2 {
  margin-bottom: 10px;
  font-size: 1.06rem;
  letter-spacing: 0;
}

.details p,
footer p {
  margin-bottom: 0;
  color: var(--muted);
}

code {
  border-radius: 6px;
  background: #eef3f7;
  padding: 2px 5px;
  color: #253244;
  font-size: 0.94em;
}

footer {
  padding: 24px 0 48px;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
    padding-top: 44px;
  }

  .product-visual {
    min-height: 300px;
    justify-items: start;
  }

  .product-visual img {
    width: 144px;
    height: 144px;
    border-radius: 28px;
  }

  .mini-app {
    right: 10px;
    bottom: 4px;
    width: min(260px, 78vw);
  }

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

@media (max-width: 520px) {
  .page {
    width: calc(100% - 24px);
  }

  h1 {
    font-size: 4rem;
  }

  .download-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .lede {
    font-size: 1.12rem;
  }

  .product-visual {
    min-height: 164px;
    justify-items: center;
  }

  .product-visual img {
    width: 112px;
    height: 112px;
    border-radius: 22px;
  }

  .mini-app {
    display: none;
  }
}
