
/* Mailwell site, next rev. The app's new look on the page: a warm gray
   ground, soft card groups, gray pills, frosted round buttons, bold titles,
   cream for AI, and one indigo button at most. Each screen shows one live
   piece of the app you can use, with one line under it. Draft at /next. */

@font-face { font-family: "Geist"; src: url("../media/ef31843780.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../media/60f56d9c5c.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../media/25794ff954.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../media/8b6f499df1.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --ground: #ECECEB;
  --card: #F5F5F4;
  --bubble: #F8F8F7;
  --raised: #FFFFFF;
  --pill: #E0E0DE;
  --pill-hover: #D6D6D4;
  --track: #E3E3E1;
  --ink: #111111;
  --sub: #6A6A6A;
  --faint: #9A9A97;
  --gray: #A3A3A0;            /* the gray rest of a headline */
  --hair: rgba(0, 0, 0, .10);
  --ring: rgba(0, 0, 0, .06);
  --indigo: #4F66C8;
  --indigo-ink: #FFFFFF;
  --marigold: #D89A1E;
  --cream: #F7F2E8;
  --cream-2: #F7EBD2;
  --brown: #4F3400;
  --brown-2: #6E5A33;
  --knob: #FFFFFF;
  --frost: rgba(255, 255, 255, .82);
  --frost-shadow: 0 0 0 .5px rgba(0,0,0,.10), 0 10px 24px -8px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.9);
  --lift: 0 0 0 .5px rgba(0,0,0,.06), 0 30px 60px -30px rgba(40,40,30,.28);
  --black: #111111; --black-ink: #FFFFFF;
  --spring: cubic-bezier(.2, .8, .2, 1);
  --pop: cubic-bezier(.34, 1.4, .64, 1);
  --col: 1120px;
  /* Avatar tints: a soft ground, deeper letters. */
  --a1: #F2DDD5; --a1i: #8A4A33;
  --a2: #DFE2F3; --a2i: #3D4C8F;
  --a3: #DCEBDD; --a3i: #2F5E36;
  --a4: #EFE6D3; --a4i: #6E5626;
  --a5: #E8DDEE; --a5i: #5E3F70;
  --a6: #D9E8EC; --a6i: #2D5966;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ground: #141413; --card: #1D1D1C; --bubble: #232322; --raised: #2A2A28;
    --pill: #2E2E2C; --pill-hover: #383836; --track: #262624;
    --ink: #F2F2F0; --sub: #A3A39F; --faint: #75756F; --gray: #6F6F6A;
    --hair: rgba(255,255,255,.10); --ring: rgba(255,255,255,.07);
    --indigo: #8C9DF0; --indigo-ink: #0F1120;
    --marigold: #E6B04A; --cream: #26221A; --cream-2: #342C1C; --brown: #F1DFB8; --brown-2: #C7B48C;
    --knob: #F2F2F0;
    --frost: rgba(52,52,50,.82);
    --frost-shadow: 0 0 0 .5px rgba(255,255,255,.12), 0 10px 24px -8px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06);
    --lift: 0 0 0 .5px rgba(255,255,255,.07), 0 30px 60px -30px rgba(0,0,0,.8);
    --black: #F2F2F0; --black-ink: #111111;
    --a1: #3A2A24; --a1i: #F0C2AE; --a2: #262B40; --a2i: #B8C2F2; --a3: #233227; --a3i: #A9D3AE;
    --a4: #352F22; --a4i: #E3CF9F; --a5: #322839; --a5i: #D7BCE6; --a6: #213136; --a6i: #A8D2DD;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ground: #141413; --card: #1D1D1C; --bubble: #232322; --raised: #2A2A28;
  --pill: #2E2E2C; --pill-hover: #383836; --track: #262624;
  --ink: #F2F2F0; --sub: #A3A39F; --faint: #75756F; --gray: #6F6F6A;
  --hair: rgba(255,255,255,.10); --ring: rgba(255,255,255,.07);
  --indigo: #8C9DF0; --indigo-ink: #0F1120;
  --marigold: #E6B04A; --cream: #26221A; --cream-2: #342C1C; --brown: #F1DFB8; --brown-2: #C7B48C;
  --knob: #F2F2F0;
  --frost: rgba(52,52,50,.82);
  --frost-shadow: 0 0 0 .5px rgba(255,255,255,.12), 0 10px 24px -8px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06);
  --lift: 0 0 0 .5px rgba(255,255,255,.07), 0 30px 60px -30px rgba(0,0,0,.8);
  --black: #F2F2F0; --black-ink: #111111;
  --a1: #3A2A24; --a1i: #F0C2AE; --a2: #262B40; --a2i: #B8C2F2; --a3: #233227; --a3i: #A9D3AE;
  --a4: #352F22; --a4i: #E3CF9F; --a5: #322839; --a5i: #D7BCE6; --a6: #213136; --a6i: #A8D2DD;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  background: var(--ground); color: var(--ink);
  font: 400 17px/1.55 "Geist", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--cream-2); }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; border-radius: 10px; }
[hidden] { display: none !important; }

.wrap { width: min(var(--col), 100% - 48px); margin-inline: auto; }
@media (max-width: 560px) { .wrap { width: calc(100% - 32px); } }

/* Line icons, Lucide-style, like the app's. */
.ic { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ── No bar: the wordmark and pills float, the page fades under them. ── */
.bar { position: sticky; top: 0; z-index: 50; }
.bar::before {
  content: ""; position: absolute; inset: 0 0 -32px; pointer-events: none;
  background: linear-gradient(var(--ground) 45%, color-mix(in srgb, var(--ground) 0%, transparent));
}
.bar .wrap { position: relative; height: 84px; display: flex; align-items: center; gap: 16px; }
.mark { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 700; font-size: 21px; letter-spacing: -0.04em; }
.mark i { width: 22px; height: 22px; background: var(--indigo); -webkit-mask: url("../media/22ac3092d7.svg") center / contain no-repeat; mask: url("../media/22ac3092d7.svg") center / contain no-repeat; transition: transform .5s var(--pop); }
.mark:hover i { transform: rotate(-10deg) scale(1.06); }
.bar nav { margin-left: auto; display: flex; align-items: center; gap: 26px; font-size: 15.5px; }
.bar nav a.text { color: var(--sub); text-decoration: none; white-space: nowrap; transition: color .12s; }
.bar nav a.text:hover, .bar nav a.text[aria-current] { color: var(--ink); }
.ver { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 999px; background: var(--pill); font-size: 12.5px; line-height: 20px; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .bar nav a.text { display: none; } }

/* ── Pills ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px;
  border-radius: 999px; font: 500 16px/1 "Geist", system-ui; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--pop), background .12s, box-shadow .2s;
}
.btn .ic { width: 17px; height: 17px; stroke-width: 2; }
.btn:active { transform: scale(.96); }
.btn-ink { background: var(--black); color: var(--black-ink); }
.btn-soft { background: var(--pill); color: var(--ink); }
.btn-soft:hover { background: var(--pill-hover); }
.btn .tag { font-size: 12.5px; color: var(--sub); background: var(--ground); border-radius: 999px; padding: 3px 8px; margin-right: -10px; }
.bar .btn { height: 42px; padding: 0 18px; font-size: 15.5px; }
@media (max-width: 560px) { .bar .btn-soft { display: none; } }

/* Small pills inside the demos. */
.p {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px;
  background: var(--pill); font-size: 15px; font-weight: 500; white-space: nowrap; transition: background .12s, transform .25s var(--pop), opacity .2s;
}
button.p:hover { background: var(--pill-hover); }
button.p:active { transform: scale(.95); }
.p.indigo { background: var(--indigo); color: var(--indigo-ink); }
.p.quiet { font-weight: 400; color: var(--sub); }
.p .ic { width: 15px; height: 15px; stroke-width: 2; }

.kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; background: var(--raised); box-shadow: 0 0 0 .5px var(--hair), 0 1px 0 var(--hair); font: 500 12.5px/1 "Geist", system-ui; color: var(--ink); }

/* ── Type ── */
.say { font-weight: 700; font-size: clamp(34px, 4.8vw, 54px); line-height: 1.06; letter-spacing: -0.045em; max-width: 21ch; text-wrap: pretty; }
.say span { color: var(--gray); }
.say.wide { max-width: 25ch; }
.small { margin-top: 18px; font-size: 15px; color: var(--sub); }
.ctas { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ── Opening: the promise on the left, a live inbox on the right ── */
.opening { padding: 7vh 0 14vh; }
.opening .wrap { display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: 48px 64px; align-items: center; }
.opening .say { font-size: clamp(42px, 5.2vw, 68px); max-width: 13ch; }
@media (max-width: 960px) { .opening .wrap { grid-template-columns: 1fr; } .opening .say { max-width: 16ch; } }

/* ── A stage: one live component, one line under it ── */
.stage { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; justify-items: center; padding: 96px 24px; }
.stage .cap { margin-top: 44px; text-align: center; }
.stage h2 { font-weight: 700; font-size: clamp(30px, 3.8vw, 44px); letter-spacing: -0.045em; line-height: 1.08; }
.stage .cap p { margin: 10px auto 0; max-width: 32rem; font-size: 17px; color: var(--sub); text-wrap: balance; }
.try { margin-top: 16px; display: flex; gap: 6px; justify-content: center; align-items: center; flex-wrap: wrap; font-size: 14px; color: var(--faint); }
@media (hover: none) { .try.keys { display: none; } }

/* The card a demo sits on: the app's card group. */
.sheet { width: min(560px, 100%); background: var(--card); border-radius: 28px; box-shadow: var(--lift); position: relative; overflow: hidden; }

/* ── Inbox ── */
.inbox { padding: 30px 0 84px; }
.inbox header { padding: 0 28px 12px; }
.inbox h3 { font-weight: 700; font-size: 40px; line-height: 1; letter-spacing: -0.05em; }
/* The dock: a frosted capsule at the foot of the list, as in the app. */
.dock {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 4px; padding: 5px;
  border-radius: 999px; background: var(--frost); box-shadow: var(--frost-shadow); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.dock .place { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--sub); }
.dock .place.on { background: var(--pill); color: var(--ink); }
.dock .ic { width: 21px; height: 21px; }
.dock .badge {
  position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; display: grid; place-items: center;
  background: var(--black); color: var(--black-ink); font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2px var(--card);
}
.dock .badge[hidden] { display: none; }
.dock .new { width: 44px; height: 44px; margin-left: 4px; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--black); color: var(--black-ink); cursor: pointer; transition: transform .25s var(--pop); }
.dock .new:hover { transform: scale(1.06); }
.dock .new:active { transform: scale(.96); }
.inbox .toast { bottom: 82px; }
/* The app's icon, above the headline and at the end of the page. */
.appicon { display: block; margin-bottom: 26px; }
.appicon img { display: block; width: 96px; height: 96px; filter: drop-shadow(0 14px 22px rgba(40, 50, 110, .16)); }
.finale .appicon { margin-bottom: 22px; }
.finale .appicon img { width: 112px; height: 112px; margin-inline: auto; }
.rows { list-style: none; }
.r {
  position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 14px 24px 14px 20px; margin: 0 8px;
  border-radius: 20px; transition: background .12s; outline: none; max-height: 220px;
}
.r::after { content: ""; position: absolute; left: 82px; right: 0; bottom: 0; height: .5px; background: var(--hair); transition: opacity .12s; }
.r:last-child::after, .r.sel::after, .r:has(+ .sel)::after, .r:hover::after, .r:has(+ .r:hover)::after { opacity: 0; }
.r:hover { background: color-mix(in srgb, var(--bubble) 55%, transparent); }
.r.sel { background: var(--bubble); }
.r.gone { animation: gone .4s var(--spring) forwards; overflow: hidden; }
@keyframes gone { 0% { opacity: 1; transform: none; } 40% { opacity: 0; transform: translateX(28px); max-height: 220px; padding-block: 14px; } 100% { opacity: 0; transform: translateX(28px); max-height: 0; padding-block: 0; } }
.r.back, .back { animation: back .45s var(--spring) both; }
@keyframes back { from { opacity: 0; transform: translateY(6px); filter: blur(6px); } }
.av { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; background: var(--a1); color: var(--a1i); flex: none; }
.av.c2 { background: var(--a2); color: var(--a2i); } .av.c3 { background: var(--a3); color: var(--a3i); }
.av.c4 { background: var(--a4); color: var(--a4i); } .av.c5 { background: var(--a5); color: var(--a5i); } .av.c6 { background: var(--a6); color: var(--a6i); }
.av.i { background: var(--pill); color: var(--ink); }
.av.i .ic { width: 20px; height: 20px; }
.r .top { display: flex; align-items: baseline; gap: 10px; }
.r .who { font-weight: 600; font-size: 17px; letter-spacing: -0.015em; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r .when { font-size: 14.5px; color: var(--sub); font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 7px; transition: opacity .12s; }
.r .when i { display: none; }
.r:not(.read) .when { color: var(--ink); font-weight: 600; }
.r.read .who, .r.read .subj { color: var(--sub); }
.r .subj { font-size: 16px; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r .prev { font-size: 15px; color: var(--sub); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r .pills { margin-top: 10px; display: flex; gap: 8px; overflow: hidden; -webkit-mask: linear-gradient(90deg, #000 80%, transparent); mask: linear-gradient(90deg, #000 80%, transparent); }
.r .pills.nofade { -webkit-mask: none; mask: none; flex-wrap: wrap; }
.r .pills .p { pointer-events: none; }
.r .pills button.p { pointer-events: auto; }
.r.read .who { font-weight: 500; }
.r.bundle { cursor: pointer; }

/* The frosted action pill that appears on hover. */
.acts {
  position: absolute; right: 18px; top: 10px; display: flex; gap: 2px; padding: 3px; border-radius: 999px; z-index: 2;
  background: var(--frost); box-shadow: var(--frost-shadow); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; transform: scale(.94); pointer-events: none; transition: opacity .12s, transform .25s var(--pop);
}
.acts button { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--sub); transition: background .1s, color .1s; }
.acts button:hover { background: var(--pill); color: var(--ink); }
.acts button .ic { width: 16px; height: 16px; }
.acts button.on { color: #D9A21B; }
.r:hover .acts, .r.sel .acts { opacity: 1; transform: none; pointer-events: auto; }
.r:hover .when, .r.sel .when { opacity: 0; }
.r.flagged .who::after { content: ""; display: inline-block; width: 9px; height: 11px; margin-left: 8px; background: #D9A21B; clip-path: polygon(0 0, 100% 0, 72% 42%, 100% 84%, 18% 84%, 18% 100%, 0 100%, 0 0); }

.accepted { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--sub); height: 34px; animation: back .4s var(--spring); }
.accepted .ic { color: #3C8A4F; width: 16px; height: 16px; stroke-width: 2.2; }

/* Toast: a frosted pill near the bottom of its card. */
.toast {
  position: absolute; left: 50%; bottom: 18px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 14px; border-radius: 999px; font-size: 15px; white-space: nowrap;
  background: var(--frost); box-shadow: var(--frost-shadow); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: opacity .15s, transform .35s var(--pop); z-index: 5;
}
.toast .ic { width: 15px; height: 15px; color: var(--sub); }
.toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { height: 30px; padding: 0 12px; border-radius: 999px; font-weight: 600; }
.toast button:hover { background: var(--pill); }

.done { padding: 52px 28px 64px; text-align: center; animation: back .5s var(--spring); }
.done .seal { width: 44px; height: 44px; margin: 0 auto 14px; background: var(--ink); -webkit-mask: url("../media/dbe25849bc.svg") center / contain no-repeat; mask: url("../media/dbe25849bc.svg") center / contain no-repeat; opacity: .85; }
.done b { display: block; font-weight: 700; font-size: 22px; letter-spacing: -0.03em; }
.done button { margin-top: 18px; }

/* Segmented control: gray track, a white knob. */
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: var(--track); }
.seg button { height: 34px; padding: 0 16px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--sub); transition: color .12s, background .2s, box-shadow .2s; }
.seg button[aria-pressed="true"] { color: var(--ink); background: var(--raised); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 0 0 .5px var(--hair); }
.stage > .seg { margin-bottom: 28px; }

/* ── Bundles ── */
.tabs { display: flex; gap: 18px; padding: 0 28px 8px; font-size: 16px; color: var(--sub); }
.tabs b { font-weight: 600; color: var(--ink); }
.list-in { padding: 4px 0 6px 0; display: grid; }
.list-in div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; padding: 8px 0; border-bottom: .5px solid var(--hair); }
.list-in div span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-in div span:last-child { color: var(--sub); font-variant-numeric: tabular-nums; flex: none; }
.list-in .act { border: 0; padding-top: 12px; justify-content: flex-start; gap: 8px; }

/* ── Reader with a summary ── */
.reader { padding: 24px 24px 22px; width: min(600px, 100%); }
.reader .head { display: flex; gap: 14px; align-items: flex-start; }
.reader h3 { font-weight: 700; font-size: 26px; letter-spacing: -0.035em; line-height: 1.15; }
.reader .meta { font-size: 15px; color: var(--sub); margin-top: 2px; }
.reader .tools { margin-left: auto; display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--frost); box-shadow: var(--frost-shadow); flex: none; }
.reader .tools button { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--sub); transition: background .1s, color .1s, transform .3s var(--pop); }
.reader .tools button:hover { background: var(--pill); color: var(--ink); }
.reader .tools .spark { color: var(--marigold); }
.reader .tools .spark .ic { fill: var(--marigold); stroke: none; }
.reader .tools .spark.ping { animation: ping 1.8s ease-in-out infinite; }
@keyframes ping { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--marigold) 40%, transparent); } 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--marigold) 0%, transparent); } }
.msgs { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.msg { background: var(--bubble); border-radius: 22px; padding: 14px 18px; box-shadow: 0 0 0 .5px var(--ring); }
.msg .from { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.msg .from .av { width: 28px; height: 28px; font-size: 11px; }
.msg .from b { font-weight: 600; }
.msg .from .t { margin-left: auto; color: var(--sub); font-size: 14px; white-space: nowrap; }
.msg p { margin-top: 8px; font-size: 16px; color: var(--sub); }
.msg.folded p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 4px; font-size: 15px; }
.summary { margin-top: 16px; background: var(--cream); color: var(--brown); border-radius: 22px; padding: 15px 18px 15px 50px; position: relative; font-size: 16.5px; line-height: 1.5; min-height: 54px; }
.summary::before { content: ""; position: absolute; left: 14px; top: 13px; width: 26px; height: 26px; border-radius: 50%; background: var(--cream-2); }
.summary > .ic { position: absolute; left: 20px; top: 19px; width: 14px; height: 14px; fill: var(--marigold); stroke: none; }
.summary small { display: block; margin-top: 6px; font-size: 13.5px; color: var(--brown-2); }
/* the app's note: cream, brown text, a point a line, nothing else */
.summary { padding: 14px 18px; border-radius: 18px; font-size: 15.5px; line-height: 1.55; min-height: 0; white-space: pre-line; }
.summary::before, .summary small { display: none; }
.summary.enter { animation: back .6s var(--spring); }
.caret::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--marigold); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.thinking { display: inline-flex; gap: 6px; align-items: center; color: var(--brown-2); font-size: 15px; }
.thinking i { width: 6px; height: 6px; border-radius: 50%; background: var(--marigold); animation: dot 1s ease-in-out infinite; }
.thinking i:nth-child(2) { animation-delay: .15s; } .thinking i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { opacity: .25; transform: translateY(-2px); } }

