:root {
  --court: #0b5d2e;
  --court-deep: #014725;
  --ball: #dfff4f;
  --ball-ink: #1a2a10;
  --bg: #f6f8f4;
  --surface: #ffffff;
  --text: #13201a;
  --muted: #5b6b62;
  --line: #dfe6df;
  --accent: #16a34a;
  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(1, 71, 37, 0.35);
  --max: 1080px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1720;
    --surface: #17232e;
    --text: #eef3ef;
    --muted: #9fb0a8;
    --line: #26343f;
    --accent: #d4e34c;
    --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
}

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

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 19px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* Hero */
.hero {
  background: radial-gradient(circle at 70% 30%, #2e9e3e 0%, var(--court) 45%, var(--court-deep) 100%);
  color: #fff;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 0; }
.eyebrow { display: inline-block; background: rgba(223, 255, 79, 0.16); color: var(--ball); font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 999px; letter-spacing: 0.02em; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.04; margin: 18px 0 16px; letter-spacing: -0.02em; }
.hero h1 span { color: var(--ball); }
.hero p.lead { font-size: 20px; color: rgba(255, 255, 255, 0.86); max-width: 34ch; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-bottom: 72px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; padding: 14px 22px; border-radius: 14px; font-size: 17px; }
.btn-ball { background: var(--ball); color: var(--ball-ink); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.4); }
.hero-phone { align-self: end; justify-self: center; width: min(340px, 80%); }
.phone {
  border-radius: 44px; padding: 10px; background: #0b0f0d;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
}
.phone img { border-radius: 36px; }
.hero-phone .phone { border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 0; }
.hero-phone .phone img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; max-height: 560px; object-fit: cover; object-position: top; width: 100%; }

/* Sections */
section { padding: 84px 0; }
section[id] { scroll-margin-top: 64px; }
.section-title { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.015em; }
.section-lead { color: var(--muted); font-size: 19px; max-width: 60ch; margin: 0 0 40px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--court); color: var(--ball); font-weight: 800; margin-bottom: 14px;
}
.step h3 { margin: 0 0 6px; font-size: 20px; }
.step p { margin: 0; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature .icon { font-size: 26px; line-height: 1; }
.feature h3 { margin: 12px 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
.pro-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ball-ink); background: var(--ball); padding: 2px 7px; border-radius: 6px; margin-left: 6px; vertical-align: 2px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: start; }
.gallery figure { margin: 0; }
.gallery figcaption { text-align: center; color: var(--muted); font-size: 15px; margin-top: 12px; }
.gallery .phone { border-radius: 36px; padding: 8px; }
.gallery .phone img { border-radius: 29px; }
.gallery .card-shot { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #262626; }

.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 860px; }
.plan { background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: 30px; }
.plan.pro { background: linear-gradient(160deg, var(--court) 0%, var(--court-deep) 100%); color: #fff; border: none; box-shadow: var(--shadow); }
.plan h3 { margin: 0; font-size: 22px; }
.price { font-size: 44px; font-weight: 800; margin: 10px 0 2px; letter-spacing: -0.02em; }
.price small { font-size: 18px; font-weight: 600; opacity: 0.75; }
.plan .note { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.plan.pro .note { color: rgba(255, 255, 255, 0.75); }
.plan ul { list-style: none; padding: 0; margin: 0; }
.plan li { padding: 7px 0 7px 28px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: var(--accent); }
.plan.pro li::before { color: var(--ball); }
.fine { color: var(--muted); font-size: 14px; margin-top: 18px; max-width: 70ch; }

/* FAQ */
.faq { max-width: 760px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; }
summary { font-weight: 700; cursor: pointer; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Text pages */
.page { padding: 56px 0 84px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(34px, 5vw, 46px); margin: 0 0 6px; letter-spacing: -0.015em; }
.page .updated { color: var(--muted); margin: 0 0 32px; }
.page h2 { font-size: 22px; margin: 36px 0 8px; }
.page p, .page li { color: var(--text); }
.page ul { padding-left: 22px; }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 16px 20px; margin: 24px 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; padding-bottom: 36px; }
  .features { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav { gap: 14px; }
  .nav a.hide-sm { display: none; }
  section { padding: 60px 0; }
  .steps, .features, .plans { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 14px; }
}
