/* Japanana website. Tokens mirror the app's NeoTheme (lib/core/presentation/style/neo_theme.dart). */
:root {
  --yellow: #F8D318;
  --yellow-deep: #E9C210;
  --ink: #000000;
  --ink-soft: #171002;
  --paper: #F7F5FF;
  --card: #FFFFFF;
  --teal: #45A099;
  --green: #7BD88F;
  --coral: #FF8A8A;
  --red: #D05557;
  --navy: #232937;
  --navy-2: #2D3446;
  --navy-deep: #1A1E29;
  --lav: #ECE9F7;
  --grid: rgba(0, 0, 0, .10);
  --grid-dark: rgba(236, 233, 247, .10);
  --display: 'Exlibris', 'Libre Caslon Text', Georgia, serif;
  --body: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
  --bw: 3px;
  --sh: 5px;
  --r: 14px;
  --max: 1180px;
  color-scheme: light;
}

@font-face { font-family: 'Exlibris'; font-weight: 400; font-display: swap; src: url(/fonts/Exlibris.otf) format('opentype'); }
@font-face { font-family: 'Exlibris'; font-weight: 700; font-display: swap; src: url(/fonts/Exlibris-Bold.otf) format('opentype'); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--yellow);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; text-wrap: balance; font-family: var(--display); font-weight: 700; line-height: 1.05; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 4px solid var(--teal); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); border: var(--bw) solid var(--ink); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* ---- paper ---- */
.paper-y { background-color: var(--yellow); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 28px 28px; }
.paper-l { background-color: var(--paper); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 28px 28px; }
.paper-n { background-color: var(--navy); background-image: linear-gradient(var(--grid-dark) 1px, transparent 1px), linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px); background-size: 28px 28px; color: var(--lav); }

/* ---- primitives ---- */
.neo { border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh) var(--sh) 0 var(--ink); background: var(--card); }
.badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; border: var(--bw) solid var(--ink); border-radius: 999px; padding: 5px 14px; background: var(--card); }
.hl { display: inline-block; background: var(--yellow); border: var(--bw) solid var(--ink); border-radius: 12px; padding: 0 .22em; box-shadow: var(--sh) var(--sh) 0 var(--ink); line-height: 1.05; }
.hl.ink { background: var(--ink); color: var(--yellow); box-shadow: var(--sh) var(--sh) 0 var(--card); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; padding: 14px 26px; border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh) var(--sh) 0 var(--ink); background: var(--yellow); color: var(--ink); text-decoration: none; transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.btn:active { transform: translate(var(--sh), var(--sh)); box-shadow: none; }
.btn.dark { background: var(--ink); color: var(--yellow); }
.btn.ghost { background: var(--card); }
.sticker { display: inline-flex; align-items: center; font-weight: 900; font-size: 18px; padding: 8px 16px; border: var(--bw) solid var(--ink); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink); background: var(--card); color: var(--ink); text-decoration: none; transition: transform .12s, box-shadow .12s; }
.sticker:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.sticker.t { background: var(--teal); color: #fff; }
.sticker.c { background: var(--coral); }
.sticker.g { background: var(--green); }
.sticker.dash { border-style: dashed; box-shadow: none; background: transparent; }
.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.section { padding: 72px 0; }
.section-head { display: grid; gap: 14px; max-width: 62ch; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 54px); }
.section-head p { font-size: 18px; }

/* ---- App Store button: the hero of the site ---- */
.store { position: relative; overflow: visible; display: inline-flex; align-items: center; gap: 14px; padding: 16px 26px; border: var(--bw) solid var(--ink); border-radius: 18px; background: var(--yellow); color: var(--ink); text-decoration: none; line-height: 1.05; box-shadow: var(--sh) var(--sh) 0 var(--ink); transition: transform .12s, box-shadow .12s; white-space: nowrap; }
.store svg { width: 28px; height: 28px; flex: none; }
.store small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.store b { display: block; font-size: 20px; font-weight: 900; }
.store:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.store:active { transform: translate(var(--sh), var(--sh)); box-shadow: none; }
.store.ink { background: var(--ink); color: var(--yellow); box-shadow: var(--sh) var(--sh) 0 var(--card); }
.store.ink:hover { box-shadow: 3px 3px 0 var(--card); }
.store.nav { padding: 10px 18px; border-radius: 14px; gap: 10px; }
.store.nav svg { width: 22px; height: 22px; }
.store.nav b { font-size: 15px; }
.store.nav small { display: none; }

