:root {
  --forest: #073f31;
  --forest-2: #0f5948;
  --tempo: #08ad59;
  --page: #f6faf5;
  --soft: #edf5ef;
  --soft-2: #f9fcf9;
  --ink: #101513;
  --muted: #5f6864;
  --line: #d9e4dc;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(7, 63, 49, 0.10);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1120px;
}

* { 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(--page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 1000;
  background: var(--white);
  color: var(--forest);
  padding: 10px 14px;
  border-radius: 8px;
}
.skip-link:focus { left: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(246, 250, 245, 0.90);
  border-bottom: 1px solid rgba(7, 63, 49, 0.08);
}
.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 74px;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}
.brand img {
  width: 230px;
  max-width: 44vw;
  height: auto;
}
.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-nav a {
  text-decoration: none;
  color: var(--forest);
  font-weight: 700;
  font-size: 0.96rem;
}
.site-nav a:hover,
.site-nav a:focus-visible { color: var(--tempo); }

.menu-button {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--forest);
  font-size: 1.4rem;
}

main { min-height: 70vh; }

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

.hero {
  padding: 74px 0 56px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 56px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--tempo);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2, h3 {
  color: var(--forest);
  line-height: 1.15;
  margin-top: 0;
}
h1 {
  font-size: clamp(2.65rem, 7vw, 5.5rem);
  letter-spacing: -0.045em;
  margin-bottom: 20px;
}
.hero-copy {
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  color: #39433f;
  max-width: 720px;
  margin: 0 0 30px;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 2px solid var(--forest);
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover,
.btn:focus-visible { transform: translateY(-1px); }
.btn-primary {
  background: var(--forest);
  color: var(--white);
}
.btn-primary:hover,
.btn-primary:focus-visible { background: var(--forest-2); }
.btn-secondary {
  background: var(--white);
  color: var(--forest);
}
.btn-secondary:hover,
.btn-secondary:focus-visible { background: var(--soft); }
.btn-disabled {
  cursor: pointer;
}
.btn small {
  margin-left: 8px;
  opacity: 0.72;
  font-size: 0.72rem;
}

.hero-art {
  position: relative;
}
.app-card {
  position: relative;
  max-width: 380px;
  margin: 0 auto;
  padding: 34px;
  border-radius: 38px;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
}
.app-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(8, 173, 89, 0.10);
  right: -90px;
  top: -90px;
}
.app-icon {
  position: relative;
  width: 156px;
  border-radius: 34px;
  margin-bottom: 30px;
  box-shadow: 0 10px 28px rgba(7, 63, 49, 0.18);
}
.mini-session {
  border: 3px solid #101513;
  border-radius: 24px;
  padding: 18px;
  background: #fff;
}
.mini-session strong {
  display: block;
  color: var(--forest);
  font-size: 1.35rem;
}
.mini-session span {
  color: var(--muted);
}
.mini-game {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--soft);
  color: var(--forest);
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.section {
  padding: 70px 0;
}
.section-tight { padding: 48px 0; }
.section-alt {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}
.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature-card,
.link-card,
.guide-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 8px 30px rgba(7, 63, 49, 0.055);
}
.feature-card h3,
.link-card h3,
.guide-card h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}
.feature-card p,
.link-card p,
.guide-card p {
  margin: 0;
  color: var(--muted);
}
.icon-badge {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 16px;
  background: var(--soft);
  color: var(--forest);
  font-weight: 900;
  font-size: 1.1rem;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.link-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
}
.link-card .btn { margin-top: auto; align-self: flex-start; }

.callout {
  border-radius: var(--radius-xl);
  padding: 34px;
  background: var(--forest);
  color: var(--white);
}
.callout h2, .callout h3 { color: var(--white); }
.callout p { color: rgba(255,255,255,0.82); }
.callout .btn-secondary {
  border-color: var(--white);
  background: transparent;
  color: var(--white);
}
.callout .btn-secondary:hover { background: rgba(255,255,255,0.10); }

.page-hero {
  padding: 60px 0 34px;
}
.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin-bottom: 14px;
}
.page-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 760px;
}

