@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/baloo2-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/baloo2-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #FFF5E8;
  --ink: #241710;
  --ink2: #786357;
  --accent: #FF5933;
  --accent-deep: #E8431C;
  --butter: #FFCC47;
  --basil: #389E4D;
  --blueberry: #4252D1;
  --card: #FFFFFF;
  --mint: #C7EDD9;
  --rose: #FFCCC7;
  --lemon: #FFEBA6;
  --peach: #FFDEB8;
  --sky: #CCDEF7;
  --lilac: #E0D4F5;
  --border: 2.5px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --radius: 22px;
  --display: 'Baloo 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; color-scheme: light; }
body {
  background: var(--paper);
  background-image: radial-gradient(#f2e2cd 1.3px, transparent 1.3px);
  background-size: 34px 34px;
  color: var(--ink);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, .btn, .logo { font-family: var(--display); line-height: 1.08; }
h1 { font-size: clamp(2.7rem, 6.4vw, 4.5rem); font-weight: 800; letter-spacing: -0.5px; }
h2 { font-size: clamp(2rem, 4.4vw, 2.9rem); font-weight: 800; letter-spacing: -0.3px; }
h3 { font-size: 1.3rem; font-weight: 700; }
.dot { color: var(--accent); }
.eyebrow {
  font-family: var(--display); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 3px; text-transform: uppercase; color: var(--accent);
}
.sub { color: var(--ink2); font-size: 1.15rem; max-width: 56ch; }

/* ---------- icons ---------- */
.ic {
  width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em;
  stroke: currentColor; fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  cursor: pointer; text-decoration: none; text-align: center;
  font-weight: 700; font-size: 1.05rem; color: var(--ink);
  background: var(--butter); border: var(--border); border-radius: 999px;
  padding: 13px 28px; box-shadow: var(--shadow-sm);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-big { font-size: 1.18rem; padding: 16px 34px; }
.btn-big .ic { width: 1.25em; height: 1.25em; }
.btn:focus-visible, summary:focus-visible, a:focus-visible {
  outline: 3px solid var(--blueberry); outline-offset: 2px;
}
.cta-note { font-size: 0.95rem; color: var(--ink2); margin-top: 14px; }

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 245, 232, 0.93); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 2.5px solid var(--ink);
}
.nav { display: flex; align-items: center; gap: 22px; padding: 13px 24px; max-width: 1120px; margin: 0 auto; }
.logo { font-size: 1.7rem; font-weight: 800; text-decoration: none; letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a {
  text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 1rem; color: var(--ink2);
}
.nav-links a:hover { color: var(--ink); }
.lang-switch {
  font-family: var(--display); font-weight: 700; font-size: 0.9rem; text-decoration: none;
  background: var(--card); border: 2px solid var(--ink); border-radius: 999px;
  padding: 6px 14px; box-shadow: 3px 3px 0 var(--ink);
}
.nav > .btn { padding: 9px 20px; font-size: 0.95rem; }
@media (max-width: 820px) {
  .nav-links { display: none; }
  .lang-switch { margin-left: auto; }
}

/* ---------- hero ---------- */
.hero { padding: 72px 0 46px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin: 0 0 18px; }
.hero h1 .hl {
  background: linear-gradient(transparent 60%, var(--butter) 60%, var(--butter) 94%, transparent 94%);
  padding: 0 2px;
}
.hero .sub { margin-bottom: 30px; }

.hero-phone { position: relative; justify-self: center; padding: 30px 14px 14px; }
.phone {
  width: min(300px, 74vw); background: var(--ink);
  border-radius: 50px; box-shadow: 10px 10px 0 rgba(36, 23, 16, 0.2);
  transform: rotate(1.6deg); padding: 4px;
}
.phone img, .side-phone img { border-radius: 44px; border: 4px solid var(--ink); }
.sticker {
  position: absolute; z-index: 2; font-family: var(--display); font-weight: 700;
  background: var(--card); border: var(--border); border-radius: 18px;
  padding: 10px 16px; box-shadow: var(--shadow-sm); line-height: 1.25;
}
.sticker small { display: block; font-family: var(--body); font-weight: 600; font-size: 0.78rem; color: var(--ink2); }
.stick-cost { top: 10px; left: -30px; background: var(--butter); transform: rotate(-5deg); font-size: 1.15rem; }
.stick-swap { bottom: 96px; right: -30px; transform: rotate(4deg); font-size: 0.98rem; }
@media (max-width: 900px) {
  .hero { padding-top: 46px; }
  .stick-cost { left: -4px; } .stick-swap { right: -4px; }
}

/* ---------- ticker ---------- */
.ticker-band { border-top: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); background: var(--butter); overflow: hidden; }
.ticker { display: flex; width: max-content; animation: slide 38s linear infinite; }
.ticker-band:hover .ticker { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; }
.ticker li {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 700; font-size: 1.02rem;
  padding: 12px 26px; white-space: nowrap;
}
.ticker li .ic { width: 1.15em; height: 1.15em; }
.ticker li span { color: var(--accent-deep); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- sections ---------- */
section { padding: 84px 0; }
.sec-head { max-width: 660px; margin-bottom: 48px; }
.sec-head .sub { margin-top: 14px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* problem cards */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .pains { grid-template-columns: 1fr; } }
.pain {
  background: var(--card); border: var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.pain .emo, .feat .emo {
  display: inline-grid; place-items: center; width: 52px; height: 52px;
  border: var(--border); border-radius: 15px; box-shadow: 3px 3px 0 var(--ink); margin-bottom: 15px;
}
.pain .emo .ic, .feat .emo .ic { width: 26px; height: 26px; }
.pain h3 { margin-bottom: 8px; }
.pain p { color: var(--ink2); font-size: 1rem; }
.punch { margin-top: 48px; text-align: center; }
.punch img { width: 104px; height: 104px; margin: 0 auto 6px; }
.punch p {
  font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 2.6vw, 1.6rem);
}

/* how it works: three compact step cards */
.step-num {
  display: inline-grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0;
  background: var(--accent); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.15rem;
  border: var(--border); border-radius: 12px; box-shadow: 3px 3px 0 var(--ink);
}
.step {
  display: grid; grid-template-columns: minmax(0, 480px) auto;
  justify-content: center; align-items: center;
  gap: clamp(40px, 6vw, 88px); padding: 26px 0;
}
.step:nth-of-type(even) { grid-template-columns: auto minmax(0, 480px); }
.step:nth-of-type(even) .side-phone { order: -1; }
.step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.step h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 800; }
.step p { color: var(--ink2); font-size: 1.05rem; }
.step ul { list-style: none; margin-top: 12px; }
.step li { padding-left: 28px; position: relative; margin-bottom: 6px; font-size: 1rem; }
.step li::before { content: '✓'; position: absolute; left: 0; top: -1px; color: var(--basil); font-weight: 800; font-family: var(--display); }
.side-phone {
  width: min(240px, 60vw); background: var(--ink);
  border-radius: 42px; box-shadow: var(--shadow); padding: 4px;
}
.side-phone img { border-radius: 38px; border: 3px solid var(--ink); }
.step:nth-of-type(odd) .side-phone { transform: rotate(1.8deg); }
.step:nth-of-type(even) .side-phone { transform: rotate(-1.8deg); }
@media (max-width: 900px) {
  .step, .step:nth-of-type(even) { grid-template-columns: 1fr; gap: 20px; padding: 18px 0; }
  .side-phone, .step:nth-of-type(even) .side-phone { order: 0; justify-self: center; }
}

/* data trust */
.trust { background: var(--card); border-top: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); }
.trust-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-card {
  background: var(--paper); border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 14px 24px;
}
.trust-card .row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 2px dashed #E4D2BC; }
.trust-card .row:last-child { border-bottom: 0; }
.trust-card .row .ico {
  flex: 0 0 46px; height: 46px; display: grid; place-items: center;
  background: var(--card); border: 2px solid var(--ink); border-radius: 12px; box-shadow: 3px 3px 0 var(--ink);
}
.trust-card .row .ico .ic { width: 24px; height: 24px; }
.trust-card .row b { font-family: var(--display); font-weight: 700; display: block; line-height: 1.3; }
.trust-card .row span { color: var(--ink2); font-size: 0.95rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 52px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  text-align: center; background: var(--paper); border: var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 20px 10px;
}
.stat b { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.3rem); display: block; color: var(--accent-deep); }
.stat span { font-size: 0.95rem; color: var(--ink2); font-weight: 600; }
.fine { color: var(--ink2); font-size: 0.9rem; margin-top: 22px; }