.store.xl { --bw: 4px; padding: 22px 34px 22px 28px; border-radius: 24px; gap: 18px; box-shadow: 10px 10px 0 var(--ink); animation: pop-in .7s cubic-bezier(.2, 1.6, .4, 1) both, nudge 6s ease-in-out 2.5s infinite; }
.store.xl svg { width: 42px; height: 42px; }
.store.xl small { font-size: 12px; }
.store.xl b { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: .01em; }
.store.xl:hover { transform: translate(4px, 4px); box-shadow: 6px 6px 0 var(--ink); animation-play-state: paused; }
.store.xl:active { transform: translate(10px, 10px); box-shadow: none; }
.store .spark { position: absolute; width: 18px; height: 18px; color: var(--ink); pointer-events: none; }
.store .spark.a { left: -22px; top: -14px; animation: twinkle 2.4s ease-in-out .2s infinite; }
.store .spark.b { left: -30px; bottom: 6px; width: 12px; height: 12px; animation: twinkle 2.4s ease-in-out 1s infinite; }
.store .spark.c { right: -14px; bottom: -18px; animation: twinkle 2.4s ease-in-out 1.7s infinite; }
@keyframes pop-in { 0% { opacity: 0; transform: scale(.6) rotate(-4deg); } 60% { opacity: 1; } 100% { transform: scale(1) rotate(0); } }
@keyframes nudge { 0%, 88%, 100% { transform: translate(0, 0) rotate(0); } 90% { transform: translate(-2px, 0) rotate(-2deg); } 93% { transform: translate(2px, 0) rotate(2deg); } 96% { transform: translate(-1px, 0) rotate(-1deg); } }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.7) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(20deg); } }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 40; border-bottom: var(--bw) solid var(--ink); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 26px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border: var(--bw) solid var(--ink); border-radius: 11px; }
.nav .links { display: flex; gap: 6px; flex-wrap: wrap; }
.nav .links a { font-weight: 700; font-size: 14px; padding: 6px 14px; border: var(--bw) solid var(--ink); border-radius: 999px; background: var(--card); text-decoration: none; transition: transform .12s; }
.nav .links a:hover { transform: translateY(-2px); }
.nav .links a.on { background: var(--teal); color: #fff; }

/* ---- ribbon ---- */
.ribbon { background: var(--navy-deep); color: #fff; font-weight: 900; font-size: 18px; letter-spacing: .06em; padding: 9px 0; border-top: var(--bw) solid var(--ink); border-bottom: var(--bw) solid var(--ink); overflow: hidden; white-space: nowrap; transform: rotate(-2.5deg) scaleX(1.04); margin: 28px 0 -6px; user-select: none; }
.ribbon .track { display: inline-flex; animation: marquee 32s linear infinite; }
.ribbon span { display: inline-block; padding-right: 48px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- hero ---- */
.hero { overflow: hidden; }
.hero .grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: end; padding-top: 44px; }
.hero h1 { font-size: clamp(52px, 8vw, 112px); line-height: .95; letter-spacing: -.01em; color: var(--navy-deep); }
.hero .sub { font-size: clamp(18px, 1.6vw, 21px); font-weight: 400; max-width: 42ch; margin-top: 22px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 24px 28px; margin-top: 36px; align-items: center; }
.hero .cta .note { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.hero .stats { display: grid; gap: 4px; justify-items: end; text-align: right; padding-bottom: 8px; }
.hero .stats .big { font-family: var(--display); font-weight: 700; font-size: clamp(56px, 7vw, 92px); line-height: .9; }
.hero .stats .mid { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3.4vw, 44px); line-height: 1; margin-top: 18px; }
.hero .stats .lab { font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.hero .stats .lab.books a { text-decoration: none; }
.hero .stats .lab.books a:hover { text-decoration: underline; }

/* ---- shelf ---- */
.shelf-wrap { overflow: hidden; padding-top: 22px; }
.shelf { margin: 0 -6% -60px; background: var(--red); border-top: var(--bw) solid var(--ink); border-bottom: 8px solid var(--ink); padding: 36px 12% 0; transform: rotate(-2.5deg); width: 112%; display: flex; gap: 26px; justify-content: center; align-items: flex-end; height: 340px; }
.shelf a.b, .shelf span.b { flex: 1 1 0; max-width: 96px; height: 250px; border: var(--bw) solid var(--ink); border-bottom: none; border-radius: 6px 6px 0 0; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 900; font-size: 20px; writing-mode: vertical-rl; letter-spacing: .25em; text-decoration: none; box-shadow: inset -6px 0 0 rgba(0, 0, 0, .15); transition: transform .18s, height .18s; position: relative; }
.shelf a.b:hover { transform: translateY(-14px); }
.shelf .b.light { color: var(--ink); }
.book:not(.light) .sticker.dash { color: #fff; border-color: #fff; }
.shelf .b.today { color: var(--ink-soft); box-shadow: inset -6px 0 0 rgba(0, 0, 0, .15), 0 0 0 4px var(--coral); animation: glow 2.2s ease-in-out infinite; }
.shelf .b .n { position: absolute; left: 50%; top: -34px; transform: translateX(-50%); writing-mode: horizontal-tb; font-size: 12px; letter-spacing: .04em; background: var(--card); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 2px 8px; opacity: 0; transition: opacity .18s; white-space: nowrap; }
.shelf a.b:hover .n { opacity: 1; }
@keyframes glow { 0%, 100% { box-shadow: inset -6px 0 0 rgba(0, 0, 0, .15), 0 0 0 4px var(--coral); } 50% { box-shadow: inset -6px 0 0 rgba(0, 0, 0, .15), 0 0 0 7px var(--coral); } }

/* ---- hook ---- */
.hook { border-top: var(--bw) solid var(--ink); padding-top: 110px; }
.hook .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.chat { display: grid; gap: 14px; max-width: 460px; }
.bub { padding: 14px 20px; border: var(--bw) solid var(--ink); border-radius: 16px; box-shadow: var(--sh) var(--sh) 0 var(--ink); font-weight: 700; font-size: 18px; background: var(--card); width: max-content; max-width: 100%; }
.bub.me { background: var(--yellow); justify-self: end; }
.bub.typing { display: flex; gap: 6px; padding: 16px 20px; }
.bub.typing i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); display: block; animation: blink 1.2s infinite; }
.bub.typing i:nth-child(2) { animation-delay: .2s; }
.bub.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
.hook h2 { font-size: clamp(34px, 4.4vw, 58px); }
.hook .body { margin-top: 22px; font-size: 18px; max-width: 48ch; }

/* ---- question types ---- */
.types .row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.type { padding: 20px; display: grid; gap: 10px; align-content: start; }
.type .k { font-family: var(--display); font-weight: 700; font-size: 26px; }
.type .num { width: 38px; height: 38px; border: var(--bw) solid var(--ink); border-radius: 10px; display: grid; place-items: center; font-weight: 900; background: var(--yellow); }
.type p { font-size: 15px; }

/* ---- books ---- */
.books { padding-top: 72px; border-top: var(--bw) solid var(--ink); }
.book { padding: 48px 0; border-top: var(--bw) solid var(--ink); color: #fff; }
.book.light { color: var(--ink); }
.book .head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: 22px; }
.book h3 { font-size: clamp(30px, 3.6vw, 44px); }
.book .head a { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.book .stickers { display: flex; flex-wrap: wrap; gap: 12px; }
.book .stickers .sticker { font-size: 16px; }
.book .stickers .more { align-self: center; font-weight: 700; }

/* ---- pains ---- */
.pains .grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pain { padding: 22px 24px; display: grid; gap: 14px; }
.pain .q { font-family: var(--display); font-weight: 700; font-size: 26px; }
.pain .fix { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
.pain .fix i { flex: none; width: 26px; height: 26px; border: var(--bw) solid var(--ink); border-radius: 8px; background: var(--green); display: grid; place-items: center; font-style: normal; font-size: 14px; }

/* ---- features ---- */
.features .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 24px; display: grid; gap: 14px; align-content: start; }
.feature h3 { font-size: 28px; }
.feature .art { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.feature .art .sticker { font-size: 14px; padding: 6px 12px; }
.tile { border: var(--bw) solid var(--ink); border-radius: 12px; padding: 12px 14px; box-shadow: 4px 4px 0 var(--ink); background: var(--yellow); display: grid; gap: 2px; width: 100%; }
.tile .n { font-weight: 900; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.tile .l { font-weight: 700; font-size: 13px; }
.heat { width: 100%; display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; }
.heat i { aspect-ratio: 1; border: 2px solid var(--ink); border-radius: 3px; display: block; background: var(--card); }
.heat i.a1 { background: #D9C66E; }
.heat i.a2 { background: var(--yellow); }
.heat i.a3 { background: var(--red); }
.today-book { width: 64px; height: 92px; border: var(--bw) solid var(--ink); border-radius: 6px; background: var(--yellow); box-shadow: 4px 4px 0 var(--ink), 0 0 0 4px var(--coral); display: grid; place-items: center; font-weight: 900; writing-mode: vertical-rl; letter-spacing: .2em; }

/* ---- pro ---- */
.pro { border-top: var(--bw) solid var(--ink); }
.pro .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.pro .eyebrow { letter-spacing: .22em; }
.pro h2 { font-size: clamp(38px, 5vw, 66px); margin-top: 12px; color: var(--lav); }
.pro .hl { color: var(--ink); box-shadow: var(--sh) var(--sh) 0 var(--lav); border-color: var(--lav); }
.pro .chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pro .chips span { font-weight: 700; font-size: 14px; padding: 8px 14px; border: var(--bw) solid var(--lav); border-radius: 12px; background: var(--navy-2); box-shadow: 4px 4px 0 var(--yellow); }
.pro .chips span:first-child { background: var(--yellow); color: var(--ink-soft); box-shadow: 4px 4px 0 var(--lav); }
.pro .note { margin-top: 22px; font-size: 15px; opacity: .85; }
.plans { display: grid; gap: 14px; }
.plan { border: var(--bw) solid var(--lav); border-radius: var(--r); box-shadow: var(--sh) var(--sh) 0 var(--yellow); background: var(--navy-2); padding: 18px 20px; display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: center; }
.plan.first { background: var(--yellow); color: var(--ink-soft); box-shadow: var(--sh) var(--sh) 0 var(--lav); }
.plan b { font-family: var(--display); font-size: 26px; }
.plan span { font-size: 15px; }
.pro .cta { margin-top: 28px; }

/* ---- faq ---- */
.faq .list { display: grid; gap: 12px; max-width: 760px; }
.faq details { border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--card); box-shadow: var(--sh) var(--sh) 0 var(--ink); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; padding: 16px 20px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 900; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 20px 18px; }

/* ---- final ---- */
.final { border-top: var(--bw) solid var(--ink); text-align: center; }
.final h2 { font-size: clamp(34px, 5vw, 64px); max-width: 20ch; margin: 0 auto 32px; }
.final .nana { width: 128px; height: 128px; margin: 0 auto 24px; border: var(--bw) solid var(--ink); border-radius: 32px; box-shadow: 8px 8px 0 var(--ink); animation: float 4s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(3deg); } }

/* ---- footer ---- */
footer { background: var(--navy-deep); color: var(--lav); border-top: var(--bw) solid var(--ink); padding: 44px 0; font-size: 15px; }
footer .grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
footer .brand { color: var(--lav); }
footer .brand img { border-color: var(--lav); }
footer ul { display: grid; gap: 8px; }
footer a { color: var(--lav); }
footer .muted { opacity: .7; margin-top: 12px; }
footer h3 { font-family: var(--body); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; color: var(--yellow); }

/* ---- sticky mobile cta ---- */
.sticky-cta { display: none; }

/* ---- grammar pages ---- */
.page-head { padding: 48px 0 40px; border-bottom: var(--bw) solid var(--ink); color: #fff; }
.page-head.light { color: var(--ink); }
.page-head h1 { font-size: clamp(40px, 6vw, 80px); }
.page-head .meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.page-head .meta .badge { background: var(--card); color: var(--ink); }
.page-head .lede { margin-top: 18px; font-size: 18px; max-width: 60ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-weight: 700; font-size: 14px; margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span.sep { opacity: .6; }
.point-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; padding: 36px 0; }
.point-card { padding: 16px 18px; display: grid; gap: 6px; text-decoration: none; color: var(--ink); transition: transform .12s, box-shadow .12s; }
.point-card:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.point-card .t { font-weight: 900; font-size: 20px; }
.point-card .u { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.point-card .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.point-card .tags span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border: 2px solid var(--ink); border-radius: 999px; padding: 1px 8px; }
.point { padding: 44px 0 60px; }
.point .grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }
.point h1 { font-family: var(--body); font-weight: 900; font-size: clamp(40px, 6vw, 72px); line-height: 1.1; }
.point .tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 26px; }
.point .block { padding: 22px 24px; display: grid; gap: 12px; margin-bottom: 18px; }
.point .block h2 { font-family: var(--body); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.point .block h2::before { content: ''; width: 12px; height: 12px; border: 2px solid var(--ink); border-radius: 3px; background: var(--yellow); }
.point .usage { font-size: 20px; font-weight: 700; }
.point .ex { display: grid; gap: 4px; padding: 12px 0; border-top: 2px dashed rgba(0, 0, 0, .25); }
.point .ex:first-of-type { border-top: none; padding-top: 0; }
.point .ex .ja { font-size: 22px; font-weight: 700; }
.point .ex .en { font-size: 15px; opacity: .85; }
.point aside { position: sticky; top: 90px; display: grid; gap: 18px; }
.point .cta-card { padding: 24px; display: grid; gap: 14px; background: var(--yellow); }
.point .cta-card h3 { font-size: 24px; }
.point .cta-card p { font-size: 15px; }
.point .prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.point .prevnext a { padding: 12px 14px; display: grid; gap: 2px; text-decoration: none; font-size: 14px; }
.point .prevnext a b { font-size: 16px; }
.point .prevnext a.next { text-align: right; }
.point .prevnext a span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }

/* ---- responsive ---- */
@media (max-width: 1000px) {
  .types .row { grid-template-columns: repeat(3, 1fr); }
  .features .grid { grid-template-columns: 1fr; }
  .point .grid { grid-template-columns: 1fr; }
  .point aside { position: static; }
}
@media (max-width: 820px) {
  .section { padding: 56px 0; }
  .hero .grid, .hook .grid, .pro .grid { grid-template-columns: 1fr; }
  .hero .stats { justify-items: start; text-align: left; flex-direction: row; display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; margin-top: 24px; }
  .hero .stats .mid { margin-top: 0; }
  .nav .links { display: none; }
  .shelf { gap: 10px; height: 260px; padding-left: 6%; }
  .shelf a.b, .shelf span.b { width: 40px; height: 190px; font-size: 14px; }
  .hook { padding-top: 90px; }
  .pains .grid { grid-template-columns: 1fr; }
  footer .grid { grid-template-columns: 1fr; }
  .store.xl { padding: 18px 26px 18px 22px; }
  .store.xl svg { width: 34px; height: 34px; }
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--card); border-top: var(--bw) solid var(--ink); }
  .sticky-cta .store { width: 100%; justify-content: center; }
  body { padding-bottom: 84px; }
}
@media (max-width: 560px) {
  .types .row { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: clamp(44px, 13vw, 64px); }
  .ribbon { font-size: 15px; }
    .plan { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ribbon .track, .store.xl, .store .spark, .bub.typing i, .final .nana, .shelf .b.today { animation: none !important; }
  html { scroll-behavior: auto; }
}
