/* Flashwell website, design 9A refined (Ian, 2026-10-12): clean white, warm,
   serif headlines, the floating pill menu kept in the middle, and motion that
   shows what the app does. The previous design is the git tag website-v1. */

:root {
  --bg: #ffffff;
  --ink: #17171a;
  --ink2: #34343b;
  --sub: #6b6b75;
  --faint: #9a9aa3;
  --line: #ececef;
  --soft: #f6f5f2;
  --cream: #fbf6ec;
  --accent: #b2602d;
  --amber: #ffcf7a;
  --glow: #ffd68c;
  --paper: #f6efdf;
  --paper2: #efe5cf;
  --paper-ink: #2a2418;
  --paper-sub: #5f5543;
  --new: #4a7dc9;
  --learn: #c98a2c;
  --review: #3f8f5c;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Helvetica Neue", sans-serif;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --glide: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); background: var(--bg); color: var(--ink);
  line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
@supports (overflow: clip) { html, body { overflow-x: clip; } }
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.serif { font-family: var(--serif); }
em { font-style: normal; }

/* ---------- the floating pill menu, in the middle ---------- */
nav.pill {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 60;
  display: flex; align-items: center; gap: 22px; white-space: nowrap;
  padding: 8px 8px 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(23, 23, 26, .07);
  box-shadow: 0 10px 30px rgba(23, 23, 26, .07);
  transition: padding .35s var(--glide), box-shadow .35s ease, top .35s var(--glide);
}
nav.pill.scrolled { top: 10px; padding: 6px 6px 6px 14px; box-shadow: 0 14px 40px rgba(23, 23, 26, .12); }
nav.pill a { font-size: 14px; color: var(--sub); text-decoration: none; transition: color .2s ease; }
nav.pill a:hover, nav.pill a.on { color: var(--ink); }
nav.pill a.on { font-weight: 600; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15.5px; letter-spacing: -.02em; color: var(--ink) !important; text-decoration: none; }
.logo i { width: 22px; height: 22px; border-radius: 6px; background: url(/assets/app-icon.png) center / cover; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
nav.pill .navcta {
  color: #fff !important; background: var(--ink); padding: 8px 16px; border-radius: 999px;
  font-weight: 600; font-size: 13.5px; transition: transform .25s var(--spring), background .2s ease;
}
nav.pill .navcta:hover { background: #2b2b31; transform: translateY(-1px); }
nav.pill .navcta:active { transform: scale(.95); }
@media (max-width: 640px) {
  nav.pill { gap: 13px; padding-left: 12px; }
  nav.pill a[href="/#how"] { display: none; }
  nav.pill a { font-size: 13px; }
  .logo span { display: none; }
}
@media (max-width: 340px) { nav.pill a[href="/community"] { display: none; } }

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 9px;
  border-radius: 999px; font-weight: 600; font-size: 15.5px; padding: 14px 26px;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform .28s var(--spring), box-shadow .25s ease, background .2s ease;
}
.btn:active { transform: scale(.95); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 10px 26px rgba(23, 23, 26, .18); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(23, 23, 26, .22); }
.btn-dark::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .28) 50%, transparent 80%);
}
.btn-dark:hover::after { transform: translateX(120%); transition: transform .8s var(--glide); }
.btn-light { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-light:hover { transform: translateY(-2px); border-color: #d9d9de; }
.btn-text { font-size: 15px; font-weight: 600; color: var(--ink2); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.btn-text b { transition: transform .3s var(--spring); }
.btn-text:hover b { transform: translateY(3px); }
.btn-arrow b { display: inline-block; transition: transform .3s var(--spring); }
.btn-arrow:hover b { transform: translateX(4px); }

/* ---------- motion helpers ---------- */
.rise { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--glide), transform .9s var(--glide); transition-delay: calc(var(--d, 0) * 1ms); }
.rise.in { opacity: 1; transform: none; }
[data-words] .w { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(8px); transition: opacity .8s var(--glide), transform .8s var(--glide), filter .8s var(--glide); transition-delay: calc(var(--i) * 70ms + 120ms); }
[data-words].in .w { opacity: 1; transform: none; filter: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; margin: 84px 16px 0; border-radius: 40px; overflow: hidden;
  padding: 92px 24px 0; text-align: center;
  background:
    radial-gradient(90% 60% at 50% 112%, rgba(255, 199, 120, .55) 0%, rgba(255, 228, 182, .35) 38%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(180deg, #ffffff 0%, #fffaf2 100%);
  border: 1px solid #f2e8d6;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(178, 96, 45, .09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 75%);
}
.badge {
  position: relative; display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-size: 13px; font-weight: 600; color: var(--ink2); background: #fff; border: 1px solid var(--line);
  padding: 6px 14px 6px 8px; border-radius: 999px; box-shadow: 0 4px 14px rgba(23, 23, 26, .05);
  transition: transform .3s var(--spring), box-shadow .25s ease;
}
.badge:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(23, 23, 26, .08); }
.badge .dot { width: 20px; height: 20px; border-radius: 999px; background: var(--cream); display: grid; place-items: center; }
.badge .dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e79a3d; box-shadow: 0 0 0 0 rgba(231, 154, 61, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(231, 154, 61, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(231, 154, 61, 0); } }
.hero h1 {
  position: relative; font-family: var(--serif); font-weight: 600; font-size: clamp(44px, 7vw, 84px);
  line-height: 1.02; letter-spacing: -.028em; max-width: 13ch; margin: 26px auto 0; text-wrap: balance;
}
.hero h1 .edge { position: relative; color: var(--accent); }
.hero h1 .edge::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .12em; border-radius: 99px;
  background: linear-gradient(90deg, rgba(255, 207, 122, 0), var(--amber) 20%, var(--amber) 80%, rgba(255, 207, 122, 0));
  box-shadow: 0 0 18px 2px rgba(255, 207, 122, .8);
  transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--glide) .9s;
}
.hero h1.in .edge::after { transform: scaleX(1); }
.hero .sub { position: relative; font-size: 20px; color: var(--sub); max-width: 42ch; margin: 22px auto 0; text-wrap: balance; }
.hero .ctas { position: relative; display: flex; gap: 22px; align-items: center; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.brings { position: relative; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin-top: 26px; font-size: 13.5px; color: var(--faint); }
.brings span.c { background: rgba(255, 255, 255, .8); border: 1px solid var(--line); color: var(--ink2); border-radius: 999px; padding: 4px 12px; transition: transform .3s var(--spring); }
.brings span.c:hover { transform: translateY(-2px) rotate(-1deg); }

/* the app's Home screen in a Mac window, tilting upright as you scroll */
.shot { position: relative; perspective: 1700px; max-width: 1000px; margin: 54px auto 0; }
.mac {
  --tilt: 16deg; --sc: .94;
  transform: rotateX(var(--tilt)) scale(var(--sc)); transform-origin: 50% 100%;
  border-radius: 16px 16px 0 0; overflow: hidden; border: 1px solid rgba(23, 23, 26, .08); border-bottom: 0;
  box-shadow: 0 40px 90px rgba(80, 50, 20, .22), 0 6px 18px rgba(23, 23, 26, .08);
  will-change: transform; text-align: left;
}
.mac-top { height: 34px; background: linear-gradient(#f3f2f0, #e8e7e4); display: flex; align-items: center; gap: 7px; padding: 0 14px; position: relative; }
.mac-top i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.mac-top i:nth-child(2) { background: #febc2e; } .mac-top i:nth-child(3) { background: #28c840; }
.mac-top span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12.5px; color: #75757d; pointer-events: none; }
.mac-body { background: #17181c; padding: 22px 26px 26px; color: rgba(255, 255, 255, .88); }
.ap-tabs { display: flex; gap: 20px; font-size: 11px; font-weight: 700; letter-spacing: .8px; color: rgba(255, 255, 255, .4); border-bottom: 1px solid rgba(255, 255, 255, .09); padding-bottom: 10px; }
.ap-tabs b { color: var(--glow); }
.ap-cols { display: flex; gap: 30px; margin-top: 18px; }
.ap-left { width: 330px; flex: none; display: flex; flex-direction: column; }
.ap-date { font-size: 10.5px; font-weight: 700; letter-spacing: 1px; color: rgba(255, 255, 255, .42); }
.ap-count { font-family: var(--serif); font-size: 30px; font-weight: 600; }
.ap-count b { color: var(--glow); font-variant-numeric: tabular-nums; }
.ap-tiles { display: flex; gap: 7px; margin-top: 10px; }
.ap-tile { flex: 1; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .09); border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; }
.ap-tile b { font-family: var(--serif); font-size: 24px; font-variant-numeric: tabular-nums; }
.ap-tile span { font-size: 10px; color: rgba(255, 255, 255, .45); letter-spacing: .4px; }
.ap-done { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12px; color: rgba(255, 255, 255, .6); }
.ap-done i { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .1); position: relative; overflow: hidden; }
.ap-done i s { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--glow); border-radius: 2px; transition: width 1.6s var(--glide) .6s; }
.mac.in .ap-done i s { width: 26%; }
.ap-done b { color: var(--glow); }
.ap-study {
  margin-top: 22px; height: 88px; border-radius: 15px; background: var(--paper); color: var(--paper-ink);
  font-family: var(--serif); font-size: 30px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; padding: 0 22px;
  box-shadow: 0 0 0 2px rgba(255, 214, 140, .45); transition: transform .3s var(--spring);
}
.ap-study:hover { transform: scale(.98); }
.ap-study span { font-size: 15px; opacity: .4; }
.ap-practice { margin-top: 9px; height: 52px; border-radius: 15px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); font-family: var(--serif); font-size: 21px; font-weight: 600; display: flex; align-items: center; padding: 0 22px; }
.ap-right { flex: 1; min-width: 0; }
.ap-dh { font-size: 10.5px; font-weight: 700; letter-spacing: 1px; color: rgba(255, 255, 255, .45); margin-bottom: 4px; }
.ap-row { display: flex; align-items: center; gap: 8px; height: 40px; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 13.5px; cursor: pointer; }
.ap-row i { flex: 1; }
.ap-row em { font-weight: 600; font-size: 12px; min-width: 20px; text-align: right; font-variant-numeric: tabular-nums; transition: opacity .25s ease; }
.ap-row s { width: 28px; height: 16px; border-radius: 8px; background: var(--glow); position: relative; margin-left: 8px; transition: background .25s ease; }
.ap-row s::after { content: ""; position: absolute; top: 2px; left: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper-ink); transition: left .35s var(--spring), background .25s ease; }
.ap-row.off span, .ap-row.off em { opacity: .3; }
.ap-row.off s { background: rgba(255, 255, 255, .16); }
.ap-row.off s::after { left: 2px; background: rgba(255, 255, 255, .78); }

/* ---------- sections ---------- */
section.block { padding: 130px 0 0; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.kicker b { font-family: var(--serif); font-size: 15px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); border: 1px solid #f0e2c8; }
h2.title { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -.022em; margin-top: 12px; text-wrap: balance; }
.lede { font-size: 18.5px; color: var(--sub); margin-top: 14px; max-width: 44ch; text-wrap: pretty; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* steps: alternating text and a picture that acts it out */
.step { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.step.flip .step-text { order: 2; }
.panel { position: relative; height: 380px; border-radius: 30px; background: var(--soft); overflow: hidden; display: grid; place-items: center; }
.panel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(23, 23, 26, .04); pointer-events: none; }
@media (max-width: 860px) { .step { grid-template-columns: 1fr; gap: 28px; } .step.flip .step-text { order: 0; } }

/* step 1: cards deal out of a PDF */
.deal { position: relative; width: 480px; height: 280px; }
.pdf { position: absolute; left: 30px; top: 30px; width: 160px; height: 210px; border-radius: 12px; background: #fff; box-shadow: 0 16px 36px rgba(23, 23, 26, .1); overflow: hidden; z-index: 3; }
.pdf::before { content: "PDF"; display: block; height: 38px; background: #e2553f; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .1em; padding: 12px 14px; }
.pdf i { display: block; height: 7px; margin: 12px 16px 0; border-radius: 4px; background: #ececef; }
.pdf i:nth-child(2n) { width: 70%; }
.pdf span { position: absolute; bottom: 12px; left: 14px; font-size: 12px; color: var(--sub); }
.dcard {
  position: absolute; left: 70px; top: 70px; width: 210px; padding: 14px 16px; border-radius: 14px; z-index: 2;
  background: linear-gradient(var(--paper), var(--paper2)); color: var(--paper-ink); box-shadow: 0 14px 30px rgba(80, 50, 20, .14);
  opacity: 0; transform: translate(0, 0) rotate(0deg) scale(.9);
  transition: transform 1s var(--spring), opacity .5s ease; transition-delay: calc(var(--k) * 180ms + 300ms);
}
.dcard b { display: block; font-family: var(--serif); font-size: 17px; }
.dcard small { font-size: 12.5px; color: var(--paper-sub); }
.in .dcard { opacity: 1; transform: translate(var(--x), var(--y)) rotate(var(--r)); }

/* step 2: an ink stamp */
.approve { width: 470px; border-radius: 20px; background: #17181c; padding: 18px 20px; box-shadow: 0 24px 60px rgba(23, 23, 26, .22); color: rgba(255, 255, 255, .85); }
.approve > b { font-size: 11px; letter-spacing: 1px; color: var(--glow); }
.acard { position: relative; margin-top: 12px; border-radius: 14px; background: linear-gradient(var(--paper), var(--paper2)); color: var(--paper-ink); padding: 18px 20px 16px; }
.acard b { display: block; font-family: var(--serif); font-size: 22px; }
.acard p { font-size: 14px; color: var(--paper-sub); margin-top: 4px; }
.acard em { display: block; font-size: 12.5px; color: var(--accent); margin-top: 10px; font-style: italic; }
.stamp {
  position: absolute; right: 18px; top: 16px; font-family: var(--serif); font-weight: 700; font-size: 22px; letter-spacing: .12em;
  color: #2f7a4a; border: 3px solid #2f7a4a; border-radius: 10px; padding: 4px 12px;
  opacity: 0; transform: scale(2.6) rotate(-22deg); mix-blend-mode: multiply;
}
.in .stamp { animation: stamp .55s cubic-bezier(.2, 1.6, .5, 1) .7s forwards; }
.in .acard { animation: thud .5s ease .95s; }
@keyframes stamp { 0% { opacity: 0; transform: scale(2.6) rotate(-22deg); } 70% { opacity: .95; transform: scale(.94) rotate(-10deg); } 100% { opacity: .9; transform: scale(1) rotate(-11deg); } }
@keyframes thud { 0%, 100% { transform: none; } 30% { transform: translateY(2px) scale(.995); } }
.akeys { display: flex; gap: 8px; margin-top: 12px; font-size: 12px; color: rgba(255, 255, 255, .55); }
.akeys span { border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; padding: 4px 10px; }

/* step 3: the bar at the edge of a screen, on a loop */
.desk { position: relative; width: 540px; height: 300px; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, #5f6f91 0%, #9aa7c2 55%, #c9b9a7 100%); box-shadow: 0 24px 60px rgba(23, 23, 26, .2); }
.desk::before { content: ""; position: absolute; inset: 0 0 auto; height: 22px; background: rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.desk .bar { position: absolute; left: 0; top: 70px; bottom: 70px; width: 6px; border-radius: 0 6px 6px 0; background: var(--glow); box-shadow: 0 0 22px 6px rgba(255, 214, 140, .7); animation: barglow 2.4s ease-in-out infinite; }
@keyframes barglow { 50% { box-shadow: 0 0 34px 10px rgba(255, 214, 140, .95); } }
.desk .ecard { position: absolute; left: 22px; top: 62px; width: 250px; border-radius: 16px; padding: 18px 20px; background: linear-gradient(var(--paper), var(--paper2)); color: var(--paper-ink); box-shadow: 0 18px 40px rgba(23, 23, 26, .3); transform: translateX(-120%); }
.desk .ecard b { display: block; font-family: var(--serif); font-size: 24px; }
.desk .ecard small { display: block; font-size: 13px; color: var(--paper-sub); margin-top: 6px; }
.desk .ecard .ans { opacity: 0; }
.desk .ecard .grades { display: flex; gap: 6px; margin-top: 12px; }
.desk .ecard .grades span { font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 7px; border: 1.5px solid rgba(42, 36, 24, .25); color: var(--paper-sub); }
.desk .ecard .grades span.g { border-color: #2f7a4a; color: #2f7a4a; }
.desk .toast { position: absolute; left: 50%; bottom: 22px; transform: translate(-50%, 20px); opacity: 0; background: rgba(23, 23, 26, .82); color: #fff; font-size: 12.5px; padding: 7px 14px; border-radius: 999px; }
.in .desk .ecard { animation: slideout 6.5s var(--glide) infinite; }
.in .desk .ecard .ans { animation: showans 6.5s ease infinite; }
.in .desk .ecard .grades span.g { animation: pickgood 6.5s ease infinite; }
.in .desk .toast { animation: toast 6.5s ease infinite; }
@keyframes slideout { 0%, 6% { transform: translateX(-120%); } 16%, 70% { transform: translateX(0); } 80%, 100% { transform: translateX(-120%); } }
@keyframes showans { 0%, 32% { opacity: 0; } 38%, 100% { opacity: 1; } }
@keyframes pickgood { 0%, 52% { background: transparent; color: #2f7a4a; transform: none; } 56% { transform: scale(1.15); } 58%, 76% { background: #2f7a4a; color: #fff; transform: none; } 80%, 100% { background: transparent; color: #2f7a4a; } }
@keyframes toast { 0%, 72% { opacity: 0; transform: translate(-50%, 20px); } 78%, 92% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 10px); } }

/* the year grid, filling in */
.yearbox { margin: 40px auto 0; max-width: 900px; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(23, 23, 26, .06); padding: 28px 30px 26px; }
.years { display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, auto); grid-auto-columns: minmax(0, 1fr); gap: 3px; }
.years i { aspect-ratio: 1; border-radius: 3px; background: #eef0f2; transform: scale(.4); opacity: 0; transition: transform .5s var(--spring), opacity .4s ease, background .4s ease; transition-delay: calc(var(--c) * 14ms); }
.yearbox.in .years i { transform: none; opacity: 1; }
.yearbox.in .years i.l1 { background: #9be9a8; } .yearbox.in .years i.l2 { background: #40c463; }
.yearbox.in .years i.l3 { background: #30a14e; } .yearbox.in .years i.l4 { background: #216e39; }
.yearbox.in .years i.today { box-shadow: 0 0 0 2px var(--ink); }
.streaks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 20px; }
.streaks div { border-radius: 14px; background: var(--soft); padding: 12px 14px; text-align: left; }
.streaks b { display: block; font-family: var(--serif); font-size: 26px; font-variant-numeric: tabular-nums; }
.streaks span { font-size: 11.5px; letter-spacing: .04em; color: var(--sub); text-transform: uppercase; }
.streaks div:first-child b { color: var(--accent); }
@media (max-width: 700px) { .streaks { grid-template-columns: repeat(2, 1fr); } .years { gap: 2px; } }

/* pills that drift */
.marquee { overflow: hidden; margin-top: 38px; display: flex; flex-direction: column; gap: 12px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track { display: flex; gap: 12px; width: max-content; animation: drift 38s linear infinite; }
.track.back { animation-direction: reverse; animation-duration: 44s; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }
.pill-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 18px; font-size: 15px; color: var(--ink2); transition: transform .3s var(--spring), border-color .2s ease; }
.pill-item i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--amber)); }
.pill-item:hover { transform: translateY(-3px) rotate(-1.5deg); border-color: #d9d9de; }

/* pricing teaser and the pricing page */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 10px; transition: transform .4s var(--spring), box-shadow .3s ease; }
.plan:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(23, 23, 26, .08); }
.plan.pro { border: 2px solid var(--accent); box-shadow: 0 24px 60px rgba(178, 96, 45, .14); background: linear-gradient(180deg, #fffaf2, #fff 40%); }
.pname { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.tag { font-size: 11.5px; font-weight: 600; color: var(--accent); background: var(--cream); border: 1px solid #f0e2c8; padding: 3px 9px; border-radius: 999px; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font-family: var(--serif); font-size: 46px; letter-spacing: -.02em; transition: opacity .2s ease; }
.price span { color: var(--sub); font-size: 14px; transition: opacity .2s ease; }
.ptag { color: var(--sub); font-size: 14.5px; min-height: 2.6em; }
.plan .btn { justify-content: center; margin-top: 4px; }
.plan ul { list-style: none; margin-top: 10px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--ink2); }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 10px; height: 6px; border-left: 2px solid var(--review); border-bottom: 2px solid var(--review); transform: rotate(-45deg); }
.plan li.plus { padding-left: 0; font-weight: 600; color: var(--ink); }
.plan li.plus::before { display: none; }
.billing { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 4px; gap: 2px; align-self: flex-start; }
.billing button { border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 600; color: var(--sub); padding: 7px 13px; border-radius: 999px; cursor: pointer; transition: background .25s ease, color .25s ease, box-shadow .25s ease; }
.billing button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(23, 23, 26, .08); }
.billing em { color: var(--review); margin-left: 4px; }
.micro { font-size: 12.5px; color: var(--faint); text-align: center; }
.more-link { display: inline-flex; margin-top: 26px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }
/* One plan: Flashwell is free (2026-10-14). */
.plans.one { grid-template-columns: minmax(0, 660px); justify-content: center; }
.plans.one .plan { padding: 34px 34px 30px; }
.plans.one .plan ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
@media (max-width: 900px) { .plans.one { max-width: 560px; } }
@media (max-width: 640px) { .plans.one .plan { padding: 28px 24px 24px; } .plans.one .plan ul { grid-template-columns: 1fr; } }

.faq { max-width: 720px; margin: 36px auto 0; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; transition: box-shadow .25s ease, border-color .25s ease; }
.faq details:hover { border-color: #dedee3; }
.faq details[open] { box-shadow: 0 16px 40px rgba(23, 23, 26, .06); }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1; color: var(--faint); transition: transform .35s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--sub); font-size: 15px; margin-top: 10px; animation: open .4s var(--glide); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* closing, with a fan of cards */
.closing { position: relative; margin: 130px 16px 0; border-radius: 40px; overflow: hidden; text-align: center; padding: 120px 24px 110px; background: radial-gradient(80% 90% at 50% 120%, rgba(255, 199, 120, .5), rgba(255, 255, 255, 0) 70%), linear-gradient(#fff, #fffaf2); border: 1px solid #f2e8d6; }
.fan { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.fan span { position: absolute; width: 200px; height: 130px; margin: -65px 0 0 -100px; border-radius: 16px; background: linear-gradient(var(--paper), var(--paper2)); box-shadow: 0 18px 40px rgba(80, 50, 20, .12); opacity: .55; transition: transform 1s var(--spring); }
.fan span:nth-child(1) { transform: translate(-330px, -40px) rotate(-14deg); }
.fan span:nth-child(2) { transform: translate(330px, -30px) rotate(12deg); }
.fan span:nth-child(3) { transform: translate(-290px, 120px) rotate(8deg); }
.fan span:nth-child(4) { transform: translate(300px, 130px) rotate(-9deg); }
.closing:hover .fan span:nth-child(1) { transform: translate(-370px, -60px) rotate(-20deg); }
.closing:hover .fan span:nth-child(2) { transform: translate(370px, -50px) rotate(18deg); }
.closing:hover .fan span:nth-child(3) { transform: translate(-330px, 140px) rotate(13deg); }
.closing:hover .fan span:nth-child(4) { transform: translate(340px, 150px) rotate(-14deg); }
.closing h2 { position: relative; font-family: var(--serif); font-weight: 600; font-size: clamp(38px, 5.5vw, 64px); letter-spacing: -.025em; line-height: 1.04; }
.closing p { position: relative; color: var(--sub); font-size: 17px; margin: 14px 0 30px; }
.closing .btn { position: relative; }
@media (max-width: 760px) { .fan { display: none; } }

/* the bar at the edge of the page itself: hover it */
.edgebar { position: fixed; left: 0; top: 50%; z-index: 55; transform: translateY(-50%); display: flex; align-items: center; }
.edgebar .line { width: 5px; height: 150px; border-radius: 0 6px 6px 0; background: var(--glow); box-shadow: 0 0 18px 4px rgba(255, 214, 140, .75); animation: barglow 2.4s ease-in-out infinite; cursor: pointer; }
.edgebar .hint { margin-left: 12px; font-size: 12px; font-weight: 600; color: var(--accent); background: #fff; border: 1px solid #f0e2c8; border-radius: 999px; padding: 5px 11px; box-shadow: 0 6px 18px rgba(23, 23, 26, .08); opacity: 0; transform: translateX(-8px); transition: opacity .4s ease, transform .4s var(--spring); pointer-events: none; }
.edgebar.hinting .hint { opacity: 1; transform: none; }
.edgecard { position: absolute; left: 14px; top: 50%; width: 300px; transform: translate(-120%, -50%); transition: transform .55s var(--spring); border-radius: 18px; padding: 20px 22px; background: linear-gradient(var(--paper), var(--paper2)); color: var(--paper-ink); box-shadow: 0 30px 70px rgba(23, 23, 26, .28); }
.edgebar.open .edgecard { transform: translate(0, -50%); }
.edgebar.open .hint { opacity: 0; }
.edgecard .crumb { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: var(--accent); text-transform: uppercase; }
.edgecard .q { font-family: var(--serif); font-size: 23px; font-weight: 600; margin-top: 8px; line-height: 1.2; }
.edgecard .a { font-family: var(--serif); font-size: 16px; color: var(--paper-sub); margin-top: 10px; display: none; }
.edgecard.shown .a { display: block; animation: open .4s var(--glide); }
.edgecard .row { display: flex; gap: 6px; margin-top: 16px; }
.edgecard button { font: inherit; font-size: 12.5px; font-weight: 700; padding: 7px 10px; border-radius: 9px; border: 1.5px solid rgba(42, 36, 24, .2); background: transparent; color: var(--paper-ink); cursor: pointer; transition: transform .25s var(--spring), background .2s ease; }
.edgecard button:hover { background: rgba(42, 36, 24, .06); }
.edgecard button:active { transform: scale(.93); }
.edgecard .reveal-btn { width: 100%; background: var(--paper-ink); color: var(--paper); border-color: var(--paper-ink); }
.edgecard .reveal-btn:hover { background: #3a3222; }
.edgecard .note { font-size: 12px; color: var(--paper-sub); margin-top: 12px; min-height: 1.3em; }
@media (max-width: 760px), (hover: none) { .edgebar { display: none; } }

/* ---------- other pages ---------- */
.page-hero { text-align: center; padding: 150px 24px 10px; }
.page-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 6vw, 68px); letter-spacing: -.028em; line-height: 1.04; text-wrap: balance; }
.page-hero h1 em { color: var(--accent); }
.page-hero .lede { margin-left: auto; margin-right: auto; }

/* blog */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 46px auto 0; }
.postcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 26px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 10px; overflow: hidden; transition: transform .4s var(--spring), box-shadow .3s ease; }
.postcard::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--amber), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--glide); }
.postcard:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(23, 23, 26, .08); }
.postcard:hover::before { transform: scaleX(1); }
.postcard h3 { font-family: var(--serif); font-size: 26px; line-height: 1.15; letter-spacing: -.01em; }
.postcard p { color: var(--sub); font-size: 15px; }
.pdate { font-size: 13px; color: var(--faint); }
.postcard .more { font-size: 14px; font-weight: 600; color: var(--accent); margin-top: 6px; }
.empty { text-align: center; color: var(--faint); grid-column: 1 / -1; }
.article { max-width: 720px; padding-top: 140px; }
.article .back { font-size: 14px; color: var(--sub); text-decoration: none; }
.article .back:hover { color: var(--ink); }
.article .pdate { margin-top: 28px; }
.article h1 { font-family: var(--serif); font-size: clamp(36px, 5.4vw, 56px); letter-spacing: -.028em; line-height: 1.06; margin-top: 10px; text-wrap: balance; }
.standfirst { font-size: 20px; color: var(--sub); margin-top: 16px; line-height: 1.5; }
.prose { margin-top: 34px; font-size: 18px; line-height: 1.75; color: var(--ink2); }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose pre { margin: 0 0 20px; }
.prose h2 { font-family: var(--serif); font-size: 30px; margin: 40px 0 12px; letter-spacing: -.015em; color: var(--ink); }
.prose h3 { font-family: var(--serif); font-size: 23px; margin: 30px 0 8px; color: var(--ink); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose blockquote { border-left: 3px solid var(--amber); padding: 4px 0 4px 18px; font-family: var(--serif); font-size: 21px; color: var(--ink); }
.prose code { background: var(--soft); padding: 2px 6px; border-radius: 6px; font-size: .88em; }
.prose pre { background: var(--ink); color: #f5f5f7; padding: 18px; border-radius: 14px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose img { border-radius: 16px; }
.articlefoot { display: flex; gap: 12px; margin-top: 46px; flex-wrap: wrap; }
@media (max-width: 720px) { .posts { grid-template-columns: 1fr; } }

/* community */
.note-card { max-width: 760px; margin: 34px auto 0; border-radius: 22px; background: var(--cream); border: 1px solid #f0e2c8; padding: 18px 22px; font-size: 15px; color: var(--ink2); }
.note-card b { color: var(--ink); }
.decks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.deck { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px; transition: transform .4s var(--spring), box-shadow .3s ease; }
.deck:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: 0 22px 50px rgba(23, 23, 26, .08); }
.deck h4 { font-family: var(--serif); font-size: 21px; }
.deck p { font-size: 14px; color: var(--sub); }
.deck .src { font-size: 12.5px; color: var(--faint); }
.deck .chips { display: flex; gap: 6px; margin-top: auto; padding-top: 6px; }
.chip { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--ink2); }
@media (max-width: 860px) { .decks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .decks { grid-template-columns: 1fr; } }

/* wishlist */
.wishform { max-width: 680px; margin: 30px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 18px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 16px 40px rgba(23, 23, 26, .05); }
.wishform input, .wishform textarea { font: inherit; font-size: 15.5px; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: #fcfcfb; color: var(--ink); resize: vertical; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.wishform input:focus, .wishform textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(178, 96, 45, .12); }
.wishrow { display: flex; align-items: center; gap: 12px; }
.wishrow .btn { margin-left: auto; padding: 11px 22px; font-size: 14.5px; }
.wishnote { font-size: 13.5px; color: var(--sub); }
.wishnote.bad { color: #c2410c; }
.wishtabs { display: flex; justify-content: center; gap: 6px; margin: 30px 0 8px; }
.wishtabs button { border: 1px solid var(--line); background: #fff; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--sub); padding: 8px 15px; border-radius: 999px; cursor: pointer; transition: transform .25s var(--spring), background .2s ease, color .2s ease; }
.wishtabs button:active { transform: scale(.94); }
.wishtabs button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.wishes { list-style: none; max-width: 680px; margin: 12px auto 0; display: flex; flex-direction: column; gap: 10px; }
.wish { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; transition: box-shadow .25s ease; }
.wish:hover { box-shadow: 0 14px 34px rgba(23, 23, 26, .06); }
.wish.fresh { animation: wishIn .55s var(--spring); }
@keyframes wishIn { from { opacity: 0; transform: translateY(-10px) scale(.97); } to { opacity: 1; transform: none; } }
.wvote { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 42px; }
.wvote button { width: 34px; height: 28px; border-radius: 10px; border: 1px solid var(--line); background: #fcfcfb; color: var(--sub); font-size: 11px; cursor: pointer; transition: transform .25s var(--spring), background .2s ease, border-color .2s ease, color .2s ease; }
.wvote button:hover { border-color: #cfcfd5; color: var(--ink); }
.wvote button:active { transform: scale(.88); }
.wvote button.on.up { background: #eaf7ee; border-color: var(--review); color: #22693e; }
.wvote button.on.down { background: #fdeceb; border-color: #d9534f; color: #b23b37; }
.wvote b { font-size: 16px; font-variant-numeric: tabular-nums; }
.wvote b.bump { animation: bump .4s var(--spring); }
@keyframes bump { 45% { transform: scale(1.45); } }
.wbody h4 { font-size: 16px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wbody p { font-size: 14.5px; color: var(--sub); margin-top: 3px; white-space: pre-line; }
.wstatus { font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--cream); color: var(--accent); }
.wstatus.done { background: #eaf7ee; color: #22693e; }
.wishempty { text-align: center; color: var(--faint); padding: 20px; }

/* download */
.download { max-width: 640px; margin: 0 auto; padding: 150px 24px 0; text-align: center; }
.download .appicon { width: 112px; height: 112px; margin: 0 auto; border-radius: 26px; background: url(/assets/app-icon.png) center / cover; box-shadow: 0 24px 50px rgba(80, 50, 20, .2); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px) rotate(-1deg); } }
.download h1 { font-family: var(--serif); font-size: clamp(40px, 6vw, 60px); letter-spacing: -.025em; margin-top: 26px; }
.download .ver { color: var(--sub); margin-top: 8px; }
.download .soon { margin: 26px auto 0; max-width: 46ch; color: var(--sub); font-size: 15px; }
.download .ctas { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.relnotes { margin-top: 44px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px 26px; }
.relnotes h3 { font-family: var(--serif); font-size: 24px; }
.relnotes ul { margin-top: 12px; padding-left: 20px; color: var(--ink2); display: flex; flex-direction: column; gap: 7px; font-size: 15px; }

/* footer */
.sitefoot { margin-top: 130px; border-top: 1px solid var(--line); padding: 50px 0 40px; background: #fcfcfb; }
.fgrid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.fgrid h5 { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); margin-bottom: 12px; }
.fgrid a { display: block; font-size: 14px; color: var(--sub); text-decoration: none; margin-bottom: 8px; transition: color .2s ease, transform .3s var(--spring); }
.fgrid a:hover { color: var(--ink); transform: translateX(3px); }
.fbrand p { font-size: 14px; color: var(--sub); margin-top: 12px; max-width: 30ch; }
.sitefoot .fin { margin-top: 34px; font-size: 12.5px; color: var(--faint); }
@media (max-width: 720px) { .fgrid { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise, [data-words] .w, .dcard, .stamp, .years i { opacity: 1 !important; transform: none !important; filter: none !important; }
  .mac { transform: none !important; }
}

/* phones: pictures scale to fit, the app window shows its left half */
@media (max-width: 700px) {
  .hero { margin: 76px 10px 0; padding-top: 70px; border-radius: 30px; }
  .ap-right { display: none; }
  .ap-left { width: 100%; }
  .mac-body { padding: 16px; }
  .panel { height: 300px; }
  .deal, .approve, .desk { transform: scale(.64); transform-origin: center; flex: none; }
  .closing { margin: 100px 10px 0; padding: 90px 20px 80px; }
  section.block { padding-top: 96px; }
}

/* The tour video at the front of the home page (2026-10-15). */
.tour { width: min(1040px, 100%); margin: 34px auto 6px; border-radius: 22px; overflow: hidden; background: #0d0d0c; box-shadow: 0 30px 80px rgba(23, 23, 26, .18), 0 0 0 1px var(--line); aspect-ratio: 3574 / 2160; }
.tour video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .tour { border-radius: 14px; margin-top: 24px; } }
