:root {
  color-scheme: light;
  --ink: #161a22;
  --muted: #5d6672;
  --paper: #f6f7f2;
  --surface: #ffffff;
  --teal: #075f67;
  --leaf: #34794b;
  --coral: #d94e36;
  --gold: #d7922f;
  --line: rgba(22, 26, 34, 0.12);
  --shadow: 0 20px 60px rgba(17, 30, 38, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(22, 26, 34, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav a {
  padding: 8px 10px;
  color: rgba(22, 26, 34, 0.76);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
}

nav a:hover {
  background: rgba(7, 95, 103, 0.10);
  color: var(--teal);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 92vh;
  padding: 116px 24px 112px;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  z-index: -3;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 29, 32, 0.82) 0%, rgba(8, 29, 32, 0.58) 38%, rgba(8, 29, 32, 0.14) 78%),
    linear-gradient(0deg, rgba(8, 29, 32, 0.40), rgba(8, 29, 32, 0.04) 46%);
}

.hero-content {
  width: min(1180px, 100%);
  margin: 0 auto;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: 4.9rem;
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

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

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

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.50);
  color: #ffffff;
}

.hero-preview {
  position: absolute;
  left: 50%;
  bottom: 18px;
  display: grid;
  gap: 4px;
  width: min(1180px, calc(100% - 48px));
  padding: 16px 18px;
  color: #fff;
  text-decoration: none;
  transform: translateX(-50%);
  border-top: 1px solid rgba(255, 255, 255, 0.36);
}

.hero-preview span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-preview strong {
  font-size: 1.1rem;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 28px;
}

.section h2 {
  margin: 0;
  font-size: 2.45rem;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.section p {
  line-height: 1.7;
}

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

.feature-card {
  min-height: 236px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(22, 26, 34, 0.07);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 900;
  background: var(--teal);
  border-radius: 8px;
}

.feature-card:nth-child(2) .feature-icon {
  background: var(--coral);
}

.feature-card:nth-child(3) .feature-icon {
  background: var(--leaf);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.app-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.58fr);
  gap: 56px;
  align-items: center;
  padding-top: 64px;
}

.app-copy p:not(.eyebrow) {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.05rem;
}

.app-copy p + p {
  margin-top: 14px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 750;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 12px;
  height: 12px;
  background: var(--leaf);
  clip-path: polygon(14% 50%, 39% 75%, 88% 20%, 100% 32%, 40% 92%, 0 55%);
}

.app-summary {
  display: grid;
  gap: 14px;
}

.app-summary div {
  display: grid;
  gap: 6px;
  min-height: 124px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(22, 26, 34, 0.07);
}

.app-summary strong {
  color: var(--teal);
  font-size: 1.55rem;
  line-height: 1;
}

.app-summary span {
  color: var(--muted);
  line-height: 1.5;
  font-weight: 700;
}

.screenshot-section {
  padding-top: 48px;
}

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

.screenshot-card {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(22, 26, 34, 0.10);
}

.screenshot-card.featured {
  transform: translateY(-24px);
}

.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(22, 26, 34, 0.10);
}

.screenshot-card figcaption {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 850;
  text-align: center;
}

.cta-section {
  width: 100%;
  margin-top: 18px;
  padding: 0;
  background: var(--teal);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 68px 0;
  color: #fff;
}

.cta-panel .eyebrow {
  color: #ffd796;
}

.cta-panel h2 {
  max-width: 740px;
}

.cta-panel p:not(.eyebrow) {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.06rem;
}

.cta-actions {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.store-note {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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

@media (max-width: 860px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  nav a {
    padding: 7px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 90vh;
    padding: 102px 16px 106px;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 29, 32, 0.86) 0%, rgba(8, 29, 32, 0.64) 56%, rgba(8, 29, 32, 0.22) 100%),
      linear-gradient(0deg, rgba(8, 29, 32, 0.52), rgba(8, 29, 32, 0.10) 50%);
  }

  .hero h1 {
    max-width: 360px;
    font-size: 3rem;
    line-height: 1;
  }

  .hero-copy {
    max-width: 420px;
    font-size: 1.02rem;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading,
  .app-section {
    grid-template-columns: 1fr;
  }

  .section h2 {
    font-size: 2rem;
  }

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

  .feature-card {
    min-height: 0;
  }

  .app-summary {
    grid-template-columns: 1fr;
  }

  .screenshot-grid {
    grid-template-columns: 1fr;
    width: min(390px, 100%);
    margin: 0 auto;
  }

  .screenshot-card.featured {
    transform: none;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    padding: 54px 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
  }

  .brand span {
    display: none;
  }

  nav {
    gap: 0;
  }

  nav a {
    font-size: 0.78rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 240px;
  }

  .hero-preview {
    width: calc(100% - 32px);
    padding: 12px 0;
  }

  .hero-preview strong {
    font-size: 0.98rem;
  }

  .screenshot-card {
    padding: 10px;
  }

  .screenshot-card img {
    border-radius: 18px;
  }

  .cta-panel {
    width: calc(100% - 32px);
  }
}
