/* WakeyPup — one stylesheet for every page.
   Light, warm and friendly: cream and white, the logo's charcoal for text,
   its sunny yellow for highlights, and soft rounded everything. */

/* Quicksand (SIL Open Font License), self-hosted so every browser shows the same
   font and no visitor data goes to Google. Variable font: weights 300–700. */
@font-face {
  font-family: "Quicksand";
  src: url("/fonts/Quicksand-Variable.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --cream: #fff8ea;
  --cream-2: #fff2d6;
  --sky: #eef6ff;
  --mint: #e9f8f0;
  --peach: #ffefe6;
  --ink: #26282f;          /* the logo's charcoal */
  --ink-soft: #5d6170;
  --line: #efe7d6;
  --sun: #ffc20e;          /* the logo's yellow */
  --sun-deep: #f2a900;
  --sun-soft: #fff1bf;
  --ok: #2fb67a;
  --alarm: #ff5d7a;
  --shadow: 0 1px 2px rgba(64, 48, 10, .05), 0 12px 32px -12px rgba(64, 48, 10, .16);
  --shadow-lg: 0 2px 4px rgba(64, 48, 10, .05), 0 30px 60px -24px rgba(64, 48, 10, .28);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1160px;
  --font: "Quicksand", "Nunito", "Varela Round", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
/* clip (not hidden) so nothing wider than the screen, e.g. the rotating hero blob,
   can make phones shift the page sideways and push the sticky header off screen */
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 18px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
/* Footer sits at the bottom of the window even on short pages */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--sun-deep); }
:focus-visible { outline: 3px solid var(--sun-deep); outline-offset: 3px; border-radius: 8px; }
/* No blue flash when tapping links, buttons or FAQ questions on phones.
   Keyboard users still get the yellow focus ring above. */
* { -webkit-tap-highlight-color: transparent; }
:focus:not(:focus-visible) { outline: none; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; font-weight: 800; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.lede { font-size: clamp(1.12rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 38rem; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* Yellow highlighter swoosh behind words */
.glow { position: relative; z-index: 0; white-space: nowrap; }
.glow::after { content: ""; position: absolute; left: -.1em; right: -.1em; bottom: .04em; height: .4em; z-index: -1;
  background: var(--sun); border-radius: .3em .5em .4em .6em; transform: rotate(-1.2deg); opacity: .85; }

/* Little rounded label above headings */
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-size: .92rem; font-weight: 700; color: var(--ink);
  background: var(--sun-soft); padding: .35rem .9rem; border-radius: 999px; margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 1.05em; height: 1.05em; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f2a900'%3E%3Cellipse cx='12' cy='16' rx='5' ry='4.2'/%3E%3Ccircle cx='5.5' cy='10' r='2.3'/%3E%3Ccircle cx='9.3' cy='5.8' r='2.3'/%3E%3Ccircle cx='14.7' cy='5.8' r='2.3'/%3E%3Ccircle cx='18.5' cy='10' r='2.3'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- Soft background: warm blobs + faint paw prints ---------- */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(700px 520px at 92% 4%, rgba(255, 194, 14, .16), transparent 65%),
    radial-gradient(640px 520px at -6% 38%, rgba(140, 190, 255, .14), transparent 65%),
    radial-gradient(600px 480px at 70% 100%, rgba(255, 170, 140, .12), transparent 65%),
    var(--bg);
}
.sky::before { content: ""; position: absolute; inset: 0; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220' fill='%23f5e6c4'%3E%3Cg transform='translate(40 50) rotate(-18)'%3E%3Cellipse cx='0' cy='8' rx='9' ry='7.5'/%3E%3Ccircle cx='-11' cy='-3' r='4'/%3E%3Ccircle cx='-4' cy='-10' r='4'/%3E%3Ccircle cx='5' cy='-10' r='4'/%3E%3Ccircle cx='12' cy='-3' r='4'/%3E%3C/g%3E%3Cg transform='translate(160 150) rotate(14)'%3E%3Cellipse cx='0' cy='8' rx='9' ry='7.5'/%3E%3Ccircle cx='-11' cy='-3' r='4'/%3E%3Ccircle cx='-4' cy='-10' r='4'/%3E%3Ccircle cx='5' cy='-10' r='4'/%3E%3Ccircle cx='12' cy='-3' r='4'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 220px 220px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%); mask-image: linear-gradient(180deg, #000 0%, transparent 70%); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.6rem; border-radius: 999px; font: 800 1.05rem/1 var(--font); text-decoration: none;
  background: var(--sun); color: var(--ink); border: 0; cursor: pointer; white-space: nowrap;
  box-shadow: 0 4px 0 var(--sun-deep), 0 14px 26px -10px rgba(242, 169, 0, .7);
  transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--sun-deep), 0 18px 30px -10px rgba(242, 169, 0, .75); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--sun-deep), 0 6px 14px -8px rgba(242, 169, 0, .7); }