/* features */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feats { grid-template-columns: 1fr; } }
.feat {
  background: var(--card); border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 24px; transition: transform 0.15s ease;
}
.feat:hover { transform: translateY(-3px) rotate(-0.4deg); }
.feat h3 { font-size: 1.22rem; margin-bottom: 6px; }
.feat p { color: var(--ink2); font-size: 0.99rem; }

/* pricing */
.price-wrap { display: grid; place-items: center; }
.price-card {
  background: var(--card); border: 3px solid var(--ink); border-radius: 28px;
  box-shadow: 8px 8px 0 var(--ink); padding: 42px 36px 32px; max-width: 460px; width: 100%;
  text-align: center; position: relative;
}
.price-card .flag {
  position: absolute; top: -19px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  background: var(--accent); color: #fff; font-family: var(--display); font-weight: 700;
  border: var(--border); border-radius: 999px; padding: 5px 18px; font-size: 0.95rem; white-space: nowrap;
  box-shadow: 3px 3px 0 var(--ink);
}
.price-card .big { font-family: var(--display); font-weight: 800; font-size: 3rem; line-height: 1.1; }
.price-card .then { color: var(--ink2); font-weight: 600; margin: 2px 0 22px; }
.plans { display: grid; gap: 10px; margin: 0 auto 24px; max-width: 340px; }
.plan {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  border: 2px solid var(--ink); border-radius: 14px; padding: 10px 16px; text-align: left;
}
.plan b { font-family: var(--display); font-weight: 700; }
.plan span { font-family: var(--display); font-weight: 700; white-space: nowrap; }
.plan em { font-style: normal; display: block; flex-basis: 100%; font-size: 0.85rem; color: var(--ink2); font-weight: 600; }
.plan { flex-wrap: wrap; }
.plan.best { background: var(--lemon); box-shadow: 3px 3px 0 var(--ink); }
.price-card ul { list-style: none; text-align: left; margin: 0 auto 26px; max-width: 330px; }
.price-card li { padding: 7px 0 7px 30px; position: relative; font-size: 1.02rem; }
.price-card li::before { content: '✓'; position: absolute; left: 0; color: var(--basil); font-weight: 800; font-family: var(--display); }
.price-card .btn { width: 100%; }
.price-card .fine { margin-top: 18px; }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--card); border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); margin-bottom: 14px;
}
.faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px;
  font-family: var(--display); font-weight: 700; font-size: 1.12rem; padding: 18px 22px;
  text-align: left;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; margin-left: auto; font-size: 1.5rem; font-weight: 700; color: var(--accent);
  transition: transform 0.2s ease; flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--ink2); font-size: 1.02rem; text-align: left; }
