:root {
  --green: #0b7a5a;
  --green-dark: #086046;
  --green-soft: #e6f4ef;
  --bg: #fafaf7;
  --ink: #1b1b1b;
  --muted: #6b6b6b;
  --line: #e2e2dc;
  --white: #ffffff;
  --yellow: #ffc737;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(27, 27, 27, 0.08);
  --max: 1080px;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: 12px;
}
.header-cta:hover { background: var(--green-dark); color: var(--white); }

/* Hero */
.hero {
  background: var(--green);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  gap: 32px;
  padding: 56px 0 48px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.hero .lede {
  margin: 0 0 28px;
  font-size: 1.15rem;
  line-height: 1.5;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.92);
}

.play-badge {
  display: inline-block;
  margin-left: -10px;
}
.play-badge img {
  height: 80px;
  width: auto;
}

.hero-art img {
  width: min(100%, 520px);
  margin-inline: auto;
  border-radius: 16px;
}

.ruler {
  height: 14px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--ink) 0 2px,
      transparent 2px 12px
    ),
    var(--yellow);
  background-size: 24px 8px, 100% 100%;
  background-position: 0 0, 0 0;
  background-repeat: repeat-x, no-repeat;
}

/* Sections */
section { padding: 64px 0; }
section h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}
.section-intro {
  margin: 0 0 32px;
  color: var(--muted);
  max-width: 36rem;
}

/* Steps */
.steps {
  display: grid;
  gap: 16px;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 12px;
}
.step h3 { margin: 0 0 8px; font-size: 1.15rem; }
.step p { margin: 0; color: var(--muted); font-size: 1rem; }

/* Screenshots */
.shots {
  display: grid;
  gap: 24px;
  justify-items: center;
}
.shot figcaption {
  margin-top: 12px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}
.shot img {
  width: min(100%, 280px);
  margin-inline: auto;
}

/* Pricing */
.plans {
  display: grid;
  gap: 16px;
}
.plan {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plan.featured {
  border: 2px solid var(--green);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, var(--green-soft) 0 56px, var(--white) 56px);
}
.plan h3 { margin: 0; font-size: 1.2rem; }
.price {
  margin: 0;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--green);
}
.price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan p { margin: 0; color: var(--muted); font-size: 1rem; }
.plan-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.footer-links a { color: var(--ink); text-decoration: none; }
.footer-links a:hover { color: var(--green); text-decoration: underline; }
.site-footer p { margin: 0 0 6px; }

/* 404 */
.not-found { padding: 80px 0 120px; }
.not-found h1 { margin: 0 0 12px; }
.not-found a { font-weight: 600; }

@media (min-width: 720px) {
  .hero .wrap {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    padding: 72px 0 64px;
  }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .shots { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}

@media (max-width: 719px) {
  .shots {
    grid-auto-flow: column;
    grid-auto-columns: min(280px, 78vw);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    justify-items: stretch;
    padding-bottom: 8px;
    width: calc(100% + 40px);
    margin-left: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .shot { scroll-snap-align: start; }
  .header-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