/* ── ⌘K: a light bar with an action button ── */
.pal-wrap { position: relative; width: min(620px, 100%); }
.pal { background: var(--raised); border-radius: 22px; box-shadow: var(--lift), 0 0 0 .5px var(--hair); overflow: hidden; }
.pal .field { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 26px; }
.pal .field > .ic { color: var(--faint); }
.pal input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 400 19px/1.3 "Geist", system-ui; color: var(--ink); padding: 10px 0; }
.pal input::placeholder { color: var(--faint); }
.pal .go { height: 38px; padding: 0 8px 0 16px; border-radius: 999px; background: var(--pill); font-weight: 500; font-size: 15px; display: flex; align-items: center; gap: 8px; white-space: nowrap; max-width: 52%; overflow: hidden; }
.pal .go:hover { background: var(--pill-hover); }
.pal .go span { overflow: hidden; text-overflow: ellipsis; }
.pal .go { padding: 0 14px 0 16px; }
.pal .go .ret { flex: none; color: var(--sub); font-size: 15px; }
.pal .ctx { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 20px 2px; border-top: .5px solid var(--hair); color: var(--sub); font-size: 13.5px; }
.pal .ctx .ic { width: 14px; height: 14px; }
.pal ul { list-style: none; padding: 6px; height: 277px; }
.pal li { display: flex; align-items: center; gap: 12px; padding: 0 14px; height: 44px; border-radius: 14px; font-size: 16px; cursor: pointer; }
.pal li .ic { color: var(--sub); }
.pal li .k { margin-left: auto; color: var(--sub); font-size: 13px; letter-spacing: .02em; }
.pal li.hi { background: var(--card); }
.pal li .hint { color: var(--sub); font-size: 14.5px; }
.pal li .ai { color: var(--marigold); }
.pal .empty { padding: 14px 20px; color: var(--sub); font-size: 15px; }
.pal-wrap .toast { bottom: -54px; }
.pal-wrap + .cap { margin-top: 84px; }

/* ── Reply right where you read ── */
.reply-wrap { position: relative; width: min(620px, 100%); display: grid; }
.reply-wrap > * { grid-area: 1 / 1; }
.reply { background: var(--raised); border-radius: 28px; box-shadow: var(--lift); padding: 16px 20px 14px; position: relative; transition: opacity .3s, transform .5s var(--spring); }
.reply .to { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: var(--sub); padding-bottom: 12px; border-bottom: .5px solid var(--hair); }
.reply .chip { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 4px; border-radius: 999px; background: var(--card); color: var(--ink); }
.reply .chip .av { width: 22px; height: 22px; font-size: 9.5px; }
.reply .to .from { margin-left: auto; }
.reply .to .cc { margin-left: 4px; }
.reply .chip { white-space: nowrap; }
@media (max-width: 480px) { .reply .to .cc { display: none; } }
.reply textarea {
  display: block; width: 100%; min-height: 132px; margin-top: 12px; resize: none; border: 0; outline: 0; background: none;
  font: 400 17px/1.55 "Geist", system-ui; color: var(--ink);
}
.reply textarea::placeholder { color: var(--faint); }
.reply .foot2 { display: flex; align-items: center; gap: 2px; margin-top: 4px; }
.reply .foot2 .tool { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--sub); }
.reply .foot2 .tool:hover { background: var(--card); color: var(--ink); }
.reply .send { margin-left: auto; gap: 7px; display: inline-flex; align-items: center; height: 38px; border-radius: 999px; background: var(--indigo); color: var(--indigo-ink); font-weight: 500; font-size: 15.5px; padding: 0 20px; transition: transform .25s var(--pop), opacity .2s; }
.reply .send:active { transform: scale(.95); }
.reply .send .ret { font-size: 13px; opacity: .8; }
/* nothing written yet: the app's quiet gray pill */
.reply .send[disabled] { background: var(--pill); color: var(--sub); cursor: default; }
.reply.sent { opacity: 0; transform: translateY(-20px) scale(.97); pointer-events: none; }
.snips {
  position: absolute; left: 20px; top: 92px; width: min(330px, 100% - 40px); padding: 6px; border-radius: 18px; z-index: 4;
  background: var(--frost); box-shadow: var(--frost-shadow), 0 24px 40px -20px rgba(0,0,0,.25); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  animation: back .2s var(--spring);
}
.snips div { padding: 8px 12px; border-radius: 12px; font-size: 15px; cursor: pointer; }
.snips div small { display: block; color: var(--sub); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.snips div.hi { background: var(--pill); }
.reply-wrap .toast { bottom: auto; top: 42%; }

/* ── Privacy: a settings card of sentences ── */
.settings { width: min(620px, 100%); background: var(--card); border-radius: 28px; padding: 6px 0; box-shadow: var(--lift); }
.set { display: flex; align-items: center; gap: 20px; padding: 16px 24px; position: relative; cursor: pointer; }
.set + .set::before { content: ""; position: absolute; left: 24px; right: 0; top: 0; height: .5px; background: var(--hair); }
.set div { flex: 1; }
.set b { display: block; font-weight: 500; font-size: 16.5px; }
.set small { display: block; font-size: 14.5px; color: var(--sub); margin-top: 2px; }
.sw { width: 46px; height: 28px; border-radius: 999px; background: var(--pill); position: relative; flex: none; transition: background .2s; }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--knob); box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .3s var(--pop), background .2s; }
.sw[aria-checked="true"] { background: var(--black); }
.sw[aria-checked="true"]::after { transform: translateX(18px); background: var(--black-ink); }
.facts { margin-top: 12px; width: min(620px, 100%); display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.facts div { background: var(--card); border-radius: 20px; padding: 14px 16px; }
.facts dt { font-size: 13.5px; color: var(--sub); }
.facts dd { margin-top: 2px; font-weight: 600; font-size: 17px; letter-spacing: -0.015em; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr 1fr; } }

