:root {
  --dw-bg: #fbf7ee; --dw-fg: #1f2a30; --dw-accent: #2d5968; --dw-muted: #5c6b72; --dw-panel: #fffdf7;
  --dw-font-body: 'Nunito', system-ui, sans-serif; --dw-font-display: 'Fraunces', Georgia, serif;
  --teal: #2d5968; --teal-deep: #1f4452; --green: #307e54; --gold: #f2b705; --gold-deep: #b57e00;
  --paper: #fffdf7; --line: #e4dccb; --ink: #1f2a30; --muted: #5c6b72; --cream-2: #f3ecdc;
}
html { scroll-padding-top: 90px; }
body { overflow-x: hidden; font-size: 1.04rem; }
h1, h2, h3 { font-family: var(--dw-font-display); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; color: var(--teal-deep); letter-spacing: -.005em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
b, strong { font-weight: 700; }
section { padding: clamp(44px, 7vw, 92px) clamp(16px, 5vw, 64px); }
.section-head { max-width: 760px; margin: 0 auto 2rem; text-align: center; }
.section-head p { color: var(--muted); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--teal); color: #fff; padding: .6em 1em; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 8px clamp(16px, 4vw, 40px); background: #fbf7eeeb; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand img { width: 72px; height: auto; }
.topbar nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); font-weight: 700; font-size: .92rem; }
.topbar nav a { color: var(--teal-deep); text-decoration: none; }
.topbar nav a:hover { color: var(--gold-deep); }
.nav-cta { background: var(--teal); color: #fff !important; padding: .55em 1em; border-radius: 999px; }
.nav-cta:hover { background: var(--teal-deep); }
@media (max-width: 700px) { .topbar nav a:not(.nav-cta) { display: none; } .brand img { width: 58px; } }

/* fold: pitch beside the parent note */
.fold { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; max-width: 1180px; margin: 0 auto; padding-top: clamp(36px, 6vw, 80px);
  position: relative; }
.fold::before { content: ''; position: absolute; right: -10%; top: 0; width: 60%; height: 100%; background: radial-gradient(closest-side, #f2b70526, transparent 70%); pointer-events: none; z-index: -1; }
@media (max-width: 900px) { .fold { grid-template-columns: 1fr; } }
.kicker { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); font-weight: 900; margin: 0 0 1rem; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 900; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 56ch; color: #33434a; }
.integrity { font-family: var(--dw-font-display); font-weight: 700; font-size: 1.25rem; color: var(--teal); border-left: 4px solid var(--gold); padding-left: .8em; margin: 1.2rem 0; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4rem 0 1rem; }
.btn { font-weight: 800; text-decoration: none; color: var(--teal-deep); border: 2px solid var(--teal); padding: .85em 1.4em; border-radius: 999px; transition: background .2s, color .2s; }
.btn:hover { background: var(--cream-2); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); }
.fine { font-size: .88rem; color: var(--muted); }

.note { margin: 0; }
.note-tag, .chat-tag { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 900; color: var(--gold-deep); margin: 0 0 .6rem; }
.note-paper { background: var(--paper); border: 1px solid var(--line); border-top: 6px solid var(--gold); border-radius: 14px; padding: clamp(18px, 3vw, 30px);
  box-shadow: 0 24px 60px #2d596818, 0 2px 0 #fff inset; transform: rotate(-.6deg); }
@media (prefers-reduced-motion: reduce) { .note-paper { transform: none; } }
.note-head { display: flex; gap: 14px; align-items: center; margin-bottom: 1rem; }
.note-mark { border: 0; background: transparent; padding: 0; cursor: pointer; border-radius: 8px; }
.note-mark img { width: 52px; height: auto; }
.note-title { font-family: var(--dw-font-display); font-weight: 700; font-size: 1.15rem; margin: 0; color: var(--teal-deep); }
.note-meta { margin: 0; font-size: .85rem; color: var(--muted); }
.note-body { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .55rem 1rem; font-size: .96rem; }
.note-body dt { font-weight: 900; color: var(--green); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding-top: .2em; }
.note-body dd { margin: 0; color: #2a383f; }
.star { font: inherit; font-size: 1.1rem; line-height: 1; color: var(--gold-deep); background: transparent; border: 0; padding: 0 .1em; cursor: pointer; border-radius: 4px; }
.star.is-found { color: var(--gold); text-shadow: 0 0 10px #f2b70588; }

/* four parts */
.parts { background: var(--cream-2); }
.part-grid { list-style: none; padding: 0; margin: 0 auto; max-width: 1080px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 760px) { .part-grid { grid-template-columns: 1fr; } }
.part-grid li { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: clamp(18px, 3vw, 28px); display: grid; grid-template-columns: 48px 1fr; gap: 6px 16px; min-width: 0; }
.part-grid .icon { width: 44px; height: 44px; color: var(--teal); grid-row: span 2; }
.part-grid h3 { margin: 0; }
.part-grid p { margin: 0; color: #33434a; font-size: .97rem; }

/* parents */
.two-col { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 2em; margin: .75em 0; }
.checks li::before { content: ''; position: absolute; left: 0; top: .42em; width: 1.05em; height: 1.05em; border-radius: 50%; background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='black'/%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='black'/%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.promise { background: var(--teal); color: #fff; border-radius: 16px; padding: clamp(20px, 3vw, 30px); box-shadow: 0 18px 50px #2d596833; }
.promise h3 { color: var(--gold); margin-bottom: .5em; }
.promise p { margin: 0; font-size: 1.02rem; }

/* example toy */
.try { background: var(--cream-2); }
.picker { max-width: 900px; margin: 0 auto 1.6rem; display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: center; }
.picker fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.picker legend { float: left; font-size: .8rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 8px; padding: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: .5em 1em; border-radius: 999px; border: 2px solid var(--teal); color: var(--teal-deep); font-weight: 800; font-size: .92rem; cursor: pointer; background: var(--paper); transition: background .15s, color .15s; }
.chip input:checked + span { background: var(--teal); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.example { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; align-items: start; }
@media (max-width: 820px) { .example { grid-template-columns: 1fr; } }
.chat, .mini-note { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: clamp(16px, 3vw, 26px); min-width: 0; }
.lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lines li { max-width: 88%; padding: .7em 1em; border-radius: 14px; font-size: .98rem; line-height: 1.5; opacity: 0; transform: translateY(6px); animation: lineIn .4s ease forwards; }
.lines li:nth-child(2) { animation-delay: .35s; } .lines li:nth-child(3) { animation-delay: .7s; } .lines li:nth-child(4) { animation-delay: 1.05s; }
@keyframes lineIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lines li { animation: none; opacity: 1; transform: none; } }
.lines .child { justify-self: end; background: #fff3cc; border: 1px solid #f2d27a; border-bottom-right-radius: 4px; }
.lines .tutor { justify-self: start; background: #eaf2f4; border: 1px solid #c6d9df; border-bottom-left-radius: 4px; }
.lines .who { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 900; color: var(--muted); margin-bottom: .15em; }
.chat-why { margin: 1rem 0 0; font-size: .88rem; color: var(--muted); }
.mini-note { border-top: 5px solid var(--gold); }
.mini-note-title { font-family: var(--dw-font-display); font-weight: 700; color: var(--teal-deep); margin: 0 0 .4em; }
.mini-note p:last-child { margin: 0; font-size: .97rem; color: #2a383f; }

/* price test */
.price { text-align: center; }
.price > p { max-width: 720px; margin: 0 auto 1.4rem; }
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; max-width: 980px; margin: 0 auto 1rem; }
.offer { font: inherit; font-family: var(--dw-font-display); font-size: 1.25rem; font-weight: 700; color: var(--teal-deep); background: var(--paper); border: 2px solid var(--line); border-radius: 14px; padding: 1.1em 1em; cursor: pointer;
  display: grid; gap: .3em; transition: border-color .2s, transform .2s, box-shadow .2s; min-width: 0; }
.offer small { font-family: var(--dw-font-body); font-weight: 600; font-size: .82rem; color: var(--muted); line-height: 1.35; }
.offer:hover, .offer:focus-visible { border-color: var(--teal); transform: translateY(-2px); box-shadow: 0 12px 30px #2d596822; }
.offer-alt { background: var(--cream-2); font-size: 1.05rem; }

/* privacy + status */
.privacy { background: var(--cream-2); }
.privacy, .status { max-width: none; }
.privacy > *, .status > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.status { text-align: center; }
.status p { color: #33434a; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: .3rem 0; }
.faq summary { cursor: pointer; font-family: var(--dw-font-display); font-weight: 700; font-size: 1.12rem; color: var(--teal-deep); padding: .8rem 0; list-style: none; position: relative; padding-right: 2em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: .2em; top: .6rem; font-size: 1.5rem; color: var(--gold-deep); line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: #2a383f; padding-bottom: .6rem; }
.word { font: inherit; color: inherit; background: transparent; border: 0; padding: 0; cursor: pointer; text-decoration: underline dotted var(--gold-deep) 2px; text-underline-offset: 3px; border-radius: 3px; }
.word.is-found { background: #fff3cc; }

/* list */
.list { background: var(--teal); color: #fff; display: grid; justify-items: center; text-align: center; }
.list h2 { color: #fff; }
.list > p { max-width: 560px; color: #e6eef0; }
.list .dw-optin { width: 100%; text-align: left; --dw-bg: #1f4452; --dw-fg: #ffffff; --dw-accent: #f2b705; }
.list .dw-optin input[type=email] { background: #fff; color: var(--ink); border-color: #fff; }
.list .dw-optin button[type=submit] { background: var(--gold); color: #1f2a30; }
.list .dw-optin button[type=submit]:hover { background: #ffc92e; }
.list .dw-consent { color: #e6eef0; opacity: 1; }
.list [data-optin-status] { color: #fff; }
.offer-note { margin: 0; color: var(--gold); font-weight: 700; font-size: .92rem; }

/* footer */
.foot { padding: 36px 16px 8px; text-align: center; }
.foot-mark { width: 56px; height: auto; margin: 0 auto 8px; }
.tagline { font-family: var(--dw-font-display); font-style: italic; font-size: 1.1rem; color: var(--teal-deep); margin: 0 0 .8rem; }
.found { font-size: .85rem; color: var(--muted); margin: 0; }
.reward { max-width: 560px; margin: .8rem auto; padding: .9rem 1.1rem; border: 1px solid var(--gold); border-radius: 10px; background: #fff3cc; font-size: .95rem; }
.journal { max-width: 620px; margin: .6rem auto 0; padding-left: 1.2em; text-align: left; font-size: .9rem; color: #2a383f; }
.journal:empty { display: none; }
.journal li { margin: .35em 0; }
.dw-legal { color: var(--muted); opacity: 1; }
.dw-legal a { color: var(--teal); }

/* kit toast on a light theme */
.dw-toast { color: var(--ink); border-color: var(--gold); box-shadow: 0 18px 50px #2d596833; }
.dw-toast .dw-toast-k { color: var(--green); }
