:root {
  --brand: #1a5f7a;
  --brand-dark: #00475e;
  --accent: #f9b115;
  --accent-soft: #fff4d6;
  --ink: #1a1b1f;
  --muted: #5a6166;
  --surface: #faf9fe;
  --card: #ffffff;
  --hairline: #e3e2e7;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(26, 27, 31, 0.06);
  --max-width: 960px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

h1, h2, h3 { line-height: 1.2; }

h2 { font-size: 1.6rem; margin: 0 0 24px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 249, 254, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

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

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

.site-nav { display: flex; gap: 24px; }

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover { color: var(--brand); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Hero */
.hero {
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(26, 95, 122, 0.10), transparent 70%),
    var(--surface);
  padding: 72px 0 64px;
  text-align: center;
}

.hero-icon {
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero h1 { font-size: 2.5rem; margin: 20px 0 12px; }

.hero-tagline {
  max-width: 620px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 1.1rem;
}

.cta { display: inline-block; }

.hero-note { margin-top: 16px; color: var(--muted); font-size: 0.9rem; }

/* Features */
.features { padding: 56px 0; }

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

.feature {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.feature h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--brand); }

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

/* Screenshots */
.screenshots { padding: 56px 0; background: var(--card); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.shot-grid figure { margin: 0; text-align: center; }

.shot {
  border: 0;
  background: none;
  padding: 0;
  cursor: zoom-in;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.shot img { display: block; width: 100%; height: auto; }

.shot-grid figcaption { margin-top: 10px; color: var(--muted); font-size: 0.9rem; }

/* Enable */
.enable { padding: 56px 0; }

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.steps li {
  counter-increment: step;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 18px 20px 18px 60px;
  position: relative;
  box-shadow: var(--shadow);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.enable-note { margin-top: 16px; color: var(--muted); font-size: 0.95rem; }

/* Coaching */
.coaching { padding: 56px 0; background: var(--accent-soft); }

.coaching-inner { max-width: 620px; text-align: center; }

.coaching h2 { color: #6c4a00; }

.coaching p { color: var(--muted); }

.link { color: var(--brand); font-weight: 600; text-decoration: none; }

.link:hover { text-decoration: underline; }

/* Footer */
.site-footer { padding: 28px 0; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner nav { display: flex; gap: 20px; }

.footer-inner a { color: var(--muted); text-decoration: none; }

.footer-inner a:hover { color: var(--brand); }

/* Lightbox */
.lightbox[hidden] { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: grid;
  place-items: center;
  z-index: 50;
  padding: 24px;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* Legal pages */
.legal {
  max-width: 720px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.legal h1 { font-size: 1.8rem; margin: 0 0 8px; }

.legal h2 { font-size: 1.15rem; margin: 28px 0 8px; color: var(--brand); }

.legal p, .legal li { color: var(--muted); font-size: 0.98rem; }

.legal a { color: var(--brand); }

/* Small screens */
@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--card);
    border-bottom: 1px solid var(--hairline);
  }

  .site-nav.open { display: flex; }

  .site-nav a { padding: 14px 20px; border-top: 1px solid var(--hairline); }

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

  .hero { padding: 48px 0 40px; }

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