/* /makeup-match: the makeup swipe as a parody of a dating app ("tinted"). tools/makeup_match.py builds the page, site/js/makeup-match.js draws the screen.
   Phone first: the app fills the column on a phone and sits in a phone frame beside the words on a desktop.
   Without JavaScript only the words, the season links and the plain list show. Every target is 44px or more. */

.mm-run { padding: var(--s4) 0 var(--s6); }
.mm-grid { display: grid; gap: var(--s4); }
.mm-intro h1 { margin: var(--s3) 0 var(--s2); font-family: var(--serif); font-style: italic; font-size: clamp(36px, 6vw + 14px, 60px); line-height: 1.02; letter-spacing: -.015em; }
.mm-intro h1 em { color: var(--berry); }
.mm-lede { margin: 0; font-size: 17px; line-height: 1.5; }
.mm-joke { margin: var(--s2) 0 0; font-size: 15px; color: var(--graphite); }
.mm-aff { margin: var(--s3) 0 0; font-size: 13px; }

/* ---- the phone ---- */
.tt-phone { position: relative; width: 100%; max-width: 430px; margin: 0 auto; scroll-margin-top: calc(var(--hdr-h) + 8px); }
.tt-logo { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--berry); font: 800 24px/1 var(--sans); letter-spacing: -.04em; }
.tt-logo-i { flex: none; }

.tt-pick { padding: 22px 18px 18px; border-radius: 28px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -24px rgba(43, 34, 48, .45); }
.tt-pick-h { margin: 18px 0 14px; font: 800 24px/1.15 var(--sans); letter-spacing: -.02em; }
.tt-from { margin: 0 0 12px; }
.tt-pick-note { margin: 14px 0 0; font-size: 14px; color: var(--graphite); }
.mm-seasons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mm-season { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink); font: 700 14px/1.2 var(--sans); text-decoration: none; }
.mm-season:hover, .mm-season:focus-visible { border-color: var(--berry); color: var(--berry); }
.mm-season-dots { display: inline-flex; flex: none; }
.mm-season-dots span { width: 16px; height: 16px; margin-right: -5px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #fff; }

.tt-screen { position: relative; display: grid; grid-template-rows: auto 1fr auto; height: clamp(600px, calc(100svh - 80px), 780px); overflow: hidden;
  border-radius: 28px; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -24px rgba(43, 34, 48, .45); }
.tt-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px 6px 16px; }
.tt-season { display: flex; flex-direction: column; align-items: flex-end; min-height: 44px; justify-content: center; padding: 4px 10px; border: 0; border-radius: 12px; background: none; color: var(--ink); cursor: pointer; text-align: right; }
.tt-season:hover, .tt-season:focus-visible { background: var(--paper); }
.tt-season-k { font: 700 11.5px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--graphite); }
.tt-season b { font: 700 15px/1.2 var(--sans); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--berry); }
.tt-body { position: relative; min-height: 0; display: flex; flex-direction: column; }
.tt-screen:not([data-tab="swipe"]) .tt-body { display: block; overflow-y: auto; padding: 4px 16px 20px; }