/* ── Ask: a question, its answer in cream ── */
.askbox { width: min(620px, 100%); }
.askbox .q { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 24px; }
.askbox .q button[aria-pressed="true"] { background: var(--black); color: var(--black-ink); }
.bubble-q { margin-left: auto; width: fit-content; max-width: 88%; padding: 13px 18px; border-radius: 22px 22px 8px 22px; background: var(--raised); box-shadow: 0 0 0 .5px var(--hair); font-size: 18px; letter-spacing: -0.01em; }
.answer { margin-top: 12px; background: var(--cream); color: var(--brown); border-radius: 22px 22px 22px 8px; padding: 16px 18px; font-size: 17px; line-height: 1.5; min-height: 132px; }
.answer .src { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.answer .src span { height: 30px; padding: 0 12px 0 4px; display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; background: var(--cream-2); font-size: 14px; color: var(--brown); }
.answer .src .av { width: 22px; height: 22px; font-size: 9.5px; }
.askbox .note { margin-top: 14px; text-align: center; font-size: 14.5px; color: var(--sub); }

/* ── Statements and pricing ── */
.statement { padding: 16vh 0; }
.pricing { padding: 16vh 0 12vh; }
.pricing .say + .say { margin-top: 44px; }

/* ── Questions ── */
.faq { padding: 10vh 0 16vh; }
.faq h2 { font-weight: 700; font-size: clamp(34px, 4.4vw, 48px); letter-spacing: -0.045em; margin-bottom: 28px; }
.faq .group { background: var(--card); border-radius: 28px; padding: 4px 0; max-width: 860px; }
.faq details { position: relative; }
.faq details + details::before { content: ""; position: absolute; left: 26px; right: 0; top: 0; height: .5px; background: var(--hair); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 22px 20px 26px; font-size: 19px; font-weight: 500; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 30px; height: 30px; border-radius: 50%; background: var(--pill); display: grid; place-items: center; flex: none; transition: transform .35s var(--pop); font-style: normal; }
.faq summary i::before { content: "+"; font-size: 19px; line-height: 1; color: var(--sub); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding: 0 70px 22px 26px; font-size: 16.5px; color: var(--sub); text-wrap: pretty; }
.faq details p a { color: var(--ink); text-underline-offset: .2em; text-decoration-color: var(--hair); }

/* ── Finale: the button in a crowd of mail ── */
.finale { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; text-align: center; padding: 0 24px; }
.finale .inner { position: relative; z-index: 2; }
.finale h2 { font-weight: 700; font-size: clamp(40px, 5.4vw, 64px); letter-spacing: -0.05em; line-height: 1.04; }
.finale .ctas { justify-content: center; }
.crowd { position: absolute; inset: 0; pointer-events: none; z-index: 1; -webkit-mask: radial-gradient(closest-side at 50% 48%, transparent 38%, #000 66%); mask: radial-gradient(closest-side at 50% 48%, transparent 38%, #000 66%); }
.crowd > * { position: absolute; left: 0; top: 0; will-change: transform; }
.crowd .av { box-shadow: 0 10px 24px -12px rgba(0,0,0,.3); }
.crowd .p { background: var(--bubble); box-shadow: 0 0 0 .5px var(--hair), 0 14px 28px -16px rgba(0,0,0,.3); height: 40px; font-size: 16px; font-weight: 400; }
.finale::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; z-index: 1; pointer-events: none; background: linear-gradient(transparent, var(--ground)); }

/* ── Footer ── */
.foot { padding: 40px 0 56px; }
.foot .wrap { display: flex; justify-content: space-between; align-items: baseline; gap: 20px 32px; flex-wrap: wrap; font-size: 15px; color: var(--sub); }
.foot a { text-decoration: none; transition: color .12s; }
.foot a:hover, .foot a[aria-current] { color: var(--ink); }
.foot .by a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: .2em; }
.foot nav { display: flex; gap: 8px 26px; flex-wrap: wrap; }

/* ── Arrivals: fade in, unblur, rise ── */
.rise { opacity: 0; filter: blur(8px); transform: translateY(18px); transition: opacity .6s ease, filter .6s ease, transform .9s var(--spring); }
.rise.in { opacity: 1; filter: none; transform: none; }
.rise.d1 { transition-delay: .08s; } .rise.d2 { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; filter: none; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (max-width: 560px) {
  .stage { min-height: 0; padding: 10vh 16px; }
  .statement { padding: 12vh 0; }
  .opening { padding: 3vh 0 6vh; }
  .inbox h3 { font-size: 34px; }
  .inbox header { padding-inline: 20px; }
  .r { padding-inline: 12px 16px; margin: 0 4px; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .av { width: 44px; height: 44px; }
  .r::after { left: 68px; }
  .faq details p { padding-right: 26px; }
  .pal li .k { display: none; }
}

/* ── A plain page: terms, privacy ── */
.page { padding: 10vh 0 10vh; }
.page .say { font-size: clamp(36px, 4.6vw, 52px); max-width: 22ch; }
.prose { max-width: 46rem; }
.prose .meta { margin-top: 48px; font-size: 16px; color: var(--sub); }
.prose .meta + p { margin-top: 14px; }
.prose h2 { margin-top: 80px; font-weight: 700; font-size: 30px; letter-spacing: -0.04em; }
.prose h3 { margin-top: 44px; font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.prose p, .prose li { font-size: 17px; line-height: 1.72; color: var(--sub); text-wrap: pretty; }
.prose h3 + p, .prose h3 + ul { margin-top: 10px; }
.prose p + p, .prose ul + p { margin-top: 16px; }
.prose ul { list-style: none; }
.prose li + li { margin-top: 12px; }
.prose li { padding-left: 20px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 6px; height: 1.5px; background: var(--faint); }
.prose b { font-weight: 500; color: var(--ink); }
.prose a { color: var(--ink); text-decoration-color: var(--hair); text-underline-offset: .2em; }
.prose a:hover { text-decoration-color: currentColor; }
.jump { margin-top: 24px; display: flex; gap: 8px; flex-wrap: wrap; }
.jump a { font-size: 15px; font-weight: 500; text-decoration: none; height: 36px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: var(--pill); color: var(--ink); }
.jump a:hover { background: var(--pill-hover); }


/* ──────────── */

/* Mailwell's homepage, next rev. A white page, the system's own type (SF Pro
   on a Mac), ink and one gray, and big two-tone statements: the ink half is
   what's said, the gray half what follows. The app is drawn in the page at
   its own size and works. Built on next.css for the app's pieces; this file
   is the page around them. */

:root {
  --bg: #fff; --ink: #151515; --ink-hover: #262626; --ink-2: #858582; --lo: #a6a6a3;
  --line: rgb(0 0 0 / .08); --line-2: rgb(0 0 0 / .18); --soft: #f4f4f3; --soft-2: #ececea;
  --gutter: max(clamp(24px, 6vw, 128px), env(safe-area-inset-left), env(safe-area-inset-right));
  --max: 1440px; --side: max(var(--gutter), 50% - var(--max) / 2);
  --sans: system-ui, -apple-system, "Geist", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* next.css's names, for the app's pieces */
  --ground: #fff; --card: #f4f4f3; --bubble: #fbfbfa; --raised: #fff; --pill: #ececea; --pill-hover: #e2e2e0;
  --sub: #6f6f6c; --faint: #a6a6a3; --gray: #a6a6a3; --hair: rgb(0 0 0 / .10); --ring: rgb(0 0 0 / .07);
  --black: #151515; --black-ink: #fff; --indigo: #4D61C4;
  /* a lift on a plain page: a close contact shadow and a tighter one under it, never a smudge */
  --lift: 0 0 0 .5px rgb(0 0 0 / .10), 0 1px 2px rgb(0 0 0 / .05), 0 18px 34px -18px rgb(20 24 60 / .22);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e0e0e; --ink: #ececea; --ink-hover: #dbdbd9; --ink-2: #7d7d79; --lo: #585855;
    --line: rgb(255 255 255 / .09); --line-2: rgb(255 255 255 / .22); --soft: #191918; --soft-2: #222221;
    --ground: #0e0e0e; --card: #191918; --bubble: #232322; --raised: #1d1d1c; --pill: #262625; --pill-hover: #303030;
    --sub: #9a9a96; --faint: #6c6c68; --gray: #585855; --hair: rgb(255 255 255 / .10); --ring: rgb(255 255 255 / .08);
    --black: #ececea; --black-ink: #0e0e0e; --indigo: #8C9DF0;
    --lift: 0 0 0 .5px rgb(255 255 255 / .12), 0 18px 34px -18px rgb(0 0 0 / .7);
  }
}

body.h { background: var(--bg); color: var(--ink-2); font: 400 13.5px/1.62 var(--sans); overflow-x: clip; }
.h main { overflow-x: clip; }
.h a { color: var(--ink); text-decoration: none; }
.h ::selection { background: var(--ink); color: var(--bg); }
.h .wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.h .kbd, .h .pal input, .h textarea, .h button { font-family: var(--sans); }
.lo { color: var(--lo); }

/* buttons: an ink one lifted off the page, a soft one beside it */
.h .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 23px;
  border: 1px solid var(--line-2); border-radius: 99px; font: 600 14.5px/1 var(--sans); letter-spacing: -.005em; color: var(--ink); white-space: nowrap;
  transition: border-color .2s, background-color .2s, color .2s, transform .2s var(--ease);
}
.h .btn:active { transform: scale(.97); }
.h .btn .ic { width: 15px; height: 15px; stroke-width: 2.2; margin-left: -3px; }
.h .btn--ink { background: var(--ink); border-color: var(--ink); color: var(--bg); box-shadow: 0 13px 24px -6px rgb(0 0 0 / .17), 0 5px 10px -4px rgb(0 0 0 / .16); }
@media (hover: hover) { .h .btn--ink:hover { background: var(--ink-hover); border-color: var(--ink-hover); } }
.h .btn--soft { background: var(--soft); border-color: transparent; }
.h .btn--soft:hover { background: var(--soft-2); }
.h .btn--sm { height: 33px; padding: 0 15px; font-size: 13.5px; }
.h .btn--ink.btn--sm { box-shadow: 0 10px 18px -5px rgb(0 0 0 / .17), 0 4px 8px -4px rgb(0 0 0 / .16); }
.h .btn--sm .ic { width: 13px; height: 13px; }
.h .btn .pro { margin-left: 4px; padding: .32em .7em .34em; border-radius: 99px; background: var(--bg); font: 600 11px/1 var(--sans); color: var(--ink-2); }
/* a button says a second thing under the pointer: the first label leaves to the left as the second comes in from the right */
.swap { position: relative; }
.lbl { display: inline-grid; position: relative; }
.lbl > span, .swap > .ic { transition: opacity .3s var(--ease), filter .3s var(--ease), translate .4s var(--ease); }
.lbl-b { position: absolute; inset: 0 -40px; display: grid; place-items: center; opacity: 0; filter: blur(3px); translate: 10px 0; }
.swap > .ic + .lbl .lbl-b { inset: 0 -40px 0 -62px; }
@media (hover: hover) {
  .swap:hover .lbl-a, .swap:hover > .ic { opacity: 0; filter: blur(3px); translate: -10px 0; }
  .swap:hover .lbl-b { opacity: 1; filter: none; translate: none; }
}
.duo { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.fine { margin: 20px 0 0; color: var(--ink-2); }

/* the bar: the mark at the left, the links at the right; past the claim's buttons, the download takes their place */
.mini { position: fixed; z-index: 30; top: 18px; left: var(--side); height: 33px; display: flex; align-items: center; gap: 8px; font: 600 16px/1 var(--sans); letter-spacing: -.02em; }
.mini i { width: 19px; height: 19px; background: var(--indigo); -webkit-mask: url("../media/22ac3092d7.svg") center / contain no-repeat; mask: url("../media/22ac3092d7.svg") center / contain no-repeat; transition: rotate .6s var(--ease); }
.mini:hover i { rotate: 45deg; }
.controls { position: fixed; z-index: 30; top: 18px; right: calc(var(--side) - 6px); display: flex; align-items: center; gap: 12px; line-height: 1; }
.controls > a:not(.btn) { padding: 8px 6px; color: var(--ink-2); transition: color .2s, opacity .3s .12s, translate .45s var(--ease), visibility 0s; }
.controls > a:not(.btn):hover { color: var(--ink); }
.controls .ver { margin-left: 5px; padding: 3px 5px 2px; border: 1px solid var(--line-2); border-radius: 5px; font-size: 10.5px; font-weight: 500; letter-spacing: .01em; vertical-align: 1px; }
.controls > .btn { margin: 0 6px; transition: background-color .2s, opacity .3s .12s, translate .45s var(--ease), transform .2s var(--ease), visibility 0s; }
.is-past-cta .controls > a { opacity: 0; visibility: hidden; translate: -8px 0; transition: opacity .15s, translate .3s var(--ease), visibility 0s .15s; }
.get { position: absolute; right: 6px; top: 50%; translate: 0 -50%; display: flex; align-items: center; gap: 8px; pointer-events: none; }
.get .btn { pointer-events: auto; opacity: 0; visibility: hidden; transform: translateX(8px); transition: opacity .25s, transform .45s var(--ease), visibility 0s .45s; }
.is-past-cta .get .btn { opacity: 1; visibility: visible; transform: none; transition: opacity .3s .12s, transform .45s var(--ease); }
@media (max-width: 640px) { .controls > a:not(.btn) { display: none; } }
/* what scrolls under the bar goes soft: eight bands, each blurring twice the last */
.edge { position: fixed; z-index: 15; inset: 0 0 auto; height: 76px; pointer-events: none; opacity: 0; transition: opacity .3s; }
.is-float .edge { opacity: 1; }
.edge i { position: absolute; inset: 0; -webkit-backdrop-filter: blur(var(--b)); backdrop-filter: blur(var(--b));
  --m: linear-gradient(to top, #0000 calc(var(--n) * 12.5%), #000 calc((var(--n) + 1) * 12.5%) calc((var(--n) + 2) * 12.5%), #0000 calc((var(--n) + 3) * 12.5%));
  -webkit-mask: var(--m); mask: var(--m); }
.edge i:nth-child(1) { --n: 0; --b: .4px; } .edge i:nth-child(2) { --n: 1; --b: .8px; } .edge i:nth-child(3) { --n: 2; --b: 1.5px; } .edge i:nth-child(4) { --n: 3; --b: 3px; }
.edge i:nth-child(5) { --n: 4; --b: 6px; } .edge i:nth-child(6) { --n: 5; --b: 12px; } .edge i:nth-child(7) { --n: 6; --b: 18px; } .edge i:nth-child(8) { --n: 7; --b: 27px; }

/* type: a statement in ink, and its quiet half */
.h .say { max-width: 21em; margin: 0; font-weight: 500; font-size: clamp(28px, 3.25vw, 52px); line-height: 1.08; letter-spacing: -.022em; color: var(--ink); text-wrap: pretty; }
.h .say .lo, .h .say span.lo { color: var(--lo); }
.h .say + .say { margin-top: .42em; }
.block { margin-top: clamp(120px, 14vw, 212px); }
.block .duo { margin-top: 34px; }

/* the claim: the icon, two lines, the buttons */
.hello { padding-top: clamp(124px, 19vh, 230px); }
.h .appicon { display: block; margin: 0 0 22px -6px; }
.h .appicon img { display: block; width: 76px; height: 76px; filter: drop-shadow(0 10px 16px rgb(30 40 110 / .14)); }
.claim { margin: 0; font-weight: 600; font-size: clamp(34px, 4.1vw, 62px); line-height: 1.06; letter-spacing: -.028em; color: var(--ink); }
.turn { display: grid; }
.turn > span { grid-area: 1 / 1; opacity: 0; filter: blur(8px); translate: 14px 0; transition: opacity .5s var(--ease), filter .5s var(--ease), translate .6s var(--ease); }
.turn > .on { opacity: 1; filter: none; translate: none; }
.turn > .was { translate: -14px 0; }
.hello .duo { margin-top: clamp(26px, 2.4vw, 36px); }

/* the desk: the window at its own size, rising under the claim */
.desk { position: relative; margin-top: clamp(56px, 7vw, 104px); padding-inline: var(--side); }
.desk::before { content: ""; position: absolute; inset: 6% 8% 0; z-index: 0; filter: blur(80px); opacity: .5; pointer-events: none;
  background: radial-gradient(40% 50% at 20% 40%, #d3daf8, #0000 70%), radial-gradient(36% 46% at 80% 30%, #f6ddd3, #0000 70%), radial-gradient(40% 50% at 55% 85%, #dcefdf, #0000 70%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .desk::before { opacity: .16; } }
.win { position: relative; z-index: 1; display: grid; grid-template-columns: 372px minmax(0, 1fr); width: 100%; max-width: 1180px; margin-inline: auto;
  --card: #f3f3f2; --bubble: #fcfcfb; --pill: #e6e6e4; --frost: rgb(255 255 255 / .82);
  background: #ededec; border-radius: 18px; text-align: left; font-size: 14px; line-height: 1.38; color: var(--ink);
  box-shadow: 0 0 0 .5px rgb(0 0 0 / .16), 0 2px 4px rgb(0 0 0 / .04), 0 44px 80px -36px rgb(20 26 70 / .34), 0 16px 30px -18px rgb(0 0 0 / .14); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .win { --card: #1d1d1c; --bubble: #2a2a29; --pill: #303030; --frost: rgb(52 52 50 / .82); background: #1b1b1a; box-shadow: 0 0 0 .5px rgb(255 255 255 / .14), 0 44px 80px -36px #000; } }
.win .col { position: relative; padding: 0 0 86px; min-height: 640px; border-radius: 18px 0 0 18px; overflow: hidden; }
.win .chrome { height: 52px; display: flex; align-items: center; gap: 8px; padding: 0 18px; }
.win .chrome i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; } .win .chrome i:nth-child(2) { background: #febc2e; } .win .chrome i:nth-child(3) { background: #28c840; }
.win .chrome .ic { margin-left: auto; color: var(--sub); width: 17px; height: 17px; }
.win h3 { margin: 0; padding: 6px 20px 10px; font-weight: 700; font-size: 26px; letter-spacing: -.035em; display: flex; align-items: center; gap: 8px; }
.win h3 .ic { width: 14px; height: 14px; color: var(--sub); stroke-width: 2.2; }
.win .day { margin: 0; padding: 6px 20px 6px; font-size: 13px; color: var(--sub); }
.win .rows { margin: 0; padding: 0; }
.win .r { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 11px 14px; margin: 0 8px; border-radius: 16px; max-height: 160px; cursor: default; }
.win .r::after { left: 66px; right: 6px; }
.win .r.sel { background: var(--bubble); box-shadow: 0 0 0 .5px var(--ring), 0 1px 2px rgb(0 0 0 / .04); }
.win .r .av { width: 40px; height: 40px; font-size: 14px; }
.win .r .who { font-size: 14px; letter-spacing: -.005em; }
.win .r .when { font-size: 12.5px; }
.win .r .subj { font-size: 14px; margin-top: 0; }
.win .r .prev { font-size: 13.5px; margin-top: 0; }
.win .r .pills { margin-top: 7px; gap: 6px; }
.win .r .p { height: 26px; padding: 0 10px; font-size: 12.5px; }
.win .r .accepted { font-size: 12.5px; }
.win .acts { right: 10px; top: 8px; }
.win .acts button { width: 28px; height: 28px; } .win .acts .ic { width: 15px; height: 15px; }
.win .rows .done { padding: 60px 20px; font-size: 14px; }
.win .dock { bottom: 18px; }
.win .dock .place, .win .dock .new { width: 38px; height: 38px; } .win .dock .ic { width: 18px; height: 18px; }
.win .dock .badge { box-shadow: 0 0 0 2px #ededec; }
.win .toast { bottom: 76px; font-size: 13.5px; }
.pane { position: relative; margin: 8px 8px 8px 0; border-radius: 12px; background: var(--bubble); box-shadow: 0 0 0 .5px var(--ring); padding: 0 36px; min-height: 624px; overflow: hidden; }
.pane .tools { height: 46px; display: flex; justify-content: flex-end; align-items: center; gap: 18px; color: var(--sub); margin-right: -16px; }
.pane .tools .ic { width: 17px; height: 17px; } .pane .tools .ic.gold { color: var(--marigold); }
.pane .open { display: none; }
.pane.has .open { display: block; } .pane.has .field { display: flex; } .pane.has .none { display: none; }
.pane .open.arrive { animation: arrive .5s var(--ease) both; }
@keyframes arrive { from { opacity: .15; transform: translateY(6px); filter: blur(4px); } }
.pane h2 { margin: 4px 0 20px; font-weight: 700; font-size: 24px; letter-spacing: -.03em; line-height: 1.2; color: var(--ink); }
.pane .from { display: flex; align-items: center; gap: 12px; }
.pane .from .av { width: 36px; height: 36px; font-size: 13px; }
.pane .from b { font-weight: 600; } .pane .from small { display: block; color: var(--sub); font-size: 12.5px; }
.pane .from small .chev { display: inline-block; width: 11px; height: 11px; margin: 0 7px 0 4px; vertical-align: -1px; stroke-width: 2.2; }
.pane .from small .acct { display: inline-block; width: 11px; height: 11px; margin-right: 5px; vertical-align: -1px; background: var(--indigo); -webkit-mask: url("../media/22ac3092d7.svg") center / contain no-repeat; mask: url("../media/22ac3092d7.svg") center / contain no-repeat; }
.pane .from time { margin-left: auto; color: var(--sub); font-size: 12.5px; }
.pane .body { margin: 20px 0 0 48px; max-width: 48ch; font-size: 15px; line-height: 1.6; }
.pane .body p { margin: 0; } .pane .body p + p { margin-top: 12px; }
.pane .field { display: none; position: absolute; left: 22px; right: 22px; bottom: 20px; height: 46px; border-radius: 999px; background: var(--raised); box-shadow: 0 0 0 .5px var(--hair), 0 8px 20px -12px rgb(0 0 0 / .2); display: flex; align-items: center; padding: 0 18px; color: var(--faint); font-size: 14.5px; }
.pane .field .ic { margin-left: auto; width: 16px; height: 16px; color: var(--sub); } .pane .field .ic + .ic { margin-left: 14px; }
.pane .none { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 4px; }
.pane .none b { font-weight: 700; font-size: 26px; letter-spacing: -.035em; } .pane .none span { color: var(--sub); }
.desk .try { margin: 22px 0 0; text-align: center; font-size: 12.5px; color: var(--ink-2); }
.desk .try .kbd { min-width: 20px; height: 20px; font-size: 11.5px; }
@media (max-width: 900px) { .win { grid-template-columns: 1fr; } .pane { display: none; } .win .col { min-height: 0; border-radius: 18px; } }

/* words at the left, the piece at the right */
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 48px clamp(40px, 6vw, 120px); align-items: center; margin-top: clamp(120px, 14vw, 212px); }
.pair .say { max-width: 13em; }
.piece { zoom: .86; justify-self: end; width: 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: end; }
.piece > * { width: 100%; max-width: 640px; }
.piece .sheet { box-shadow: var(--lift); }
.piece .settings { box-shadow: var(--lift); }
@media (max-width: 900px) { .pair { grid-template-columns: 1fr; } .pair .say { max-width: 21em; } .piece { zoom: 1; justify-items: start; } }

/* questions: lines only between them, a drawn plus that turns into a cross */
.h .faq { max-width: 780px; margin-top: clamp(32px, 3vw, 44px); padding: 0; }
.h .faq details { border: 0; }
.h .faq details + details { border-top: 1px solid var(--line); }
.h .faq details::before { display: none; }
.h .faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; color: var(--ink); font-size: clamp(18px, 1.5vw, 23px); font-weight: 400; line-height: 1.4; letter-spacing: -.012em; cursor: pointer; list-style: none; }
.h .faq summary::-webkit-details-marker { display: none; }
.h .faq summary::after { content: ""; flex: none; align-self: flex-start; width: 14px; height: 14px; margin-top: calc((1.4em - 14px) / 2); color: var(--ink-2);
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: rotate .3s var(--ease); }
.h .faq details[open] summary::after { rotate: 45deg; }
.h .faq details p { max-width: 60ch; margin: 0; padding: 0 0 20px; font-size: clamp(15px, 1.05vw, 16.5px); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.h .faq a, .colophon .by a { font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-2); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-color .2s; }
.h .faq a:hover, .colophon .by a:hover { text-decoration-color: currentColor; }

/* the ending: one statement, centred, the crowd behind it */
.ending { position: relative; min-height: 92svh; margin-top: clamp(80px, 9vw, 140px); display: grid; place-items: center; overflow: hidden; text-align: center; padding: 0 var(--gutter); }
.ending .inner { position: relative; z-index: 2; display: grid; justify-items: center; }
.ending .appicon { margin: 0 0 20px; } .ending .appicon img { width: 88px; height: 88px; }
.ending .duo { justify-content: center; margin-top: 30px; }
.ending::after { content: ""; position: absolute; inset: auto 0 0; height: 140px; z-index: 1; pointer-events: none; background: linear-gradient(#0000, var(--bg)); }

/* the foot: who built it, and the links, on one line */
.colophon { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; padding: 22px var(--side) clamp(40px, 6vw - 16px, 80px); color: var(--ink-2); }
.colophon p { margin: 0; }
.colophon nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.colophon nav a { color: var(--ink-2); transition: color .2s; } .colophon nav a:hover { color: var(--ink); }

/* arrivals: out of a blur, once */
.js .h .rise { opacity: 0; filter: blur(10px); transform: translateY(14px); transition: opacity .7s var(--ease), filter .7s var(--ease), transform .9s var(--ease); }
.js .h .rise.in { opacity: 1; filter: none; transform: none; }
@media (prefers-reduced-motion: reduce) { .h .rise { opacity: 1; filter: none; transform: none; transition: none; } .turn > span { transition: none; } }

/* a phone: the bar keeps the mark and one button */
@media (max-width: 640px) { .get .btn--soft { display: none; } .desk { padding-inline: 16px; } .pair, .block { margin-top: 96px; } }

/* a statement says itself: its words sharpen in one after another */
.words .w { display: inline-block; opacity: 0; filter: blur(8px); transition: opacity .55s var(--ease), filter .55s var(--ease); transition-delay: calc(var(--i) * 38ms); }
.words.in .w, .in .words .w, .ending .words .w { opacity: 1; filter: none; }
.js .h .say.rise.words { opacity: 1; filter: none; transform: none; }
.js .claim .turn { opacity: 0; transition: opacity .6s .35s var(--ease); } .js .claim.in .turn, .js .ending .claim .turn { opacity: 1; }
/* the opening's own pieces follow the claim in */
.js .hello .appicon, .js .hello .duo, .js .hello .fine { opacity: 0; filter: blur(8px); transform: translateY(8px); transition: opacity .7s var(--ease), filter .7s var(--ease), transform .9s var(--ease); }
.hello .duo { transition-delay: .45s; } .hello .fine { transition-delay: .55s; }
.js .hello .in { opacity: 1; filter: none; transform: none; }
/* the window rises under them, and comes a little closer as you scroll to it */
.desk .win { transform: translateY(calc((1 - var(--p, 0)) * 28px)) scale(calc(.955 + var(--p, 0) * .045)); transform-origin: 50% 0; transition: opacity .9s .5s var(--ease); will-change: transform; }
.js .desk .win { opacity: 0; }
.js .desk.in .win { opacity: 1; }
.desk::before { opacity: calc(.2 + var(--p, 0) * .4); }
/* in the window the row's buttons are for the row under the pointer, and the time makes way for them */
.win .r.sel .acts { opacity: 0; transform: scale(.94); pointer-events: none; }
.win .r:hover .acts { opacity: 1; transform: none; pointer-events: auto; }
.win .r:hover .when { opacity: 0; }
.win .r:hover .subj { -webkit-mask: linear-gradient(90deg, #000 52%, #0000 68%); mask: linear-gradient(90deg, #000 52%, #0000 68%); }
@media (prefers-reduced-motion: reduce) {
  .words .w, .claim .turn, .hello .appicon, .hello .duo, .hello .fine, .desk .win { opacity: 1; filter: none; transform: none; transition: none; }
}

/* a word keeps the tone of the half it's in */
.h .say .w, .h .claim .w { color: inherit; }

/* without scripts nothing waits to be revealed */
html:not(.js) .h .rise { opacity: 1; filter: none; transform: none; }

/* ── What makes it ours: the icon's own materials, on the page ──
   The icon is a white envelope closed with ink-blue wax: matte, a fine
   grain, a pale light above and a warm one at the foot. The page takes
   the same three things: the grain, the wax, and the envelope's folds. */

/* the grain: one fine film over the whole page, as on the icon's paper */
body.h::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .36; mix-blend-mode: multiply;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .12  0 0 0 0 .14  0 0 0 0 .3  0 0 0 .16 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body.h::after { mix-blend-mode: screen; opacity: .35; } }

/* wax: the main buttons are pressed from the seal's ink, with its two lights and its grain */
.h .btn--wax {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; border: 0;
  background:
    radial-gradient(70% 120% at 22% 0%, rgb(143 178 255 / .75), #0000 62%),
    radial-gradient(46% 90% at 74% 118%, rgb(255 208 178 / .6), #0000 70%),
    linear-gradient(#5b70d6, #4456b6 55%, #313e90);
  box-shadow: inset 0 0 0 .5px rgb(31 40 102 / .55), inset 0 1px 0 rgb(255 255 255 / .38), inset 0 -1px 0 rgb(31 40 102 / .35),
    0 1px 1px rgb(31 40 102 / .5), 0 12px 22px -8px rgb(49 62 144 / .5);
  text-shadow: 0 1px 0 rgb(31 40 102 / .35);
  transition: filter .2s, transform .2s var(--ease), box-shadow .2s;
}
.h .btn--wax::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55; mix-blend-mode: overlay; pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 -.25'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"); }
@media (hover: hover) { .h .btn--wax:hover { filter: brightness(1.06) saturate(1.05); } }
.h .btn--wax.btn--sm { box-shadow: inset 0 0 0 .5px rgb(31 40 102 / .55), inset 0 1px 0 rgb(255 255 255 / .38), 0 1px 1px rgb(31 40 102 / .5), 0 8px 16px -7px rgb(49 62 144 / .5); }

/* the light behind the window is the wax's: ink, its pale blue, and the warm foot */
.desk::before { inset: 4% 6% -4%; filter: blur(90px);
  background: radial-gradient(42% 52% at 22% 34%, rgb(91 112 214 / .55), #0000 70%), radial-gradient(34% 44% at 62% 20%, rgb(143 178 255 / .6), #0000 70%), radial-gradient(40% 50% at 78% 86%, rgb(255 208 178 / .9), #0000 70%); }

/* the ending is the back of the envelope: the flap comes down to a point, and the seal sits on it */
.ending { min-height: 100svh; margin-top: clamp(96px, 11vw, 170px); place-items: start center; background: linear-gradient(#f6f7fa, #eceef4); }
.ending::after { display: none; }
.ending .flap { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ending .flap path { vector-effect: non-scaling-stroke; }
.ending .flap .lower { fill: #f9fafc; stroke: rgb(27 34 89 / .12); stroke-width: 1; }
.ending .flap .upper { fill: #fff; stroke: rgb(27 34 89 / .10); stroke-width: 1; filter: drop-shadow(0 10px 14px rgb(27 34 89 / .13)); }
.ending .inner { margin-top: calc(44svh - 62px); }
.ending .appicon { margin: 0 0 26px; } .ending .appicon img { width: 124px; height: 124px; filter: drop-shadow(0 2px 2px rgb(27 34 89 / .25)) drop-shadow(0 14px 18px rgb(27 34 89 / .16)); }
.colophon { background: #eceef4; margin: 0; padding-top: 40px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ending { background: linear-gradient(#17181b, #121316); }
  :root:not([data-theme="light"]) .ending .flap .lower { fill: #1a1b1f; stroke: rgb(255 255 255 / .07); }
  :root:not([data-theme="light"]) .ending .flap .upper { fill: #222327; stroke: rgb(255 255 255 / .08); filter: drop-shadow(0 10px 14px rgb(0 0 0 / .5)); }
  :root:not([data-theme="light"]) .colophon { background: #121316; }
}

/* the seal itself on the flap's point, pressed on, not floating */
.ending .wax { display: block; margin: 0 0 22px; }
.ending .wax img { display: block; width: 150px; height: 150px; transition: rotate 1.2s var(--ease), scale .5s var(--ease); }
.ending .inner { margin-top: calc(44svh - 75px); }
.ending .wax:hover img { rotate: 45deg; }

/* the showcase inbox: real faces, a count, labels, and a photo in the mail */
.av.ph { background: none; padding: 0; overflow: hidden; position: relative; }
.av.ph img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.av.ph.duo { overflow: visible; }
.av.ph.duo img { position: absolute; width: 64%; height: 64%; box-shadow: 0 0 0 1.5px var(--card); }
.av.ph.duo img:first-child { left: 0; top: 0; } .av.ph.duo img:last-child { right: 0; bottom: 0; }
.win .r .who .n { margin-left: 6px; font-style: normal; font-weight: 400; font-size: 12.5px; color: var(--sub); }
.win .r .subj { display: flex; align-items: center; gap: 8px; overflow: visible; }
.win .r .subj span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lab { flex: none; display: inline-flex; align-items: center; height: 19px; padding: 0 8px; border-radius: 999px; background: var(--pill); color: var(--sub); font: 500 11.5px/1 var(--sans); font-style: normal; }
.win .r:hover .lab { opacity: 0; }
.pane .lab.top { position: absolute; left: 18px; top: 13px; height: 22px; padding: 0 9px; font-size: 12px; }
.pane .lab.top[hidden] { display: none; }
.pane .body img { display: block; width: min(100%, 420px); aspect-ratio: 3 / 2; object-fit: cover; margin-top: 14px; border-radius: 12px; }
.pane .body img + p { margin-top: 14px; }

/* ── calmer: one quiet light on the buttons, and less color behind things ── */
.h .btn--wax {
  background: linear-gradient(#5669d0, #4a5cc0);
  box-shadow: inset 0 0 0 .5px rgb(31 40 102 / .4), inset 0 1px 0 rgb(255 255 255 / .2), 0 6px 14px -9px rgb(49 62 144 / .5);
  text-shadow: none;
}
.h .btn--wax::after { opacity: .28; }
.h .btn--wax.btn--sm { box-shadow: inset 0 0 0 .5px rgb(31 40 102 / .4), inset 0 1px 0 rgb(255 255 255 / .2), 0 4px 10px -7px rgb(49 62 144 / .5); }
@media (hover: hover) { .h .btn--wax:hover { filter: brightness(1.05); } }
.desk::before { opacity: calc(.1 + var(--p, 0) * .2); }

/* the open row keeps its time, as in the app; a bundle's tile; a label with its own color */
.win .r.sel .when { opacity: 1; } .win .r.sel:hover .when { opacity: 0; }
.av.tile { border-radius: 12px; background: var(--pill); color: var(--sub); position: relative; }
.av.tile .ic { width: 18px; height: 18px; }
.av.tile b { position: absolute; right: -4px; top: -4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--ink); color: var(--bg); font: 600 10px/16px var(--sans); text-align: center; box-shadow: 0 0 0 1.5px var(--card); }
.lab .ic { width: 11px; height: 11px; margin-right: 4px; stroke-width: 2.2; }
.lab.weekend { background: #fbe7dd; color: #c4552c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lab.weekend { background: #3a251c; color: #f0906a; } }

/* ── the app's own face and tones, so the pieces read as the app ──
   Mailwell is set in Geist (bundled with the app), on its own grays. */
@font-face { font-family: "Geist"; src: url("../media/ef31843780.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../media/60f56d9c5c.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../media/25794ff954.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../media/8b6f499df1.ttf") format("truetype"); font-weight: 700; font-display: swap; }
.win, .pal, .reply, .sheet.reader, .settings, .piece .toast,
.win button, .win input, .pal input, .pal button, .reply textarea, .reply button, .settings button {
  font-family: "Geist", system-ui, -apple-system, sans-serif;
}
.win {
  --card: #ECECEB; --bubble: #F8F8F7; --raised: #fff; --ink: #000;
  --sub: rgb(0 0 0 / .56); --faint: rgb(0 0 0 / .44); --pill: rgb(0 0 0 / .07); --hair: rgb(0 0 0 / .06);
  background: #ECECEB; border-radius: 20px;
}
.win .col { border-radius: 20px 0 0 20px; }
.win .dock .badge { box-shadow: 0 0 0 2px #ECECEB; }
.pane { border-radius: 15px; margin: 6px 6px 6px 0; min-height: 628px; box-shadow: 0 0 0 .5px rgb(0 0 0 / .05); }
.win h3 { letter-spacing: -.03em; }
#pane-subj { letter-spacing: -.03em; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .win {
    --card: #1C1C1D; --bubble: #29292A; --raised: #363637; --ink: #fff;
    --sub: rgb(255 255 255 / .54); --faint: rgb(255 255 255 / .42); --pill: rgb(255 255 255 / .10); --hair: rgb(255 255 255 / .10);
    background: #1C1C1D;
  }
  :root:not([data-theme="light"]) .win .dock .badge { box-shadow: 0 0 0 2px #1C1C1D; }
  :root:not([data-theme="light"]) .pane { box-shadow: 0 0 0 .5px rgb(255 255 255 / .08); }
}

/* ── the app's own measures (taken from the app at this window size) ── */
.win .r { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 10px 14px 11px 16px; margin: 0 6px; border-radius: 18px; }
.win .r::after { left: 72px; right: 8px; }
.win .r .av { width: 44px; height: 44px; font-size: 15px; }
.win .r .who { font-size: 15px; letter-spacing: -.01em; }
.win .r:not(.read) .who { font-weight: 600; }
.win .r .when { font-size: 13px; }
.win .r .subj { font-size: 14.5px; }
.win .r .prev { font-size: 14px; }
.win .r .who .n { font-size: 13px; }
.win h3 { padding: 6px 24px 10px; font-size: 27px; }
.win .day { padding: 6px 24px 6px; }
.lab { height: 20px; font-size: 12px; }
.pane { padding: 0 24px; }
.pane .tools { margin-right: -6px; gap: 20px; }
.pane .tools .ic { width: 18px; height: 18px; }
.pane h2 { margin: 2px 0 22px; font-size: 26px; }
.pane .from b { font-size: 16px; }
.pane .from b + em { margin-left: 8px; font-style: normal; font-size: 13.5px; color: var(--sub); }
.pane .from small { font-size: 14px; margin-top: 1px; }
.pane .from time { font-size: 13px; align-self: flex-start; margin-top: 3px; }
.pane .body { margin: 22px 0 0 48px; max-width: 462px; font-size: 16.5px; line-height: 23.5px; }
.pane .body p + p { margin-top: 14px; }
.pane .body img { width: min(100%, 460px); aspect-ratio: 780 / 474; margin-top: 18px; }
.pane .field { left: 10px; right: 10px; bottom: 10px; height: 44px; font-size: 14px; }
.pane .lab.top { left: 16px; top: 12px; height: 24px; font-size: 13px; }
@media (max-width: 900px) { .pane .from b + em { display: none; } }

/* ───────── Edition 10: a centered claim, one stage to try, a page to read ─────────
   Later rules here replace the earlier layout where they meet. */

:root { --page: 960px; }
.h .btn--wax, .h .btn--wax.btn--sm { background: var(--ink); color: var(--bg); text-shadow: none; box-shadow: 0 1px 2px rgb(0 0 0 / .12); }
.h .btn--wax::after { display: none; }
.h .btn--wax:hover { background: var(--ink-hover); filter: none; }
.h .btn--quiet { background: transparent; border-color: transparent; color: var(--ink-2); padding-inline: 6px; }
.h .btn--quiet:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.h .btn:focus-visible, .scene-nav button:focus-visible, .sample-reply:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; }

/* the claim, centered */
.h .hello { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 820px; padding-top: clamp(96px, 14vh, 150px); padding-bottom: 40px; }
.h .hello .appicon { margin: 0 auto 22px; }
.h .hello .appicon img { width: 64px; height: 64px; }
.h .hello .claim { font-size: clamp(36px, 4.4vw, 62px); font-weight: 500; line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; }
.h .intro-line { margin: 16px auto 0; max-width: 34em; font-size: 18px; line-height: 1.5; letter-spacing: -.015em; color: var(--ink-2); text-wrap: balance; }
.h .hello .duo { justify-content: center; gap: 12px; margin-top: 26px; }
.h .hello .fine { margin-top: 12px; font-size: 12px; }

/* the stage */
.experience { width: calc(100% - 2 * var(--gutter)); max-width: 1100px; margin: 0 auto; }
.experience .desk { margin: 0; padding: 0; }
.experience .desk::before { display: none; }
.experience .desk .win { max-width: 1020px; margin-inline: auto; }
.experience .piece { zoom: 1; justify-self: center; justify-items: center; width: 100%; max-width: 560px; margin-inline: auto; }
.experience .piece .pal, .experience .piece .sheet, .experience .piece .reply { box-shadow: var(--lift); }
.scene-caption h2 { margin: 0 auto; max-width: 40em; font-size: 19px; font-weight: 500; line-height: 1.4; letter-spacing: -.02em; color: var(--ink); text-align: center; text-wrap: balance; }
.scene-caption h2 span { color: var(--ink-2); font-weight: 400; }
.demo-hint { margin: 10px 0 0; text-align: center; font-size: 11.5px; color: var(--ink-2); }

.scene-nav { position: relative; isolation: isolate; display: flex; gap: 2px; width: max-content; margin: 18px auto 0; padding: 4px; border-radius: 99px; background: var(--soft); }
.scene-nav::before { content: ""; position: absolute; z-index: -1; top: 4px; bottom: 4px; left: var(--x, 4px); width: var(--w, 70px); border-radius: 99px; background: var(--raised); box-shadow: 0 1px 3px rgb(0 0 0 / .1); transition: left .38s var(--ease), width .38s var(--ease); }
.scene-nav button { padding: 7px 16px; border: 0; border-radius: 99px; background: none; font: 500 12.5px/1.2 var(--sans); color: var(--ink-2); cursor: pointer; transition: color .2s; }
.scene-nav button[aria-selected="true"] { color: var(--ink); }
.chapter-copy { display: grid; min-height: 52px; margin-top: 12px; }
.chapter-copy .scene-caption { grid-area: 1 / 1; opacity: 0; translate: 0 6px; transition: opacity .25s, translate .4s var(--ease); }
.chapter-copy .scene-caption.active { opacity: 1; translate: none; }

@media (min-width: 901px) {
  .screens { position: relative; height: 560px; }
  .scene { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px) scale(.99); transition: opacity .3s, transform .5s var(--ease), visibility 0s .5s; pointer-events: none; }
  .scene.active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; pointer-events: auto; }
  /* the inbox stays behind, faint, while a piece is in front of it */
  .scene[data-scene="0"] { visibility: visible; opacity: 1; transform: none; z-index: 0; }
  .screens:not([data-current="0"]) .scene[data-scene="0"] { opacity: .16; transform: scale(.98); }
  .scene:not([data-scene="0"]) { z-index: 1; }
  .scene[data-scene="0"] .desk { width: 100%; }
  .scene[data-scene="0"] .desk .win { height: 520px; }
  .scene[data-scene="0"] .desk .col { min-height: 0; }
  .scene[data-scene="0"] .desk .try { position: absolute; left: 0; right: 0; bottom: -2px; margin: 0; }
  .screens:not([data-current="0"]) .desk .try { visibility: hidden; }
}
@media (max-width: 900px) {
  .scene-nav, .chapter-copy { display: none; }
  .scene + .scene { margin-top: 72px; }
  .scene .scene-caption { margin-top: 22px; }
  .demo-hint { margin-top: 28px; }
  .experience .desk .win { max-width: 520px; }
}
@media (prefers-reduced-motion: reduce) { .scene, .scene-nav::before, .chapter-copy .scene-caption { transition: none; } }

/* the reply goes into an envelope when it's sent */
.reply-wrap { position: relative; isolation: isolate; }
.reply-wrap .reply { transition: opacity .28s, transform .5s var(--ease); transform-origin: 50% 55%; }
.sample-reply { display: block; margin: 14px auto 0; padding: 6px 12px; border: 0; border-radius: 99px; background: none; font: 500 12px/1.2 var(--sans); color: var(--ink-2); cursor: pointer; transition: opacity .2s, background .2s; }
.sample-reply:hover { background: var(--soft); color: var(--ink); }
.delivery { position: absolute; inset: 0 0 36px; z-index: 2; display: grid; place-content: center; justify-items: center; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .35s; }
.letter { position: relative; width: 144px; height: 98px; perspective: 500px; transform: translateY(12px) scale(.78); transition: transform .6s var(--ease); filter: drop-shadow(0 8px 12px rgb(37 35 68 / .1)); }
.letter-base, .letter-sides, .letter-flap { position: absolute; inset: 0; border-radius: 10px; }
.letter-base { background: linear-gradient(145deg, #f7f7fb, #dfe1ef); }
.letter-paper { position: absolute; z-index: 1; inset: 7px 12px 10px; padding: 14px 13px; border-radius: 4px; background: #fff; transform: translateY(-26px); transition: transform .36s var(--ease); }
.letter-paper i { display: block; width: 80%; height: 2px; margin-bottom: 7px; border-radius: 2px; background: #d9d9e0; }
.letter-paper i:last-child { width: 52%; }
.letter-sides { z-index: 2; background: linear-gradient(150deg, #f9f9fc, #e8e9f4); clip-path: polygon(0 0, 50% 56%, 100% 0, 100% 100%, 0 100%); }
.letter-flap { z-index: 3; background: linear-gradient(155deg, #fff, #ebebf7); clip-path: polygon(0 0, 100% 0, 100% 7%, 54% 61%, 50% 64%, 46% 61%, 0 7%); transform-origin: top; transform: rotateX(180deg); transition: transform .34s var(--ease) .18s; }
.letter-seal { position: absolute; z-index: 4; left: calc(50% - 20px); top: 36px; width: 40px; height: 40px; object-fit: contain; opacity: 0; transform: translateY(-9px) scale(1.16); transition: transform .38s cubic-bezier(.18, .85, .28, 1) .52s, opacity .16s .52s; }
.delivery-label { margin: 18px 0 0; font-size: 13px; color: var(--ink); opacity: 0; translate: 0 4px; transition: opacity .3s .65s, translate .3s .65s; }
.reply-wrap:has(.reply.sent) .reply { opacity: 0 !important; transform: scale(.94) translateY(8px) !important; pointer-events: none; }
.reply-wrap:has(.reply.sent) .sample-reply { opacity: 0; pointer-events: none; }
.reply-wrap:has(.reply.sent) .delivery { opacity: 1; visibility: visible; transition-delay: 0s; }
.reply-wrap:has(.reply.sent) :is(.letter, .letter-paper, .letter-flap, .letter-seal) { transform: none; }
.reply-wrap:has(.reply.sent) .letter-seal, .reply-wrap:has(.reply.sent) .delivery-label { opacity: 1; translate: none; }
.reply-wrap .toast { z-index: 5; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .letter { filter: brightness(.82) drop-shadow(0 8px 12px #0008); } }
@media (prefers-reduced-motion: reduce) { .reply-wrap .reply, .delivery, .letter, .letter-paper, .letter-flap, .letter-seal, .delivery-label { transition: none; } }

/* the page to read */
.manifesto { max-width: 640px; margin: clamp(110px, 13vw, 150px) auto clamp(100px, 12vw, 140px); padding: 0 var(--gutter); text-align: center; font-size: clamp(22px, 2.8vw, 32px); font-weight: 500; line-height: 1.36; letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.manifesto p { margin: 0; }
.manifesto p + p { margin-top: 20px; color: var(--ink-2); }
.h .pair { max-width: calc(var(--page) + var(--gutter) * 2); margin-top: 0; gap: 72px; }
.h .pair .say { font-size: clamp(32px, 3.5vw, 48px); }
.h .block { max-width: calc(var(--page) + var(--gutter) * 2); margin-top: clamp(90px, 11vw, 120px); }
.eyebrow { margin: 0 0 16px; font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--ink-2); }
.h .accounts { text-align: center; }
.h .accounts .say { max-width: 26em; margin-inline: auto; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.42; }

.h .purchase { max-width: calc(790px + var(--gutter) * 2); text-align: center; }
.purchase-intro .say { max-width: none; font-size: clamp(34px, 4vw, 48px); }
.purchase-intro > p { max-width: 32em; margin: 14px auto 0; font-size: 15px; line-height: 1.55; }
.license-options { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 44px; text-align: left; }
.license-options article { display: flex; flex-direction: column; align-items: flex-start; padding-top: 22px; border-top: 1px solid var(--line); }
.license-label { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.license-label span { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--ink-2); }
.amount { margin: 16px 0 10px; font-size: 46px; font-weight: 450; line-height: 1.1; letter-spacing: -.05em; color: var(--ink); }
.license-options article > p:not(.amount) { margin: 0 0 22px; min-height: 3.2em; font-size: 14px; line-height: 1.55; }
.license-options .btn { margin-top: auto; }
.h .purchase .fine { margin: 28px auto 0; }

.h .questions { max-width: calc(720px + var(--gutter) * 2); }
.h .questions .say { text-align: center; margin-bottom: 8px; }
.h .questions .faq { margin-inline: auto; }

/* the ending: the seal and the name, nothing more */
.h .ending { min-height: 0; margin-top: clamp(100px, 12vw, 140px); padding: 72px var(--gutter) 88px; background: none; place-items: center; border-top: 1px solid var(--line); }
.h .ending .flap { display: none; }
.h .ending .wax img { width: 80px; height: 80px; }
.h .ending .claim { margin-top: 18px; font-size: clamp(34px, 4vw, 52px); font-weight: 500; letter-spacing: -.045em; }
.h .ending .fine { margin-top: 12px; font-size: 12px; }

@media (max-width: 900px) {
  .h .pair { gap: 28px; }
  .license-options { gap: 22px; }
}
@media (max-width: 560px) {
  .license-options { grid-template-columns: 1fr; }
  .h .intro-line { font-size: 16px; }
  .manifesto { margin: 80px auto; }
}
/* the reply bar, as the app draws it: jump to the latest, a rule, reply, forward */
.pane .field .sep { width: 1px; height: 18px; margin-left: 14px; background: var(--hair); }
.pane .field .sep + .ic { margin-left: 14px; }
@media (min-width: 901px) {
  .scene[data-scene="0"] .desk .win { overflow: hidden; }
  .scene[data-scene="0"] .desk :is(.col, .pane) { min-height: 0; height: 100%; max-height: 100%; overflow: hidden; }
}
@media (min-width: 901px) {
  /* the window at the app's own proportions (1020 × 560), the keys under it */
  .screens { height: 620px; }
  .scene[data-scene="0"] { place-items: start center; }
  .scene[data-scene="0"] .desk .win { height: 560px; }
  .scene[data-scene="0"] .desk .try { bottom: 6px; }
}
.experience .desk .win { transition: opacity .5s .1s var(--ease); }
@media (min-width: 901px) { .screens:not([data-current="0"]) .scene[data-scene="0"] { opacity: .22; } }
@media (min-width: 901px) { .screens:not([data-current="0"]) .scene[data-scene="0"] { opacity: .1; filter: blur(2px); } .scene[data-scene="0"] { transition: opacity .35s, filter .35s, transform .5s var(--ease); } }
.delivery-label { display: none; }
.reply-wrap:has(.reply.sent) .toast { top: calc(50% + 70px); bottom: auto; }
.h .colophon { background: var(--bg); border-top: 1px solid var(--line); }
.js .hello :is(.appicon, .claim, .intro-line, .duo, .fine) { transition-duration: .4s; transition-delay: 0s; }
/* the manifesto fills in as it's read */
.manifesto.filling p, .manifesto.filling p + p { color: inherit; }
.manifesto.filling .mw { color: var(--line-2); transition: color .35s var(--ease); }
.manifesto.filling .mw.lit { color: var(--ink); }
.manifesto.filling p + p .mw.lit { color: var(--ink-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .manifesto.filling .mw:not(.lit) { color: #333331; } }
/* pinned: the stage holds still while the page scrolls through its four scenes */
.experience.pinned { height: calc(100vh + 4 * 60vh); }
.experience.pinned .experience-sticky { position: sticky; top: 64px; height: calc(100vh - 64px); display: flex; flex-direction: column; justify-content: center; }
.experience.pinned .screens { height: min(620px, calc(100vh - 230px)); }
.experience.pinned .scene[data-scene="0"] .desk .win { height: min(560px, calc(100vh - 290px)); }


/* ──────────── */

/* Mailwell's homepage as the app would draw it: the Mac's system font
   (the app's since Nov 16), the app's canvas, cards and raised rows
   (Theme.swift: l0 #ECECEB, cards #FBFBFA, raised #FFF; text black at
   100/56/44%; radii 12 and 22), ink as the one accent, and a sidebar
   whose selected row is the app's soft raised card. The app's pieces
   (window, ⌘K, summary, reply, settings) come from next.css and home.css. */

body.v3 {
  --canvas: #ececeb; --card: #fbfbfa; --raised: #fff; --reader: #f8f8f7;
  --t1: #000; --t2: rgb(0 0 0 / .56); --t3: rgb(0 0 0 / .44);
  --hair: rgb(0 0 0 / .06); --hover: rgb(0 0 0 / .05); --sel: rgb(0 0 0 / .08);
  --accent: #1d1d1f; --on-accent: #fff; --seal: #4a58c8;
  --sys: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", system-ui, "Helvetica Neue", sans-serif;
  --r-lg: 22px; --r-md: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --raise: 0 0 0 .5px rgb(0 0 0 / .06), 0 1px 2px rgb(0 0 0 / .06), 0 4px 10px -4px rgb(0 0 0 / .08);
  background: var(--canvas); color: var(--t2); font: 400 15px/1.5 var(--sys); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body.v3 {
    --canvas: #1c1c1d; --card: #29292a; --raised: #333334; --reader: #29292a;
    --t1: #fff; --t2: rgb(255 255 255 / .54); --t3: rgb(255 255 255 / .42);
    --hair: rgb(255 255 255 / .10); --hover: rgb(255 255 255 / .06); --sel: rgb(255 255 255 / .10);
    --accent: #f5f5f7; --on-accent: #1c1c1d; --seal: #8c9df0;
    --raise: 0 0 0 .5px rgb(255 255 255 / .08), 0 1px 2px rgb(0 0 0 / .3);
  }
}
/* The app's interface is in the system font now; so is everything here,
   the sample window included. */
body.v3, body.v3 :is(*, input, textarea, button) { font-family: var(--sys) !important; }
body.v3::after { display: none; }
.v3 a { color: var(--t1); text-decoration: none; }
.v3 .ic { stroke-width: 1.8; }

/* buttons: the app's ink capsule and its soft gray one */
.v3 .btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 16px; border-radius: 99px; border: 0;
  font: 500 13.5px/1 var(--sys); white-space: nowrap; text-shadow: none; box-shadow: none; transition: opacity .15s, background .15s, transform .15s var(--ease); }
.v3 .btn::after { display: none; }
.v3 .btn:active { transform: scale(.97); }
.v3 .btn .ic { width: 15px; height: 15px; margin: 0; stroke-width: 2; }
.v3 .btn--ink { background: var(--accent); color: var(--on-accent); }
.v3 .btn--ink:hover { opacity: .85; }
.v3 .btn--soft { background: var(--sel); color: var(--t1); }
.v3 .btn--soft:hover { background: rgb(0 0 0 / .11); }
.v3 .btn--sm { height: 30px; padding: 0 12px; font-size: 13px; }
.v3 :is(.btn, .row, .steps button, summary):focus-visible { outline: 2px solid var(--seal); outline-offset: 2px; }

/* the shell: sidebar and content, on the canvas */
.shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }

/* the sidebar */
.side { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; padding: 0 12px 16px; }
.side-head { height: 52px; display: flex; align-items: center; padding-left: 8px; }
.lights { display: flex; gap: 8px; } .lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgb(0 0 0 / .12); }
.lights i:nth-child(2) { background: #febc2e; } .lights i:nth-child(3) { background: #28c840; }
.side-brand { display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px 14px; font: 700 17px/1 var(--sys); letter-spacing: -.02em; color: var(--t1); }
.side-brand i { width: 20px; height: 20px; background: var(--seal); -webkit-mask: url("../media/22ac3092d7.svg") center / contain no-repeat; mask: url("../media/22ac3092d7.svg") center / contain no-repeat; }
.side-new { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px; border-radius: var(--r-md); font: 500 13.5px/1 var(--sys); color: var(--t1); }
.side-new .ic { width: 17px; height: 17px; }
.side-new:hover { background: var(--hover); }
.side-label { margin: 22px 12px 6px; font: 500 12px/1 var(--sys); color: var(--t3); }
.side nav { display: grid; gap: 2px; }
.row { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; border-radius: var(--r-md); font: 400 13.5px/1 var(--sys); color: var(--t1); transition: background .12s; }
.row .ic { width: 17px; height: 17px; color: var(--t2); }
.row b { margin-left: auto; font: 500 11px/1 var(--sys); color: var(--t3); }
.row:hover { background: var(--hover); }
.row[aria-current] { background: var(--raised); box-shadow: var(--raise); }
.row[aria-current] .ic { color: var(--t1); }
.side-foot { margin: auto 12px 0; padding-top: 24px; font-size: 12.5px; line-height: 1.5; color: var(--t3); }
.side-foot a { color: var(--t2); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--hair); }

/* the content: cards on the canvas, as the reader sits on the ground */
.main { min-width: 0; padding: 12px 12px 24px 0; display: grid; gap: 12px; align-content: start; }
.topbar-m { display: none; }
.card { position: relative; padding: 40px clamp(28px, 4vw, 56px) 44px; border-radius: var(--r-lg); background: var(--card); box-shadow: 0 0 0 .5px var(--hair); scroll-margin-top: 12px; }
.card h2 { margin: 0; font: 700 30px/1.15 var(--sys); letter-spacing: -.025em; color: var(--t1); }
.card .sub { margin: 6px 0 0; font-size: 17px; color: var(--t2); }
.v3 .fine { margin: 14px 0 0; font-size: 12.5px; color: var(--t3); }

/* overview */
.hero { padding-top: 22px; padding-bottom: 56px; }
.crumbs { display: flex; gap: 6px; margin-bottom: 56px; font-size: 13.5px; color: var(--t3); }
.crumbs b { font-weight: 500; color: var(--t1); } .crumbs .sep { opacity: .7; }
.hero-icon { display: block; width: 76px; height: 76px; margin-bottom: 22px; filter: drop-shadow(0 8px 14px rgb(30 40 110 / .14)); }
.hero h1 { margin: 0; font: 700 clamp(44px, 5.4vw, 72px)/1.02 var(--sys); letter-spacing: -.035em; color: var(--t1); }
.hero .lede { max-width: 30em; margin: 16px 0 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.45; color: var(--t2); }
.ctas { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }

/* the sample window, on the canvas at the app's size */
.stage-win { padding: 28px 0 8px; }
.v3 .stage-win .desk { margin: 0; padding: 0; }
.v3 .stage-win .desk::before { display: none; }
.v3 .stage-win .desk .win { max-width: 1060px; height: 600px; margin: 0 auto; transform: none; opacity: 1; box-shadow: 0 0 0 .5px rgb(0 0 0 / .14), 0 24px 60px -28px rgb(0 0 0 / .35); }
.v3 .stage-win .desk :is(.col, .pane) { min-height: 0; height: 100%; overflow: hidden; }
.v3 .stage-win .desk .try { margin: 16px 0 0; font-size: 12.5px; color: var(--t3); }

/* how it works: rows like the list's, the piece beside them */
.how-body { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 32px; margin-top: 28px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.steps button { display: grid; grid-template-columns: 36px 1fr; gap: 2px 12px; width: 100%; padding: 14px 14px; border: 0; border-radius: 16px; background: none; text-align: left; cursor: pointer; font: inherit; color: inherit; transition: background .15s; }
.steps button:hover { background: var(--hover); }
.steps button[aria-current] { background: var(--raised); box-shadow: var(--raise); }
.tile { display: grid; place-items: center; grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; background: var(--sel); color: var(--t1); }
.tile .ic { width: 18px; height: 18px; }
.steps .t { font: 600 15px/1.35 var(--sys); color: var(--t1); }
.steps .d { font-size: 13.5px; line-height: 1.45; color: var(--t2); }
.how-stage .frame { position: relative; overflow: hidden; height: 520px; border-radius: 18px; background: var(--canvas); }
.pane-slot { position: absolute; inset: 0; display: grid; place-items: center; padding: 32px; opacity: 0; visibility: hidden; transform: translateY(10px) scale(.99); transition: opacity .3s, transform .5s var(--ease), visibility 0s .5s; }
.pane-slot.active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.v3 .pane-slot .piece { zoom: 1; width: 100%; max-width: 500px; margin: 0; justify-self: center; justify-items: stretch; }
.v3 .pane-slot :is(.pal, .sheet, .reply) { box-shadow: 0 0 0 .5px rgb(0 0 0 / .08), 0 16px 36px -18px rgb(0 0 0 / .3); }
.how.pinned .how-body { height: calc(100vh + 3 * 50vh); }
.how.pinned :is(.steps, .how-stage) { position: sticky; top: 12px; height: calc(100vh - 24px); display: flex; flex-direction: column; justify-content: center; }
.how.pinned .how-stage .frame { height: min(560px, calc(100vh - 120px)); }

/* features: grouped rows, as Settings draws them */
.groups { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.group { border-radius: 16px; background: var(--raised); box-shadow: 0 0 0 .5px var(--hair); overflow: hidden; }
.set-row { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; padding: 16px 18px; }
.set-row + .set-row { box-shadow: inset 0 .5px 0 var(--hair); }
.set-row .tile { grid-row: auto; }
.set-row b { display: block; font: 600 14.5px/1.35 var(--sys); color: var(--t1); }
.set-row span:not(.tile) { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: var(--t2); }

/* privacy */
.privacy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 48px; align-items: start; }
.privacy p:not(.sub):not(.accounts) { margin: 20px 0 0; max-width: 32em; }
.privacy .accounts { margin: 16px 0 0; max-width: 32em; font-size: 14px; color: var(--t2); }
.privacy .accounts b { display: block; margin-bottom: 2px; font-weight: 600; color: var(--t1); }
.v3 .link { display: inline-block; margin-top: 18px; font-weight: 500; font-size: 14px; }
.v3 .link::after { content: " →"; }
.v3 .privacy .piece { zoom: 1; justify-self: stretch; justify-items: stretch; margin-top: 8px; }
.v3 .privacy .settings { box-shadow: 0 0 0 .5px var(--hair); }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; margin-top: 28px; }
.plan { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 24px; border-radius: 18px; background: var(--raised); box-shadow: 0 0 0 .5px var(--hair); }
.plan h3 { margin: 0; font: 600 15px/1.3 var(--sys); color: var(--t1); }
.plan-seal { position: absolute; top: 20px; right: 20px; width: 36px; height: 36px; }
.price { margin: 12px 0 0; font: 700 44px/1 var(--sys); letter-spacing: -.03em; color: var(--t1); }
.plan > p:not(.price) { margin: 12px 0 20px; font-size: 14px; line-height: 1.5; min-height: 3em; }
.plan .btn { margin-top: auto; }

/* questions */
.v3 #faq .faq { max-width: 820px; margin: 18px 0 0; padding: 0; }
.v3 .faq summary { font: 500 15.5px/1.4 var(--sys); color: var(--t1); }
.v3 .faq details p { font-size: 14.5px; line-height: 1.55; color: var(--t2); }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 12px 8px 8px; font-size: 12.5px; color: var(--t3); }
.foot a { color: var(--t2); } .foot nav { display: flex; gap: 18px; }

@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .v3 .btn--soft:hover { background: rgb(255 255 255 / .14); } }

/* a narrow window: the sidebar folds into a bar, as the app hides it */
@media (max-width: 960px) {
  .shell { grid-template-columns: 1fr; }
  .side { display: none; }
  .main { padding: 0 10px 20px; }
  .topbar-m { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 6px; background: color-mix(in srgb, var(--canvas) 85%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .topbar-m .side-brand { padding: 0; }
  .crumbs { margin-bottom: 36px; }
  .how-body, .privacy, .groups, .plans { grid-template-columns: 1fr; }
  .how-stage .frame { height: auto; display: grid; gap: 20px; padding: 16px; }
  .pane-slot { position: static; opacity: 1; visibility: visible; transform: none; padding: 0; }
  .v3 .stage-win .desk .win { max-width: 520px; height: 560px; }
  .v3 .pane-slot .piece { max-width: none; }
}
@media (max-width: 600px) { .card { padding: 22px 18px 28px; } .v3 .stage-win .desk .try { display: none; } }
@media (prefers-reduced-motion: reduce) { .pane-slot { transition: none; } }
.v3 .privacy .accounts { text-align: left; }

/* ───────── v4: Mailwell mini's air ─────────
   No card around everything: big heavy titles straight on the ground,
   grouped rows in soft panels with indented hairlines and small gray
   labels, floating round chrome, the dock at the bottom, gray pills, and
   one ink button per screen. */
body.v4 { --group: #f8f8f7; --pill: #e0e0de; --pill-hover: #d6d6d4; --gutter: clamp(22px, 5vw, 64px); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body.v4 { --group: #29292a; --pill: #3a3a3b; --pill-hover: #444445; } }
.v4 .air { width: min(100% - 2 * var(--gutter), 1080px); margin: 0 auto; padding-bottom: 140px; }

/* floating chrome */
.chrome-top { position: fixed; z-index: 40; inset: 16px var(--gutter) auto; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.chrome-top > * { pointer-events: auto; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 18px 0 14px; border-radius: 99px; background: var(--raised); box-shadow: var(--float); font: 700 16px/1 var(--sys); letter-spacing: -.02em; color: var(--t1); }
.wordmark i { width: 20px; height: 20px; background: var(--seal); -webkit-mask: url("../media/22ac3092d7.svg") center / contain no-repeat; mask: url("../media/22ac3092d7.svg") center / contain no-repeat; }
.pillbar { display: flex; align-items: center; gap: 2px; height: 44px; padding: 0 6px; border-radius: 99px; background: var(--raised); box-shadow: var(--float); }
.pillbar a { display: grid; place-items: center; height: 32px; padding: 0 14px; border-radius: 99px; font: 500 14px/1 var(--sys); color: var(--t1); }
.pillbar a:hover { background: var(--hover); }
body.v4 { --float: 0 0 0 .5px rgb(0 0 0 / .06), 0 2px 6px rgb(0 0 0 / .05), 0 10px 24px -10px rgb(0 0 0 / .18); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body.v4 { --float: 0 0 0 .5px rgb(255 255 255 / .1), 0 10px 24px -10px rgb(0 0 0 / .6); } }

.pagedock { position: fixed; z-index: 40; left: 50%; bottom: 22px; translate: -50% 0; display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 99px; background: var(--raised); box-shadow: var(--float); }
.dock-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--t1); transition: background .15s; }
.dock-btn .ic { width: 21px; height: 21px; }
.dock-btn:hover { background: var(--hover); }
.dock-btn[aria-current] { background: var(--sel); }
.dock-go { display: grid; place-items: center; width: 52px; height: 52px; margin-left: 6px; border-radius: 50%; background: var(--accent); color: var(--on-accent); transition: transform .15s var(--ease); }
.dock-go .ic { width: 22px; height: 22px; stroke-width: 2.1; }
.dock-go:active { transform: scale(.94); }

/* the hero: a title like the list's, very large */
.v4 .hero { padding: clamp(140px, 20vh, 200px) 0 0; }
.v4 .hero-icon { width: 84px; height: 84px; margin-bottom: 26px; }
.v4 .hero h1 { font: 800 clamp(56px, 8vw, 112px)/.95 var(--sys); letter-spacing: -.045em; }
.v4 .hero .lede { max-width: 26em; margin-top: 22px; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.42; color: var(--t2); }
.v4 .ctas { gap: 10px; margin-top: 32px; }
.v4 .btn { height: 44px; padding: 0 20px; font-size: 15px; }
.v4 .btn--pill { background: var(--pill); color: var(--t1); }
.v4 .btn--pill:hover { background: var(--pill-hover); }

/* the window */
.v4 .stage-win { padding: 72px 0 0; }
.v4 .stage-win .desk .win { max-width: none; }

/* sections: a heavy title and a gray line, on the ground */
.sec { margin-top: clamp(120px, 14vw, 180px); scroll-margin-top: 80px; }
.v4 .hero { scroll-margin-top: 0; }
.sec h2 { margin: 0; font: 800 clamp(40px, 4.6vw, 60px)/1 var(--sys); letter-spacing: -.04em; color: var(--t1); }
.sec .sub { margin: 10px 0 0; font-size: clamp(17px, 1.5vw, 20px); color: var(--t2); }
.glabel { margin: 40px 0 10px 22px; font: 400 14px/1 var(--sys); color: var(--t2); }
.group { border-radius: 26px; background: var(--group); overflow: hidden; }
.grow { display: grid; grid-template-columns: 26px 1fr; gap: 16px; align-items: start; padding: 18px 22px; position: relative; }
.grow + .grow::before, .plan-row + .plan-row::before { content: ""; position: absolute; top: 0; right: 22px; left: 64px; height: .5px; background: rgb(0 0 0 / .1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) :is(.grow + .grow, .plan-row + .plan-row)::before { background: rgb(255 255 255 / .1); } }
.grow > .ic { width: 22px; height: 22px; margin-top: 1px; color: var(--t1); stroke-width: 1.7; }
.grow b { display: block; font: 500 16px/1.35 var(--sys); color: var(--t1); }
.grow span { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.45; color: var(--t2); }
.v4 .groups { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.v4 .groups > .glabel:nth-of-type(2) { grid-column: 2; grid-row: 1; }
.v4 .groups > .group:nth-of-type(2) { grid-column: 2; grid-row: 2; }

/* how it works */
.v4 .how-body { margin-top: 40px; gap: 40px; }
.v4 .steps button[aria-current] { background: var(--group); box-shadow: none; }
.v4 .tile { border-radius: 50%; background: var(--raised); box-shadow: var(--float); }
.v4 .how-stage .frame { border-radius: 28px; background: var(--group); }
.v4 .how.pinned :is(.steps, .how-stage) { top: 0; height: 100vh; }

/* privacy */
.v4 .privacy { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 56px; }
.v4 .privacy .glabel { margin-top: 8px; }
.v4 .privacy .settings { box-shadow: none; border-radius: 26px; background: var(--group); }
.v4 .privacy-copy > p:not(.sub) { margin: 22px 0 0; max-width: 32em; font-size: 16px; }
.v4 .privacy .works { font-size: 15px; text-align: left; }
.v4 .privacy .works b { display: block; color: var(--t1); font-weight: 600; margin-bottom: 2px; }

/* pricing: rows with a gray pill each */
.plans { max-width: 820px; }
.plan-row { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 20px 22px; }
.plan-row b { display: block; font: 600 17px/1.3 var(--sys); color: var(--t1); }
.plan-row span { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.45; color: var(--t2); }
.plan-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--raised); box-shadow: var(--float); color: var(--t1); }
.plan-mark .ic { width: 18px; height: 18px; }
.plan-mark.seal { background: none; box-shadow: none; }
.amt { margin: 0; font: 700 28px/1 var(--sys); letter-spacing: -.03em; color: var(--t1); }
.plan-row .btn { height: 36px; padding: 0 18px; font-size: 14px; }
.v4 #pricing > .fine { margin-left: 22px; }

/* questions */
.v4 #faq .faq { max-width: 820px; margin: 0; padding: 0 22px; }
.v4 #faq .faq details + details::before { left: 0; }

/* the closer */
.closer { text-align: center; display: flex; flex-direction: column; align-items: center; }
.closer-seal { width: 64px; height: 64px; margin-bottom: 22px; }
.closer .ctas { justify-content: center; }

.v4 .foot { margin-top: 120px; padding: 0 4px; }

@media (max-width: 900px) {
  .v4 .groups, .v4 .privacy, .v4 .how-body { grid-template-columns: 1fr; }
  .v4 .groups > .glabel:nth-of-type(2), .v4 .groups > .group:nth-of-type(2) { grid-column: auto; grid-row: auto; }
  .pillbar a:not(:last-child) { display: none; }
  .plan-row { grid-template-columns: 36px minmax(0, 1fr) auto; }
  .plan-row .btn { grid-column: 2 / -1; justify-self: start; }
  .v4 .stage-win .desk .win { max-width: 520px; }
}
@media (max-width: 600px) {
  .dock-btn { width: 40px; height: 40px; }
  .dock-go { width: 46px; height: 46px; }
  .wordmark { height: 40px; } .pillbar { height: 40px; }
  .chrome-top { inset: 12px 14px auto; }
}
.v4 .dock-go { color: var(--on-accent); }
/* the dock waits until the sample window (with its own dock) has gone by */
.pagedock { transition: opacity .3s, translate .45s var(--ease), visibility 0s .45s; }
body.v4:not(.dock-on) .pagedock { opacity: 0; visibility: hidden; translate: -50% 16px; }
body.v4.dock-on .pagedock { transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .pagedock { transition: none; } }

.v4 .plans { display: block; }


/* ──────────── */

/* Mailwell — light, with purposeful motion. */
body.v4 { --ease:cubic-bezier(.22,1,.36,1); --gutter:clamp(22px,6vw,80px); }
:root:not([data-theme="dark"]) body.v4 { --canvas:#fcfcfb; --group:#f5f5f4; --pill:#efefee; --pill-hover:#e7e7e5; --t1:#242526; --t2:#68696c; --t3:#797a7d; --float:0 0 0 1px #2222220b,0 3px 12px #22222208,0 8px 28px #22222206; }
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]) body.v4 {--canvas:#1c1c1d;--group:#252526;--pill:#353536;--pill-hover:#414142;--t1:#f3f3f4;--t2:#b4b4ba;--t3:#a0a0a6;--float:0 0 0 1px #ffffff12,0 5px 24px #0003;}}
.v4 .air {width:min(calc(100% - 2 * var(--gutter)),1000px);padding-bottom:100px}
.v4 .hero {padding:124px 0 0;text-align:center;display:flex;flex-direction:column;align-items:center}
.v4 .hero-icon {width:80px;height:80px;margin:0 auto 23px;filter:none}
.v4 .hero h1 {font-size:clamp(48px,6.4vw,76px);font-weight:560;line-height:1.04;letter-spacing:-.058em}
.v4 .hero .lede {font-size:19px;line-height:1.6;max-width:34em;margin:16px auto 0;text-wrap:balance}
.v4 .hero .ctas {justify-content:center;margin:25px 0 0;gap:13px}
.v4 .hero .fine {margin:13px 0 0;font-size:12px}
.v4 .hero .btn--pill {background:transparent;padding-inline:12px;color:var(--t2)}
.v4 .hero .btn--pill:hover {background:var(--hover);color:var(--t1)}
.chrome-top {inset:18px max(var(--gutter),calc((100vw - 1000px)/2)) auto}
.wordmark,.pillbar {height:40px;background:color-mix(in srgb,var(--raised) 82%,transparent);backdrop-filter:blur(18px) saturate(120%);-webkit-backdrop-filter:blur(18px) saturate(120%)}
.wordmark {font-weight:600;letter-spacing:-.035em}.wordmark i{width:17px;height:17px}
.pillbar a {font-size:13px;font-weight:450}
.v4 .stage-win {padding:54px 0 0}
.v4 .stage-win .desk .win {max-width:1000px;height:566px;box-shadow:0 0 0 1px var(--hair),0 12px 36px -20px #24263626,0 40px 80px -54px #25294038;border-radius:24px}
.v4 .stage-win .desk .try {margin-top:19px;text-align:center}
.v4 .sec {margin-top:clamp(100px,12vw,152px)}
.v4 .sec h2 {font-size:clamp(34px,4.3vw,49px);font-weight:570;letter-spacing:-.052em;line-height:1.12}
.v4 .sec .sub {font-size:18px;line-height:1.55;margin-top:12px;max-width:37em}
.v4 .how-body {gap:48px;grid-template-columns:minmax(0,320px) minmax(0,1fr);margin-top:33px}
.v4 .steps {position:relative;gap:8px;isolation:isolate}
.v4 .steps button {position:relative;z-index:1;padding:17px 14px;transition:color .2s,opacity .2s,transform .22s var(--ease);background:none!important;box-shadow:none!important}
.v4 .steps button:active {transform:scale(.985)}
.v4 .steps .t {font-weight:550;font-size:16px}.v4 .steps .d {font-size:14px;line-height:1.55}
.v4 .tile {box-shadow:none;background:var(--raised);border:1px solid var(--hair)}
.mw-indicator {position:absolute;z-index:0;left:0;right:0;top:0;border-radius:18px;background:var(--group);pointer-events:none;transition:transform .48s var(--ease),height .48s var(--ease);}
.v4 .how-stage .frame {background:var(--group);border-radius:30px;height:480px;box-shadow:none}
.v4 .pane-slot {transition:opacity .26s ease,transform .44s var(--ease),visibility 0s .44s;transform:translateY(12px) scale(.985)}
.v4 .pane-slot.active {transform:none;transition-delay:0s}
.v4 .pane-slot :is(.pal,.sheet,.reply) {box-shadow:0 0 0 1px var(--hair),0 16px 40px -26px #22253435}
.v4 .group {border-radius:20px;box-shadow:none;background:transparent;border:0}
.v4 .grow {padding:20px 8px;gap:13px}.v4 .grow+.grow:before {left:47px;right:0;background:var(--hair)}
.v4 .grow b {font-weight:550}.v4 .grow span {font-size:14.5px;line-height:1.6}
.v4 .glabel {margin-left:8px;font-weight:500;font-size:12px;letter-spacing:.01em}
.v4 .groups {gap:0 52px}.v4 .privacy {gap:64px}
.v4 #pricing .plans {max-width:none;border-top:1px solid var(--hair);border-bottom:1px solid var(--hair);border-radius:0}
.v4 .plan-row {padding:25px 6px;gap:19px}.v4 .plan-row+.plan-row:before{left:61px;right:0;background:var(--hair)}
.v4 .amt {font-weight:570;font-size:30px;letter-spacing:-.04em}.v4 .plan-mark {box-shadow:none;background:var(--group)}
.v4 #pricing>.fine {margin-left:6px}.v4 #faq .faq {max-width:none;padding:0;border-top:1px solid var(--hair);border-radius:0}
.v4 .faq summary {padding-block:19px}.v4 .faq details[open] p {line-height:1.65}
.v4 .closer {border-top:1px solid var(--hair);padding-top:86px}.v4 .closer-seal{width:55px;height:55px}
.v4 .foot {margin-top:95px;padding-top:22px;border-top:1px solid var(--hair)}
.v4 .pagedock {background:color-mix(in srgb,var(--raised) 86%,transparent);backdrop-filter:blur(24px) saturate(130%);-webkit-backdrop-filter:blur(24px) saturate(130%);padding:5px;bottom:18px}
.v4 .dock-btn {width:42px;height:42px;transition:background .2s,transform .25s var(--ease)}.v4 .dock-go {width:46px;height:46px}.v4 .dock-btn:active {transform:scale(.94)}
.v4 :is(.btn,.pillbar a,.wordmark) {transition:background .2s,color .2s,box-shadow .3s var(--ease),transform .25s var(--ease)}
.v4 .btn:hover {transform:translateY(-1px)}.v4 .btn:active {transform:scale(.97)}
@keyframes mw-arrival {from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:no-preference){
.v4.mw-ready .hero>picture {animation:mw-arrival .74s var(--ease) both}
.v4.mw-ready .hero>h1 {animation:mw-arrival .72s .08s var(--ease) both}
.v4.mw-ready .hero>.lede {animation:mw-arrival .72s .15s var(--ease) both}
.v4.mw-ready .hero>.ctas {animation:mw-arrival .72s .22s var(--ease) both}
.v4.mw-ready .hero>.fine {animation:mw-arrival .72s .27s var(--ease) both}
.v4.mw-ready .stage-win {animation:mw-arrival .85s .17s var(--ease) both}
.mw-reveal {animation:mw-arrival .65s var(--ease) both}
}
@media(max-width:960px){.v4 .how-body {grid-template-columns:1fr;gap:20px}.v4 .how-stage .frame {height:500px;display:block;position:relative;padding:0}.v4 .pane-slot {position:absolute;opacity:0;visibility:hidden;padding:20px}.v4 .pane-slot.active {opacity:1;visibility:visible}.v4 .groups {grid-template-columns:1fr;gap:0}.v4 .groups>.glabel,.v4 .groups>.group {grid-column:auto!important;grid-row:auto!important}.v4 .privacy{grid-template-columns:1fr;gap:30px}.v4 .stage-win .desk .win{max-width:520px}}
@media(max-width:600px){.v4 .hero{padding-top:106px}.v4 .hero-icon{width:70px;height:70px}.v4 .hero .lede{font-size:17px}.v4 .hero .ctas{gap:5px}.v4 .stage-win{padding-top:37px}.v4 .stage-win .desk .win{height:520px}.v4 .how-stage .frame{height:450px}.v4 .pane-slot{padding:12px}.v4 .sec{margin-top:90px}.v4 .foot{gap:16px}.v4 .foot nav{flex-wrap:wrap;gap:12px}.v4 .pagedock{gap:1px}.v4 .dock-btn{width:38px;height:38px}.v4 .dock-go{width:42px;height:42px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}.v4 .pane-slot{transform:none!important}}

/* ──────────── */

/* Edition: quiet precision. Site layer only; app UI and commerce preserved. */
body.v4 {--gutter:clamp(24px,5.4vw,88px);--ease:cubic-bezier(.22,.8,.22,1);--fast:160ms;--medium:320ms;--slow:650ms;}
@media(prefers-color-scheme:light){:root:not([data-theme="dark"]) body.v4{--canvas:#fff;--group:#f6f6f7;--t1:#202124;--t2:#606166;--t3:#707177;--hair:#20212412;--sel:#2021240d;--hover:#20212408;--float:0 0 0 1px #2021240b,0 6px 24px #20212408}}
.v4 .air{width:min(calc(100% - 2 * var(--gutter)),1120px);padding-bottom:110px}
.v4 .chrome-top{inset:16px max(var(--gutter),calc((100vw - 1120px)/2)) auto;}
.v4 .wordmark,.v4 .pillbar{box-shadow:none;background:transparent;backdrop-filter:none;transition:background .3s,box-shadow .3s;}
.v4.mw-scrolled .wordmark,.v4.mw-scrolled .pillbar{background:color-mix(in srgb,var(--raised) 88%,transparent);backdrop-filter:blur(24px) saturate(130%);box-shadow:var(--float)}
.v4 .wordmark{padding-left:5px;font-size:15px}.v4 .pillbar a{font-size:14px;padding-inline:16px}.v4 .pillbar a:last-child{background:var(--sel)}
.v4 .hero{padding-top:108px}.v4 .hero-icon{width:72px;height:72px;margin-bottom:22px}.v4 .hero h1{font-size:clamp(52px,6.6vw,84px);font-weight:520;letter-spacing:-.065em;line-height:1.03}
.v4 .hero .lede{max-width:32em;font-size:clamp(17px,1.4vw,20px);line-height:1.55;margin-top:17px}.v4 .hero .ctas{margin-top:27px}.v4 .hero .fine{font-size:12px;margin-top:14px}
.v4 .btn{height:44px;padding-inline:19px;font-weight:500;letter-spacing:-.015em}.v4 .btn--ink{box-shadow:inset 0 1px 0 #ffffff16,0 2px 4px #0000000c}.v4 .btn--ink:hover{opacity:1;background:color-mix(in srgb,var(--accent) 85%,var(--canvas))}
.v4 .stage-win{padding-top:54px}.v4 .stage-win .desk .win{max-width:1060px;border-radius:22px;box-shadow:0 0 0 1px var(--hair),0 3px 8px #171b2a08,0 24px 64px -32px #171b2a36;height:580px}.v4 .stage-win .desk .try{margin-top:25px;color:var(--t3)}
.v4 .sec{margin-top:clamp(104px,12vw,164px)}.v4 .sec h2{font-size:clamp(34px,4.1vw,52px);font-weight:510;letter-spacing:-.055em;line-height:1.1}.v4 .sec .sub{font-size:19px;line-height:1.55;margin-top:13px}.v4 .how-body{grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:56px;margin-top:42px;align-items:center}.v4 .how-stage .frame{height:490px;border-radius:26px;background:var(--group);box-shadow:inset 0 0 0 1px var(--hair)}
.v4 .steps button{padding:19px 15px;grid-template-columns:36px 1fr;gap:5px 13px}.v4 .steps .tile{background:transparent;border:none}.v4 .steps .t{font-size:16px;font-weight:550}.v4 .steps .d{font-size:14px;line-height:1.6}.v4 .mw-indicator{border-radius:19px;transition:transform .4s var(--ease),height .4s var(--ease)}
.v4 .pane-slot{transform:translateY(7px) scale(.992);transition:opacity .24s ease,transform .46s var(--ease),visibility 0s .46s}.v4 .pane-slot.active{transform:none;transition-delay:0s}
.v4 .groups{column-gap:68px;margin-top:34px}.v4 .grow{padding:23px 3px;gap:15px}.v4 .grow b{font-weight:550;font-size:16px}.v4 .grow span{font-size:15px;line-height:1.6}.v4 .glabel{font-size:12px;margin-left:3px;letter-spacing:.015em}.v4 .privacy{align-items:center;gap:80px}.v4 .privacy .settings{border:1px solid var(--hair);border-radius:24px}
.v4 #pricing,.v4 #faq{max-width:840px;margin-inline:auto}.v4 .plan-row{padding-block:29px}.v4 .plan-row .btn{height:38px}.v4 .amt{font-weight:520}.v4 .faq summary{padding-block:22px}.v4 .closer{margin-top:140px;padding-top:100px}.v4 .foot{margin-top:90px}.v4 .pagedock{box-shadow:0 0 0 1px var(--hair),0 8px 30px #181b2614;bottom:20px;isolation:isolate}.v4 .dock-btn[aria-current]{background:transparent}.mw-dock-marker{position:absolute;top:5px;left:0;border-radius:50%;background:var(--sel);pointer-events:none;z-index:-1;transition:transform .37s var(--ease),width .37s var(--ease),height .37s var(--ease)}
.v4 a:focus-visible,.v4 button:focus-visible{outline:2px solid var(--seal);outline-offset:3px}.v4 .btn:active{transform:scale(.975)}
@keyframes mw-soft-arrival{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:no-preference){.v4.mw-ready .hero>picture{animation:mw-soft-arrival .68s var(--ease) both}.v4.mw-ready .hero>h1{animation:mw-soft-arrival .68s .055s var(--ease) both}.v4.mw-ready .hero>.lede{animation:mw-soft-arrival .68s .11s var(--ease) both}.v4.mw-ready .hero>.ctas{animation:mw-soft-arrival .68s .165s var(--ease) both}.v4.mw-ready .hero>.fine{animation:mw-soft-arrival .68s .22s var(--ease) both}.v4.mw-ready .stage-win{animation:mw-soft-arrival .82s .15s var(--ease) both}.mw-reveal{animation:mw-soft-arrival .65s var(--ease) both}}
@media(max-width:960px){.v4 .how-body{grid-template-columns:1fr;gap:24px}.v4 .privacy{grid-template-columns:1fr;gap:32px}.v4 .groups{grid-template-columns:1fr;gap:0}.v4 .stage-win .desk .win{max-width:520px}.v4 .how-stage .frame{height:480px}}
@media(max-width:600px){.v4 .chrome-top{inset:12px 16px auto}.v4 .hero{padding-top:99px}.v4 .hero-icon{width:64px;height:64px}.v4 .hero .lede{font-size:17px}.v4 .stage-win{padding-top:40px}.v4 .stage-win .desk .win{height:520px;border-radius:20px}.v4 .sec{margin-top:92px}.v4 .how-stage .frame{height:440px}.v4 .plan-row{gap:12px;padding-block:22px}.v4 .closer{padding-top:72px}.v4 .foot{margin-top:65px}}
@media(prefers-reduced-motion:reduce){.mw-dock-marker{transition:none!important}}

/* ──────────── */

/* Still: smaller gestures, honest typography, fewer surfaces. */
body.v4.still{--gutter:clamp(22px,5vw,72px);--ease:cubic-bezier(.2,.75,.2,1)}
.still.v4 .air{max-width:1120px;padding-bottom:48px}
.still.v4 .chrome-top{position:absolute;inset:22px max(var(--gutter),calc((100vw - 1050px)/2)) auto}
.still.v4.mw-scrolled .wordmark,.still.v4.mw-scrolled .pillbar{background:transparent;box-shadow:none;backdrop-filter:none}
.still.v4 .pillbar a:last-child{background:transparent}.still.v4 .pillbar a:hover{background:var(--sel)}
.still.v4 .pagedock{display:none!important}
.still.v4 .hero{padding-top:111px}.still.v4 .hero-icon{width:78px;height:78px;margin-bottom:19px}
.still.v4 .hero h1{font-size:clamp(49px,5.4vw,72px);letter-spacing:-.058em;font-weight:500;line-height:1.05}
.still.v4 .hero .lede{font-size:20px;line-height:1.5;margin-top:15px;color:var(--t2)}
.still.v4 .hero .ctas{margin-top:25px;gap:12px}.still.v4 .hero .fine{margin-top:12px;font-size:12px}
.still.v4 .quiet-buy{background:transparent;box-shadow:none;color:var(--t2);padding-inline:12px}.still.v4 .quiet-buy:hover{color:var(--t1);background:var(--sel)}
.still.v4 .stage-win{padding-top:48px}.still.v4 .stage-win .desk .win{max-width:1000px;border-radius:22px;box-shadow:0 0 0 1px var(--hair),0 3px 12px #171b2a08,0 30px 70px -36px #171b2a42;height:560px}
.still.v4 .stage-win .desk .try{font-size:12px;margin-top:19px}
.still.v4 .sec{margin-top:118px}.still.v4 .sec h2{font-size:clamp(29px,3vw,40px);font-weight:500;letter-spacing:-.045em;line-height:1.15}.still.v4 .sec .sub{font-size:17px;margin-top:10px}
.still.v4 #how{max-width:1000px;margin-inline:auto}.still.v4 .how-body{margin-top:32px;gap:32px;grid-template-columns:minmax(0,300px) minmax(0,1fr)}.still.v4 .how-stage .frame{border-radius:24px;height:440px;box-shadow:none;background:color-mix(in srgb,var(--group) 70%,var(--canvas))}
.still.v4 .steps button{padding:16px 12px}.still.v4 .steps .t{font-weight:500}.still.v4 .steps .d{font-size:14px}.still.v4 .mw-indicator{border-radius:14px;background:var(--sel)}
.still.v4 #features{max-width:760px;margin:74px auto 0;text-align:left}.still.v4 #features h2{font-size:21px;letter-spacing:-.025em;margin-bottom:13px}.essentials{border-top:1px solid var(--hair);border-bottom:1px solid var(--hair)}.essentials>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;padding:17px 0;font-size:15px;color:var(--t2)}.essentials>summary::-webkit-details-marker{display:none}.essentials>summary:after{content:'+';font-size:22px;font-weight:400}.essentials[open]>summary:after{content:'−'}.still.v4 .essentials .groups{margin:0 0 20px;column-gap:28px}.still.v4 .essentials .group{background:none;box-shadow:none}.still.v4 .essentials .grow{padding:14px 0}
.still.v4 .privacy{max-width:760px;margin-inline:auto;display:block;border-top:1px solid var(--hair);padding-top:60px}.still.v4 .privacy>div:not(.privacy-copy){display:none}.still.v4 .privacy-copy{max-width:630px}.still.v4 .privacy-copy p{font-size:16px;line-height:1.7}.still.v4 .privacy-copy .works{font-size:14px;color:var(--t2)}
.still.v4 #pricing,.still.v4 #faq{max-width:760px}.still.v4 #pricing .plans,.still.v4 #faq .faq{background:transparent;box-shadow:none;border-radius:0;border-top:1px solid var(--hair);border-bottom:1px solid var(--hair);margin-top:24px}.still.v4 .plan-row{padding:24px 0}.still.v4 .faq summary{padding:18px 0}.still.v4 .closer{padding-top:54px;margin-top:100px;border-top:1px solid var(--hair)}.still.v4 .closer-seal{width:46px;height:46px}.still.v4 .foot{margin-top:64px}
/* Motion is localized to actions, not reading. */
.still.v4 .mw-reveal{animation:none}.still.v4 .pane-slot{transform:translateY(4px);transition:opacity .2s ease,transform .34s var(--ease),visibility 0s .34s}.still.v4 .pane-slot.active{transform:none;transition-delay:0s}
@media(prefers-reduced-motion:no-preference){.still.v4.mw-ready .hero>picture,.still.v4.mw-ready .hero>h1,.still.v4.mw-ready .hero>.lede,.still.v4.mw-ready .hero>.ctas,.still.v4.mw-ready .hero>.fine{animation:mw-soft-arrival .5s var(--ease) both}.still.v4.mw-ready .stage-win{animation:mw-soft-arrival .65s .09s var(--ease) both}}
@media(max-width:960px){.still.v4 .how-body{grid-template-columns:1fr;gap:24px}.still.v4 .stage-win .desk .win{max-width:520px}.still.v4 .how-stage .frame{height:460px}}
@media(max-width:600px){.still.v4 .chrome-top{inset:13px 16px auto}.still.v4 .hero{padding-top:99px}.still.v4 .hero-icon{width:65px;height:65px}.still.v4 .hero .lede{font-size:17px}.still.v4 .hero .ctas{gap:3px}.still.v4 .stage-win{padding-top:36px}.still.v4 .stage-win .desk .win{height:520px}.still.v4 .sec{margin-top:86px}.still.v4 .how-stage .frame{height:440px}.still.v4 .privacy{padding-top:38px}.still.v4 .closer{margin-top:80px}}
@media(prefers-reduced-motion:reduce){.still.v4 .pane-slot{transition:none!important}}

/* ──────────── */

/* Postmark: a small world for the product. */
.postmark.v4.still .air{max-width:1260px;padding-inline:clamp(18px,4vw,58px)}
.postmark.v4.still .hero{position:relative;padding-top:106px;padding-bottom:0;max-width:850px;margin:auto}
.postmark.v4.still .hero h1{font-size:clamp(48px,6.8vw,92px);font-weight:550;letter-spacing:-.071em;line-height:.99;max-width:760px;margin:0 auto;text-wrap:balance}
.postmark.v4.still .hero .lede{font-size:clamp(17px,1.8vw,22px);margin-top:24px;letter-spacing:-.025em}
.postmark.v4.still .hero .ctas{margin-top:24px}.postmark.v4.still .hero .fine{margin-top:12px}
.stamp-button{display:inline-grid;place-items:center;background:none;border:0;padding:0;cursor:pointer;position:relative;transform:rotate(-9deg);transition:transform .55s cubic-bezier(.2,1.5,.5,1);margin-bottom:22px}
.postmark.v4.still .stamp-button .hero-icon{width:92px;height:92px;margin:0;display:block}.stamp-button:hover{transform:rotate(4deg) translateY(-5px) scale(1.05)}.stamp-button:active{transform:rotate(0) scale(.92)}
.little-note{position:absolute;z-index:25;top:205px;left:50%;width:min(310px,90vw);transform:translateX(-50%) rotate(-3deg);background:#fffdf7;color:#25232b;padding:28px 30px;text-align:left;border:1px solid #e5dfd7;border-radius:5px;box-shadow:0 18px 50px #3129442c;animation:note-open .5s cubic-bezier(.2,.8,.2,1) both}.little-note[hidden]{display:none}.little-note p{font-size:24px;letter-spacing:-.04em;line-height:1.2;margin:12px 0 0}.note-label{font-size:11px;color:#777;letter-spacing:.02em}.note-close{position:absolute;right:7px;top:5px;border:0;background:none;font-size:22px;color:#555;cursor:pointer}@keyframes note-open{from{opacity:0;transform:translate(-50%,-30px) rotate(7deg) scale(.88)}to{opacity:1;transform:translateX(-50%) rotate(-3deg) scale(1)}}
.postmark.v4.still .stage-win{position:relative;margin:56px auto 0;padding:22px 48px 26px;border-radius:36px;isolation:isolate;background:#e5e7ff;overflow:hidden;max-width:1150px;transition:background .65s ease}
.postmark.v4.still .stage-win:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 8% 10%,#fff9 0,transparent 65%),radial-gradient(ellipse at 98% 95%,#8795e94a 0,transparent 65%)}
.postmark.v4.still .stage-win[data-scene=peach]{background:#f6dfd3}.postmark.v4.still .stage-win[data-scene=mint]{background:#dcece2}.postmark.v4.still .stage-win[data-scene=peach]:before,.postmark.v4.still .stage-win[data-scene=mint]:before{background:radial-gradient(ellipse at 8% 10%,#fff9,transparent 70%)}
.scene-top{display:flex;align-items:center;justify-content:space-between;margin:0 0 22px;font-size:12px;color:#46445c;letter-spacing:-.01em}.scene-top>span{display:flex;align-items:center;gap:7px}.scene-top i{width:6px;height:6px;border-radius:50%;background:#7277c8}.scene-colors{display:flex;gap:9px;background:#ffffff65;padding:6px 9px;border-radius:30px}.scene-colors button{width:18px;height:18px;border-radius:50%;border:1px solid #0001;cursor:pointer;transition:transform .25s,box-shadow .25s;background:#b6b9ee}.scene-colors button:nth-child(2){background:#ecc2aa}.scene-colors button:nth-child(3){background:#a8ceb5}.scene-colors button[aria-pressed=true]{box-shadow:0 0 0 2px white,0 0 0 3px #53536977;transform:scale(.9)}.scene-colors button:hover{transform:scale(1.17)}
.postmark.v4.still .stage-win .desk .win{height:550px;box-shadow:0 0 0 1px #4c4f7322,0 8px 20px #37345016,0 30px 65px -22px #32305550;border-radius:19px;margin:auto}.postmark.v4.still .stage-win .desk .try{color:#4b4863;margin:20px auto 0}.postmark.v4.still .stage-win .kbd{background:#ffffff80;color:#49465d}
.postmark.v4.still .sec{margin-top:132px}.postmark.v4.still .how-stage .frame{background:color-mix(in srgb,#dfe6f4 42%,var(--canvas));border-radius:30px}.postmark.v4.still #how h2{font-size:clamp(34px,4vw,54px);letter-spacing:-.06em}.postmark.v4.still .closer{border:0;padding:70px 24px;background:color-mix(in srgb,#e4e4ff 45%,var(--canvas));border-radius:32px}.postmark.v4.still .closer-seal{width:66px;height:66px;transition:transform .5s cubic-bezier(.2,1.5,.5,1)}.postmark.v4.still .closer-seal:hover{transform:rotate(12deg) scale(1.08)}
@media(prefers-reduced-motion:no-preference){.postmark.mw-ready .stamp-button{animation:stamp-in .8s cubic-bezier(.2,1.3,.4,1) both}.postmark.v4.still.mw-ready .stage-win{animation:scene-in .95s .13s cubic-bezier(.2,.85,.2,1) both}@keyframes stamp-in{from{opacity:0;transform:translateY(-18px) rotate(-24deg) scale(.85)}to{opacity:1;transform:rotate(-9deg)}}@keyframes scene-in{from{opacity:0;transform:translateY(24px) scale(.985)}to{opacity:1;transform:none}}}
@media(max-width:960px){.postmark.v4.still .stage-win{padding:18px 24px 22px}.postmark.v4.still .stage-win .desk .win{height:535px}}@media(max-width:600px){.postmark.v4.still .hero{padding-top:98px}.postmark.v4.still .hero h1{font-size:53px}.postmark.v4.still .stamp-button .hero-icon{width:72px;height:72px}.postmark.v4.still .stage-win{margin-top:40px;padding:14px 9px 19px;border-radius:24px}.scene-top{padding:0 7px;font-size:10px;margin-bottom:14px}.postmark.v4.still .stage-win .desk .win{height:490px}.postmark.v4.still .sec{margin-top:88px}.postmark.v4.still .stage-win .desk .try{font-size:10px}.little-note{top:170px}}
@media(prefers-reduced-motion:reduce){.postmark .stamp-button,.postmark .little-note,.postmark .stage-win,.postmark .scene-colors button{animation:none!important;transition:none!important}}

/* ──────────── */

/* Letterpress: intentionally small, tactile, product-led. */
body.letterpress{--ease:cubic-bezier(.22,.82,.22,1)}
.letterpress.postmark.v4.still .air{max-width:1060px;padding-inline:clamp(18px,4vw,48px)}
.letterpress.postmark.v4.still .chrome-top{inset:24px max(24px,calc((100vw - 960px)/2)) auto}
.letterpress.postmark.v4.still .hero{padding-top:88px;max-width:720px}
.letterpress.postmark.v4.still .hero h1{font-size:clamp(43px,5.5vw,68px);font-weight:550;letter-spacing:-.06em;line-height:1.08;max-width:700px}
.letterpress.postmark.v4.still .hero .lede{font-size:19px;margin-top:12px;letter-spacing:-.018em}
.letterpress.postmark.v4.still .stamp-button{margin-bottom:18px;transform:rotate(-5deg);animation:none;transition:transform .45s var(--ease)}
.letterpress.postmark.v4.still .stamp-button .hero-icon{width:76px;height:76px}
.letterpress.postmark.v4.still .stamp-button:hover{transform:rotate(3deg) translateY(-3px)}
.letterpress.postmark.v4.still .stamp-button:active{transform:rotate(0) scale(.94)}
.stamp-hint{position:absolute;left:calc(100% + 12px);top:46%;white-space:nowrap;font-size:12px;letter-spacing:-.01em;color:var(--t2);transform:rotate(5deg) translateX(-4px);opacity:0;transition:opacity .25s,transform .4s var(--ease);pointer-events:none}
.stamp-button:hover .stamp-hint,.stamp-button:focus-visible .stamp-hint{opacity:1;transform:rotate(5deg) translateX(0)}
.letterpress.postmark.v4.still .hero .ctas{margin-top:20px;gap:8px}.letterpress.postmark.v4.still .hero .fine{margin-top:11px}
.letterpress.postmark.v4.still .stage-win{margin-top:42px;padding:15px 25px 18px;border-radius:25px;background:#eeedf5;overflow:visible;max-width:970px}
.letterpress.postmark.v4.still .stage-win:before{border-radius:inherit;background:radial-gradient(ellipse at 10% 0%,#fff8,transparent 75%)}
.letterpress.postmark.v4.still .stage-win[data-scene=peach]{background:#f3e7de}.letterpress.postmark.v4.still .stage-win[data-scene=mint]{background:#e4eee7}
.letterpress .scene-top{font-size:12px;margin:0 3px 13px;color:#65616c;letter-spacing:0}.letterpress .scene-colors{background:transparent;padding:4px;gap:10px}.letterpress .scene-colors button{width:13px;height:13px}
.letterpress.postmark.v4.still .stage-win .desk .win{height:510px;border-radius:17px;box-shadow:0 0 0 1px #37344e16,0 3px 9px #37344e0c,0 18px 42px -21px #37344e42}
.letterpress.postmark.v4.still .stage-win .desk .try{margin-top:13px;color:#686472}
.letterpress.postmark.v4.still .sec{margin-top:104px}.letterpress.postmark.v4.still #how{max-width:920px}.letterpress.postmark.v4.still #how h2{font-size:38px;letter-spacing:-.045em}
.letterpress.postmark.v4.still .how-body{gap:24px;margin-top:28px;grid-template-columns:minmax(0,270px) minmax(0,1fr)}
.letterpress.postmark.v4.still .how-stage .frame{background:color-mix(in srgb,var(--group) 75%,var(--canvas));border-radius:22px}
.letterpress.postmark.v4.still .closer{background:none;border-top:1px solid var(--hair);border-radius:0;max-width:760px;margin-inline:auto;padding:52px 0 0}
.letterpress.postmark.v4.still .closer-seal{width:48px;height:48px}.letterpress .little-note{top:150px;border-radius:9px;box-shadow:0 12px 36px #31294424}
@media(prefers-reduced-motion:no-preference){.letterpress.postmark.v4.still.mw-ready .stage-win{animation:letterpress-arrive .7s .08s var(--ease) both}@keyframes letterpress-arrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}}
@media(max-width:960px){.letterpress.postmark.v4.still .how-body{grid-template-columns:1fr}.letterpress.postmark.v4.still .stage-win{padding:14px 16px 16px}.letterpress.postmark.v4.still .stage-win .desk .win{height:520px}}
@media(max-width:600px){.letterpress.postmark.v4.still .chrome-top{inset:13px 16px auto}.letterpress.postmark.v4.still .hero{padding-top:96px}.letterpress.postmark.v4.still .hero h1{font-size:45px}.letterpress.postmark.v4.still .hero .lede{font-size:17px}.letterpress.postmark.v4.still .stamp-button .hero-icon{width:64px;height:64px}.letterpress.postmark.v4.still .stage-win{padding:12px 8px 16px;margin-top:32px;border-radius:20px}.letterpress.postmark.v4.still .stage-win .desk .win{height:490px}.letterpress.postmark.v4.still .sec{margin-top:80px}.letterpress .stamp-hint{display:none}}
@media(prefers-reduced-motion:reduce){.letterpress .stamp-hint,.letterpress .stamp-button{transition:none!important;animation:none!important}}

/* ── Page-wide ── */
html, body { overflow-x: clip; }
/* The page clips sideways, so main can let the light and the dark room run full width. */
body main.air { overflow: visible; }
.sec h2 m, .vault h2 m { color: var(--t3); opacity: .75; }

/* ── Page-wide, from the /next draft ── */
/* The main button is pressed from the seal's ink: one quiet light, no grain. */
body.letterpress .btn.btn--wax {
  background: linear-gradient(#5669d0, #4a5cc0); color: #fff; border: 0;
  box-shadow: inset 0 0 0 .5px rgb(31 40 102 / .4), inset 0 1px 0 rgb(255 255 255 / .2), 0 6px 14px -9px rgb(49 62 144 / .5);
  transition: filter .2s, transform .2s var(--ease), box-shadow .2s;
}
body.letterpress .btn.btn--wax .ic { color: #fff; }
@media (hover: hover) { body.letterpress .btn.btn--wax:hover { filter: brightness(1.07); } }
body.letterpress .btn.btn--wax:active { transform: scale(.97); }
/* A link can say a second thing under the pointer. */
.swap .lbl { display: inline-grid; position: relative; }
.swap .lbl > span { transition: opacity .25s var(--ease), filter .25s var(--ease), translate .35s var(--ease); }
.swap .lbl-b { position: absolute; inset: 0 -40px; display: grid; place-items: center; opacity: 0; filter: blur(3px); translate: 8px 0; white-space: nowrap; }
@media (hover: hover) {
  .swap:hover .lbl-a, .swap:focus-visible .lbl-a { opacity: 0; filter: blur(3px); translate: -8px 0; }
  .swap:hover .lbl-b, .swap:focus-visible .lbl-b { opacity: 1; filter: none; translate: none; }
}
@media (prefers-reduced-motion: reduce) { .swap .lbl > span { transition: opacity .15s; filter: none !important; translate: none !important; } }
/* The version beside What's new, as the app's About shows it. */
.pillbar .ver { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 99px; background: var(--sel, rgb(0 0 0 / .06)); font-size: 11.5px; line-height: 18px; font-variant-numeric: tabular-nums; color: var(--t2); }
/* What's new and its version sit on one line; on a phone the bar keeps only Buy, as before. */
body.letterpress .pillbar a { white-space: nowrap; }
body.letterpress .pillbar a:has(.ver) { display: inline-flex; flex-direction: row; align-items: center; }
@media (max-width: 900px) { body.letterpress .pillbar a:not(:last-child) { display: none; } }
/* The dock comes back: once the sample window has scrolled away it's the
   page's way around and its Download (how-steps.js toggles dock-on). */
body.letterpress.still.v4 .pagedock { display: flex !important; }
body.letterpress .pagedock .dock-go { background: linear-gradient(#5669d0, #4a5cc0); color: #fff; box-shadow: inset 0 0 0 .5px rgb(31 40 102 / .4), inset 0 1px 0 rgb(255 255 255 / .2); }
