:root {
  color-scheme: light;
  --bg: #f7f9fb;
  --panel: #ffffff;
  --ink: #172126;
  --muted: #5f6d75;
  --accent: #0f8f7c;
  --accent-strong: #0b5f55;
  --warm: #e4572e;
  --line: #dbe5e8;
  --shadow: 0 16px 40px rgba(23, 33, 38, 0.12);
}

* {
  box-sizing: border-box;
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(15, 143, 124, 0.14), transparent 42%),
    linear-gradient(25deg, rgba(228, 87, 46, 0.12), transparent 48%);
}

header,
main,
footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem;
}

main {
  padding-top: 0;
}

nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  padding-block: 0.35rem;
}

nav strong {
  margin-right: auto;
  font-size: 1.05rem;
}

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

nav a:hover {
  color: var(--accent-strong);
}

.hero {
  min-height: min(720px, 76vh);
  display: flex;
  align-items: center;
  margin: 0 calc(50% - 50vw);
  padding: clamp(2rem, 6vw, 5rem) max(1rem, calc((100vw - 1120px) / 2 + 1rem));
  background:
    linear-gradient(90deg, rgba(247, 249, 251, 0.98) 0%, rgba(247, 249, 251, 0.9) 48%, rgba(247, 249, 251, 0.34) 100%),
    url("/screenshots/ios_1206x2622_IMG_0916.PNG") right clamp(1rem, 7vw, 5rem) center / min(35vw, 320px) auto no-repeat,
    linear-gradient(135deg, #fdfefe, #dff5ef 55%, #fbe2d8);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

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

.hero h1 {
  margin: 0.3rem 0 1rem;
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p {
  max-width: 46rem;
  font-size: 1.1rem;
  line-height: 1.65;
}

.eyebrow {
  color: var(--accent-strong);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cta {
  display: inline-block;
  margin-right: 0.6rem;
  margin-top: 0.5rem;
  padding: 0.72rem 1rem;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.cta.primary {
  background: var(--accent);
  color: #ffffff;
}

.cta.secondary {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.feature-band,
.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1rem;
}

.feature-card,
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(23, 33, 38, 0.06);
}

.screenshot-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
  margin-top: 1rem;
}

img.preview {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.store-band {
  margin-top: 1rem;
  padding-block: 1rem;
}

.store-band span {
  display: inline-block;
  margin-right: 0.75rem;
  color: var(--muted);
  font-weight: 700;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  padding: 0.65rem;
  margin-bottom: 0.8rem;
}

input[type="checkbox"] {
  width: auto;
  margin-right: 0.35rem;
}

button {
  border: 0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-weight: 800;
  cursor: pointer;
  background: var(--accent);
  color: #ffffff;
}

button:hover {
  background: var(--accent-strong);
}

.turnstile-widget {
  margin: 0.5rem 0 1rem;
}

.small {
  color: var(--muted);
  font-size: 0.92rem;
}

a {
  color: var(--accent-strong);
}

@media (max-width: 820px) {
  nav strong {
    flex-basis: 100%;
  }

  .hero {
    min-height: 560px;
    align-items: flex-start;
    background:
      linear-gradient(180deg, rgba(247, 249, 251, 0.98) 0%, rgba(247, 249, 251, 0.9) 52%, rgba(247, 249, 251, 0.42) 100%),
      url("/screenshots/ios_1206x2622_IMG_0916.PNG") center bottom -10rem / 270px auto no-repeat,
      linear-gradient(135deg, #fdfefe, #dff5ef 55%, #fbe2d8);
  }

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

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