:root {
  color-scheme: light;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #edf2f7;
  --text: #111827;
  --muted: #5d6678;
  --line: #dce3eb;
  --accent: #1167e8;
  --accent-strong: #0b4db3;
  --green: #18a06b;
  --shadow: 0 24px 80px rgba(17, 24, 39, 0.12);
  --radius: 8px;
  --max: 1120px;
  --kl-ink: #111827;
  --kl-accent: #18a06b;
  --kl-paper: #f8fafc;
  --kl-border: #dce3eb;
  --kl-muted: #5d6678;
  --kl-header-bg: rgba(248, 250, 252, .86);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(17, 103, 232, 0.35);
  outline-offset: 3px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.hero,
.section,
.split-section {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.hero {
  display: grid;
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 92px);
  padding: 56px 0 48px;
}

.app-icon {
  display: block;
  width: 84px;
  height: 84px;
  border-radius: 22px;
  margin-bottom: 26px;
  object-fit: cover;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.22);
}

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

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

h1 {
  margin: 0;
  font-size: clamp(3.8rem, 14vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.hero-copy {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 4vw, 1.45rem);
  line-height: 1.45;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.app-store-badge {
  display: inline-flex;
  width: 180px;
  height: 60px;
  align-items: center;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 160ms ease;
}

.app-store-badge:hover {
  transform: translateY(-1px);
}

.app-store-badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: var(--text);
  color: #fff;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.2);
}

.button-primary:hover {
  background: #000;
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.hero-preview {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(100%, 340px);
  aspect-ratio: 9 / 18.7;
  border: 10px solid #161b25;
  border-radius: 42px;
  background: #161b25;
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

.section {
  padding: 72px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 28px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--surface);
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--accent);
  font-weight: 900;
}

.screenshots-section {
  padding-top: 30px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.screenshot-card {
  margin: 0;
}

.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.08);
}

.screenshot-card figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
}

.split-section {
  display: grid;
  gap: 22px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 52px 0;
}

.split-section p {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
}

.privacy-callout {
  border-bottom: 1px solid var(--line);
}

@media (min-width: 700px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .split-section {
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 980px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    padding-top: 36px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
