/* Creator Things: Apple Japan tile grammar in English. Tokens only. */
:root {
  --bg: #f5f5f7; --bg-elev: #fff; --dark: #1d1d1f; --ink: #1d1d1f; --muted: #6e6e73; --line: #d2d2d7;
  --accent: #0071e3; --accent-hover: #0077ed; --link: #06c; --eyebrow: #bf4800;
  --radius: 18px; --shadow: 0 2px 12px rgba(0,0,0,.06), 0 12px 32px rgba(0,0,0,.06);
  --font: "SF Pro JP", "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.47; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 720px; }

/* ---- Navigation: sticky glass bar with image flyouts (Apple style) ---- */
:root { --ease: cubic-bezier(.28, .11, .32, 1); --dim: #86868b; }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(22,22,23,.8); backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px); }
.nav-in { max-width: 1120px; margin: 0 auto; padding: 0 22px; height: 48px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand { display: inline-flex; align-items: center; color: #f5f5f7; font-weight: 600; font-size: 14px; letter-spacing: -.01em; justify-self: start; }
.brand img { display: block; height: 22px; width: auto; }
.brand:hover { text-decoration: none; }
.foot-logo { height: 18px; width: auto; }
.nav-links { display: flex; height: 48px; }
.nav-item { display: flex; align-items: center; }
.nav-item > a { display: flex; align-items: center; height: 48px; padding: 0 13px; font-size: 12px; letter-spacing: -.005em; color: rgba(245,245,247,.8); white-space: nowrap; transition: color .2s; }
.nav-item > a:hover, .nav-item:hover > a, .nav-item:focus-within > a, .nav-item > a[aria-current] { color: #fff; text-decoration: none; }
.nav-end { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.nav-search { display: grid; place-items: center; width: 36px; height: 36px; color: rgba(245,245,247,.8); border-radius: 50%; transition: color .2s, background .2s; }
.nav-search:hover { color: #fff; background: rgba(255,255,255,.1); text-decoration: none; }
.nav .nav-cta { margin-left: 6px; padding: 5px 13px; font-size: 12px; color: #fff; background: var(--accent); border-radius: 980px; transition: background .2s; }
.nav .nav-cta:hover { background: var(--accent-hover); text-decoration: none; }
.nav-burger { display: none; place-content: center; gap: 6px; width: 36px; height: 36px; margin-left: 2px; padding: 0; background: none; border: 0; cursor: pointer; }
.nav-burger span { display: block; width: 17px; height: 1.5px; background: #f5f5f7; border-radius: 2px; transition: transform .3s var(--ease); }
body.menu-open .nav-burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
body.menu-open .nav-burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Flyouts: full-width panels under the bar, product images first */
.flyout { position: absolute; left: 0; right: 0; top: 48px; background: #161617; border-top: 1px solid rgba(255,255,255,.08); box-shadow: 0 30px 60px rgba(0,0,0,.35); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .28s var(--ease), transform .28s var(--ease), visibility 0s .28s; }
.nav-item:hover .flyout, .nav-item:focus-within .flyout { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.flyout-in { max-width: 1120px; margin: 0 auto; padding: 34px 22px 44px; display: grid; grid-template-columns: 250px 1fr; gap: 48px; --ring: #161617; }
.fly-h { margin: 0 0 14px; font-size: 12px; color: var(--dim); }
.fly-big { display: block; padding: 3px 0; font-size: 21px; line-height: 1.19; font-weight: 600; letter-spacing: .011em; color: #f5f5f7; transition: color .2s; }
.fly-big:hover { color: #fff; text-decoration: none; opacity: .75; }
.fly-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px 16px; }
.fly-row.fly-topics { grid-template-columns: repeat(7, 1fr); }
.fly-row.fly-channels { grid-template-columns: repeat(4, 1fr); }
.fly-item { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-size: 12px; line-height: 1.25; font-weight: 600; color: #f5f5f7; }
.fly-item:hover { text-decoration: none; color: #fff; }
.fly-item .ico { --s: 76px; transition: transform .35s var(--ease); }
.fly-item:hover .ico { transform: translateY(-3px) scale(1.05); }
.fly-item .stack .ico { --s: 38px; margin-left: -12px; }
.fly-item .stack .ico:first-child { margin-left: 0; }
.scrim { position: fixed; inset: 48px 0 0 0; z-index: 40; background: rgba(0,0,0,.42); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s var(--ease), visibility 0s .3s; }
body:has(.nav-item:hover .flyout) .scrim, body:has(.nav-item:focus-within .flyout) .scrim { opacity: 1; visibility: visible; transition-delay: 0s; }

/* Mobile menu */
.mmenu { position: fixed; inset: 48px 0 0 0; z-index: 49; padding: 18px 22px 72px; overflow: auto; background: #161617; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
body.menu-open .mmenu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
body.menu-open { overflow: hidden; }
.m-main, .m-chips { list-style: none; margin: 0; padding: 0; }
.m-main a { display: block; padding: 9px 0; font-size: 28px; line-height: 1.14; font-weight: 600; letter-spacing: -.01em; color: #f5f5f7; }
.m-main a:hover { text-decoration: none; opacity: .75; }
.m-h { margin: 30px 0 12px; font-size: 12px; color: var(--dim); }
.m-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.m-chips a { display: block; padding: 8px 15px; font-size: 14px; color: #f5f5f7; background: rgba(255,255,255,.1); border-radius: 980px; }
.m-chips a:hover { text-decoration: none; background: rgba(255,255,255,.18); }

/* App icon: the real logo on a rounded plate. Used by the nav, hero, tiles and stacks. */
.ico { display: inline-grid; place-items: center; flex: none; width: var(--s, 56px); height: var(--s, 56px); background: #fff; border-radius: 22.5%; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 8px 22px rgba(0,0,0,.14); overflow: hidden; }
.ico img { display: block; width: 72%; height: 72%; object-fit: contain; }
.stack { display: inline-flex; }
.stack .ico { --s: 48px; margin-left: -14px; border-radius: 24%; box-shadow: 0 0 0 3px var(--ring, #f5f5f7), 0 2px 8px rgba(0,0,0,.16); }
.stack .ico:first-child { margin-left: 0; }
.fan { display: flex; justify-content: center; align-items: flex-end; }
.fan .ico:nth-child(1) { --s: 92px; margin-right: -18px; transform: rotate(-10deg) translateY(14px); z-index: 1; }
.fan .ico:nth-child(2) { --s: 124px; z-index: 2; }
.fan .ico:nth-child(3) { --s: 92px; margin-left: -18px; transform: rotate(10deg) translateY(14px); z-index: 1; }

.tile { padding: 64px 0; text-align: center; }
.tile.light { background: var(--bg); }
.tile.white { background: var(--bg-elev); text-align: left; padding: 40px 0 72px; }
.tile.head { padding: 56px 0 40px; }
.hero { padding: 80px 0 72px; }
.eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--eyebrow); }
h1 { margin: 0 auto; max-width: 16em; font-size: clamp(34px, 6vw, 56px); line-height: 1.07; font-weight: 600; letter-spacing: -.015em; }
.lead { margin: 16px auto 0; max-width: 34em; font-size: clamp(17px, 2.4vw, 23px); line-height: 1.3; color: var(--muted); font-weight: 400; }
.narrow h1 { margin-left: auto; margin-right: auto; }

.sub { margin: 28px auto 0; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.sub input { width: min(320px, 100%); padding: 12px 16px; font: inherit; font-size: 17px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.sub input:focus, .search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.sub button, .btn { display: inline-block; padding: 12px 22px; font: inherit; font-size: 17px; font-weight: 400; color: #fff; background: var(--accent); border: 0; border-radius: 980px; cursor: pointer; }
.sub button:hover, .btn:hover { background: var(--accent-hover); text-decoration: none; }
.sub.off { padding: 12px 22px; border: 1px dashed var(--line); border-radius: 980px; color: var(--muted); font-size: 17px; }
.fine { margin: 12px 0 0; font-size: 12px; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; font-size: 14px; color: var(--ink); background: var(--bg); border: 1px solid transparent; border-radius: 980px; }
.chip i { font-style: normal; font-size: 12px; color: var(--muted); }
.chip:hover { text-decoration: none; border-color: var(--line); }
.chip.on { background: var(--dark); color: #f5f5f7; }
.chip.on i { color: rgba(245,245,247,.7); }

.search { margin: 20px 0 24px; }
.search input { width: 100%; padding: 14px 18px; font: inherit; font-size: 17px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }

.sponsor { display: flex; gap: 12px; align-items: baseline; margin: 0 0 20px; padding: 14px 18px; background: var(--bg); border-radius: 12px; font-size: 15px; }
.kind { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--c, var(--muted)); }
.kind .pick { margin-left: 8px; padding: 2px 8px; font-size: 11px; letter-spacing: .02em; text-transform: none; color: #fff; background: var(--dark); border-radius: 980px; }

.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card[hidden] { display: none; }
.card-top { display: flex; align-items: center; gap: 10px; }
.logo-link { display: inline-flex; border-radius: 10px; }
.logo { display: block; width: 44px; height: 44px; padding: 5px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.host:hover { color: var(--link); text-decoration: none; }
.mono { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); font-weight: 600; font-size: 17px; }
.card h3 { margin: 4px 0 0; font-size: 21px; line-height: 1.19; font-weight: 600; letter-spacing: .011em; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--link); text-decoration: none; }
.card p { margin: 0; font-size: 15px; line-height: 1.4; color: var(--muted); flex: 1; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; font-size: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags a { color: var(--muted); }
.tags a::before { content: "#"; }
.host { color: var(--muted); white-space: nowrap; }
.empty { margin: 32px 0 0; text-align: center; font-size: 17px; color: var(--muted); }

.prose h2 { margin: 36px 0 8px; font-size: 28px; font-weight: 600; letter-spacing: .007em; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 17px; color: var(--ink); }

.sub-embed { margin: 28px auto 0; max-width: 480px; }
.sub-embed iframe { display: block; width: 100%; max-width: 480px; height: 320px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }

/* beehiiv form: only the email field and button, no card. The form itself is styled in beehiiv. */
.sub-embed--bh { max-width: 480px; margin: 28px auto 0; }
.sub-embed--bh iframe { display: block; width: 100%; max-width: 480px; height: auto; border: 0; background: transparent; border-radius: 0; margin: 0 auto; }

/* ---- Redesign v2: type, hero, rail, tiles, footer ---- */
.tile-h { margin: 0 0 36px; max-width: 19em; font-size: clamp(28px, 4.4vw, 48px); line-height: 1.08; font-weight: 600; letter-spacing: -.02em; }
.tile-h span { color: var(--muted); }
.tile-h.center { margin-left: auto; margin-right: auto; text-align: center; }
.applink { color: var(--link); font-size: 17px; }
.applink::after { content: " \203A"; }
.applink:hover { text-decoration: underline; }
.cta-row { display: flex; gap: 24px; justify-content: center; align-items: center; flex-wrap: wrap; margin: 32px 0 0; }

.tile.hero2 { padding: 92px 0 0; overflow: hidden; background: radial-gradient(70% 55% at 50% 100%, #fff 0, rgba(255,255,255,0) 72%), var(--bg); }
.hero2 h1 { max-width: 13em; font-size: clamp(40px, 7.4vw, 76px); line-height: 1.04; letter-spacing: -.028em; }
.hero2 .lead { max-width: 30em; font-size: clamp(19px, 2.6vw, 26px); }
.cluster { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(12px, 2vw, 24px); max-width: 900px; margin: 68px auto 0; padding: 0 0 84px; }
.cluster .ico { --s: clamp(58px, 9.6vw, 98px); animation: rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms + 120ms); }
.cluster .ico:nth-child(3n+2) { margin-top: 28px; }
.cluster .ico:nth-child(3n) { margin-top: 12px; }
@keyframes rise { from { opacity: 0; transform: translateY(30px) scale(.92); } to { opacity: 1; transform: none; } }

/* Editor's picks rail: dark tile, large image cards, scroll-snap, bleeds to the screen edge */
.tile.dark { padding: 84px 0 72px; text-align: left; color: #f5f5f7; background: #000; }
.tile.dark .tile-h { color: #f5f5f7; }
.tile.dark .tile-h span { color: var(--dim); }
.rail { display: flex; gap: 20px; margin: 0; padding: 4px max(22px, calc(50vw - 538px)) 12px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(22px, calc(50vw - 538px)); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rcard { flex: 0 0 min(332px, 80vw); scroll-snap-align: start; background: #1d1d1f; border-radius: 28px; overflow: hidden; transition: transform .5s var(--ease); }
.rcard:hover { transform: translateY(-4px); }
.rcard > a { display: flex; flex-direction: column; height: 100%; color: inherit; }
.rcard > a:hover { text-decoration: none; }
.rcard-art { display: grid; place-items: center; height: 216px; background: radial-gradient(120% 95% at 50% 0%, color-mix(in srgb, var(--c) 72%, #000) 0, color-mix(in srgb, var(--c) 16%, #0b0b0c) 72%); }
.rcard-art .ico { box-shadow: 0 14px 36px rgba(0,0,0,.5); transition: transform .5s var(--ease); }
.rcard:hover .rcard-art .ico { transform: scale(1.06); }
.rcard-body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 22px 24px 26px; }
.rcard .kind { color: color-mix(in srgb, var(--c) 45%, #fff); }
.rcard h3 { margin: 0; font-size: 25px; line-height: 1.12; font-weight: 600; letter-spacing: -.012em; color: #f5f5f7; }
.rcard p { flex: 1; margin: 0; font-size: 15px; line-height: 1.4; color: #a1a1a6; }
.rcard .applink { margin-top: 10px; font-size: 15px; color: #2997ff; }
.rail-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.rail-btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; color: #f5f5f7; background: rgba(255,255,255,.14); border: 0; border-radius: 50%; cursor: pointer; transition: background .2s, opacity .2s; }
.rail-btn:hover:not(:disabled) { background: rgba(255,255,255,.24); }
.rail-btn:disabled { opacity: .3; cursor: default; }

/* Browse by type: two-up tiles, each with a fan of real logos bleeding off the bottom */
.tile.types { padding: 84px 0; text-align: left; }
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.btile { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 440px; padding: 46px 32px 0; overflow: hidden; text-align: center; color: var(--ink); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 9%, #fff) 0%, #fff 72%); border-radius: 28px; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.btile:hover { text-decoration: none; transform: scale(1.012); box-shadow: var(--shadow); }
.btile .eyebrow { color: var(--c); }
.btile h3 { margin: 4px 0 0; max-width: 12em; font-size: clamp(26px, 3.3vw, 38px); line-height: 1.1; font-weight: 600; letter-spacing: -.016em; }
.btile p { margin: 12px 0 0; max-width: 22em; font-size: 17px; line-height: 1.3; color: var(--muted); }
.btile .applink { margin-top: 14px; }
.btile .fan { margin-top: auto; padding-top: 28px; margin-bottom: -14px; }
.btile:hover .fan .ico:nth-child(2) { transform: translateY(-6px); }
.fan .ico { transition: transform .6s var(--ease); }

/* Browse by topic */
.tile.topics { padding: 84px 0 80px; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.ttile { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 28px 12px 22px; color: var(--ink); text-align: center; background: var(--bg); border-radius: 22px; transition: transform .45s var(--ease), background .3s; }
.ttile:hover { text-decoration: none; transform: translateY(-3px); background: #ececf0; }
.ttile .stack { margin-bottom: 14px; --ring: var(--bg); }
.ttile:hover .stack { --ring: #ececf0; }
.ttile b { font-size: 17px; font-weight: 600; letter-spacing: -.005em; }
.ttile span { font-size: 13px; color: var(--muted); }
.chips-h { margin: 36px 0 12px; font-size: 14px; font-weight: 600; color: var(--muted); }

.tile.subtile { padding: 84px 0 72px; }
.tile.subtile .tile-h { max-width: 14em; margin-bottom: 14px; }

/* Directory */
.tile.white.has-dir, #directory { padding-top: 76px; }
#directory .tile-h { margin-bottom: 28px; }

/* Page heads with a fan of logos */
.tile.head.has-fan { padding-bottom: 0; overflow: hidden; }
.tile.head.has-fan .fan { margin-top: 34px; margin-bottom: -18px; }

/* Cards: gray plates on the white directory, lift on hover */
.card { gap: 10px; padding: 24px; background: var(--bg); border: 0; border-radius: 22px; box-shadow: none; transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .3s; }
.card:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 2px 6px rgba(0,0,0,.05), 0 18px 44px rgba(0,0,0,.1); }
.logo { width: 52px; height: 52px; padding: 8px; border: 0; border-radius: 13px; box-shadow: 0 1px 3px rgba(0,0,0,.1); }

/* Footer: directory columns */
.foot { padding: 20px 0 36px; font-size: 12px; line-height: 1.33; color: var(--muted); background: var(--bg); border-top: 1px solid var(--line); }
.foot-note { margin: 0; padding: 0 0 16px; border-bottom: 1px solid var(--line); }
.foot-cols { display: grid; grid-template-columns: 1fr 1.4fr 1fr 1fr; gap: 28px; padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.foot h4 { margin: 0 0 12px; font-size: 12px; font-weight: 600; color: var(--ink); }
.foot-cols ul { margin: 0; padding: 0; list-style: none; }
.foot-cols ul.two { columns: 2; column-gap: 24px; }
.foot-cols li { margin: 0 0 8px; break-inside: avoid; }
.foot-cols a { color: var(--muted); }
.foot-cols a:hover { color: var(--ink); text-decoration: underline; }
.foot-base { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; padding-top: 18px; }

/* Scroll reveal: only when JS is on, and only with motion allowed */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js [data-reveal].in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .cluster .ico { animation: none; } * { scroll-behavior: auto !important; } }

@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-in { grid-template-columns: 1fr auto; }
  .nav-burger { display: grid; }
}
@media (max-width: 734px) {
  .tile { padding: 52px 0; }
  .tile.hero2 { padding: 60px 0 0; }
  .cluster { margin-top: 44px; padding-bottom: 56px; }
  .tile.dark, .tile.types, .tile.topics, .tile.subtile { padding-top: 56px; padding-bottom: 52px; }
  .bento { grid-template-columns: 1fr; }
  .btile { min-height: 410px; padding: 38px 24px 0; }
  .grid { grid-template-columns: 1fr; }
  .tgrid { grid-template-columns: repeat(2, 1fr); }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .fan .ico:nth-child(1), .fan .ico:nth-child(3) { --s: 72px; }
  .fan .ico:nth-child(2) { --s: 96px; }
}

/* Search pages: tool pages, alternatives, best-of lists, badge */
.crumbs { margin: 0 0 18px; font-size: 12px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.btn-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 24px 0 0; }
.btn.ghost { color: var(--link); background: transparent; border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--bg); }
.plain { margin: 0 0 8px; padding-left: 20px; font-size: 17px; }
.plain li { margin: 6px 0; }
.facts { margin: 0; display: grid; gap: 10px; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 16px; background: var(--bg); border-radius: 12px; font-size: 16px; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; }
.prose .grid { margin: 8px 0 0; }
.prose .grid .card h3 { font-size: 19px; }
.mid { margin: 0 auto; max-width: 18em; font-size: clamp(26px, 4vw, 36px); line-height: 1.12; font-weight: 600; letter-spacing: -.01em; }
.tile .list-h { margin: 36px 0 14px; font-size: 24px; font-weight: 600; letter-spacing: .007em; }
.narrow-in { max-width: 720px; }
.alts { margin: 12px 0 28px; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: alt; }
.alts li { counter-increment: alt; padding: 18px 20px; background: var(--bg); border-radius: var(--radius); }
.alts h3 { margin: 0; font-size: 21px; font-weight: 600; }
.alts h3::before { content: counter(alt) ". "; color: var(--muted); }
.alts h3 a { color: var(--ink); }
.alts p { margin: 8px 0 0; font-size: 16px; color: var(--muted); }
.alts .why { color: var(--ink); }
.alt-head { display: flex; align-items: center; gap: 12px; }
details.code { margin: 12px 0 0; }
details.code summary { cursor: pointer; color: var(--link); font-size: 15px; }
.codebox, details.code textarea { width: 100%; margin-top: 8px; padding: 12px; font: 13px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }
.select { width: 100%; padding: 12px 14px; font: inherit; font-size: 17px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.badge-prev { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.badge-prev img { display: block; height: auto; max-width: 100%; }
.badge-prev .on-dark { display: inline-block; padding: 16px; background: #f5f5f7; border-radius: 12px; }

/* Sponsorship rate calculator */
.calc { padding: 22px; background: var(--bg); border-radius: var(--radius); }
.seg { display: flex; gap: 6px; padding: 4px; margin: 0 0 18px; background: #e8e8ed; border-radius: 980px; }
.seg-b { flex: 1; padding: 9px 12px; font: inherit; font-size: 15px; color: var(--ink); background: transparent; border: 0; border-radius: 980px; cursor: pointer; }
.seg-b.on { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.12); font-weight: 600; }
.calc .row { margin: 0 0 16px; }
.calc label { display: block; margin: 0 0 6px; font-size: 15px; font-weight: 600; }
.calc input[type=number] { width: 100%; padding: 12px 14px; font: inherit; font-size: 19px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.calc input:focus, .calc .select:focus, .seg-b:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.out { margin: 22px 0 14px; padding: 20px; background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.out-k { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.out-v { margin: 2px 0 10px; font-size: clamp(30px, 6vw, 44px); line-height: 1.1; font-weight: 600; letter-spacing: -.015em; }
.out-v.sm { font-size: 22px; }
.out[hidden], .src[hidden] { display: none; }
.callout { margin: 0 0 24px; }