.faq details p a { color: var(--accent-deep); font-weight: 600; }

/* final cta */
.cta-final { padding-top: 40px; padding-bottom: 110px; text-align: center; }
.cta-box {
  position: relative; background: var(--card); border: 3px solid var(--ink); border-radius: 32px;
  box-shadow: 10px 10px 0 var(--ink); padding: 76px 28px 56px; max-width: 780px; margin: 66px auto 0;
}
.cta-box .mascot {
  position: absolute; top: -66px; left: 50%; transform: translateX(-50%);
  width: 138px; height: 138px; filter: drop-shadow(4px 4px 0 rgba(36, 23, 16, 0.18));
}
.cta-box h2 { margin-bottom: 12px; }
.cta-box .sub { margin: 0 auto 28px; }

/* footer */
footer { border-top: 2.5px solid var(--ink); background: var(--card); padding: 40px 0 48px; }
.foot { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.foot .logo { font-size: 1.5rem; }
.foot nav { display: flex; gap: 12px 22px; flex-wrap: wrap; align-items: center; justify-content: center; }
.foot a { color: var(--ink2); text-decoration: none; font-size: 0.98rem; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot .lang-switch { color: var(--ink); }
.foot-meta {
  color: var(--ink2); font-size: 0.9rem; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 4px 10px; max-width: 60ch;
}
.foot-meta span + span::before { content: '·'; margin-right: 10px; }

/* ---------- app store cta ---------- */
.store-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.store-badge { display: inline-block; line-height: 0; border-radius: 13px; }
.store-badge img { height: 60px; width: auto; }
.qr-side {
  display: none; align-items: center; gap: 12px;
  background: var(--card); border: var(--border); border-radius: 16px;
  padding: 8px 14px 8px 8px; box-shadow: var(--shadow-sm);
}
.qr-side img { width: 84px; height: 84px; }
.qr-side small { font-family: var(--display); font-weight: 600; font-size: 0.82rem; line-height: 1.35; color: var(--ink2); }
@media (min-width: 900px) { .qr-side { display: flex; } }
.cta-box .store-cta { justify-content: center; }

/* ---------- sticky mobile cta ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(255, 245, 232, 0.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-top: 2.5px solid var(--ink);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  transform: translateY(105%); transition: transform 0.25s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta strong { font-family: var(--display); font-weight: 700; font-size: 1.02rem; white-space: nowrap; }
.sticky-cta .btn { padding: 10px 22px; font-size: 0.98rem; flex-shrink: 0; }
@media (max-width: 760px) {
  .sticky-cta { display: flex; }
  footer { padding-bottom: 110px; }
}
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* ---------- hero screen slideshow ---------- */
.screens { position: relative; }
.screens img + img { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s ease; }
.screens img.on { opacity: 1; }

/* ---------- small screens: tighter everything ---------- */
@media (max-width: 640px) {
  section { padding: 54px 0; }
  .wrap { padding: 0 18px; }
  .sec-head { margin-bottom: 30px; }
  .nav { gap: 12px; padding: 11px 16px; }
  .logo { font-size: 1.45rem; }
  .nav > .btn { padding: 8px 14px; font-size: 0.9rem; }
  .lang-switch { padding: 5px 10px; font-size: 0.82rem; }
  .hero { padding: 38px 0 28px; }
  .hero-grid { gap: 30px; }
  .hero .sub { font-size: 1.06rem; }
  .store-cta { gap: 14px; }
  .store-badge img { height: 52px; }
  .ticker li { font-size: 0.94rem; padding: 10px 20px; }
  .pain, .feat { padding: 20px; }
  .pains, .feats, .steps3 { gap: 16px; }
  .step3 .shot { aspect-ratio: 20 / 12; }
  .stats { gap: 12px; margin-top: 36px; }
  .punch { margin-top: 34px; }
  .punch img { width: 88px; height: 88px; }
  .price-card { padding: 36px 20px 26px; }
  .faq summary { font-size: 1.02rem; padding: 15px 18px; }
  .faq details p { padding: 0 18px 16px; }
  .cta-final { padding-bottom: 130px; }
  .cta-box { padding: 62px 18px 40px; margin-top: 76px; }
  .cta-box .mascot { width: 112px; height: 112px; top: -56px; }
}

/* reveal on scroll: hidden only when JS runs, so content can never get stuck invisible */
.js .r { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.js .r.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .r { opacity: 1; transform: none; transition: none; }
  .feat, .btn { transition: none; }
}

/* ============================================================
   BLOG
   Reuses the landing's paper, borders and hard shadows. The
   article column is capped at ~68ch: past that, prose stops
   being readable no matter how nice the type is.
   ============================================================ */

.blog-hero { padding: 56px 0 12px; }
.blog-hero h1 { margin-top: 10px; }
.blog-hero .sub { margin-top: 16px; }

.crumbs { font-size: 0.92rem; color: var(--ink2); margin-bottom: 10px; }
.crumbs a { color: var(--ink2); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }

/* ---------- post list ---------- */
.posts { display: grid; gap: 24px; padding: 40px 0 20px; }
.post {
  display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center;
  background: var(--card); border: var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.post:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--ink); }
.post h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 8px 0 10px; }
.post h2 a { color: inherit; text-decoration: none; }
.post h2 a:focus-visible { outline: 3px solid var(--blueberry); outline-offset: 3px; }
.post p { color: var(--ink2); max-width: 62ch; }
.post-meta { font-size: 0.86rem; font-weight: 700; color: var(--ink2); letter-spacing: 0.4px; }
.post-meta .tag {
  display: inline-block; background: var(--lemon); border: 2px solid var(--ink);
  border-radius: 999px; padding: 2px 10px; margin-left: 8px; color: var(--ink);
}
.post-num {
  font-family: var(--display); font-weight: 800; line-height: 1;
  background: var(--butter); border: var(--border); border-radius: 18px;
  box-shadow: var(--shadow-sm); padding: 16px 18px; text-align: center;
  transform: rotate(-3deg);
}
.post-num b { display: block; font-size: 1.6rem; }
.post-num span { display: block; font-family: var(--body); font-weight: 600; font-size: 0.72rem; color: var(--ink2); margin-top: 2px; }
@media (max-width: 720px) {
  .post { grid-template-columns: 1fr; padding: 22px; }
  .post-num { justify-self: start; }
}