.btn-lg { padding: 1.15rem 2.1rem; font-size: 1.15rem; }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- Header ---------- */
/* Transparent at the top so the page's soft yellow wash runs behind it;
   frosted white only once the page scrolls underneath. */
.site-header { position: sticky; top: 0; z-index: 50; background: transparent;
  border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(64, 48, 10, .35); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; transition: transform .25s; }
.brand:hover { transform: rotate(-3deg) scale(1.04); }
.brand img { height: 62px; width: auto; }
.site-header .brand img { transform-origin: left top; transform: translateY(16px) scale(1.5); transition: transform .35s ease; }
.site-header.scrolled .brand img { transform: none; } /* full size at the top, normal size once scrolled; scale avoids any layout jump */
.nav-links { display: flex; gap: 1.8rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-weight: 700; font-size: 1rem; }
.nav-links a:hover { color: var(--ink); }
.nav .btn { padding: .72rem 1.2rem; font-size: .98rem; }
/* Header Buy button appears once the page has scrolled a little */
.nav .btn { opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s, box-shadow .15s ease; }
.site-header.show-buy .nav .btn { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .3s ease, visibility 0s, box-shadow .15s ease; }
.site-header.show-buy .nav .btn:hover { transform: translateY(-2px); }
@media (max-width: 820px) { .nav-links { display: none; } .brand img { height: 52px; } .site-header .brand img { transform: translateY(12px) scale(1.35); } .nav { height: 74px; } }

/* ---------- Hero ---------- */
.hero { overflow-x: clip; padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero .lede { margin-bottom: 2rem; }
.price-row { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; margin-bottom: 1.3rem; }
.price { font: 900 2.5rem/1 var(--font); letter-spacing: -.02em; color: var(--ink); }
.price small { font-size: 1rem; font-weight: 600; color: var(--ink-soft); letter-spacing: 0; margin-left: .35rem; }
.image-note { margin: .5rem 0 0; }
.support-line { margin: .5rem 0 0; }
.trust { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; font-size: .95rem; font-weight: 600; }
.trust li { background: var(--bg); border: 1.5px solid var(--line); padding: .4rem .85rem .4rem .7rem; border-radius: 999px; display: flex; align-items: center; gap: .4rem; }
.trust li::before { content: "✓"; color: var(--ok); font-weight: 900; }

.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: -6% -4% -2% 6%; z-index: -1;
  background: var(--sun-soft); border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; animation: blob 14s ease-in-out infinite; }