.guide-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.toc {
  position: sticky;
  top: 98px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.toc strong {
  color: var(--forest);
  display: block;
  margin-bottom: 10px;
}
.toc a {
  display: block;
  padding: 7px 0;
  color: #46504c;
  text-decoration: none;
  font-size: 0.94rem;
}
.toc a:hover,
.toc a:focus-visible { color: var(--tempo); }

.guide-content {
  min-width: 0;
}
.guide-section {
  scroll-margin-top: 100px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 18px;
}
.guide-section h2 {
  margin-bottom: 12px;
  font-size: 1.75rem;
}
.guide-section h3 {
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 1.2rem;
}
.guide-section p {
  color: #414a46;
  margin: 0 0 14px;
}
.guide-section p:last-child { margin-bottom: 0; }
.guide-section ul,
.guide-section ol {
  padding-left: 1.35rem;
  margin: 10px 0 0;
}
.guide-section li { margin: 7px 0; }

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}
.step {
  counter-increment: step;
  position: relative;
  padding: 22px 22px 22px 76px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.step::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--forest);
  color: var(--white);
  font-weight: 900;
}
.step h2 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.step p {
  margin: 0;
  color: var(--muted);
}

.note {
  margin-top: 16px;
  padding: 16px 18px;
  background: var(--soft);
  border-left: 4px solid var(--tempo);
  border-radius: 0 12px 12px 0;
  color: #36413c;
}

.site-footer {
  padding: 42px 0;
  color: var(--muted);
}
.footer-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-logo {
  width: 150px;
  opacity: 0.9;
}
.footer-copy { margin-left: auto; text-align: right; }
.footer-links {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-bottom: 6px;
}
.footer-links a {
  color: var(--forest);
  font-weight: 700;
  text-decoration: none;
}



/* App screenshot slideshow */
.screenshot-section {
  overflow: hidden;
}
.screenshot-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: 56px;
  align-items: center;
}
.screenshot-copy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.screenshot-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 1.08rem;
}
.screenshot-copy .screenshot-note {
  font-size: 0.92rem;
  color: #7b8580;
}
.screenshot-stage {
  width: min(100%, 390px);
  margin: 0 auto;
}
.screenshot-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 860 / 1760;
  overflow: hidden;
  border-radius: 34px;
  background: #eef5ef;
  box-shadow: 0 22px 56px rgba(7, 63, 49, 0.16);
  border: 1px solid rgba(7, 63, 49, 0.14);
}
.app-screenshot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.38s ease-in-out;
}
.app-screenshot.is-active {
  opacity: 1;
}
.screenshot-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.screenshot-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #cbd7cf;
  transition: width 0.25s ease, background 0.25s ease;
}
.screenshot-dot.is-active {
  width: 22px;
  background: var(--tempo);
}

@media (prefers-reduced-motion: reduce) {
  .app-screenshot { transition: none; }
}

@media (max-width: 820px) {

  .screenshot-grid { grid-template-columns: 1fr; gap: 32px; }
  .screenshot-copy { text-align: center; }
  .screenshot-copy > p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
  .menu-button { display: inline-grid; place-items: center; }
  .site-nav {
    display: none;
    position: absolute;
    top: 73px;
    left: 14px;
    right: 14px;
    margin: 0;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px; border-radius: 10px; }
  .site-nav a:hover { background: var(--soft); }
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { order: -1; }
  .app-card { max-width: 330px; }
  .feature-grid { grid-template-columns: 1fr; }
  .link-grid { grid-template-columns: 1fr; }
  .guide-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
  .footer-copy { margin-left: 0; text-align: left; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .nav-wrap { padding-left: 16px; padding-right: 16px; }
  .brand img { width: 190px; max-width: 62vw; }
  .container { padding: 0 16px; }
  .hero { padding: 38px 0 42px; }
  h1 { font-size: 2.7rem; }
  .section { padding: 52px 0; }
  .app-card { padding: 24px; border-radius: 28px; }
  .app-icon { width: 122px; border-radius: 28px; }
  .button-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .step { padding: 20px 18px 20px 68px; }
  .step::before { left: 16px; top: 18px; }
  .guide-section { padding: 22px 18px; }
  .callout { padding: 26px 22px; }
}