/* ---------- article ---------- */
.art-head { padding: 44px 0 0; max-width: 72ch; }
.art-head h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 12px 0 18px; }
.byline { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.9rem; color: var(--ink2); font-weight: 600; }
.byline time { font-variant-numeric: tabular-nums; }

.prose { max-width: 68ch; padding: 30px 0 10px; font-size: 1.1rem; line-height: 1.72; }
.prose p, .prose ul, .prose ol { margin-bottom: 22px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 44px 0 14px; }
.prose h3 { margin: 32px 0 10px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent-deep); font-weight: 600; }
.prose strong { font-weight: 700; }
.lead { font-size: 1.22rem; color: var(--ink2); }

/* Wide tables must scroll inside their own box, never the page. */
.tbl-wrap {
  overflow-x: auto; margin: 26px 0 30px;
  border: var(--border); border-radius: 18px; box-shadow: var(--shadow-sm); background: var(--card);
}
table.data { border-collapse: collapse; width: 100%; font-size: 0.98rem; }
table.data caption { text-align: left; padding: 14px 18px 0; color: var(--ink2); font-size: 0.88rem; font-weight: 600; }
table.data th, table.data td { padding: 11px 16px; text-align: right; white-space: nowrap; }
table.data th:first-child, table.data td:first-child { text-align: left; white-space: normal; min-width: 12ch; }
table.data thead th { font-family: var(--display); font-weight: 800; border-bottom: 2.5px solid var(--ink); }
table.data tbody tr + tr td { border-top: 1.5px solid var(--lemon); }
table.data td { font-variant-numeric: tabular-nums; }
table.data .win { background: var(--mint); font-weight: 700; }
table.data .lose { background: var(--rose); }
table.data tfoot td { border-top: 2.5px solid var(--ink); font-weight: 700; }

.callout {
  background: var(--card); border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 24px 26px; margin: 32px 0;
}
.callout.method { background: var(--sky); }
.callout.warn { background: var(--peach); }
.callout h3 { margin: 0 0 10px; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout ul { margin-bottom: 0; }

.art-cta {
  background: var(--butter); border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 32px 30px; margin: 48px 0 20px;
  max-width: 68ch;
}
.art-cta h2 { margin-bottom: 10px; }
.art-cta p { color: var(--ink2); margin-bottom: 20px; }

.art-foot { max-width: 68ch; padding-bottom: 60px; }
.art-foot .fine { color: var(--ink2); font-size: 0.9rem; }

@media (max-width: 720px) {
  .prose { font-size: 1.05rem; }
  table.data th, table.data td { padding: 10px 12px; }
  .art-cta { padding: 26px 20px; }
}