.hero-visual::after { content: ""; position: absolute; width: 90px; height: 90px; right: -10px; top: -22px; z-index: 2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M44 10a22 22 0 1 0 10 34A18 18 0 0 1 44 10z' fill='%23ffc20e'/%3E%3Ccircle cx='14' cy='12' r='2.4' fill='%23ffc20e'/%3E%3Ccircle cx='8' cy='26' r='1.6' fill='%23ffc20e'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: float 6s ease-in-out infinite; }
@keyframes blob { 50% { border-radius: 56% 44% 58% 42% / 44% 56% 44% 56%; transform: rotate(4deg); } }
@keyframes float { 50% { transform: translateY(-8px) rotate(-6deg); } }
.hero-visual > img { border-radius: 36px; aspect-ratio: 1; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); border: 6px solid #fff; }

/* Little Bell-screen mock that floats over the hero image (the device screen really is dark) */
.screen { position: absolute; left: -7%; bottom: 9%; width: min(260px, 56%); aspect-ratio: 320 / 170; border-radius: 18px;
  background: #0b0c10; border: 7px solid #fff; box-shadow: var(--shadow-lg); display: grid; place-items: center; overflow: hidden; font-weight: 800; }
.screen .state { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: .2rem; text-align: center; opacity: 0; animation: cycle 9s infinite; }
.screen .state small { font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.screen .s1 { color: #5ee6a8; font-size: 1.15rem; animation-delay: 0s; }
.screen .s2 { color: var(--sun); font-size: 1.05rem; animation-delay: 3s; }
.screen .s3 { color: #fff; background: var(--alarm); font-size: 1.6rem; letter-spacing: .04em; animation-delay: 6s; animation-name: cycle-alarm; }
@keyframes cycle { 0%, 30% { opacity: 1; } 33.3%, 100% { opacity: 0; } }
@keyframes cycle-alarm { 0% { opacity: 1; } 5% { opacity: .7; } 10% { opacity: 1; } 15% { opacity: .7; } 20%, 30% { opacity: 1; } 33.3%, 100% { opacity: 0; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 520px; margin-inline: auto; width: 100%; }
  .screen { left: 4%; }
  .hero-visual::after { right: 4px; width: 70px; height: 70px; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-head { margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.divider { display: none; }
.tint { background: var(--cream); border-radius: clamp(28px, 5vw, 64px); margin-inline: clamp(.5rem, 2vw, 1.5rem); }

/* Problem / story */
.story { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; max-width: 860px; margin-inline: auto; }
.story figure { margin: 0; background: #fff; border-radius: var(--radius); padding: 10px 10px 0; box-shadow: var(--shadow); }
.story img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: 20px; }
.story figcaption { padding: 1rem .6rem 1.2rem; font-weight: 700; font-size: 1.08rem; }
.story figcaption b { display: block; color: var(--sun-deep); font-size: .85rem; font-weight: 800; }
@media (min-width: 761px) {
  .story figure.reveal.in:nth-child(1) { transform: rotate(-1.5deg); }
  .story figure.reveal.in:nth-child(2) { transform: rotate(1.5deg); }
  .story figure.reveal.in:hover { transform: rotate(0) translateY(-4px); }
}
@media (max-width: 760px) { .story { grid-template-columns: 1fr; } .story img { aspect-ratio: 4 / 3; }
  .story figure:nth-child(2) img { object-position: 50% calc(50% - 30px); } /* "You actually sleep": show 30px more of the bottom */ }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: step; list-style: none; padding: 0; margin: 0; position: relative; }
.steps::before { content: ""; position: absolute; top: 58px; left: 16%; right: 16%; border-top: 3px dashed var(--sun); opacity: .7; }
.steps li { position: relative; background: #fff; border-radius: var(--radius); padding: 2rem 1.7rem 1.8rem; box-shadow: var(--shadow); text-align: center; }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--sun); color: var(--ink); font-weight: 900; font-size: 1.4rem; margin: 0 auto 1.1rem; box-shadow: 0 0 0 8px #fff, 0 0 0 10px var(--sun-soft); position: relative; }
.steps p { color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }

/* The pair */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.unit { border-radius: 32px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.unit:nth-child(1) { background: var(--sky); }
.unit:nth-child(2) { background: var(--peach); }
.unit img { aspect-ratio: 4 / 3; object-fit: cover; width: calc(100% - 20px); margin: 10px 10px 0; border-radius: 24px; }
.unit-body { padding: 1.7rem 1.9rem 2.1rem; }
.unit-tag { display: inline-block; font-size: .9rem; font-weight: 800; color: var(--ink); background: #fff; padding: .3rem .85rem; border-radius: 999px; margin-bottom: .9rem; }
.unit p { color: var(--ink-soft); }
.ticks { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .6rem; }
.ticks li { padding-left: 2rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--sun); }
.ticks li::after { content: ""; position: absolute; left: .46rem; top: .5em; width: .34rem; height: .62rem; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
@media (max-width: 860px) { .pair { grid-template-columns: 1fr; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.feature { background: #fff; border-radius: var(--radius); padding: 1.9rem; box-shadow: var(--shadow); transition: transform .3s; }
.feature:hover { transform: translateY(-4px); }
.feature .icon { width: 58px; height: 58px; border-radius: 20px; display: grid; place-items: center; background: var(--sun-soft); color: var(--ink); margin-bottom: 1.2rem; }
.feature:nth-child(3n+2) .icon { background: var(--sky); }
.feature:nth-child(3n+3) .icon { background: var(--mint); }
.feature .icon svg { width: 28px; height: 28px; }
.feature p { color: var(--ink-soft); margin: 0; }
.features-4 { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin-inline: auto; }
@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

/* Yellow heart above the Features heading */
.heart { display: block; width: 64px; height: 64px; margin: 0 auto 1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326282f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21l7.8-7.5 1-1.1a5.5 5.5 0 0 0 0-7.8z' fill='%23ffc20e'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Specs */
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 0; }
.specs div { padding: 1.3rem 1.4rem; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm); }
.specs dt { color: var(--ink-soft); font-size: .9rem; font-weight: 700; margin-bottom: .25rem; }
.specs dd { margin: 0; font-weight: 800; }
@media (max-width: 860px) { .specs { grid-template-columns: 1fr 1fr; } }

/* Buy */
.buy { display: grid; grid-template-columns: 1fr; max-width: 750px; margin-inline: auto; background: #fff; border-radius: 40px; overflow: hidden; box-shadow: var(--shadow-lg); border: 3px solid var(--sun); }
.buy img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 4 / 3; } /* photo stacked above the details at every screen size */
.buy-body { padding: clamp(2rem, 4vw, 3.2rem); display: flex; flex-direction: column; justify-content: center; }
.buy .price { font-size: 3.4rem; margin: .4rem 0 1rem; }
.buy .btn { align-self: flex-start; margin: .6rem 0 1.2rem; }
.box-list { columns: 2; gap: 1.5rem; list-style: none; padding: 0; margin: 0 0 1.2rem; color: var(--ink-soft); }
.box-list li { break-inside: avoid; padding: .2rem 0 .2rem 1.3rem; position: relative; }
.box-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--sun); }
.small { font-size: .92rem; color: var(--ink-soft); }
.notice { display: none; margin-top: .6rem; padding: .85rem 1.1rem; border-radius: 14px; background: var(--peach); border: 1.5px solid #ffc9b5; font-size: .95rem; }
.notice.show { display: block; }
@media (max-width: 860px) { .box-list { columns: 1; } }

/* FAQ */
.faq { max-width: 48rem; margin-inline: auto; display: grid; gap: .8rem; }
.faq details { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 0 1.5rem; }
.faq summary { list-style: none; cursor: pointer; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; padding: 1.25rem 2.8rem 1.25rem 0; font-weight: 800; font-size: 1.12rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%;
  /* the + is a tiny SVG with rounded ends, so it's exactly centred whatever the font */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%2326282f' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 1.6v8.8M1.6 6h8.8'/%3E%3C/svg%3E") center / 12px 12px no-repeat, var(--sun-soft);
  transition: transform .25s, background-color .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background-color: var(--sun); }
.faq details p { color: var(--ink-soft); padding-bottom: 1.2rem; margin: 0; }

/* Footer */
.site-footer { padding: 4rem 0 2.5rem; margin-top: 3rem; background: var(--cream); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.brand-lg { margin-bottom: 1rem; }
.brand-lg img { height: 110px; }
.footer-grid h4 { font-size: 1rem; color: var(--ink); margin: 0 0 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-grid a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sun); }
.legal { margin-top: 3rem; padding-top: 1.6rem; border-top: 1.5px solid var(--line); color: var(--ink-soft); font-size: .88rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Policy / prose pages */
.prose { max-width: 46rem; margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) 0 4rem; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.prose h2 { font-size: 1.5rem; margin-top: 2.4rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6rem; }
.prose p, .prose li { color: #3d404b; }
.prose .updated { color: var(--ink-soft); font-size: .95rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; }
.prose th, .prose td { text-align: left; padding: .7rem .6rem; border-bottom: 1.5px solid var(--line); vertical-align: top; }
.callout { background: var(--cream); border: 2px solid var(--sun); border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; margin: 1.4rem 0; }
.callout .big { font-size: 1.35rem; font-weight: 800; color: var(--ink); margin: 0 0 .3rem; }
mark.ph { background: var(--sun-soft); color: #7a5400; padding: 0 .25em; border-radius: 4px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .screen .s1 { opacity: 1; }
}

/* Anchored headings land below the sticky header */
[id] { scroll-margin-top: 100px; }
