/* shared tokens; the island page adds world.css. Pages are one column, the island is one screen. */
:root {
  --sky: #bfe6f5; --stone: #eadbb8; --ink: #2b2748; --ink-soft: #5c587a; --coin: #f2b01e;
  --leaf: #3d8f55; --panel: #fffaf0; --accent: #4f46c8; --accent-ink: #fff; --line: #d9cfb6;
  --warn: #c0392b; --good: #2f9e5e; --page: #f6efdd;
  --display: "Secular One", "Arial Hebrew", "Segoe UI", sans-serif;
  --body: "Varela Round", "Arial Hebrew", "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--page); font-size: 16px; line-height: 1.55; }
a { color: var(--accent); }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.2; text-wrap: balance; margin: 0 0 .4em; }
h1 { font-size: 2rem; } h2 { font-size: 1.3rem; }
.top, .page, .foot { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 12px; background: var(--panel); border-bottom: 3px solid var(--line); }
.brand { font-family: var(--display); font-size: 1.3rem; text-decoration: none; color: var(--accent); }
.top nav { display: flex; gap: 14px; align-items: center; }
.page { max-width: 980px; margin: 0 auto; padding-block: 28px; display: flex; flex-direction: column; gap: 24px; }
.foot { text-align: center; padding-block: 24px; color: var(--ink-soft); font-size: .9rem; }
.muted { color: var(--ink-soft); } .small { font-size: .9rem; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.inline { display: inline; }
.btn, button { font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 8px 16px; cursor: pointer; text-decoration: none; display: inline-block; }
.btn.main, button.main { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.warn { background: var(--warn); color: #fff; border-color: var(--warn); }
button.link { background: none; border: 0; color: var(--accent); padding: 0; text-decoration: underline; }
button:focus-visible, .btn:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.hero { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center; }
.hero-art { width: 160px; height: 160px; border-radius: 50%; background: #5fb8e8; display: grid; place-items: center; box-shadow: inset 0 -18px 0 rgba(0,0,0,.08); }
.kv { font-size: 4rem; }
.lead { font-size: 1.15rem; max-width: 60ch; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card, .form-card, .kid { background: var(--panel); border: 2px solid var(--line); border-radius: 20px; padding: 18px; min-width: 0; }
.form-card { max-width: 480px; width: 100%; margin: 0 auto; }
.form-card.wide { max-width: none; }
.form { display: flex; flex-direction: column; gap: 8px; }
.form input[type=email], .form input[type=password] { font: inherit; padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px; background: #fff; }
.check { display: flex; gap: 8px; align-items: flex-start; }
.check input { margin-top: .35em; }
fieldset { border: 2px solid var(--line); border-radius: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.alert { background: #fde8e4; border: 2px solid #f2b8ac; border-radius: 14px; padding: 4px 14px; }
.note { background: #e6f5ea; border: 2px solid #b4dcbf; border-radius: 14px; padding: 10px 14px; }
.kids { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.kid-face { width: 140px; height: 150px; display: block; }
.grew { color: var(--ink-soft); }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch input { position: absolute; opacity: 0; }
.swatch span { display: block; width: 38px; height: 38px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--line); cursor: pointer; }
.swatch input:checked + span { box-shadow: 0 0 0 3px var(--ink); }
.swatch input:focus-visible + span { outline: 3px solid var(--accent); }
details.danger summary { cursor: pointer; color: var(--warn); }
details.danger form { margin-top: 8px; }
.prose { max-width: 68ch; }
.form textarea { font: inherit; padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px; background: #fff; resize: vertical; }
.stars { color: var(--coin); letter-spacing: 2px; margin: 0; }
.stars-pick .check { color: var(--coin); }
.pick span { font-size: 1.6rem; line-height: 1; }
.quote { white-space: normal; border-inline-start: 4px solid var(--line); padding-inline-start: 12px; margin: 6px 0 0; }
.review + .review { border-top: 2px dashed var(--line); margin-top: 14px; padding-top: 14px; }
.reviews-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.reviews-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.mono { font-family: ui-monospace, monospace; font-size: .9rem; }
@media (max-width: 560px) { .hero { grid-template-columns: 1fr; } .hero-art { width: 110px; height: 110px; } h1 { font-size: 1.6rem; } }
