:root {
  --ink: #12161d;
  --muted: #5d6878;
  --line: #dbe3ea;
  --surface: #ffffff;
  --soft: #f2f7f6;
  --green: #00a67d;
  --red: #ed4f56;
  --amber: #f1b23a;
  --shadow: 0 22px 60px rgba(18, 22, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 227, 234, 0.82);
  backdrop-filter: blur(16px);
}

.brand,
nav,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
}

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

section {
  padding: 86px clamp(20px, 5vw, 72px);
}

#features,
#screenshots,
#download {
  scroll-margin-top: 88px;
}

.hero {
  min-height: 94svh;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
  padding-top: 130px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72)),
    radial-gradient(circle at 78% 16%, rgba(237, 79, 86, 0.22), transparent 34%),
    radial-gradient(circle at 80% 78%, rgba(0, 166, 125, 0.24), transparent 36%),
    var(--soft);
}

.app-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
}

.app-kicker img {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(18, 22, 29, 0.14);
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 8px;
}

.hero-copy > p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.18rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
}

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

.button.secondary {
  border-color: var(--line);
  background: #fff;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  gap: 14px;
  max-width: 560px;
  margin: 42px 0 0;
}

.metrics div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.metrics dt {
  font-size: 2rem;
  font-weight: 800;
}

.metrics dd {
  margin: 0;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 500px;
}

.shot {
  position: absolute;
  width: min(82%, 680px);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.shot-main {
  right: 0;
  top: 0;
}

.shot-secondary {
  left: 0;
  bottom: 0;
  width: min(68%, 560px);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.feature-strip,
.screenshots-section {
  background: var(--soft);
}

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

.feature-grid article {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
}

.feature-grid p,
.audience-section p,
.download-section p {
  color: var(--muted);
}

.audience-section,
.download-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
}

.audience-section p {
  max-width: 760px;
  font-size: 1.16rem;
}

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

.screenshot-grid img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(18, 22, 29, 0.04);
}

.download-section {
  color: #fff;
  background: var(--ink);
}

.download-section p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.download-section .button {
  justify-self: end;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: #fff;
}

footer a {
  font-weight: 800;
  text-decoration: none;
}

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 16px;
  align-items: center;
  width: min(680px, calc(100% - 40px));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.button.compact {
  min-height: 40px;
  padding-inline: 14px;
}

@media (max-width: 980px) {
  .hero,
  .audience-section,
  .download-section {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .shot {
    position: static;
    width: 100%;
  }

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

  .download-section .button {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: absolute;
    padding: 16px 20px;
  }

  nav {
    display: none;
  }

  section {
    padding: 64px 20px;
  }

  .hero {
    padding-top: 118px;
  }

  h1 {
    font-size: clamp(2.3rem, 11vw, 3.4rem);
    line-height: 1.02;
  }

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .metrics {
    display: grid;
  }

  footer,
  .cookie-banner {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }

  .cookie-actions .button {
    flex: 1;
  }
}