/* ---- the card ---- */
.tt-deck { position: relative; flex: 1; margin: 0 8px; min-height: 0; }
.tt-card { position: absolute; inset: 0; overflow: hidden; border-radius: 16px; background: var(--paper-2); color: #fff;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .35); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; will-change: transform; }
.tt-card.is-next { transform: scale(.95); opacity: .6; pointer-events: none; }
.tt-card.is-drag { cursor: grabbing; }
.tt-card:focus-visible { outline: 3px solid var(--berry); outline-offset: 2px; }

.tt-photo { position: absolute; inset: 0; }
.tt-card.is-next .tt-photo { border-radius: 16px; overflow: hidden; }
.tt-photo img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.tt-photo--amazon { background: #fff; }
.tt-photo--amazon img { object-fit: contain; padding: 12% 10% 30%; box-sizing: border-box; }
.tt-photo--shade { background: var(--c); }
.tt-shade-tag { position: absolute; top: 34px; left: 16px; display: flex; flex-direction: column; padding: 8px 12px; border-radius: 10px; background: #fff; color: var(--ink); font-size: 13px; line-height: 1.3; }
.tt-shade-tag b { font-size: 15px; }
.tt-photo--pal { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 18%; background: var(--paper); }
.tt-pal { display: grid; grid-template-columns: repeat(3, 64px); gap: 14px; }
.tt-pal span { width: 64px; height: 64px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(43, 34, 48, .12); }
.tt-pal .tt-pal-me { box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--ink); }
.tt-pal-cap { margin-top: 14px; color: var(--ink); font: 700 14px/1.2 var(--sans); }

.tt-bars { position: absolute; top: 8px; left: 8px; right: 8px; display: flex; gap: 4px; }
.tt-bars span { flex: 1; height: 4px; border-radius: 2px; background: rgba(30, 24, 34, .28); box-shadow: 0 0 0 .5px rgba(255, 255, 255, .35); }
.tt-bars span.on { background: #fff; box-shadow: 0 0 0 .5px rgba(43, 34, 48, .3), 0 0 3px rgba(0, 0, 0, .25); }
.tt-card.is-light .tt-bars span { background: rgba(43, 34, 48, .18); box-shadow: none; }
.tt-card.is-light .tt-bars span.on { background: var(--ink); }

.tt-scrim { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; gap: 10px; padding: 60px 14px 16px 16px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .55) 38%, rgba(0, 0, 0, .82)); }
.tt-who { flex: 1; min-width: 0; }
.tt-name { display: flex; align-items: center; flex-wrap: wrap; gap: 0 8px; margin: 0; font: 800 30px/1.1 var(--sans); letter-spacing: -.02em; text-shadow: 0 1px 6px rgba(0, 0, 0, .3); }
.tt-age { font-weight: 400; font-size: 26px; }
.tt-badge { display: inline-flex; }
.tt-lines p { margin: 4px 0 0; font-size: 15px; line-height: 1.35; }
.tt-near { display: flex; align-items: center; gap: 5px; }
.tt-bio { font-size: 16px; }
.tt-chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tt-chips li { padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .24); color: #fff; font: 600 13px/1.2 var(--sans); }
.tt-chips--light li { background: var(--paper); color: var(--ink); border: 1px solid var(--line-2); }
.tt-more { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }

.tt-stamp { position: absolute; z-index: 3; padding: 2px 10px; border: 4px solid currentColor; border-radius: 8px; font: 800 38px/1.1 var(--sans); letter-spacing: .04em; text-transform: uppercase; opacity: 0; pointer-events: none; }
.tt-stamp--keep { top: 36px; left: 18px; color: #2FD08A; transform: rotate(-18deg); }
.tt-stamp--nope { top: 36px; right: 18px; color: #FF4D6A; transform: rotate(18deg); }
.tt-stamp--super { bottom: 34%; left: 50%; color: #3DA5F5; font-size: 30px; transform: translateX(-50%) rotate(-8deg); white-space: nowrap; }

/* ---- the round buttons ---- */
.tt-actions { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 12px 8px 10px; }
.tt-act { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: #fff; cursor: pointer;
  box-shadow: 0 2px 10px rgba(43, 34, 48, .18), 0 0 0 1px rgba(43, 34, 48, .06); transition: transform .15s; }
.tt-act:hover { transform: scale(1.08); }
.tt-act:active { transform: scale(.94); }
.tt-act:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.tt-act--nope, .tt-act--keep { width: 64px; height: 64px; }
.tt-act--rewind { color: #B88A16; }
.tt-act--nope { color: #E8344F; }
.tt-act--super { color: #1E88D9; }
.tt-act--keep { color: #12A866; }
.tt-act:disabled { opacity: .4; cursor: default; transform: none; }

/* ---- the tab bar ---- */
.tt-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); background: #fff; }
.tt-tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; border: 0; background: none; color: var(--graphite); font: 600 12.5px/1.1 var(--sans); cursor: pointer; }
.tt-tab.on { color: var(--berry); }
.tt-tab:focus-visible { outline: 3px solid var(--berry); outline-offset: -3px; }
.tt-count { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--berry); color: #fff; font: 700 12.5px/20px var(--sans); }

/* ---- the profile under the photos: the card scrolls, like the app ---- */
.tt-scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; touch-action: pan-y; background: var(--paper); border-radius: inherit; }
.tt-scroll::-webkit-scrollbar { display: none; }
.tt-scroll:focus-visible { outline: 3px solid var(--berry); outline-offset: -3px; }
.tt-top { position: relative; height: calc(100% - 30px); min-height: 380px; overflow: hidden; border-radius: 16px 16px 0 0; }
.tt-prof { position: relative; display: grid; gap: 10px; padding: 0 10px 14px; color: var(--ink); text-align: left; cursor: auto; }
.tt-prof::before { content: "Green flags, red flags and more"; display: flex; align-items: center; justify-content: center; gap: 6px; height: 30px; margin: 0 -10px;
  background: var(--paper); color: var(--graphite); font: 700 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.tt-prof-head { padding: 6px 6px 2px; }
.tt-prof-head .tt-name { color: var(--ink); text-shadow: none; font-size: 28px; }
.tt-prof-sub { margin: 4px 0 0; font: 600 15px/1.35 var(--sans); }
.tt-prof-shade { margin: 2px 0 0; font-size: 14px; color: var(--graphite); }

.tt-box, .tt-prompt { position: relative; padding: 14px 16px 16px; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(43, 34, 48, .06), 0 0 0 1px var(--line); }
.tt-box .tt-label { margin: 0 0 8px; }
.tt-about { margin: 0; font-size: 16px; line-height: 1.5; }
.tt-lives { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 16px; line-height: 1.4; }
.tt-lives svg { flex: none; color: var(--berry, #9C2C4E); }
.tt-lives svg circle { fill: #fff; }
.tt-look { display: flex; align-items: center; gap: 12px; }
.tt-look-i { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--paper); color: var(--c); }
.tt-look b { display: block; font: 800 18px/1.2 var(--sans); letter-spacing: -.01em; }
.tt-look div span { font-size: 14px; color: var(--graphite); }

.tt-ess { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tt-ess li { display: flex; align-items: center; gap: 12px; min-height: 36px; font-size: 15.5px; border-top: 1px solid var(--line); }
.tt-ess li:first-child { border-top: 0; }
.tt-ess-i { display: grid; place-items: center; flex: none; width: 24px; color: var(--graphite); }

.tt-q { margin: 0; font: 600 14px/1.3 var(--sans); color: var(--graphite); }
.tt-a { margin: 6px 0 0; font: 700 19px/1.32 var(--sans); letter-spacing: -.01em; }
.tt-a-small { margin: 10px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--graphite); }
.tt-hint { margin: 4px 0 10px; font-size: 14px; color: var(--graphite); }
.tt-flag { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px 4px 7px; border-radius: 999px; font: 800 11.5px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.tt-flag--green { background: #E2F6EB; color: #0C7A4A; }
.tt-flag--red { background: #FDE6EA; color: #C21F3C; }
.tt-prompt--green, .tt-prompt--red { padding-top: 16px; }
.tt-prompt--green .tt-q, .tt-prompt--red .tt-q { padding-right: 104px; }
.tt-prompt--green { box-shadow: 0 1px 2px rgba(43, 34, 48, .06), 0 0 0 1px var(--line), inset 4px 0 0 #2FB574; }
.tt-prompt--red { box-shadow: 0 1px 2px rgba(43, 34, 48, .06), 0 0 0 1px var(--line), inset 4px 0 0 #F0506B; }

.tt-sw-item { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; text-align: center; font: 600 13px/1.25 var(--sans); }
.tt-sw { width: 56px; height: 56px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(43, 34, 48, .14); }
.tt-sw.is-me { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ink); }
.tt-sw-name { max-width: 100px; }
.tt-vs { display: flex; align-items: flex-start; justify-content: center; gap: 14px; margin-top: 12px; }
.tt-vs .tt-sw { width: 72px; height: 72px; }
.tt-vs-x { align-self: center; margin-top: -22px; font: 800 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--graphite); }
.tt-fam { display: flex; justify-content: space-around; gap: 8px; margin-top: 12px; }
.tt-fam .tt-sw-name::first-letter { text-transform: uppercase; }

.tt-game { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tt-guess { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 8px 12px; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--paper);
  color: var(--ink); font: 600 15.5px/1.3 var(--sans); text-align: left; cursor: pointer; }
.tt-guess:hover:not(:disabled) { border-color: var(--berry); }
.tt-guess:focus-visible { outline: 3px solid var(--berry); outline-offset: 2px; }
.tt-guess:disabled { cursor: default; color: var(--ink); }
.tt-guess-k { display: grid; place-items: center; flex: none; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 15px; background: #fff; font: 800 12.5px/1 var(--sans); box-shadow: 0 0 0 1px var(--line-2); }
.tt-guess.is-true { border-color: #2FB574; background: #F0FAF4; }
.tt-guess.is-true .tt-guess-k { background: #2FB574; color: #fff; box-shadow: none; }
.tt-guess.is-lie { border-color: #F0506B; background: #FEF1F3; }
.tt-guess.is-lie .tt-guess-t { text-decoration: line-through; text-decoration-color: #F0506B; }
.tt-guess.is-lie .tt-guess-k { background: #F0506B; color: #fff; box-shadow: none; }
.tt-game-out { margin: 10px 0 0; font: 700 15.5px/1.4 var(--sans); }
.tt-game-out:empty { display: none; }

.tt-dd { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tt-dd li { display: flex; align-items: center; gap: 12px; }
.tt-dd li > span:last-child { display: flex; flex-direction: column; font-size: 14px; color: var(--graphite); }
.tt-dd b { color: var(--ink); font-size: 16px; }
.tt-dd .tt-av { width: 52px; height: 52px; }

.tt-prof-end { display: grid; justify-items: center; gap: 4px; padding: 8px 6px 4px; text-align: center; }
.tt-prof-cta { width: 100%; }
.tt-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; }
.tt-label { margin: 0; font: 700 12.5px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--graphite); }
.tt-small { margin: 12px 0 0; font-size: 13px; line-height: 1.4; color: var(--graphite); }

/* ---- it's a match ---- */
.tt-match { position: absolute; inset: 0; z-index: 30; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px 22px;
  background: var(--ink); color: #fff; text-align: center; }
.tt-match-h { margin: 0; font: 400 74px/.95 var(--script); color: var(--blush); }
.tt-match-t { margin: 0; font-size: 17px; }
.tt-pair { display: flex; margin: 8px 0; }
.tt-pair .tt-av { width: 120px; height: 120px; box-shadow: 0 0 0 4px #fff; }
.tt-pair .tt-av + .tt-av { margin-left: -18px; }
.tt-bubble { max-width: 290px; padding: 10px 14px; border-radius: 18px 18px 18px 4px; background: #fff; color: var(--ink); text-align: left; }
.tt-bubble-k { font: 700 12.5px/1.2 var(--sans); color: var(--berry); }
.tt-bubble p { margin: 2px 0 0; font-size: 15px; line-height: 1.35; }
.tt-match.is-anim .tt-pair .tt-av:first-child { animation: tt-in-l .5s cubic-bezier(.2, 1.3, .4, 1) both; }
.tt-match.is-anim .tt-pair .tt-av:last-child { animation: tt-in-r .5s cubic-bezier(.2, 1.3, .4, 1) both; }
.tt-match.is-anim .tt-match-h { animation: tt-pop .45s .1s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes tt-in-l { from { transform: translateX(-60px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes tt-in-r { from { transform: translateX(60px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes tt-pop { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---- shared bits ---- */
.tt-av { position: relative; display: inline-block; flex: none; width: 56px; height: 56px; overflow: hidden; border-radius: 50%; background: var(--c); }
.tt-av img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tt-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 26px; border: 0; border-radius: 999px; background: var(--berry); color: #fff;
  font: 700 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; }
.tt-cta:hover { background: var(--berry-2); color: #fff; }
.tt-cta:focus-visible, .tt-ghost:focus-visible, .tt-link:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.tt-match .tt-cta { min-width: 240px; margin-top: 8px; }
.tt-match .tt-cta:focus-visible, .tt-ghost--light:focus-visible { outline-color: #fff; }
.tt-ghost { min-height: 48px; padding: 10px 22px; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink); font: 700 15px/1.2 var(--sans); cursor: pointer; }
.tt-ghost--light { border-color: rgba(255, 255, 255, .6); background: none; color: #fff; min-width: 240px; }
.tt-link { min-height: 44px; margin-top: 8px; padding: 8px 0; border: 0; background: none; color: var(--berry); font: 600 15px/1.3 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.tt-h { margin: 10px 0 12px; font: 800 24px/1.15 var(--sans); letter-spacing: -.02em; }
.tt-h:focus { outline: none; }
.tt-h2 { margin: 18px 0 6px; font: 700 13px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--berry); }

/* ---- the end of the deck ---- */
.tt-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px 22px; text-align: center; }
.tt-empty p { margin: 0; }
.tt-empty .tt-h { margin: 18px 0 0; }
.tt-radar { position: relative; display: grid; place-items: center; width: 200px; height: 200px; }
.tt-radar::before, .tt-radar::after { content: ""; position: absolute; inset: 40px; border-radius: 50%; border: 2px solid var(--blush); }
.tt-radar.is-anim::before, .tt-radar.is-anim::after { animation: tt-ring 2.4s ease-out infinite; }
.tt-radar.is-anim::after { animation-delay: 1.2s; }
.tt-radar .tt-av { width: 104px; height: 104px; box-shadow: 0 0 0 5px #fff, 0 6px 16px rgba(0, 0, 0, .2); }
@keyframes tt-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }

/* ---- matches and you ---- */
.tt-none { margin: 0; color: var(--graphite); }
.tt-new { list-style: none; margin: 0 -16px 14px; padding: 0 16px 6px; display: flex; gap: 12px; overflow-x: auto; }
.tt-new li { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 80px; flex: none; text-align: center; font: 600 13px/1.2 var(--sans); }
.tt-new .tt-av { width: 72px; height: 76px; border-radius: 12px; }
.tt-cart { width: 100%; }
.tt-msgs { list-style: none; margin: 0; padding: 0; }
.tt-msg { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.tt-msg-t { display: flex; flex-direction: column; min-width: 0; font-size: 15px; line-height: 1.3; }
.tt-msg-t span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--graphite); font-size: 14px; }
.tt-msg-a { display: inline-flex; align-items: center; min-height: 44px; color: var(--berry); font-weight: 700; font-size: 14px; }
.tt-you { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.tt-you .tt-av { width: 84px; height: 84px; }
.tt-you .tt-h { margin: 0; }
.tt-screen[data-tab="you"] .tt-body > p:not(.tt-label):not(.tt-small) { margin: 4px 0 0; font-size: 16px; }
.tt-screen[data-tab="you"] .tt-label { margin-top: 18px; }
.tt-you-pal { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.tt-you-pal li { aspect-ratio: 1; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(43, 34, 48, .12); }

/* ---- the plain list (the page without JavaScript) ---- */
.mm-on .mm-plain { display: none; }
.mm-plain { margin-top: var(--s5); }
.mm-h { margin: 0 0 var(--s2); font: 400 26px/1.15 var(--serif); letter-spacing: -.01em; }
.mm-plain-lede { margin: 0 0 var(--s3); }
.mm-fold { border-top: 1px solid var(--line-2); }
.mm-fold:last-of-type { border-bottom: 1px solid var(--line-2); }
.mm-fold summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; cursor: pointer; font: 400 20px/1.2 var(--serif); }
.mm-n { font: 600 13px/1 var(--sans); color: var(--graphite); }
.mm-items { list-style: none; margin: 0; padding: 0 0 var(--s3); }
.mm-item { display: grid; grid-template-columns: 22px 1fr; gap: 4px 12px; align-items: start; padding: 10px 0; border-top: 1px solid var(--line); }
.mm-dot { width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(43, 34, 48, .18); }
.mm-item-t { display: flex; flex-direction: column; font-size: 15px; line-height: 1.35; }
.mm-item-t span { color: var(--graphite); font-size: 14px; }
.mm-item-a { grid-column: 2; display: inline-flex; align-items: center; min-height: 44px; color: var(--berry); font-weight: 600; font-size: 14px; }
.mm-more { margin: 0 0 var(--s3); }

/* phone: the app takes the whole width of the column */
@media (max-width: 520px) {
  .mm-run .mm-grid { padding: 0 10px; }
  .mm-intro { padding: 0 6px; }
}

/* desktop: the words on the left, the app in a phone frame on the right */
@media (min-width: 900px) {
  .mm-grid { grid-template-columns: minmax(0, 1fr) 430px; gap: var(--s6); align-items: center; max-width: 1080px; }
  .mm-run { padding-top: var(--s5); }
  .tt-phone { padding: 12px; border-radius: 48px; background: var(--ink); box-shadow: 0 30px 60px -30px rgba(43, 34, 48, .6); }
  .tt-screen { height: min(760px, calc(100vh - 120px)); min-height: 620px; border-radius: 36px; box-shadow: none; }
  .tt-pick { border-radius: 36px; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  .tt-card, .tt-act { transition: none !important; }
  .tt-scroll { scroll-behavior: auto; }
  .tt-match.is-anim *, .tt-radar.is-anim::before, .tt-radar.is-anim::after { animation: none !important; }
}
