:root {
  color-scheme: light;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --bg: #f6f8f9;
  --surface: #ffffff;
  --text: #111827;
  --muted: #5f6b7a;
  --line: #dbe3ea;
  --blue: #1769aa;
  --blue-strong: #0f5f9e;
  --green: #35bf98;
  --shadow: 0 24px 60px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  font-family: var(--font-text);
  background: var(--bg);
  color: var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  line-height: 1.6;
}

a {
  color: var(--blue-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
  padding: 24px;
}

.footer-links,
.site-footer {
  gap: 20px;
}

.footer-links {
  align-items: center;
  display: flex;
}

.site-footer a {
  color: var(--muted);
  font-weight: 650;
}

.footer-links a[aria-current="page"] {
  color: var(--text);
}

.hero {
  align-items: center;
  margin: 0 auto;
  max-width: 1120px;
  padding: 56px 24px 64px;
}

.eyebrow {
  color: var(--blue-strong);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 24px;
}

.hero-title {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-title-icon {
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
  flex: 0 0 auto;
  height: clamp(56px, 8vw, 72px);
  object-fit: cover;
  width: clamp(56px, 8vw, 72px);
}

h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0;
  line-height: 1.15;
  margin-bottom: 12px;
}

h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.25;
  margin-bottom: 8px;
}

.lead {
  color: var(--muted);
  font-size: 1.2rem;
  max-width: 680px;
}

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

.button {
  border-radius: 8px;
  display: inline-flex;
  font-family: var(--font-display);
  font-weight: 760;
  min-height: 46px;
  padding: 10px 16px;
}

.button.primary {
  background: var(--blue-strong);
  color: #ffffff;
}

.app-store-button {
  align-items: center;
  background: #111827;
  color: #ffffff;
  justify-content: center;
  min-width: 166px;
  text-align: left;
}

.app-store-button span {
  display: grid;
  line-height: 1.05;
}

.app-store-button small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 650;
}

.app-store-button strong {
  font-size: 1.02rem;
}

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

.button:hover {
  text-decoration: none;
}

.section {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 72px 24px;
}

.screenshots-section {
  background: #edf3f6;
}

.section-heading,
.feature-grid,
.page {
  margin-left: auto;
  margin-right: auto;
  max-width: 1120px;
}

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

.section-heading p {
  color: var(--muted);
  max-width: 640px;
}

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

.screenshot-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1120px;
}

.screenshot-card {
  margin: 0;
}

.screenshot-card picture {
  display: block;
}

.screenshot-card--corrected-copy {
  container-type: inline-size;
  position: relative;
}

.screenshot-card--corrected-copy::after {
  background: linear-gradient(180deg, rgb(31, 109, 158), rgb(36, 122, 159));
  content: "";
  height: 11%;
  left: 1px;
  position: absolute;
  right: 1px;
  top: 15%;
  z-index: 1;
}

.screenshot-copy-correction {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 7.4cqi;
  font-weight: 400;
  left: 3%;
  letter-spacing: -0.02em;
  line-height: 1.08;
  position: absolute;
  right: 3%;
  text-align: center;
  top: 16.7%;
  z-index: 2;
}

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

.feature,
.text-block {
  background: #f9fbfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.feature p,
.text-block p,
.legal-copy p {
  color: var(--muted);
  margin-bottom: 0;
}

.page {
  padding: 64px 24px 88px;
}

.page-header {
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
  padding-bottom: 36px;
}

.content-section {
  max-width: 820px;
}

.stack {
  display: grid;
  gap: 14px;
}

.legal-copy h2 {
  margin-top: 34px;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
  max-width: none;
  padding-left: max(24px, calc((100% - 1120px) / 2));
  padding-right: max(24px, calc((100% - 1120px) / 2));
  width: 100%;
}

.copyright {
  margin: 0;
}

@media (max-width: 780px) {
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .hero {
    gap: 36px;
    padding-top: 32px;
  }

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

  .screenshot-grid {
    margin-left: auto;
    margin-right: auto;
    max-width: 340px;
  }

  .button {
    justify-content: center;
    width: 100%;
  }
}
