:root {
  --sky: #dff1ff;
  --grass-dark: #2f7d32;
  --sun: #ffc531;
  --text: #23412a;
  --muted: #4f6b55;
  --card: #ffffff;
  --round: "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Segoe UI", Roboto, system-ui, sans-serif; color: var(--text); background: linear-gradient(#bfe4ff 0, var(--sky) 420px, #f3fbec 900px, #e7f6d9 100%); line-height: 1.6; min-height: 100vh; }
a { color: var(--grass-dark); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* site header: brand + language switch, then the main nav; both stay on screen while scrolling */
:root { --header-h: 68px; --nav-h: 52px; }
.site-header { position: sticky; top: 0; z-index: 11; background: rgba(191,228,255,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.site-header .bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.brand b { display: block; font-family: var(--round); font-weight: 800; font-size: 1.3rem; line-height: 1.1; }
.brand small { display: block; font-size: 0.8rem; font-weight: 600; color: var(--muted); line-height: 1.2; }

.site-nav { position: sticky; top: var(--header-h); z-index: 10; background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 2px 10px rgba(20,60,20,.08); }
.site-nav ul { display: flex; gap: 6px; margin: 0 auto; padding: 8px 16px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.site-nav ul::-webkit-scrollbar { display: none; }
.site-nav a { display: block; white-space: nowrap; padding: 6px 16px; border-radius: 999px; font-family: var(--round); font-weight: 800; font-size: 1rem; text-decoration: none; color: var(--text); }
.site-nav a:hover { background: #eef7e8; }
.site-nav a[aria-current="page"] { background: var(--sun); color: #3b2a00; }
:target { scroll-margin-top: calc(var(--header-h) + var(--nav-h) + 12px); }

.lang { display: inline-flex; background: #fff; border-radius: 999px; padding: 4px; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.lang a, .lang span { padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: 0.9rem; text-decoration: none; color: var(--muted); }
.lang span[aria-current] { background: var(--sun); color: #3b2a00; }

/* landing */
.hero { padding: 32px 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
h1 { font-family: var(--round); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1.05; margin: 0 0 12px; }
h1 span { color: #e8458b; }
.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 24px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.badges li { background: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 0.95rem; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.cta { display: inline-block; background: var(--sun); color: #3b2a00; font-family: var(--round); font-weight: 800; font-size: 1.15rem; padding: 12px 24px; border-radius: 999px; box-shadow: 0 4px 0 #d89c00; }
.cta.later { background: #fff; color: var(--text); box-shadow: 0 4px 0 #cfd8cf; }
.cta small { display: block; font-family: "Segoe UI", Roboto, system-ui, sans-serif; font-weight: 700; font-size: 0.8rem; }

.phone { width: 100%; max-width: 300px; margin: 0 auto; border-radius: 34px; border: 10px solid #1f2a22; background: #1f2a22; box-shadow: 0 18px 40px rgba(20,60,20,.25); overflow: hidden; }
.phone img { display: block; width: 100%; height: auto; border-radius: 24px; }

section { padding: 40px 0; }
h2 { font-family: var(--round); font-weight: 800; font-size: 2rem; margin: 0 0 8px; text-align: center; }
.section-lead { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 32px; }

.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mode { background: var(--card); border-radius: 24px; padding: 24px; box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.mode h3 { font-family: var(--round); font-size: 1.5rem; margin: 0 0 6px; }
.mode p { margin: 0; color: var(--muted); }
.mode .icon { font-size: 2rem; }

.shots { display: flex; gap: 20px; overflow-x: auto; padding: 8px 4px 20px; scroll-snap-type: x mandatory; }
.shots figure { flex: 0 0 220px; margin: 0; scroll-snap-align: center; text-align: center; }
.shots img { width: 100%; height: auto; border-radius: 22px; border: 6px solid #fff; box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.shots figcaption { font-weight: 700; margin-top: 8px; }

.parents { background: #fff; border-radius: 28px; padding: 32px; box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.parents ul { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 32px; }
.parents li { margin-bottom: 8px; break-inside: avoid; }

footer { padding: 32px 0 48px; text-align: center; color: var(--muted); font-size: 0.95rem; }
footer a { margin: 0 8px; }

/* free vs full version */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border-radius: 24px; box-shadow: 0 6px 18px rgba(0,0,0,.06); overflow: hidden; }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid #e6efe3; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--round); font-size: 1.2rem; background: #f3fbec; }
.compare thead th.full { background: var(--sun); color: #3b2a00; }
.compare tbody th { font-family: var(--round); font-size: 1.15rem; white-space: nowrap; width: 1%; }
.compare td.full { background: #fffaf0; }
.unlock-info { background: var(--card); border-radius: 24px; padding: 24px 28px; margin: 24px 0 32px; box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.unlock-info h3 { font-family: var(--round); font-size: 1.3rem; margin: 0 0 8px; }
.unlock-info ul { margin: 0; padding-left: 1.2rem; }
.unlock-info li { margin-bottom: 6px; }

/* charity pledge */
.giving { max-width: 720px; text-align: center; background: #fff8e1; border: 2px solid var(--sun); border-radius: 28px; padding: 32px; box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.giving .icon { font-size: 2.4rem; line-height: 1; margin-bottom: 8px; }
.giving p { margin: 0 0 12px; font-size: 1.05rem; }
.giving .more { margin: 16px 0 0; }
.giving .giving-status { display: inline-block; margin: 8px 0 0; background: #fff; border-radius: 999px; padding: 6px 16px; font-weight: 700; font-size: 0.95rem; color: var(--muted); }

/* charity page */
.giving h1 { font-size: clamp(2rem, 5vw, 2.6rem); }
.stats { display: flex; justify-content: center; gap: 16px; margin: 0 0 24px; padding: 0; list-style: none; }
.stats li { background: var(--card); border-radius: 20px; padding: 14px 28px; text-align: center; box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.stats b { display: block; font-family: var(--round); font-size: 2rem; line-height: 1.1; color: var(--grass-dark); }
.stats span { color: var(--muted); font-weight: 600; }
.ledger { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border-radius: 24px; box-shadow: 0 6px 18px rgba(0,0,0,.06); overflow: hidden; }
.ledger th, .ledger td { padding: 14px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid #e6efe3; }
.ledger tbody tr:last-child td { border-bottom: 0; }
.ledger thead th { font-family: var(--round); background: #f3fbec; }
.ledger tr.empty td { text-align: center; color: var(--muted); font-weight: 600; padding: 28px 20px; }

/* contact form */
#contact-form { margin-top: 20px; }
#contact-form label { display: block; font-weight: 700; margin: 16px 0 6px; }
#contact-form .opt { font-weight: 400; color: var(--muted); }
#contact-form input[type="text"], #contact-form input[type="email"], #contact-form select, #contact-form textarea {
  width: 100%; font: inherit; color: var(--text); background: #fbfdf9; border: 2px solid #d7e6d2; border-radius: 14px; padding: 10px 14px; }
#contact-form textarea { resize: vertical; min-height: 140px; }
#contact-form input:focus, #contact-form select:focus, #contact-form textarea:focus { outline: none; border-color: var(--sun); background: #fff; box-shadow: 0 0 0 3px rgba(255,197,49,.3); }
#contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
#contact-form .botcheck { display: none; }
.bug-fields { margin: 16px 0 0; padding: 4px 18px 14px; border: 2px dashed #d7e6d2; border-radius: 18px; background: #f7fbf4; }
.bug-fields legend { font-family: var(--round); font-weight: 800; padding: 0 6px; }
.bug-fields[hidden] { display: none; }
.hint { font-size: 0.9rem; color: var(--muted); margin: 10px 0 0; }
#contact-form button.cta { margin-top: 20px; border: 0; cursor: pointer; }
#contact-form button.cta:disabled { opacity: .6; cursor: wait; }
.form-status { margin: 14px 0 0; font-weight: 700; }
.form-status.ok { color: var(--grass-dark); }
.form-status.error { color: #c0392b; }
.alt-contact { margin: 28px 0 0; padding-top: 16px; border-top: 1px solid #e6efe3; color: var(--muted); }

/* guide page */
.guide { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 24px; }
.guide .doc { max-width: none; margin: 0; }
.toc-wrap { position: sticky; top: calc(var(--header-h) + var(--nav-h) + 16px); }
.toc { background: var(--card); border-radius: 20px; padding: 14px 18px; box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.toc summary { font-family: var(--round); font-weight: 800; cursor: pointer; }
.toc ol { margin: 8px 0 0; padding-left: 1.2rem; }
.toc ol ol { margin: 2px 0 4px; font-size: 0.92rem; list-style: lower-alpha; }
.toc li { margin: 3px 0; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.guide-body section { padding: 8px 0 20px; border-bottom: 1px solid #e6efe3; }
.guide-body section:last-child { border-bottom: 0; }
.guide-body h2 { font-size: 1.6rem; text-align: left; margin-top: 1.2rem; }
.guide-body h3 { font-family: var(--round); font-size: 1.2rem; margin: 1.4rem 0 0.4rem; }
.guide-body .intro { font-size: 1.1rem; color: var(--muted); }
.purpose { background: #f3fbec; border-radius: 12px; padding: 8px 14px; }
.tip { background: #fff8e1; border-left: 4px solid var(--sun); border-radius: 0 12px 12px 0; padding: 8px 14px; }
.settings-list dt, .faq dt { font-weight: 800; margin-top: 12px; }
.settings-list dd, .faq dd { margin: 2px 0 0 0; color: var(--text); }
.settings-table { width: 100%; margin: 12px 0; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid #e6efe3; border-radius: 16px; overflow: hidden; }
.settings-table th, .settings-table td { padding: 8px 14px; text-align: left; border-bottom: 1px solid #e6efe3; }
.settings-table tbody tr:last-child td { border-bottom: 0; }
.settings-table thead th { font-family: var(--round); background: #f3fbec; }
.guide-shot { margin: 16px 0 20px; text-align: center; }
.guide-shot > div { display: flex; justify-content: center; gap: 16px; }
.guide-shot img { width: 100%; max-width: 240px; height: auto; border-radius: 22px; border: 6px solid #fff; box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.guide-shot.two img { max-width: 220px; min-width: 0; flex: 1 1 0; }
.guide-shot figcaption { font-weight: 700; color: var(--muted); margin-top: 8px; font-size: 0.95rem; }
.shot-todo { margin: 16px 0; padding: 18px; border: 2px dashed #e8458b; border-radius: 16px; background: #fff0f6; color: #a3245c; font-weight: 700; font-size: 0.9rem; text-align: center; }

/* privacy page */
.doc { max-width: 720px; margin: 24px auto 0; background: #fff; border-radius: 24px; padding: 24px 28px 32px; box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.doc h1 { font-size: 2rem; margin-bottom: 0.2rem; }
.doc h2 { font-size: 1.2rem; text-align: left; margin-top: 1.8rem; }
.doc .date { color: var(--muted); margin-top: 0; }

@media (max-width: 900px) {
  .guide { grid-template-columns: 1fr; gap: 16px; }
  .toc-wrap { position: static; }
}

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .badges, .stores { justify-content: center; }
  .modes { grid-template-columns: 1fr; }
  .parents ul { columns: 1; }
  .phone { max-width: 240px; }
  .doc { padding: 20px 18px 28px; }
  .brand img { width: 36px; height: 36px; border-radius: 10px; }
  .brand b { font-size: 1.15rem; }
  .site-nav ul { flex-wrap: wrap; justify-content: center; gap: 2px 4px; padding: 6px 8px; }
  .site-nav a { padding: 4px 10px; font-size: 0.92rem; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tbody th { width: 100%; background: #f3fbec; border-bottom: 0; padding-bottom: 8px; }
  .compare td { padding: 10px 20px 14px; }
  .compare td::before { content: attr(data-label); display: block; font-weight: 800; font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
  .compare td.full::before { color: #9a6a00; }
  .unlock-info { padding: 20px 18px; }
  .giving { margin: 0 16px; padding: 24px 18px; }
  .stats li { padding: 12px 18px; }
  #contact-form .row { grid-template-columns: 1fr; }
  :root { --header-h: 56px; --nav-h: 72px; }
  .settings-table th, .settings-table td { padding: 8px 10px; }
  .ledger thead { display: none; }
  .ledger, .ledger tbody, .ledger tr, .ledger td { display: block; width: 100%; }
  .ledger tbody tr { border-bottom: 1px solid #e6efe3; padding: 8px 0; }
  .ledger tbody tr:last-child { border-bottom: 0; }
  .ledger td { border-bottom: 0; padding: 4px 20px; }
  .ledger td[data-label]::before { content: attr(data-label) ": "; font-weight: 800; color: var(--muted); }
}
