/* fck-janestreet.fullist.dev: white paper, Jane Street's black mark, real pictures for colour. One font: Fraunces. */
@font-face { font-family: Fraunces; src: url('fonts/fraunces-text-400.woff2') format('woff2'); font-weight: 100 459; font-display: swap; }
@font-face { font-family: Fraunces; src: url('fonts/fraunces-text-560.woff2') format('woff2'); font-weight: 460 900; font-display: swap; }
@font-face { font-family: FrauncesD; src: url('fonts/fraunces-display-430.woff2') format('woff2'); font-weight: 100 559; font-display: swap; }
@font-face { font-family: FrauncesD; src: url('fonts/fraunces-display-640.woff2') format('woff2'); font-weight: 560 900; font-display: swap; }
:root { --paper: #fff; --ink: #000; --mut: #5a5a5a; --line: #e0e0e0; --edge: #8c8c8c; --soft: #f3f3f1; --out: cubic-bezier(.23, 1, .32, 1); --drawer: cubic-bezier(.32, .72, 0, 1); --r: 13px; }
.band, .tray, .fc, .toast, .tip { --paper: #000; --ink: #fff; --mut: #a8a8a8; --line: #2c2c2c; --edge: #6e6e6e; --soft: #141414; }
* { box-sizing: border-box; margin: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font: 400 16px/1.45 Fraunces, Georgia, serif; font-variant-numeric: lining-nums; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, .num { font-family: FrauncesD, Georgia, serif; font-weight: 430; letter-spacing: -.04em; text-wrap: balance; }
ul { list-style: none; padding: 0; } a { color: inherit; text-underline-offset: 4px; }
button, input, select { font: inherit; color: inherit; } button { background: none; border: 0; cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.skip { position: absolute; left: -999px; } .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } .skip:focus { left: 8px; top: 8px; z-index: 60; background: #fff; padding: 12px; }
.in { width: min(1200px, 100% - 32px); margin: 0 auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: var(--r); font-weight: 500; text-decoration: none; white-space: nowrap; transition: transform .14s var(--out), background-color .15s, color .15s, border-color .15s; }
.btn:active { transform: scale(.97); } .btn.sm { min-height: 44px; padding: 0 14px; }
.btn.solid { background: var(--ink); color: var(--paper); } .btn.white { background: #fff; color: #000; } .btn.line { border: 1px solid var(--edge); } .btn.ghost { color: var(--mut); }
.btn[data-done] { background: var(--ink); color: var(--paper); border-color: var(--ink); } .btn.white[data-done] { background: #22c55e; color: #000; }
@media (hover: hover) and (pointer: fine) { .btn.line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); } .btn.solid:hover, .btn.white:hover { opacity: .85; } }
.lnk { min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: clip; min-height: 100svh; display: grid; grid-template-rows: auto auto 1fr; padding-bottom: 24px; }
.top { display: flex; flex-wrap: wrap; gap: 0 8px; justify-content: space-between; align-items: center; padding: 8px 16px; } .brand { display: flex; align-items: center; gap: 9px; min-height: 44px; text-decoration: none; font-weight: 500; } .brand img { border-radius: 50%; } .quiet { color: var(--mut); text-decoration: none; min-height: 44px; display: flex; align-items: center; padding: 0 4px; }
.mark { position: relative; width: min(54vw, 226px); margin: 0 auto; }
.mark .logo { display: block; width: 100%; height: auto; visibility: hidden; } /* the dots draw the mark; the image only gives the size and the name */
.mark canvas { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 1; touch-action: manipulation; cursor: pointer; }
.hint { text-align: center; color: var(--mut); font-size: 14px; margin-top: 8px; } .touch-only { display: none; } @media (hover: none) { .fine-only { display: none; } .touch-only { display: inline; } }
.copyblock { padding: 12px 16px 0; text-align: center; }
h1 { font-size: clamp(32px, 8.8vw, 64px); line-height: 1; }
.count { font-size: clamp(17px, 2vw, 22px); margin-top: 10px; } .count .num { font-size: 1.5em; letter-spacing: -.03em; margin-right: 4px; }
.sub { color: var(--mut); max-width: 38ch; margin: 10px auto 0; font-size: 16px; }
.cta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: center; margin-top: 18px; } .copyblock { min-width: 0; } @media (max-width: 480px) { .btn { white-space: normal; text-align: center; } } .cta .lnk { color: var(--mut); } .note { color: var(--mut); font-size: 13px; margin-top: 14px; }
/* the idle spotlight label, and the dot that flies into the tray */
.lit { position: absolute; z-index: 4; display: flex; align-items: center; gap: 8px; width: max-content; max-width: 220px; padding: 5px 10px 5px 5px; border-radius: 12px; background: #fff; color: #000; font-size: 13px; line-height: 1.2; box-shadow: 0 8px 26px rgba(0, 0, 0, .25); pointer-events: none; opacity: 0; transform: translate(14px, -50%) scale(.96); transition: opacity .25s, transform .3s var(--out); }
.lit.left { transform: translate(calc(-100% - 14px), -50%) scale(.96); } .lit.on { opacity: 1; transform: translate(14px, -50%); } .lit.left.on { transform: translate(calc(-100% - 14px), -50%); }
.lit img { width: 44px; height: 25px; object-fit: cover; border-radius: 6px; flex: none; }
.fly { position: fixed; z-index: 50; left: 0; top: 0; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1.5px #000; pointer-events: none; }
.strip { align-self: end; overflow: hidden; margin-top: 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.strip-in { display: flex; gap: 8px; width: max-content; animation: drift 60s linear infinite; } .strip img { width: 136px; height: 77px; object-fit: cover; border-radius: 10px; display: block; }
@keyframes drift { to { transform: translateX(-50%); } } @media (min-width: 900px) { .strip img { width: 176px; height: 99px; } .strip { margin-top: 0; padding-bottom: 22px; } }
@media (prefers-reduced-motion: reduce) { .strip-in { animation: none; } }
.tip { position: absolute; z-index: 8; width: 260px; pointer-events: none; background: var(--paper); color: var(--ink); border-radius: 14px; overflow: hidden; box-shadow: 0 18px 50px rgba(0, 0, 0, .3); opacity: 0; transform: translateY(6px) scale(.98); transition: opacity .14s, transform .2s var(--out); } .tip.on { opacity: 1; transform: none; }
.tip img, .tip .none { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; } .tip div { padding: 10px 12px 12px; } .tip b { display: block; font-weight: 560; font-size: 16px; line-height: 1.2; margin-top: 2px; } .tip small { color: var(--mut); font-size: 13px; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.05fr 1fr; grid-template-rows: auto 1fr; align-items: center; padding-bottom: 0; }
  .top { grid-column: 1 / -1; padding: 12px 24px; }
  .mark { grid-column: 2; grid-row: 2; width: min(36vw, 500px); margin: 0 auto; }
  .copyblock { grid-column: 1; grid-row: 2; text-align: left; padding: 0 0 6vh max(32px, 6vw); } .sub { margin-left: 0; font-size: 18px; } .cta { justify-content: flex-start; }
  h1 { font-size: clamp(48px, 5.2vw, 78px); }
  .strip { grid-column: 1 / -1; }
}

/* ---------- start here (black band) ---------- */
.band { background: var(--paper); color: var(--ink); padding: 64px 0; }
.band h2, .big, .sec h2 { font-size: clamp(30px, 4.6vw, 60px); line-height: 1; } .lede { color: var(--mut); font-size: 17px; margin-top: 8px; max-width: 60ch; }
.feats { display: grid; gap: 14px; margin-top: 24px; }
.feat { background: #0e0e0e; border-color: #262626; } .feat .why { color: #cfcfcf; } .feat h3 { font-size: 24px; }
@media (min-width: 760px) { .feats { grid-template-columns: 1fr 1fr; } } @media (min-width: 1080px) { .feats { grid-template-columns: repeat(3, 1fr); } .feat.wide { grid-column: span 2; grid-row: span 2; } .feat.wide h3 { font-size: 34px; } .feat.wide .why { font-size: 18px; } }

/* ---------- catalog ---------- */
main.in { padding: 72px 0 40px; }
.bar { position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: 1fr auto; gap: 8px; background: var(--paper); padding: 10px 0; margin-top: 16px; border-bottom: 1px solid var(--line); }
.search { position: relative; } .search svg { position: absolute; left: 12px; top: 15px; width: 18px; color: var(--mut); } .search input { width: 100%; height: 48px; border: 1px solid var(--edge); border-radius: var(--r); padding: 0 12px 0 38px; font-size: 16px; background: transparent; -webkit-appearance: none; appearance: none; } .search input::-webkit-search-cancel-button { display: none; }
#sort { height: 48px; border: 1px solid var(--edge); border-radius: var(--r); padding: 0 10px; background: var(--paper); font-size: 16px; }
.q { font-size: 19px; margin-top: 18px; letter-spacing: -.02em; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 8px -16px 0; padding: 2px 16px; } .chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 44px; padding: 0 14px; border: 1px solid var(--edge); border-radius: var(--r); white-space: nowrap; transition: background-color .12s, color .12s; } .chip i { font-style: normal; opacity: .55; margin-left: 3px; font-size: 14px; } .chip[aria-pressed='true'] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.types .chip { font-size: 14px; } .chips { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
@media (min-width: 760px) { .chips { -webkit-mask-image: none; mask-image: none; flex-wrap: wrap; margin: 8px 0 0; padding: 2px 0; } }
.cnt { display: flex; justify-content: space-between; align-items: center; color: var(--mut); margin-top: 10px; }
.grid { display: grid; gap: 12px; margin-top: 8px; } @media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } } @media (min-width: 1080px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; isolation: isolate; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); content-visibility: auto; contain-intrinsic-size: auto 420px; scroll-margin-top: 90px; transition: background-color .25s, color .25s, border-color .25s; }
.card[hidden], .grid.cut .card.later { display: none; }
/* pictures carry their kind and length, like a video player */
.frame { position: relative; } .frame .pic { border-bottom: 0; } .frame::after { content: ''; position: absolute; inset: auto 0 0; height: 1px; background: var(--line); }
.badge { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 7px; background: rgba(0, 0, 0, .72); color: #fff; font-size: 12.5px; line-height: 1.3; }
.badge.k { left: 10px; top: 10px; } .badge.len { right: 10px; bottom: 10px; } .badge svg { width: 9px; fill: currentColor; }

/* five lessons, opened in place */
.les { margin: 10px 16px 0; border: 1px solid var(--line); border-radius: 12px; } .les summary { list-style: none; cursor: pointer; min-height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; font-weight: 560; } .les summary::-webkit-details-marker { display: none; } .les summary::after { content: '+'; font-size: 20px; font-weight: 400; transition: transform .2s var(--out); } .les[open] summary::after { transform: rotate(45deg); }
.les ul { list-style: none; padding: 0 12px 4px; display: grid; gap: 8px; } .les li { position: relative; padding-left: 16px; font-size: 14.5px; line-height: 1.4; } .les li::before { content: ''; position: absolute; left: 2px; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.les .for { color: var(--mut); font-size: 13.5px; padding: 6px 12px 12px; } .card.on .les { border-color: #3a3a3a; } .card.on .les .for { color: #bdbdbd; }
.les-chip { border-color: var(--ink); }
/* the legend under the logo */
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 4px; margin-top: 8px; } .legend button { min-height: 44px; padding: 0 10px; border-radius: 10px; color: var(--mut); font-size: 13.5px; } .legend button[aria-pressed='true'] { background: #000; color: #fff; } .legend i { font-style: normal; opacity: .6; } @media (hover: hover) and (pointer: fine) { .legend button:hover { color: var(--ink); } }
/* what is in the tray */
.stack { display: flex; padding-left: 8px; } .stack img, .stack i { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; margin-left: -8px; border: 2px solid var(--paper); background: #333; display: block; } .stack:empty { display: none; }
.pic { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--soft); border-bottom: 1px solid var(--line); }
.tile { display: flex; flex-direction: column; justify-content: space-between; padding: 16px 18px; color: #fff; background: #151515; overflow: hidden; }
.tile small { font-size: 13px; opacity: .75; } .tile b { font-family: FrauncesD, serif; font-weight: 430; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.05; letter-spacing: -.035em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.big.tile b { font-size: clamp(30px, 3.6vw, 52px); }
.t-repo { background: #0f3b2c; } .t-podcast { background: #14254d; } .t-blog, .t-article { background: #3b2516; } .t-guide, .t-course, .t-book { background: #4a1422; } .t-puzzle, .t-game { background: #2c2350; } .t-talk, .t-video { background: #1d1d1d; } .t-competition, .t-solution, .t-paper, .t-tool { background: #213a49; }
.pic.none { display: grid; place-items: center; background: #111; color: #fff; } .pic.none span { font-family: FrauncesD, serif; font-size: 28px; letter-spacing: -.03em; opacity: .9; }
.card .meta { color: var(--mut); font-size: 14px; padding: 12px 16px 0; } .card h3 { font-size: 20px; line-height: 1.15; letter-spacing: -.025em; padding: 4px 16px 0; } .card .by { color: var(--mut); font-size: 14px; padding: 2px 16px 0; }
.card .what, .card .why { padding: 8px 16px 0; } .card .acts { display: flex; gap: 8px; margin-top: auto; padding: 14px 16px 16px; } .card .acts .btn:first-child { flex: 1; }
.pick { position: absolute; z-index: 2; right: 10px; top: 10px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .92); color: #000; box-shadow: 0 2px 12px rgba(0, 0, 0, .18); transition: transform .14s var(--out), background-color .2s; } .pick:active { transform: scale(.92); }
.pick svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; } .pick path { transition: opacity .12s, stroke-dashoffset .26s var(--out); stroke-dasharray: 32; } .p2 { stroke-dashoffset: 32; }
.card.on { background: #000; color: #fff; border-color: #000; } .card.on .meta, .card.on .by, .card.on .what { color: #cfcfcf; } .card.on .btn.line { border-color: #6e6e6e; } .card.on .pick { background: #fff; } .card.on .p1 { opacity: 0; } .card.on .p2 { stroke-dashoffset: 0; }
.feat.on { background: #fff; color: #000; } .feat.on .why, .feat.on .meta { color: #444; } .feat.on .btn.solid { background: #000; color: #fff; } .feat.on .btn.line { border-color: #8c8c8c; } .feat.on .pick { background: #000; color: #fff; }
.card.cur { box-shadow: 0 0 0 2px var(--ink); }
.empty { padding: 30px 0; font-size: 18px; } .wide { width: 100%; min-height: 54px; margin-top: 14px; }

/* ---------- rest ---------- */
.two { display: grid; gap: 28px; } .two .acts { margin-top: 18px; } .prompt { font: inherit; font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; background: #141414; color: #cfcfcf; border-radius: 16px; padding: 18px; max-height: 380px; overflow: auto; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; } }
.sec { padding: 72px 0 0; } .lims { display: grid; gap: 0 40px; margin-top: 18px; } @media (min-width: 760px) { .lims { grid-template-columns: repeat(3, 1fr); } } .lims li { background: var(--soft); border-radius: 14px; padding: 16px; } .lims { gap: 8px 10px; } .lims h3 { font-size: 22px; } .lims p { color: var(--mut); margin-top: 4px; }
.faq { margin-top: 16px; } .faq details { border-top: 1px solid var(--line); } .faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-family: FrauncesD, serif; font-size: 20px; letter-spacing: -.025em; position: relative; } .faq summary::-webkit-details-marker { display: none; } .faq summary::after { content: '+'; position: absolute; right: 6px; top: 12px; font-size: 24px; transition: transform .2s var(--out); } .faq [open] summary::after { transform: rotate(45deg); } .faq p { color: var(--mut); padding: 0 24px 18px 0; max-width: 64ch; }
.foot { color: var(--mut); font-size: 14px; padding: 56px 0 140px; } .foot p { max-width: 90ch; }

/* ---------- tray, sheet, follow, toast ---------- */
.tray { position: fixed; z-index: 20; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); width: min(640px, 100vw - 20px); transform: translate(-50%, 160%); display: flex; align-items: center; gap: 4px; padding: 8px 8px 8px 16px; border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 14px 44px rgba(0, 0, 0, .35); transition: transform .32s var(--drawer); }
.picks .tray { transform: translate(-50%, 0); } .tray p { flex: 1; min-width: 70px; } .tray .n { font-family: FrauncesD, serif; font-size: 22px; font-weight: 430; }
.tutor { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--mut); min-height: 44px; padding: 0 4px; cursor: pointer; } .tutor input { width: 18px; height: 18px; accent-color: #fff; }
.tray .in { color: var(--mut); } .tray .btn.white { white-space: nowrap; flex: none; } .tray p { white-space: nowrap; }
@media (max-width: 480px) { .tray { gap: 2px; padding-left: 10px; } .tray .in { display: none; } .tray .btn.ghost { padding: 0 6px; } .tray .btn.white { padding: 0 12px; } .stack img:nth-child(n+3), .stack i:nth-child(n+3) { display: none; } .tutor { padding: 0 2px; } }
@media (max-width: 480px) { .tray p { min-width: 0; flex: 1 1 auto; } }
@media (max-width: 380px) { .stack img:nth-child(n+2), .stack i:nth-child(n+2) { display: none; } }
@media (max-width: 350px) { .stack { display: none; } .tray .btn.white { padding: 0 10px; font-size: 14.5px; } .tray .btn.ghost { font-size: 14.5px; } .tutor { gap: 4px; } }
.sheet { position: fixed; z-index: 25; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); background: #fff; color: #000; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 60px rgba(0, 0, 0, .3); transform: translateY(130%); transition: transform .3s var(--drawer); } .sheet.on { transform: none; }
.sheet-x { position: absolute; z-index: 2; right: 10px; top: 10px; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .92); color: #000; font-size: 22px; }
.sheet-pic { background: #f3f3f1; } .sheet-pic img, .sheet-pic .none { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; max-height: 34vh; } .sheet .meta { color: #5a5a5a; font-size: 13px; padding: 12px 16px 0; } .sheet h3 { font-size: 20px; padding: 2px 16px 0; } .sheet .what { color: #5a5a5a; padding: 4px 16px 0; } .sheet .acts { display: flex; gap: 8px; padding: 14px 16px 16px; } .sheet .acts > * { flex: 1; }
.fc { position: fixed; z-index: 19; right: 16px; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); background: var(--paper); color: var(--ink); border-radius: 18px; padding: 12px; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; box-shadow: 0 14px 44px rgba(0, 0, 0, .35); transform: translateY(20px); opacity: 0; visibility: hidden; transition: transform .25s var(--out), opacity .2s, visibility 0s .25s; } .fc.on { transform: none; opacity: 1; visibility: visible; transition: transform .3s var(--drawer), opacity .25s; } .picks .fc.on { opacity: 0; visibility: hidden; transform: translateY(20px); }
.fc img { border-radius: 12px; } .fc b, .fc span { display: block; line-height: 1.25; } .fc span { color: var(--mut); font-size: 14px; } .fc-x { position: absolute; right: -4px; top: -22px; width: 44px; height: 44px; color: #fff; } .fc-x::before { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: #000; border: 1px solid #6e6e6e; z-index: -1; }
@media (min-width: 760px) { .fc { left: auto; width: 380px; } }
.toast { position: fixed; z-index: 40; left: 50%; top: 14px; transform: translate(-50%, -90px); background: var(--paper); color: var(--ink); padding: 12px 16px; border-radius: var(--r); font-weight: 500; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .25s var(--drawer); max-width: calc(100vw - 24px); } .toast.on { transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* ---------- round 2, after the slop check ---------- */
/* pictures whole: the width/height attributes must not override the 16:9 box */
img.pic { height: auto; }
/* surfaces by fill, not outlines; nothing rests on a shadow */
.card { border: 0; background: var(--soft); } .feat { background: #161616; border: 0; } .frame::after { content: none; }
.card .btn.line { border-color: transparent; background: var(--paper); } .card .btn[data-done] { background: var(--ink); color: var(--paper); }
.card.on .btn.line { background: #1d1d1d; color: #fff; } .card.on .btn[data-done] { background: #fff; color: #000; } .feat.on .btn.line { background: #ececea; color: #000; }
@media (hover: hover) and (pointer: fine) { .card .btn.line:hover { background: var(--ink); color: var(--paper); } .card.on .btn.line:hover { background: #fff; color: #000; } .feat.on .btn.line:hover { background: #000; color: #fff; } }
.les { border: 0; background: var(--paper); } .card.on .les { background: #1d1d1d; } .feat.on .les { background: #ececea; }
.pick { box-shadow: none; } .bar { border-bottom: 0; }
/* tiles: the name and, for code, the command you would run */
.tile { justify-content: flex-end; gap: 10px; padding: 48px 18px 16px; } .tile b i { font-style: normal; opacity: .55; }
.tile code { font: 500 12.5px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; opacity: .8; overflow-wrap: anywhere; }
.big.tile b { font-size: clamp(26px, 2.8vw, 36px); }
.feat.wide .frame { flex: 1 1 auto; display: flex; flex-direction: column; } .feat.wide .frame > .pic { flex: 1 1 auto; }
/* answers in two columns, each a filled block */
.faq { display: grid; gap: 8px; } .faq details { border-top: 0; background: var(--soft); border-radius: 14px; padding: 0 16px; } .faq summary { font-size: 18px; }
@media (min-width: 900px) { .faq { grid-template-columns: 1fr 1fr; align-items: start; gap: 10px; } }
.foot p { max-width: 68ch; }
/* the follow card: one slim row, the close button inside it */
.fc[hidden] { display: none; } .fc { grid-template-columns: auto 1fr auto auto; gap: 10px; padding: 8px 4px 8px 8px; } .fc img { width: 44px; height: 44px; }
.fc-x { position: static; width: 40px; height: 44px; font-size: 20px; color: var(--mut); } .fc-x::before { content: none; }
/* entrances (only when motion is welcome; the reduced page is the finished page) */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--out) var(--d, 0ms), transform .7s var(--out) var(--d, 0ms); }
  .card.rv { transition: opacity .5s var(--out) var(--d, 0ms), transform .7s var(--out) var(--d, 0ms), background-color .25s, color .25s; }
  .rv.seen { opacity: 1; transform: none; }
}
/* tiles carry their kind in the line at the foot, not as a label above the name */
.tile ~ .badge.k { display: none; } .tile { padding-top: 18px; }
.les li { font-size: 16px; }
/* on a phone the legend is wider than the logo above it: two rows, not three */
@media (max-width: 640px) { .legend { width: min(100vw - 32px, 440px); position: relative; left: 50%; translate: -50% 0; } }
/* the big card: its headline gets air below the picture, so the length badge does not read as a label over it */
.feat.wide h3 { padding-top: 22px; }
/* round 3: tiles are a sentence, set like a pull quote */
.tile b { font-size: clamp(19px, 1.65vw, 23px); line-height: 1.2; letter-spacing: -.02em; -webkit-line-clamp: 5; }
.big.tile b { font-size: clamp(21px, 1.9vw, 27px); }
/* phone hero: the text reads from the left edge, under the centred mark */
@media (max-width: 899px) { .copyblock { text-align: left; padding: 0 16px; } .sub { margin-left: 0; } .cta { justify-content: flex-start; } }
/* phone: the legend is one row (counts are on the chips below), the first screen ends on the button */
@media (max-width: 640px) { .legend { flex-wrap: nowrap; gap: 0; margin-top: 4px; } .legend button { padding: 0 7px; } .legend i { display: none; } }
/* ---------- round 4: three ready shortcuts ---------- */
.kits { display: grid; gap: 12px; margin-top: 26px; } @media (min-width: 900px) { .kits { grid-template-columns: 1.3fr 1fr 1fr; align-items: stretch; } }
.kit { background: #161616; border-radius: 18px; padding: 22px 20px 20px; display: flex; flex-direction: column; } .kit h3 { font-family: FrauncesD, serif; font-weight: 430; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.05; letter-spacing: -.03em; }
.kit > p { color: var(--mut); margin-top: 10px; } .kit .acts { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; } .kit .acts .btn { flex: 1 1 auto; }
.kit-list { list-style: none; padding: 0; margin-top: 16px; display: grid; gap: 8px; font-size: 15px; line-height: 1.35; } .kit-list li { position: relative; padding-left: 16px; } .kit-list li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.kit-book { --paper: #fff; --ink: #000; --mut: #4a4a4a; --edge: #8c8c8c; background: #fff; color: #000; } .kit-book .kit-list li { font-style: italic; }
.kit .btn.line { border-color: var(--edge); }
/* desktop: the legend may be wider than the mark, so all six kinds stay on one row */
@media (min-width: 641px) { .legend { flex-wrap: nowrap; width: max-content; position: relative; left: 50%; translate: -50% 0; } }
@media (min-width: 641px) and (max-width: 1199px) { .legend i { display: none; } .legend button { padding: 0 8px; } }
