/* Orb Kin landing page. Light only: warm paper, cobalt and gold, same fonts as the app plus a serif accent. */
:root {
  --bg: #F7F4EE; --paper: #F4F1EA; --surface: #FFFFFF; --ink: #0B1220; --muted: #5B6472; --line: #E8E3D9;
  --blue: #044EFC; --blue-ink: #0339B8; --soft: #E8F0FF;
  --green: #0E9F6E; --amber: #C27803; --violet: #7C3AED; --red: #DC2626; --gold: #D4A017; --teal: #0D9488; --pink: #DB2777; --emerald: #059669;
  --shadow: 0 1px 2px rgba(60, 45, 20, .05), 0 12px 32px -16px rgba(60, 45, 20, .18);
  --sans: Manrope, system-ui, -apple-system, sans-serif;
  --display: "Inter Tight", system-ui, sans-serif;
  --serif: Fraunces, Georgia, serif;
  color-scheme: only light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -.025em; margin: 0; }
h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0; }
.ser { font-family: var(--serif); font-style: italic; font-weight: 600; letter-spacing: -.01em; color: color-mix(in oklab, var(--blue) 85%, var(--ink)); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.eyebrow { font: 800 12.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.lead { font-size: 18px; color: var(--muted); max-width: 640px; margin-top: 16px; }
section { padding: 96px 0; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.sec-head { margin-bottom: 48px; }
.sec-head h2 { max-width: 820px; }
.sec-head.center h2 { margin: 0 auto; }
:focus-visible { outline: 3px solid color-mix(in oklab, var(--blue) 60%, transparent); outline-offset: 2px; border-radius: 8px; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 999px; font: 700 15px var(--sans); text-decoration: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink); transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn .i { width: 18px; height: 18px; transition: transform .15s; }
.btn:hover .i { transform: translateX(3px); }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(4, 78, 252, .7); }
.btn-primary:hover { background: var(--blue-ink); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in oklab, var(--bg) 85%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid color-mix(in oklab, var(--line) 70%, transparent); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 19px var(--display); text-decoration: none; letter-spacing: -.02em; }
.brand img { width: 32px; height: 32px; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 14px; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.top .actions { display: flex; gap: 8px; }
@media (max-width: 900px) { .nav { display: none; } .top .actions { margin-left: auto; } .top .signin { display: none; } }

/* Hero */
.hero { padding: 28px 0 40px; }
.hero-card { position: relative; border-radius: 36px; overflow: hidden; background: var(--paper); min-height: clamp(560px, 54vw, 660px); display: flex; align-items: center; box-shadow: var(--shadow); }
.hero-art { position: absolute; inset: 0 0 0 24%; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--paper) 0%, var(--paper) 25%, color-mix(in oklab, var(--paper) 70%, transparent) 33%, transparent 44%); }
.hero-copy { position: relative; z-index: 2; max-width: 490px; padding: 56px 0 56px 60px; }
.kicker { display: inline-block; font-weight: 700; font-size: 13px; color: color-mix(in oklab, var(--gold) 55%, var(--ink)); background: color-mix(in oklab, #F5C542 22%, var(--surface)); border: 1px solid color-mix(in oklab, var(--gold) 35%, transparent); padding: 6px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 800; margin-top: 22px; letter-spacing: -.035em; }
.hero h1 em { display: block; font: italic 600 1.02em/1.05 var(--serif); letter-spacing: -.02em; color: transparent; background: linear-gradient(95deg, #9A6B00, #D4A017 45%, #B8860B); -webkit-background-clip: text; background-clip: text; padding-bottom: .06em; }
.hero .lead { font-size: 18.5px; color: #3E4654; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust { list-style: none; padding: 0; margin: 20px 0 0; font-size: 14px; font-weight: 600; color: var(--muted); display: flex; gap: 8px 18px; flex-wrap: wrap; }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust .i, .checks .i, .plan li .i { width: 17px; height: 17px; color: var(--green); stroke-width: 3; }
.badge-float { position: absolute; z-index: 2; right: 28px; bottom: 28px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 20px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); box-shadow: 0 20px 40px -20px rgba(60, 45, 20, .45); animation: bob 5s ease-in-out infinite; }
.badge-float strong { display: block; font: 800 15px var(--display); }
.badge-float small { color: var(--muted); font-size: 12px; font-weight: 600; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (max-width: 900px) {
  .hero { padding-top: 16px; }
  .hero-card { display: block; min-height: 0; border-radius: 28px; }
  .hero-card::before { display: none; }
  .hero-art { position: relative; display: block; inset: auto; }
  .hero-art img { aspect-ratio: 4 / 3; object-position: 78% 50%; }
  .hero-art::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, var(--paper)); }
  .hero-copy { padding: 4px 22px 30px; max-width: none; }
  .badge-float { top: 14px; left: 14px; right: auto; bottom: auto; padding: 8px 14px 8px 8px; }
  .badge-float .orb { --s: 34px; }
}

/* Mini orb */
.orb { --s: 44px; width: var(--s); height: var(--s); border-radius: 50%; flex: none; position: relative; display: inline-block;
  background: url(/img/orb-gold.svg) center / 100% no-repeat; /* the Golden Orb, the logo */
  box-shadow: 0 0 0 4px color-mix(in oklab, #F5C542 25%, transparent), 0 8px 24px -6px rgba(212, 160, 23, .6); }
.orb.big { --s: 150px; box-shadow: 0 0 0 14px color-mix(in oklab, #F5C542 16%, transparent), 0 0 0 28px color-mix(in oklab, #F5C542 8%, transparent), 0 30px 80px -20px rgba(212, 160, 23, .7); animation: glow 6s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 18px color-mix(in oklab, #F5C542 20%, transparent), 0 0 0 36px color-mix(in oklab, #F5C542 8%, transparent), 0 30px 90px -20px rgba(212, 160, 23, .8); } }

/* Problems → with Orb Kin */
.problems { padding-top: 72px; }
.pgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.pcard { grid-column: span 2; display: flex; flex-direction: column; background: var(--surface); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.pcard.wide { grid-column: span 3; }
.pcard img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper); }
.pbody { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard h3 { font-size: 22px; }
.pcard.wide h3 { font-size: 25px; }
.pbody > p:not(.fix) { color: var(--muted); }
.fix { margin-top: auto; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: color-mix(in oklab, #F5C542 14%, var(--surface)); font-size: 14.5px; line-height: 1.5; color: #3E4654; }
.fix b { color: var(--ink); }
.fix .orb { --s: 26px; margin-top: 1px; box-shadow: 0 0 0 3px color-mix(in oklab, #F5C542 25%, transparent); }
@media (max-width: 960px) { .pgrid { grid-template-columns: 1fr 1fr; } .pcard, .pcard.wide { grid-column: span 1; } .pcard:last-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .pgrid { grid-template-columns: 1fr; gap: 16px; } .pcard.wide h3, .pcard h3 { font-size: 22px; } }

/* The Golden Orb loop */
.orb-band { background: linear-gradient(180deg, transparent, color-mix(in oklab, #F5C542 10%, var(--bg)) 18%, color-mix(in oklab, #F5C542 6%, var(--bg)) 80%, transparent); }
.loop { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: none; }
.lcard { --t: var(--blue); position: relative; background: var(--surface); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); padding: 0 0 22px; }
.lcard img, .lcard .glow { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper); }
.lcard .n { position: absolute; top: 12px; left: 12px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; font: 800 15px var(--display); color: #fff; background: var(--t); box-shadow: 0 6px 14px -6px var(--t); }
.lcard h3 { margin: 18px 20px 6px; }
.lcard p { color: var(--muted); font-size: 14.5px; margin: 0 20px; }
.lcard[data-t=violet] { --t: var(--violet); } .lcard[data-t=gold] { --t: var(--gold); } .lcard[data-t=amber] { --t: var(--amber); }
.glow { display: grid; place-items: center; align-content: center; gap: 14px; background: radial-gradient(circle at 50% 42%, #FFF4C9, #F8E7B0 40%, #F1E3C4 75%); }
.glow .orb.big { --s: 88px; }
.glow .meter { width: 58%; height: 8px; border-radius: 99px; background: rgba(154, 107, 0, .15); overflow: hidden; }
.glow .meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #E8B923, #D4A017); }
.glow small { font-weight: 700; font-size: 12.5px; color: #7A5600; }
.levels { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.level { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.level .orb { --s: 22px; box-shadow: none; }
.level.bronze .orb { background: radial-gradient(circle at 34% 30%, #FBE3CF, #CD7F32 55%, #7a4515); }
.level.silver .orb { background: radial-gradient(circle at 34% 30%, #fff, #C0C7D1 55%, #6b7380); }
.level.gold .orb { background: radial-gradient(circle at 34% 30%, #FFF6CF, #E8B923 55%, #8A6100); }
.level small { color: var(--muted); font-weight: 600; }
.calm { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; margin-top: 72px; }
.calm img { border-radius: 28px; box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
@media (max-width: 960px) { .loop { grid-template-columns: 1fr 1fr; } .calm { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 600px) { .loop { grid-template-columns: 1fr; } }

/* Inside the app: the screenshots */
.stage { position: relative; margin: 0 auto; max-width: 980px; padding-bottom: 40px; }
.laptop { border-radius: 20px; padding: 10px; background: linear-gradient(180deg, #FFFFFF, #E9E4DA); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(60, 45, 20, .45); }
.laptop img { border-radius: 12px; width: 100%; aspect-ratio: 16 / 10; }
.phone { position: absolute; right: -14px; bottom: 0; width: 23%; min-width: 150px; border-radius: 30px; padding: 7px; background: #1b1f27; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .4); }
.phone img { border-radius: 24px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.aud { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; background: var(--surface); border-radius: 24px; padding: 28px 28px 0; box-shadow: var(--shadow); overflow: hidden; }
.aud ul { margin: 12px 0 28px; padding-left: 18px; color: var(--muted); display: grid; gap: 6px; }
.aud img { width: 150px; border-radius: 18px 18px 0 0; border: 5px solid #1b1f27; border-bottom: 0; aspect-ratio: 390 / 560; object-fit: cover; object-position: top; }
@media (max-width: 960px) { .audience { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .stage { padding-bottom: 28px; }
  .phone { right: 4px; width: 32%; min-width: 0; border-radius: 22px; padding: 5px; }
  .phone img { border-radius: 18px; }
  .laptop { padding: 6px; border-radius: 14px; }
  .laptop img { border-radius: 8px; }
}
@media (max-width: 520px) { .aud { grid-template-columns: 1fr; } .aud img { width: 62%; margin: 0 auto; } }

/* Feature tiles (echo the app's colourful home) */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feat { --t: var(--blue); border-radius: 22px; padding: 22px; background: color-mix(in oklab, var(--t) 7%, var(--surface)); border: 1px solid color-mix(in oklab, var(--t) 16%, var(--line)); }
.feat .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--t); background: color-mix(in oklab, var(--t) 15%, var(--surface)); margin-bottom: 14px; }
.feat .ic .i { width: 22px; height: 22px; }
.feat h3 { font-size: 17px; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 14.5px; }
.feat[data-t=violet] { --t: var(--violet); } .feat[data-t=amber] { --t: var(--amber); } .feat[data-t=green] { --t: var(--green); }
.feat[data-t=teal] { --t: var(--teal); } .feat[data-t=pink] { --t: var(--pink); } .feat[data-t=gold] { --t: #B8860B; } .feat[data-t=emerald] { --t: var(--emerald); }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

/* Showcase */
.show { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: center; margin-top: 64px; }
.show h2 { font-size: clamp(26px, 3.2vw, 36px); }
.show .shot { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(60, 45, 20, .4); }
.show .shot img { width: 100%; aspect-ratio: 16 / 10; }
@media (max-width: 860px) { .show { grid-template-columns: 1fr; } }

/* Faith */
.faith { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tr { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.tr h3 { font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chips span { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.tr small { display: block; margin-top: 12px; color: var(--muted); font-size: 13px; }
@media (max-width: 960px) { .faith { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .faith { grid-template-columns: 1fr; } }
/* Trust */
.trustgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tg { display: flex; gap: 14px; padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.tg .ic { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--soft); color: var(--blue); }
.tg h3 { font-size: 16px; margin-bottom: 4px; }
.tg p { color: var(--muted); font-size: 14px; }
@media (max-width: 960px) { .trustgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .trustgrid { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--surface); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.plan.pop { outline: 2px solid var(--blue); position: relative; }
.plan.pop::before { content: "Most families"; position: absolute; top: -13px; left: 24px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.price { font: 800 42px var(--display); letter-spacing: -.03em; margin: 10px 0 2px; }
.price small { font: 600 15px var(--sans); color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 9px; font-size: 15px; }
.plan li { display: flex; align-items: center; gap: 10px; }
.plan .btn { margin-top: auto; }
.plan .soon { font-size: 13px; color: var(--muted); text-align: center; margin-top: 10px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border-radius: 18px; border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font: 700 17px/1.35 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--muted); transition: transform .2s; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 0; } }

/* Improving */
.improve { border-radius: 28px; padding: 48px; background: var(--surface); display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; box-shadow: var(--shadow); }
.improve h2 { font-size: clamp(26px, 3.4vw, 38px); }
.news { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.news li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.news li:last-child { border-bottom: 0; }
.news b { display: block; font-size: 15px; }
.news span { color: var(--muted); font-size: 14px; }
.news .tag { flex: none; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: var(--soft); border-radius: 8px; padding: 4px 8px; height: fit-content; margin-top: 2px; min-width: 64px; text-align: center; }
@media (max-width: 860px) { .improve { grid-template-columns: 1fr; padding: 28px; gap: 24px; } }

/* Final CTA + footer, both light */
.final-wrap { padding: 0; }
.final { border-radius: 36px; padding: 64px 24px 72px; text-align: center; background: radial-gradient(circle at 50% 0%, #FFF1BF, #FBE9B5 30%, var(--paper) 72%); border: 1px solid color-mix(in oklab, var(--gold) 25%, var(--line)); }
.final .orb.big { --s: 96px; margin-bottom: 30px; }
.final p { color: var(--muted); margin: 14px auto 0; max-width: 560px; font-size: 18px; }
.final .cta-row { justify-content: center; }
footer { margin-top: 88px; padding: 56px 0 32px; border-top: 1px solid var(--line); background: var(--paper); }
footer .cols { display: grid; grid-template-columns: 1.4fr; grid-auto-columns: 1fr; grid-auto-flow: column; gap: 32px; }
footer h4 { font: 800 13px var(--sans); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 14px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 14px; }
footer a { text-decoration: none; color: var(--muted); }
footer a:hover { color: var(--ink); }
footer .brand { color: var(--ink); }
footer .base { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--muted); }
footer .powered { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; font-size: 13px; color: var(--muted); }
footer .powered img { width: 16px; height: 16px; }
footer .powered b { font: 800 13px var(--display); color: var(--ink); margin-left: -2px; }
footer .powered a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
footer .powered a:hover { color: var(--ink); }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr 1fr; grid-auto-flow: row; } footer .cols > :first-child { grid-column: 1 / -1; } }

/* Guide pages */
.nav a[aria-current] { color: var(--ink); }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--muted); margin: -8px 0 16px 6px; }
.crumbs a { color: var(--blue); text-decoration: none; }
.hero-card.stacked { display: block; min-height: 0; text-align: center; }
.hero-card.stacked::before { display: none; }
.hero-card.stacked .hero-copy { max-width: 720px; margin: 0 auto; padding: 56px 24px 30px; }
.hero-card.stacked .lead { margin-left: auto; margin-right: auto; }
.hero-card.stacked .cta-row, .hero-card.stacked .trust { justify-content: center; }
.hero-card.stacked .hero-art { position: relative; inset: auto; display: block; }
.hero-card.stacked .hero-art img { aspect-ratio: 2 / 1; object-position: 50% 60%; }
.hero-card.stacked .hero-art::before { content: ""; position: absolute; inset: 0 0 auto; height: 22%; background: linear-gradient(var(--paper), transparent); }
.problems .pgrid .pcard:last-child { grid-column: span 3; }
.steps4 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps4 li { position: relative; background: var(--surface); border-radius: 24px; padding: 72px 22px 24px; box-shadow: var(--shadow); }
.steps4 .n { position: absolute; top: 20px; left: 22px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font: 800 16px var(--display); color: #fff; background: linear-gradient(135deg, #F5C451, #D99A16); box-shadow: 0 6px 14px -6px #D99A16; }
.steps4 h3 { font-size: 19px; }
.steps4 p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.wrap.narrow { max-width: 900px; }
.agetable { background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.agetable table { width: 100%; border-collapse: collapse; }
.agetable th, .agetable td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.agetable thead th { background: var(--paper); font: 800 12.5px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.agetable tbody th { font: 800 18px var(--display); white-space: nowrap; color: color-mix(in oklab, var(--blue) 85%, var(--ink)); width: 90px; }
.agetable tr:last-child > * { border-bottom: 0; }
.rulelist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rulelist li { display: flex; gap: 16px; background: var(--surface); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.rulelist .n { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font: 800 16px var(--display); color: #8A5A00; background: #FBEBC0; }
.rulelist h3 { font-size: 18px; }
.rulelist p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.tipbox { margin-top: 28px; padding: 28px 30px; border-radius: 24px; background: color-mix(in oklab, #F5C451 14%, var(--surface)); border: 1px solid color-mix(in oklab, #F5C451 40%, var(--line)); }
.tipbox h3 { font-size: 20px; }
.relgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rel { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--surface); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); position: relative; transition: transform .2s ease; }
.rel:hover { transform: translateY(-3px); }
.rel img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.rel span { display: grid; gap: 4px; padding: 18px 56px 22px 22px; }
.rel b { font: 800 19px var(--display); }
.rel small { color: var(--muted); font-size: 14px; }
.rel > .i { position: absolute; right: 22px; bottom: 26px; color: var(--blue); }
.guide-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; color: var(--blue); text-decoration: none; }
.guide-link .i { width: 17px; height: 17px; }
@media (max-width: 960px) { .steps4 { grid-template-columns: 1fr 1fr; } .relgrid { grid-template-columns: 1fr 1fr; } .problems .pgrid .pcard:last-child { grid-column: span 1; } }
@media (max-width: 700px) { .rulelist { grid-template-columns: 1fr; } .hero-card.stacked .hero-copy { padding: 36px 20px 22px; } .hero-card.stacked .hero-art img { aspect-ratio: 4 / 3; } .agetable th, .agetable td { padding: 14px 16px; } .agetable tbody th { width: auto; font-size: 16px; } }
@media (max-width: 600px) { .steps4, .relgrid { grid-template-columns: 1fr; } .problems .pgrid .pcard:last-child { grid-column: auto; } }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
.pgrid .rv:nth-child(2), .loop .rv:nth-child(2) { transition-delay: .08s; }
.pgrid .rv:nth-child(4), .loop .rv:nth-child(3) { transition-delay: .16s; }
.pgrid .rv:nth-child(5), .loop .rv:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .badge-float, .orb.big { animation: none; }
}
@media (max-width: 600px) { section { padding: 64px 0; } .sec-head { margin-bottom: 32px; } .lead { font-size: 17px; } .final { padding: 48px 20px 56px; border-radius: 28px; } }
