/* Memodate, memodateapp.com: the home page and /early-access.
   (privacy, terms and 404 keep style.css.) Built from the W-A board, 23 Sept 2026. */

:root {
  --bone: #F8F6F1;
  --card: #FBFAF6;
  --ink: #24313A;
  --mu: #64757D;
  --lab: #8E9CA2;
  --ln: #E4E1D8;
  --tile: #EFEDE6;
  --gold: #FFC94D;
  --goldDeep: #DFA92E;
  --goldInk: #4A3208;
  --pegGold: #B8820F;
  --teal: #2E7A8C;
  --sky1: #A9D9E6;
  --sky2: #93CDDD;
  --serif: Newsreader, Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
body > main { flex: 1 0 auto; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.serif { font-family: var(--serif); font-weight: 500; }
.lbl { font-family: var(--sans); font-size: 13.5px; font-weight: 500; color: var(--mu); }
.hl { background: rgba(255, 201, 77, .45); border-radius: 4px; padding: 1px 3px; }
.pw b { color: var(--pegGold); font-weight: 600; }

h1, h2 { font-family: var(--serif); font-weight: 500; }
h2 { font-size: 42px; line-height: 1.05; letter-spacing: -.9px; text-align: center; }
.sub { font-size: 17px; line-height: 1.55; color: var(--mu); text-align: center; text-wrap: balance; }
h1, h2, .or, .vcap { text-wrap: balance; }

/* pills */
.gp, .wp {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 22px;
  border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.gp { background: var(--gold); color: var(--goldInk); box-shadow: 0 3px 0 var(--goldDeep); }
.gp:hover { background: #FFD36A; }
.gp:active { transform: translateY(3px); box-shadow: 0 0 0 var(--goldDeep); }
.wp { background: rgba(255, 255, 255, .72); color: var(--ink); font-weight: 500; border: 1px solid rgba(36, 49, 58, .08); padding-right: 18px; }
.wp span { color: var(--mu); }
.wp:hover { background: #fff; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; padding: 10px 12px 0 18px; position: relative; }
.logo { display: flex; flex-shrink: 0; align-items: center; gap: 9px; font-family: var(--serif); font-size: 23px; font-weight: 500; text-decoration: none; }
.logo img { width: 32px; height: auto; }
.nav .mid { display: flex; gap: 34px; font-size: 14.5px; font-weight: 500; position: absolute; left: 50%; transform: translateX(-50%); }
.nav .mid a { text-decoration: none; }
.nav .mid a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav .gp { height: 38px; font-size: 13.5px; padding: 0 17px; }
.navr { display: flex; align-items: center; gap: 10px; }
.navart { display: none; font-size: 14.5px; font-weight: 500; text-decoration: none; padding: 0 6px; }
.nav .gp .sm { display: none; }
.nav .mid a[aria-current="page"], .navart[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.nav .asb { height: 38px; }

/* ---------- 1 hero: the inset panel, the bone fade over the sky ---------- */
.panel {
  margin: 14px 14px 0; border-radius: 30px; position: relative; overflow: hidden;
  background:
    radial-gradient(420px 180px at 16% 78%, rgba(255, 255, 255, .5), transparent 70%),
    radial-gradient(520px 200px at 86% 70%, rgba(255, 255, 255, .42), transparent 70%),
    linear-gradient(180deg, var(--sky1) 0%, var(--sky2) 100%);
}
.panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(248, 246, 241, .97) 0%, rgba(248, 246, 241, .9) 30%, rgba(248, 246, 241, 0) 58%);
}
.panel > * { position: relative; }
.hero { text-align: center; padding: 44px 16px 0; }
.hero h1 { font-size: 66px; line-height: 1; letter-spacing: -1.8px; }
.hero .sub { margin: 22px auto 0; max-width: 520px; font-size: 18px; }
.hero .major { font-family: var(--serif); font-weight: 500; font-size: 25px; letter-spacing: -.3px; line-height: 1.25; margin-top: 12px; }
.hero .keep { margin-top: 10px; }
.btns { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 28px; }

/* the App Store badge in the nav, left of the pill: Apple's black badge shape, the pill's height */
.asb { display: inline-flex; align-items: center; gap: 6px; height: 38px; background: #000; color: #fff; border-radius: 9px; padding: 0 14px 0 11px; border: 1px solid #A6A6A6; text-decoration: none; text-align: left; }
.asb .apl { width: 19px; height: 19px; margin-top: -3px; }
.asb .t1 { display: block; font-size: 9px; line-height: 1.1; letter-spacing: .2px; font-family: -apple-system, "Helvetica Neue", var(--sans); }
.asb .t2 { display: block; font-size: 15.5px; line-height: 1.1; font-weight: 600; letter-spacing: -.3px; font-family: -apple-system, "Helvetica Neue", var(--sans); }
.asb:hover { background: #1a1a1a; }

/* the fan: three real screens, tilted -8 / 0 / +8, cropped by the panel's foot */
.fan { --pw: 286px; --off: 290px; position: relative; height: 540px; margin-top: 40px; }
.ph {
  position: absolute; left: 50%; top: 0; width: var(--pw); margin-left: calc(var(--pw) / -2);
  background: #141C20; border-radius: 44px; padding: 9px;
  box-shadow: 0 0 0 1.5px #3A464C, 0 30px 60px rgba(20, 40, 50, .28);
}
.ph img { width: 100%; height: auto; border-radius: 36px; aspect-ratio: 1320 / 2868; }
.ph.l { transform: translate(calc(var(--off) * -1), 58px) rotate(-8deg); }
.ph.r { transform: translate(var(--off), 58px) rotate(8deg); }
.ph.c { z-index: 2; }

/* ---------- sections ---------- */
.sec { padding: 120px 16px 0; max-width: 1240px; margin: 0 auto; }
.sec > .sub { max-width: 560px; margin: 14px auto 0; }
.or { text-align: center; margin-top: 44px; font-family: var(--serif); font-size: 24px; line-height: 1.35; color: var(--mu); }
.or b { color: var(--ink); font-weight: 500; }

/* ---------- 2 your life: the flicker (the app's QuestionsPage 13f), compact ---------- */
.flick { max-width: 560px; margin: 32px auto 0; background: #fff; border: 1px solid var(--ln); border-radius: 26px; padding: 22px 22px 20px; text-align: center; box-shadow: 0 20px 50px rgba(20, 40, 50, .06); }
.stage { max-width: 400px; margin: 0 auto; }
.frow { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; font-family: var(--mono); font-weight: 600; font-variant-numeric: tabular-nums; }
.frow span { color: var(--lab); }
.yrs { font-size: 15px; }
.yrs .on { font-size: 20px; color: var(--ink); }
.mos { font-size: 11.5px; letter-spacing: 1.2px; font-weight: 400; margin-top: 10px; }
.mos .on { color: var(--ink); font-weight: 600; }
.dys { font-size: 15px; margin-top: 0; }
.dys .on { font-size: 24px; color: var(--ink); }
.axis { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); justify-items: center; height: 18px; margin-top: 12px; border-top: 3px solid var(--ln); }
.axis i { width: 2px; height: 7px; background: var(--ln); border-radius: 1px; }
.axis i.on { width: 3px; height: 12px; background: var(--lab); }
.pin { position: absolute; left: 50%; top: -10px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--gold); border: 2px solid var(--goldDeep); opacity: 0; transform: translateY(-30px); transition: opacity .25s ease, transform .4s cubic-bezier(.3, 1.5, .5, 1); }
.flick.landed .pin { opacity: 1; transform: none; }
.flick.landed .yrs .on { color: #B07E10; }
.flick.landed .axis i.on { background: var(--goldDeep); }
.fl-when { font-size: 12.5px; color: var(--mu); height: 18px; opacity: 0; transition: opacity .3s ease; }
.flick.landed .fl-when { opacity: 1; }
.fl-date { font-family: var(--mono); font-weight: 600; font-size: 28px; letter-spacing: 2px; margin-top: 8px; }
.fl-words { display: flex; justify-content: center; gap: 8px; margin-top: 6px; }
.fw { width: 104px; background: var(--bone); border: 1px solid var(--ln); border-radius: 14px; padding: 9px 6px 7px; display: flex; flex-direction: column; align-items: center; }
.fw .w { font-family: var(--serif); font-size: 21px; line-height: 1.1; }
.fw .p { font-family: var(--mono); font-size: 11.5px; color: var(--mu); margin-top: 4px; }
.fl-sent { font-family: var(--serif); font-size: 22px; line-height: 1.35; margin: 16px auto 0; max-width: 460px; text-wrap: balance; }
.again { margin-top: 16px; height: 38px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 500; border: 1px solid var(--ln); background: var(--bone); }
.again[hidden] { display: none; }
.again:disabled { opacity: .55; cursor: default; }
/* the reveal: date, then the three words in turn, then the sentence (JS adds .out) */
.js .flick .fw, .js .flick .fl-sent { opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
.js .flick.out .fw { opacity: 1; transform: none; }
.js .flick.out .fw:nth-child(1) { transition-delay: .7s; }
.js .flick.out .fw:nth-child(2) { transition-delay: .95s; }
.js .flick.out .fw:nth-child(3) { transition-delay: 1.2s; }
.js .flick.out .fl-sent { opacity: 1; transform: none; transition-delay: 1.6s; }

/* ---------- 3 the evidence: one outlined card ---------- */
.slipcard { max-width: 1080px; margin: 0 auto; background: var(--card); border: 1px solid var(--ln); border-radius: 30px; padding: 58px 0 56px; text-align: center; }
.slipcard h2 { padding: 0 20px; }
.champlead { margin-top: 12px; }
.champ-hl { padding: 0 8px 0 6px; border-radius: 8px; white-space: nowrap; }
.troph { width: .72em; height: .72em; color: #B07E10; vertical-align: -.02em; margin-right: .18em; }
.champs { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 600px; margin: 32px auto 0; padding: 0 24px; text-align: left; }
.champ { display: flex; flex-direction: column; }
.cq { background: #fff; border-radius: 18px; padding: 18px 20px; box-shadow: 0 2px 10px rgba(30, 85, 96, .07); font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.4; flex: 1; }
.cq b { font-style: normal; font-weight: 600; color: #B07E10; }
.by { display: flex; align-items: flex-start; gap: 6px; margin-top: 9px; padding-left: 20px; font-size: 13px; line-height: 1.45; color: var(--mu); }
.by .nm { font-weight: 600; color: var(--mu); }
.aw { flex: 0 0 17px; width: 17px; height: 17px; border-radius: 50%; background: var(--gold); color: #B07E10; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.aw svg { width: 10px; height: 10px; }
.x8 { font-size: 11px; font-weight: 700; color: #B07E10; margin-top: 1px; }

/* ---------- 4 learned by playing: one video slot ---------- */
#games { padding-top: 96px; }
.vid { max-width: 800px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden; background: var(--sky1); box-shadow: 0 20px 50px rgba(20, 40, 50, .10); }
.vid video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vcap { text-align: center; margin-top: 24px; font-family: var(--serif); font-size: 24px; line-height: 1.35; color: var(--mu); padding: 0 8px; }
.vcap b { color: var(--ink); font-weight: 500; }

/* ---------- 5 learn the major system ---------- */
.keypad { display: grid; grid-template-columns: repeat(5, 120px); gap: 16px; justify-content: center; margin-top: 44px; }
.key { background: #fff; border-radius: 20px; border: 1px solid var(--ln); box-shadow: 0 4px 0 #E4E1D8; padding: 16px 0 14px; text-align: center; }
.key .d { font-family: var(--serif); font-size: 38px; font-weight: 600; line-height: 1; }
.key .s { font-weight: 600; letter-spacing: 1.6px; color: var(--teal); font-size: 14px; margin-top: 6px; white-space: nowrap; }
.key.hot { background: linear-gradient(#FFD36A, var(--gold)); border-color: #E9B949; box-shadow: 0 4px 0 var(--goldDeep); }
.key.hot .s { color: var(--goldInk); }
.rcard { background: #fff; border: 1px solid var(--ln); border-radius: 26px; box-shadow: 0 20px 50px rgba(60, 40, 10, .10); width: 560px; max-width: 100%; margin: 44px auto 0; padding: 32px 32px 36px; text-align: center; }
.rcard .arrow { font-family: var(--serif); font-size: 30px; color: var(--lab); align-self: center; padding-bottom: 18px; }
.rcard .dg { display: flex; justify-content: center; gap: 34px; align-items: flex-end; margin-top: 14px; }
.rcard .n { font-family: var(--mono); font-size: 42px; font-weight: 600; line-height: 1.1; }
.rcard .s { font-weight: 600; letter-spacing: 1.6px; color: var(--teal); font-size: 15px; margin-top: 4px; }
.rcard .ln { font-family: var(--serif); font-size: 34px; line-height: 1.2; margin-top: 22px; padding-top: 20px; border-top: 1px solid #F0EEE8; }

/* ---------- 6 hi, I'm Ian ---------- */
.maker { max-width: 1080px; margin: 0 auto; background: #fff; border-radius: 30px; box-shadow: 0 20px 60px rgba(20, 40, 50, .08); padding: 70px 24px 64px; }
.mk { max-width: 780px; margin: 0 auto; display: grid; grid-template-columns: 150px 1fr; gap: 44px; align-items: start; }
.head { width: 150px; height: 150px; border-radius: 50%; background: #F1E9D8; object-fit: cover; box-shadow: 0 0 0 6px var(--bone); }
.mk h2 { text-align: left; }
.mk p { font-size: 16.5px; line-height: 1.7; margin-top: 16px; color: #4B5A62; }
.who { margin-top: 22px; }
.chip .who { margin-top: 0; }
.who .n { font-size: 15px; font-weight: 600; }
.who .r { font-size: 14px; color: var(--mu); }
.who .li { display: inline-flex; vertical-align: -2px; margin-left: 6px; color: var(--teal); }
.who .li svg { width: 16px; height: 16px; }
.who .li:hover { color: var(--ink); }

/* ---------- 7 close ---------- */
.close { text-align: center; padding: 130px 16px 120px; }
.close .memo { width: 78px; margin: 0 auto 18px; }
.closesub { font-family: var(--serif); font-style: italic; font-size: 25px; color: var(--mu); margin-top: 10px; }
.bigbtn { display: inline-block; margin-top: 28px; background: var(--gold); color: var(--goldInk); font-weight: 600; font-size: 16px; padding: 18px 32px; border-radius: 12px; box-shadow: 0 4px 0 var(--goldDeep); text-decoration: none; }
.bigbtn:hover { background: #FFD36A; }
.bigbtn:active { transform: translateY(4px); box-shadow: none; }
.cap { font-size: 14px; color: var(--mu); margin-top: 18px; }

/* ---------- footer ---------- */
.foot { background: #fff; padding: 34px 52px 28px; }
.foot .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: 26px; border-bottom: 1px solid #EFEDE7; }
.foot nav { display: flex; flex-direction: column; font-family: var(--mono); font-size: 12px; letter-spacing: 1.2px; line-height: 2; text-transform: uppercase; }
.foot nav a { color: var(--mu); text-decoration: none; }
.foot nav a:hover { color: var(--ink); }
.foot .ico { width: 64px; height: 64px; border-radius: 15px; overflow: hidden; box-shadow: 0 6px 16px rgba(20, 40, 50, .16); flex: 0 0 64px; }
.foot .bot { padding-top: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: 1.4px; color: var(--ink); }

/* ---------- /early-access ---------- */
.ea .nav { padding: 16px 22px 0; }
.eab { text-align: center; padding: 72px 16px 0; }
.eab .wordmark { font-family: Newsreader, serif; font-weight: 500; font-size: 30px; letter-spacing: -0.4px; color: var(--ink, #24313A); }
.eab .lbl { margin-top: 22px; }
.eab h1 { font-size: 54px; letter-spacing: -1.4px; line-height: 1.05; margin-top: 14px; }
.eab .lede { font-size: 18px; line-height: 1.55; color: var(--mu); max-width: 600px; margin: 18px auto 0; }
.form { display: flex; gap: 10px; justify-content: center; margin-top: 28px; }
.form input[type=email] {
  width: 346px; height: 52px; border: 1px solid #DFDCD3; background: #fff; border-radius: 12px; padding: 0 16px;
  font: inherit; font-size: 16px; color: var(--ink);
}
.form input[type=email]::placeholder { color: #A6AEB1; }
.form input[type=email]:focus { outline: 3px solid rgba(46, 122, 140, .35); border-color: var(--teal); }
.form button {
  width: 164px; height: 52px; border: 0; border-radius: 12px; background: var(--gold); color: var(--goldInk);
  font: inherit; font-weight: 600; font-size: 15px; box-shadow: 0 3px 0 var(--goldDeep); cursor: pointer;
}
.form button:hover { background: #FFD36A; }
.form button:active { transform: translateY(3px); box-shadow: none; }
.form button[disabled] { opacity: .7; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.err { color: #A2412B; font-size: 14.5px; margin-top: 12px; }
.err:empty { display: none; }
.cap2 { font-size: 15px; line-height: 1.6; color: var(--mu); margin-top: 14px; }
.cap2 a { color: var(--teal); }
.thanks:focus { outline: none; }
.thanks { display: none; margin: 28px auto 0; max-width: 520px; background: #fff; border: 1px solid var(--ln); border-radius: 20px; padding: 26px 24px; }
.thanks .tick { width: 44px; height: 44px; border-radius: 50%; background: var(--gold); box-shadow: 0 3px 0 var(--goldDeep); color: var(--goldInk); font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.thanks h2 { font-size: 30px; margin-top: 14px; letter-spacing: -.4px; }
.thanks p { color: var(--mu); margin-top: 8px; }
.done .form, .done .err, .done .cap2 { display: none; }
.done .thanks { display: block; }
.chip { display: inline-flex; gap: 12px; align-items: center; margin-top: 26px; text-align: left; }
.av { width: 42px; height: 42px; border-radius: 50%; background: #F1E9D8; object-fit: cover; flex: 0 0 42px; }
.shots { margin: 64px 88px 0; border-radius: 26px; overflow: hidden; position: relative; background: linear-gradient(180deg, var(--sky1), var(--sky2)); }
.shots::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(248, 246, 241, .75) 0%, rgba(248, 246, 241, 0) 45%); }
.shots .fan { margin-top: 44px; height: 470px; }
.ea .foot { margin-top: 60px; }

/* ---------- phone ---------- */
@media (max-width: 900px) {
  .nav .mid { display: none; }
  .navart { display: inline-block; }
  .fan { --pw: 230px; --off: 200px; height: 430px; }
  .keypad { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; max-width: 560px; margin-left: auto; margin-right: auto; }
  .shots { margin: 48px 16px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  h2 { font-size: 34px; letter-spacing: -.6px; }
  .panel { margin: 8px 16px 0; border-radius: 26px; }
  .nav { height: 58px; padding: 8px 8px 0 12px; }
  .logo { font-size: 21px; }
  .logo img { width: 28px; }
  .hero { padding: 40px 6px 0; }
  .btns .gp, .btns .wp { padding: 0 16px; }
  .hero h1 { font-size: 46px; letter-spacing: -1.2px; }
  .hero .sub { font-size: 16.5px; margin-top: 16px; }
  .hero .major { font-size: 22px; }
  .btns { margin-top: 24px; }
  .fan { --pw: 150px; --off: 118px; height: 300px; margin-top: 40px; }
  .ph { border-radius: 30px; padding: 6px; }
  .ph img { border-radius: 25px; }
  .ph.l { transform: translate(calc(var(--off) * -1), 50px) rotate(-10deg) scale(.82); transform-origin: 50% 0; }
  .ph.r { transform: translate(var(--off), 50px) rotate(10deg) scale(.82); transform-origin: 50% 0; }
  .sec { padding-top: 84px; }
  .or, .vcap { font-size: 20px; }
  .flick { margin-top: 28px; padding: 22px 12px 20px; border-radius: 22px; }
  .yrs { font-size: 12px; } .yrs .on { font-size: 17px; }
  .mos { font-size: 10.5px; letter-spacing: .6px; }
  .dys { font-size: 13px; } .dys .on { font-size: 21px; }
  .fl-date { font-size: 24px; letter-spacing: 1px; }
  .fl-words { gap: 6px; }
  .fw { width: 31%; padding: 8px 2px 6px; border-radius: 12px; }
  .fw .w { font-size: 18px; }
  .fl-sent { font-size: 19px; }
  .slipcard { padding: 42px 0 36px; border-radius: 26px; }
  .champs { grid-template-columns: 1fr; gap: 16px; padding: 0 16px; margin-top: 26px; }
  .cq { font-size: 18.5px; }
  .vid { border-radius: 18px; aspect-ratio: 4 / 3; }
  .vid video { object-position: 50% 50%; }
  .key { border-radius: 14px; padding: 12px 0 10px; }
  .key .d { font-size: 26px; }
  .key .s { font-size: 10.5px; letter-spacing: .4px; }
  .rcard { padding: 24px 16px; }
  .rcard .n { font-size: 34px; }
  .rcard .ln { font-size: 27px; }
  .rcard { margin-top: 32px; }
  .maker { padding: 44px 22px 40px; border-radius: 26px; }
  .mk { grid-template-columns: 1fr; gap: 22px; justify-items: start; }
  .head { width: 104px; height: 104px; }
  .mk p { font-size: 16px; }
  .close { padding: 100px 16px 90px; }
  .closesub { font-size: 21px; }
  .foot { padding: 30px 16px 24px; }
  .foot nav { font-size: 11px; }
  .eab { padding-top: 44px; }
  .eab h1 { font-size: 40px; }
  .eab .lede { font-size: 16.5px; }
  .form { flex-direction: column; align-items: stretch; max-width: 420px; margin-left: auto; margin-right: auto; }
  .form input[type=email], .form button { width: 100%; }
  .shots .fan { --pw: 156px; --off: 116px; height: 300px; margin-top: 32px; }
}

/* the phone pass (390 and 430 wide): one-line nav, 44 pt targets, text at 15 px or more */
@media (max-width: 720px) {
  .nav .asb { display: none; } /* the badge + pill + wordmark do not fit on one line under ~720 */
}
@media (max-width: 560px) {
  .nav .gp { height: 44px; font-size: 15px; padding: 0 18px; }
  .logo { min-height: 44px; }
  .again { height: 44px; font-size: 15px; padding: 0 20px; }
  .who .li { padding: 14px; margin: -14px -14px -14px -8px; }
  .who .li svg { width: 18px; height: 18px; }
  .lbl { font-size: 15px; }
  .yrs { font-size: 15px; } .yrs .on { font-size: 20px; }
  .mos { font-size: 15px; letter-spacing: .4px; }
  .dys { font-size: 15px; } .dys .on { font-size: 24px; }
  .fl-when { font-size: 15px; height: 22px; }
  .fw .p { font-size: 15px; }
  .by { font-size: 15px; padding-left: 8px; }
  .x8 { font-size: 15px; margin-top: -1px; }
  .aw { margin-top: 3px; }
  .champ-hl { white-space: normal; }
  #evidence h2 { font-size: 31px; }
  .keypad { grid-template-columns: 1fr 1fr; gap: 10px; max-width: 420px; }
  .key { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-radius: 14px; min-height: 56px; }
  .key .d { font-size: 28px; }
  .key .s { font-size: 15px; letter-spacing: 1px; margin-top: 0; }
  .foot nav { font-size: 15px; letter-spacing: .6px; }
  .foot nav a { padding: 6px 0; }
  .foot .bot { font-size: 15px; letter-spacing: .6px; }
  .eab .lbl { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flick *, .flick { transition: none !important; }
}

/* ---------- the Articles tab (/articles/) ---------- */
.arts-head { padding-bottom: 58px; }
.arts-hero { padding-top: 40px; }
.arts-eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--teal); }
.arts-hero h1 { font-size: 58px; line-height: 1.02; letter-spacing: -1.4px; margin-top: 10px; }
.arts-main { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.arts-sec { padding-top: 64px; }
.arts-h { text-align: left; font-size: 32px; letter-spacing: -.5px; }
.arts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.art-card { background: var(--card); border: 1px solid var(--ln); border-radius: 22px; padding: 20px 20px 18px; display: flex; flex-direction: column; }
.art-tile { display: inline-flex; gap: 4px; align-self: flex-start; margin-bottom: 16px; }
.art-tile span { min-width: 40px; height: 44px; padding: 0 8px; border-radius: 11px; background: #fff; box-shadow: 0 3px 0 var(--ln); display: grid; place-items: center; font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink); }
.art-tile.gold span { background: var(--gold); color: var(--goldInk); box-shadow: 0 3px 0 var(--goldDeep); }
.art-kind { font-family: var(--mono); font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--teal); }
.art-card h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.2; letter-spacing: -.2px; margin-top: 6px; text-wrap: balance; }
.art-sub { color: var(--mu); font-size: 15px; line-height: 1.5; margin-top: 8px; }
.art-soon { margin-top: auto; padding-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--lab); }
.art-card a { text-decoration: none; }
.arts-cta { text-align: center; padding: 88px 0 72px; }
.arts-cta .sub { max-width: 520px; margin: 12px auto 0; }
.arts .foot { margin-top: 20px; }
@media (max-width: 900px) { .arts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) {
  .nav .gp .lg { display: none; }
  .nav .gp .sm { display: inline; }
  .nav .gp { padding: 0 14px; }
  .navart { padding: 0 2px; }
}
@media (max-width: 640px) {
  .arts-grid { grid-template-columns: 1fr; }
  .arts-hero h1 { font-size: 42px; letter-spacing: -1px; }
  .arts-h { font-size: 27px; }
  .arts-head { padding-bottom: 44px; }
}
