:root {
  color-scheme: light;
  --ink: #182026;
  --muted: #5e6a72;
  --line: #d7e0e3;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --green: #1f7a55;
  --red: #bd3f37;
  --gold: #d99c28;
  --blue: #2e6fa7;
  --teal: #2f8b8e;
  --shadow: 0 18px 45px rgba(24, 32, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(135deg, rgba(47, 139, 142, 0.12), transparent 34rem),
    linear-gradient(315deg, rgba(217, 156, 40, 0.16), transparent 36rem),
    var(--paper);
  font-size: 17px;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
}

.brand-mark,
.app-card img,
.mini-grid img {
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(24, 32, 38, 0.18);
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, var(--green), var(--blue));
  font-size: 15px;
  font-weight: 900;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

main {
  overflow: hidden;
}

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

.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 52px;
  align-items: center;
  padding: 36px 0 96px;
}

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

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

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

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

h1 {
  font-size: clamp(50px, 6vw, 86px);
}

.hero h1 {
  white-space: nowrap;
}

.page-hero h1 {
  max-width: 14ch;
  font-size: clamp(42px, 5vw, 68px);
  white-space: normal;
}

h2 {
  font-size: clamp(32px, 4vw, 58px);
}

h3 {
  font-size: 22px;
}

.lead {
  margin: 24px 0 0;
  max-width: 660px;
  color: #344048;
  font-size: 22px;
  line-height: 1.45;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 7px 0 rgba(24, 32, 38, 0.16);
}

.button.primary {
  color: #fff;
  background: var(--ink);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.74);
}

.hero-media {
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}

.hero-media img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.section {
  padding: 86px 0;
}

.intro,
.support-band,
.two-column {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.intro p:last-child,
.two-column p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

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

.screenshot-card {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(24, 32, 38, 0.1);
}

.screenshot-card.wide {
  grid-column: auto;
}

.screenshot-card img {
  width: 100%;
  height: auto;
}

.screenshot-card figcaption {
  padding: 12px 14px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.app-card {
  min-height: 280px;
  padding: 22px;
  border: 1px solid rgba(24, 32, 38, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(24, 32, 38, 0.08);
}

.app-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  background:
    linear-gradient(135deg, rgba(31, 122, 85, 0.15), rgba(255, 255, 255, 0.86)),
    #fff;
}

.app-card h3 {
  margin-top: 18px;
}

.app-card.featured h3 {
  margin-top: 0;
}

.app-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.status {
  display: inline-flex;
  margin-top: 18px;
  padding: 5px 10px;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.status.subtle {
  color: var(--ink);
  background: rgba(217, 156, 40, 0.22);
}

.support-band {
  align-items: center;
  padding: 42px;
  margin-bottom: 60px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(31, 122, 85, 0.92), rgba(46, 111, 167, 0.94)),
    var(--green);
}

.support-band .eyebrow,
.support-band h2 {
  color: #fff;
}

.support-band .button {
  justify-self: end;
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.page-hero {
  padding: 82px 0 58px;
}

.page-hero.narrow {
  max-width: 840px;
}

.page-hero .button {
  margin-top: 28px;
}

.two-column {
  border-top: 1px solid var(--line);
}

.info-list {
  padding: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
}

.info-list ul {
  margin: 18px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.info-list li + li {
  margin-top: 8px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.mini-grid div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 12px;
  border: 1px solid rgba(24, 32, 38, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.policy {
  max-width: 840px;
  padding: 0 0 84px;
}

.policy h2 {
  margin-top: 34px;
  font-size: 28px;
}

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

.policy a {
  color: var(--blue);
  font-weight: 800;
}

.updated {
  margin-top: 42px;
  font-size: 15px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

@media (max-width: 900px) {
  .hero,
  .intro,
  .support-band,
  .two-column {
    grid-template-columns: 1fr;
  }

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

  .hero-media {
    max-width: 620px;
    margin: 0 auto;
  }

  .app-grid,
  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-band .button {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  nav {
    justify-content: flex-start;
  }

  .hero,
  .section,
  .page-hero,
  .policy {
    width: min(100% - 28px, 1120px);
  }

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

  .app-card.featured {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .support-band {
    padding: 28px;
  }

  .site-footer {
    flex-direction: column;
  }
}
