/* Paiir, 2026-10-28. Black, calm and premium: big pictures, few words, lots of space (brand kit DESIGN.md).
   Tokens come straight from the kit's tokens.css; everything else is built on them. */
:root {
  --bg: #000000;
  --band: #171717;
  --surface: #1F1F1F;
  --surface-2: #262626;
  --surface-3: #2C2C2C;
  --line: #2E2E2E;
  --line-2: #3A3A3A;
  --text: #FFFFFF;
  --text-2: #CDCDCD;
  --text-3: #9B9B9B;
  --button-2: #3A3A3A;
  --accent: #1A73E8;
  --ok: #3DD68C;

  --font: "Google Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: 104px;
  --h1: 44px;
  --hero: 64px;
  --band-title: 64px;
  --cta-title: 48px;
  --section: 26px;
  --prompt: 28px;
  --card-title: 19px;
  --lead: 22px;
  --body: 16px;
  --meta: 15px;
  --small: 14px;

  /* corners, one scale by role (owner 2026-11-05: "think like apple design corner radius"): an inner corner is always
     a step smaller than the one around it */
  --r-tag: 8px;
  --r-tile: 12px;
  --r-pop: 16px;
  --r-card: 22px;
  --r-panel: 28px;
  --r-image: var(--r-card);
  --r-input: var(--r-panel);
  --r-pill: 999px;

  --gutter: 64px;
  --section-gap: 150px;
  --max: 1440px;
  --header: 72px;
  /* the bar on top of every page and the round corners the page makes under it (owner 2026-11-05) */
  --bar: #141414;
  --bar-r: 20px;

  /* motion: long, soft exits ("like butter"); nothing snaps */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t-fast: .2s;
  --t: .45s;
  --t-slow: .9s;
}
@media (max-width: 900px) {
  :root { --gutter: 20px; --section-gap: 96px; --display: 56px; --h1: 32px; --hero: 40px; --band-title: 40px; --cta-title: 34px; --lead: 18px; --prompt: 24px; }
}
/* phones get their own scale, so a heading never fills the screen (owner, 2026-10-30: "congested on phone") */
@media (max-width: 640px) {
  :root { --section-gap: 88px; --display: 44px; --h1: 29px; --hero: 36px; --band-title: 34px; --cta-title: 30px; --section: 24px; --card-title: 18px; --lead: 17px; --prompt: 22px; }
}
@media (max-width: 380px) {
  :root { --h1: 27px; --hero: 32px; --band-title: 30px; --cta-title: 28px; --section: 23px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: var(--body); line-height: 1.55; letter-spacing: 0.01em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: #FFFFFF; color: #000000; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: var(--r-pill); font-weight: 500; transition: top var(--t) var(--ease); }
.skip:focus { top: 12px; }

/* menus and dialogs hold the page still underneath. Only on html: overflow on body too makes body the sticky header's
   scroller, so on a page scrolled down the header (and the phone menu's close button) jumps off the top of the screen */
html.is-locked { overflow: hidden; }

/* page to page: a soft cross-fade (browsers that support it), the header stays put */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease) both; }
::view-transition-group(header) { animation: none; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- small parts ---------- */
.meta { display: flex; flex-wrap: wrap; column-gap: 14px; row-gap: 2px; font-size: var(--meta); font-weight: 500; line-height: 1.4; }
.meta > * + * { color: var(--text-3); }
.meta--grey > * { color: var(--text-3); }

.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border: 0; border-radius: var(--r-pill); font-size: 15px; font-weight: 500; line-height: 1; white-space: nowrap; background: var(--surface); color: var(--text); transition: background-color var(--t-fast) ease, color var(--t-fast) ease, transform var(--t-fast) var(--ease), box-shadow var(--t-fast) ease; -webkit-tap-highlight-color: transparent; }
.pill:active { transform: scale(.97); }
.pill--dark { background: var(--surface); }
.pill--dark:hover { background: var(--surface-3); }
.pill--light { background: var(--text); color: var(--bg); }
.pill--light:hover { background: #E6E6E6; }
.pill--quiet { background: var(--button-2); }
.pill--quiet:hover { background: #474747; }
.pill--outline { background: transparent; box-shadow: inset 0 0 0 1px #4A4A4A; height: 42px; }
.pill--outline:hover { box-shadow: inset 0 0 0 1px #8A8A8A; }
.pill--lg { height: 48px; padding: 0 24px; font-size: 16px; }
.pill[disabled], .pill[aria-busy="true"] { opacity: .6; pointer-events: none; }
.pill svg { flex: none; }
.arrow { width: 11px; height: 11px; transition: transform var(--t) var(--ease); }
a:hover > .arrow, button:hover > .arrow { transform: translate(1.5px, -1.5px); }
.chev { width: 10px; height: 10px; transition: transform var(--t) var(--ease); }

/* a text link with a line that draws in */
.link { position: relative; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--t) var(--ease); }
.link:hover::after { transform: scaleX(1); transform-origin: left; }
.link .arr { transition: transform var(--t) var(--ease); }
.link:hover .arr { transform: translateX(3px); }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip { height: 34px; padding: 0 14px; display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: var(--r-pill); background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); font-size: 14px; font-weight: 500; white-space: nowrap; transition: box-shadow var(--t-fast) ease, color var(--t-fast) ease, background-color var(--t-fast) ease; }
.chip:hover { box-shadow: inset 0 0 0 1px #5A5A5A; color: var(--text); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--text); color: var(--bg); box-shadow: none; }

/* ---------- header ---------- */
/* owner 2026-11-05 ("make header fixed and below that round corner from both side, like the admin dashboard, same
   for all the pages"): a solid bar on every page; the page under it has round top corners at both sides. The bar
   draws the corners (two small caps), so they stay round while the page scrolls under, as in the app. */
.header { position: sticky; top: 0; z-index: 60; background: var(--bar); view-transition-name: header; }
.header__cap { position: absolute; top: 100%; z-index: 1; width: var(--bar-r); height: var(--bar-r); pointer-events: none; }
.header__cap--l { left: 0; background: radial-gradient(circle at 100% 100%, transparent calc(var(--bar-r) - .5px), var(--bar) var(--bar-r)); }
.header__cap--r { right: 0; background: radial-gradient(circle at 0 100%, transparent calc(var(--bar-r) - .5px), var(--bar) var(--bar-r)); }
/* owner 2026-11-05 ("make the header like this", notion's): logo left, the menu in the middle, Log in and Get started
   right. The side columns share what is left; if the right one needs more, the menu moves over rather than overlap. */
.header__bar { height: var(--header); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.header__left { grid-column: 1; display: flex; align-items: center; min-width: 0; }
.header__bar > .nav { grid-column: 2; }
.header__bar > .header__right { grid-column: 3; justify-self: end; }
.brand { display: inline-flex; align-items: center; height: 40px; }
.brand img { height: 22px; width: auto; }
.nav { display: flex; gap: 32px; align-items: center; font-size: 15px; font-weight: 500; }
.nav__item { position: relative; display: inline-flex; align-items: center; height: var(--header); transition: color var(--t-fast) ease; }
.nav:hover .nav__item, .nav.is-open .nav__item { color: var(--text-3); }
.nav .nav__item:hover, .nav .nav__item.is-on, .nav .nav__item[aria-expanded="true"], .nav .nav__item:focus-visible { color: var(--text); }
.nav__item.is-here::after { content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 1px; background: var(--text-3); }
/* Search: a quiet pill after the menus, the magnifier and the word */
.nav__search { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 15px 0 12px; margin-left: -6px; border: 0; background: none; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); font: inherit; cursor: pointer; transition: background-color var(--t-fast) ease, color var(--t-fast) ease, box-shadow var(--t-fast) ease; }
.nav__search svg { width: 16px; height: 16px; flex: none; }
.nav__search:hover, .nav__search:focus-visible { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px transparent; }
.header__right { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; flex-direction: column; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: var(--r-pill); background: var(--surface); }
.menu-btn i { display: block; width: 16px; height: 1.6px; background: var(--text); border-radius: 2px; transition: transform var(--t) var(--ease), opacity var(--t-fast) ease; }
.menu-btn i + i { margin-top: 5px; }
.menu-open .menu-btn i:first-child { transform: translateY(3.3px) rotate(45deg); }
.menu-open .menu-btn i:last-child { transform: translateY(-3.3px) rotate(-45deg); }

/* the big menu panels under the bar (like openai.com): slide open, links rise in */
.mega { position: absolute; left: 0; right: 0; top: var(--header); z-index: 59; background: var(--bar); display: grid; grid-template-rows: 0fr; transition: grid-template-rows .36s var(--ease), box-shadow .3s ease; pointer-events: none; }
.mega.is-open { grid-template-rows: 1fr; pointer-events: auto; box-shadow: 0 1px 0 var(--line); }
/* owner 2026-11-05: the menu that drops from the bar ends in the same round corners as the page under the bar */
.mega { border-radius: 0 0 var(--bar-r) var(--bar-r); overflow: hidden; }
.mega.is-open { box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .8); }
.mega__clip { overflow: hidden; }
.mega__panel { display: none; }
.mega__panel.is-on { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; padding: 40px var(--gutter) 56px; max-width: var(--max); margin: 0 auto; }
.mega__label { color: var(--text-3); font-size: 14px; font-weight: 500; margin-bottom: 18px; }
.mega__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; row-gap: 6px; align-content: start; }
.mega__link { display: block; padding: 10px 0; opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .45s var(--ease); }
.mega__link b { display: block; font-size: 22px; font-weight: 500; letter-spacing: -0.006em; line-height: 1.25; transition: color var(--t-fast) ease; }
.mega__link span { display: block; margin-top: 2px; color: var(--text-3); font-size: 14px; }
.mega__links:hover .mega__link b { color: var(--text-3); }
.mega__links .mega__link:hover b, .mega__links .mega__link:focus-visible b { color: var(--text); }
.mega.is-open .mega__panel.is-on .mega__link { opacity: 1; transform: none; }
.mega__panel.is-on .mega__link:nth-child(2) { transition-delay: .02s; }
.mega__panel.is-on .mega__link:nth-child(3) { transition-delay: .04s; }
.mega__panel.is-on .mega__link:nth-child(4) { transition-delay: .06s; }
.mega__panel.is-on .mega__link:nth-child(5) { transition-delay: .08s; }
.mega__feature { display: flex; flex-direction: column; gap: 14px; opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease) .05s, transform .5s var(--ease) .05s; }
.mega.is-open .mega__feature { opacity: 1; transform: none; }
.mega__feature .media { aspect-ratio: 16 / 10; }
.mega__feature b { font-size: 17px; font-weight: 500; }
.scrim { position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s linear .45s; }
.scrim.is-on { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }

/* Log in menu and the account menu */
.drop { position: relative; }
.drop__menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 240px; padding: 8px; border-radius: var(--r-pop); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right; transition: opacity .25s var(--ease), transform .4s var(--ease), visibility 0s linear .4s; z-index: 70; }
.drop.is-open .drop__menu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .4s var(--ease); }
.drop.is-open .chev { transform: rotate(180deg); }
.drop__menu a, .drop__menu button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 11px 14px; border: 0; border-radius: var(--r-tile); background: none; font-size: 15px; font-weight: 500; text-align: left; transition: background-color var(--t-fast) ease; }
.drop__menu a:hover, .drop__menu button:hover { background: var(--surface-3); }
.drop__head { padding: 10px 14px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.drop__head b { display: block; font-weight: 500; }
.drop__head span { display: block; color: var(--text-3); font-size: 14px; overflow: hidden; text-overflow: ellipsis; }
.avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--button-2); display: grid; place-items: center; font-size: 12px; font-weight: 500; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.acct .pill { padding-left: 7px; }

/* ---------- phone menu: the whole screen, calm ---------- */
.sheet-nav { position: fixed; inset: var(--header) 0 0 0; z-index: 58; background: var(--bg); display: flex; flex-direction: column; padding: 8px var(--gutter) calc(20px + env(safe-area-inset-bottom)); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .6s var(--ease), visibility 0s linear .6s; overflow-y: auto; overscroll-behavior: contain; }
.menu-open .sheet-nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .6s var(--ease); }
.sheet-nav__group { border-bottom: 1px solid var(--line); }
.sheet-nav__top { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 0; border: 0; background: none; font-size: 24px; font-weight: 500; letter-spacing: -0.006em; text-align: left; }
.sheet-nav__top .chev { width: 14px; height: 14px; }
.sheet-nav__group.is-open .chev { transform: rotate(180deg); }
.sheet-nav__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.sheet-nav__group.is-open .sheet-nav__more { grid-template-rows: 1fr; }
.sheet-nav__more > div { overflow: hidden; }
.sheet-nav__more a { display: block; padding: 8px 0; color: var(--text-2); font-size: 17px; }
.sheet-nav__more a:last-child { margin-bottom: 16px; }
.sheet-nav__group, .sheet-nav__foot { opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .6s var(--ease); }
.menu-open .sheet-nav__group, .menu-open .sheet-nav__foot { opacity: 1; transform: none; }
.menu-open .sheet-nav__group:nth-child(2) { transition-delay: .04s; }
.menu-open .sheet-nav__group:nth-child(3) { transition-delay: .08s; }
.menu-open .sheet-nav__group:nth-child(4) { transition-delay: .12s; }
.menu-open .sheet-nav__group:nth-child(5) { transition-delay: .16s; }
.menu-open .sheet-nav__foot { transition-delay: .2s; }
.sheet-nav__foot { margin-top: auto; padding-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sheet-nav__foot .pill { height: 48px; }
html.menu-open { overflow: hidden; }

/* ---------- search (header magnifier, "/" or Ctrl+K) ---------- */
.search { position: fixed; inset: 0; z-index: 80; display: flex; justify-content: center; align-items: flex-start; padding: 14vh 20px 20px; background: rgba(0, 0, 0, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s linear .35s; }
.search.is-on { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.search__box { width: min(680px, 100%); transform: translateY(14px) scale(.985); transition: transform .6s var(--ease); }
.search.is-on .search__box { transform: none; }
.search .ask { width: 100%; }
.search__links { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.search__links a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 15px; font-weight: 500; transition: color var(--t-fast) ease; }
.search__links a:hover { color: var(--text); }
.search__links a span { color: var(--text-3); }
.search__label { margin-top: 30px; color: var(--text-3); font-size: 14px; font-weight: 500; }
.search__close { position: absolute; top: 16px; right: max(20px, calc((100vw - var(--max)) / 2 + var(--gutter))); }

/* ---------- the ask box ---------- */
.ask { position: relative; width: min(640px, 100%); min-height: 104px; border-radius: var(--r-input); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); padding: 18px 16px 14px 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; text-align: left; transition: box-shadow var(--t) ease, background-color var(--t) ease; }
.ask:focus-within { box-shadow: inset 0 0 0 1px #4A4A4A, 0 0 0 6px rgba(255, 255, 255, .04); }
.ask textarea { all: unset; display: block; width: 100%; min-height: 24px; max-height: 160px; font-size: 16px; line-height: 1.5; color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; resize: none; field-sizing: content; }
.ask textarea::placeholder { color: transparent; }
.ask__ph { position: absolute; left: 22px; top: 18px; right: 64px; color: #8A8A8A; font-size: 16px; line-height: 1.5; pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .25s ease; }
.ask__ph::after { content: ""; display: inline-block; width: 1px; height: 1.05em; margin-left: 1px; vertical-align: -2px; background: #8A8A8A; animation: caret 1.1s steps(1) infinite; }
.ask.has-text .ask__ph { opacity: 0; }
.ask__send { all: unset; align-self: flex-end; width: 34px; height: 34px; border-radius: var(--r-pop); background: var(--button-2); display: grid; place-items: center; cursor: pointer; transition: background-color var(--t-fast) ease, transform var(--t-fast) var(--ease); }
.ask.has-text .ask__send { background: var(--text); }
.ask.has-text .ask__send path { stroke: #000; }
.ask__send:active { transform: scale(.92); }
.ask__send:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
@keyframes caret { 50% { opacity: 0; } }

/* the reply under the ask box: grows open, words arrive one after another */
.reply { width: min(640px, 100%); display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); text-align: left; }
.reply.is-on { grid-template-rows: 1fr; }
.reply > div { overflow: hidden; }
.reply__in { padding: 22px 4px 4px; display: flex; flex-direction: column; gap: 16px; }
.reply__you { align-self: flex-end; max-width: 80%; padding: 9px 14px; border-radius: var(--r-pop); background: var(--surface); color: var(--text-2); font-size: 15px; }
.reply__text { font-size: 17px; line-height: 1.55; color: var(--text); }
.reply__text .w { opacity: 0; filter: blur(4px); animation: word .5s var(--ease) forwards; }
.reply__go { display: flex; flex-wrap: wrap; gap: 8px; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.reply__go.is-on { opacity: 1; transform: none; }
@keyframes word { to { opacity: 1; filter: none; } }

/* the Paiir mark that wakes up as Pip (brand/mascots/pip) while it thinks: the hollow pip and the solid pip slide
   into Pip's two eyes, the frame thins to Pip's line, a smile draws in; Pip looks up while thinking and hops when done */
.buddy { width: 54px; height: 54px; overflow: visible; }
.buddy * { transform-box: fill-box; }
.buddy__body { transform-origin: 50% 100%; }
.buddy__frame { transition: stroke-width .6s var(--ease); }
.buddy__ring, .buddy__eye { transform-origin: center; transition: transform .7s var(--ease); }
.buddy__smile { stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .6s var(--ease) .25s; }
.buddy__dots circle { opacity: 0; }
.buddy.is-awake .buddy__frame { stroke-width: 6; }
.buddy.is-awake .buddy__ring { transform: translate(4.5px, 10.5px) scale(.74); }
.buddy.is-awake .buddy__eye { transform: translate(-4.5px, -22.5px) scale(.8); }
.buddy.is-awake .buddy__smile { stroke-dashoffset: 0; }
.buddy.is-thinking .buddy__body { animation: b-look 3s ease-in-out infinite; }
.buddy.is-thinking .buddy__dots circle { animation: b-dots 1.4s infinite; }
.buddy.is-thinking .buddy__dots circle:nth-child(2) { animation-delay: .2s; }
.buddy.is-thinking .buddy__dots circle:nth-child(3) { animation-delay: .4s; }
.buddy.is-happy .buddy__body { animation: b-hop 1.2s cubic-bezier(.3, 0, .3, 1) 2; }
@keyframes b-look { 0%, 15%, 100% { transform: none; } 30%, 85% { transform: translate(3px, -4px); } }
@keyframes b-hop { 0%, 100% { transform: none; } 45% { transform: translateY(-7px); } }
@keyframes b-dots { 0%, 10% { opacity: 0; transform: translateY(3px); } 30%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ---------- pictures ---------- */
.media { position: relative; border-radius: var(--r-image); overflow: hidden; background: #111; isolation: isolate; }
.media > img, .media > video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
a:hover .media > img, a:focus-visible .media > img { transform: scale(1.03); }
.media--sq { aspect-ratio: 1 / 1; }
.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 4 / 5; }
.media__words { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 6%; font-size: var(--display); font-weight: 500; letter-spacing: -0.022em; line-height: 1; color: #fff; pointer-events: none; }
.media__words--center { justify-content: center; text-align: center; }
.media--ink .media__words { color: #0B0B0C; }
.media__title { position: absolute; inset: 0; display: grid; place-items: center; font-size: 40px; font-weight: 500; letter-spacing: -0.018em; color: #fff; text-align: center; padding: 0 20px; }
.media__title--dark { color: #0B0B0C; }

/* ---------- home: prompt + featured ---------- */
.prompt { padding: 132px 0 170px; display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.prompt h1 { font-size: var(--prompt); font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
.prompt .buddy { margin-bottom: -8px; }

.featured { display: grid; grid-template-columns: minmax(0, 3.1fr) minmax(0, 1fr); column-gap: 32px; align-items: start; }
.lead { display: flex; flex-direction: column; gap: 22px; }
.lead h2 { font-size: var(--h1); font-weight: 500; letter-spacing: -0.022em; line-height: 1.14; }
.side { display: flex; flex-direction: column; gap: 56px; }
.card { display: flex; flex-direction: column; gap: 18px; }
.card__title { font-size: var(--card-title); font-weight: 500; letter-spacing: -0.004em; line-height: 1.38; text-wrap: balance; }
.card__text { color: var(--text-2); font-size: 15px; line-height: 1.6; }

/* a product moment drawn in the page (not a stock picture) */
.moment { position: absolute; inset: 0; background: #F6F6F6; color: #111; padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; font-size: 13px; line-height: 1.4; }
.moment__me { align-self: flex-end; background: #E9E9E9; border-radius: var(--r-pop); padding: 8px 13px; max-width: 86%; }
.moment__label { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; color: #555; }
.moment__card { background: #fff; border-radius: var(--r-pop); padding: 13px; display: flex; flex-direction: column; gap: 9px; box-shadow: 0 0 0 1px #ECECEC; max-width: 88%; }
.moment__who { display: flex; align-items: center; gap: 9px; font-weight: 500; }
.moment__dot { width: 28px; height: 28px; border-radius: var(--r-tile); background: #111; color: #fff; display: grid; place-items: center; flex: none; }
.moment__sub { color: #6B6B6B; font-size: 12px; font-weight: 500; }
.moment__book { align-self: flex-start; background: var(--accent); color: #fff; border-radius: var(--r-tile); padding: 6px 12px; font-weight: 500; }
.moment > * { opacity: 0; transform: translateY(8px); }
.moment.is-in > * { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .7s var(--ease); }
.moment.is-in > *:nth-child(2) { transition-delay: .35s; }
.moment.is-in > *:nth-child(3) { transition-delay: .7s; }
.moment.is-in > *:nth-child(4) { transition-delay: 1s; }
.no-js .moment > * { opacity: 1; transform: none; }

/* ---------- sections ---------- */
main { display: block; }
.stack { display: flex; flex-direction: column; gap: var(--section-gap); }
.section { display: flex; flex-direction: column; gap: 44px; }
.section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.section__head h2 { font-size: var(--section); font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; }
.section__head p { margin-top: 8px; color: var(--text-2); font-size: 16px; }
.section__head > a, .section__head .link { font-size: 15px; font-weight: 500; white-space: nowrap; }
/* on phones a link that does not fit beside the heading goes under it, instead of squeezing the words into a column */
@media (max-width: 640px) { .section__head { flex-wrap: wrap; row-gap: 14px; } }


.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid3 .card { gap: 0; }
.grid3 .card__title { margin-top: 22px; }
.grid3 .card__text { margin-top: 8px; }
.grid3 .meta { margin-top: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

/* a row that scrolls sideways (drag, wheel or the arrows) */
.row { position: relative; }
.row__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding-bottom: 4px; }
.row__track::-webkit-scrollbar { display: none; }
.row__track > * { scroll-snap-align: start; }
.row__track .card { gap: 0; }
.row__track .card__title { margin-top: 22px; }
.row__track .card__text { margin-top: 6px; }
.row__track .meta { margin-top: 14px; }
.row__track.is-drag { scroll-snap-type: none; cursor: grabbing; }
.row__track.is-drag a { pointer-events: none; }
.arrows { display: flex; gap: 8px; }
.arrows button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--surface); display: grid; place-items: center; transition: background-color var(--t-fast) ease, opacity var(--t-fast) ease; }
.arrows button:hover { background: var(--surface-3); }
.arrows button[disabled] { opacity: .35; cursor: default; }

/* ---------- the one full-width band ---------- */
.band { background: var(--band); padding: 128px var(--gutter) 136px; display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.band h2 { margin-top: 8px; font-size: var(--band-title); font-weight: 500; letter-spacing: -0.025em; line-height: 1.09; }
.band > p { font-size: var(--lead); line-height: 1.45; color: var(--text-2); max-width: 640px; }
.band__cards { margin-top: 52px; width: 100%; max-width: 1080px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; text-align: left; }
.band__card { background: var(--surface-2); border-radius: var(--r-card); padding: 28px 26px 34px; display: flex; flex-direction: column; gap: 12px; min-height: 220px; transition: background-color var(--t) ease, transform var(--t) var(--ease); }
a.band__card:hover { background: var(--surface-3); }
.band__card h3 { margin-top: 16px; font-size: 18px; font-weight: 500; letter-spacing: 0; }
.band__card > h3:first-child { margin-top: 0; } /* cards with no picture above the title */
.band__card p { color: var(--text-2); font-size: 15px; line-height: 1.55; }
.band__card .link { margin-top: auto; padding-top: 14px; font-size: 15px; }

/* ---------- closing ---------- */
.closing { background: var(--surface); border-radius: var(--r-image); padding: 72px 24px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.closing h2 { font-size: var(--cta-title); font-weight: 500; letter-spacing: -0.022em; line-height: 1.14; }
.closing p { color: var(--text-2); font-size: 17px; max-width: 520px; }
.closing__go { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }

/* ---------- inner pages ---------- */
.hero { padding: 120px 0 96px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.hero h1 { font-size: var(--hero); font-weight: 500; letter-spacing: -0.025em; line-height: 1.08; max-width: 960px; }
.hero > p, .hero__lead { font-size: var(--lead); line-height: 1.45; color: var(--text-2); max-width: 640px; }
.hero__go { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.hero--left { align-items: flex-start; text-align: left; }
.hero--left .hero__go { justify-content: flex-start; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split__text { display: flex; flex-direction: column; gap: 18px; max-width: 520px; }
.split__text h2 { font-size: 40px; font-weight: 500; letter-spacing: -0.022em; line-height: 1.14; }
.split__text p { color: var(--text-2); font-size: 18px; line-height: 1.55; }

.title-lg { font-size: var(--h1); font-weight: 500; letter-spacing: -0.022em; line-height: 1.14; }
.lead-text { font-size: var(--lead); line-height: 1.45; color: var(--text-2); }
.muted { color: var(--text-3); }

/* steps that play in order */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line); counter-increment: step; }
.step::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--text); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease); }
.steps.is-in .step::before { transform: scaleX(1); }
.steps.is-in .step:nth-child(2)::before { transition-delay: .25s; }
.steps.is-in .step:nth-child(3)::before { transition-delay: .5s; }
.steps.is-in .step:nth-child(4)::before { transition-delay: .75s; }
/* numbers as dice, like the logo: its frame, the first pip hollow and the rest solid (owner, 2026-10-30 for the steps;
   2026-10-31: "wherever number is there like 1, 2, 3 use this type of design numbering"). One face per number; a die
   stops at six, so from 7 the same rounded square holds the number. .step__n in the steps, .die for one number
   (ui.js die()), and a .dice list numbers its own items. */
:root {
  --die-1: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='12 12 76 76'%3E%3Crect x='16' y='16' width='68' height='68' rx='18' fill='none' stroke='%23000' stroke-width='7.6'/%3E%3Ccircle cx='50' cy='50' r='10' fill='none' stroke='%23000' stroke-width='5'/%3E%3C/svg%3E");
  --die-2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='12 12 76 76'%3E%3Crect x='16' y='16' width='68' height='68' rx='18' fill='none' stroke='%23000' stroke-width='7.6'/%3E%3Ccircle cx='36' cy='36' r='7.5' fill='none' stroke='%23000' stroke-width='4.2'/%3E%3Ccircle cx='64' cy='64' r='8.5'/%3E%3C/svg%3E");
  --die-3: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='12 12 76 76'%3E%3Crect x='16' y='16' width='68' height='68' rx='18' fill='none' stroke='%23000' stroke-width='7.6'/%3E%3Ccircle cx='34' cy='34' r='7.5' fill='none' stroke='%23000' stroke-width='4.2'/%3E%3Ccircle cx='50' cy='50' r='8.5'/%3E%3Ccircle cx='66' cy='66' r='8.5'/%3E%3C/svg%3E");
  --die-4: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='12 12 76 76'%3E%3Crect x='16' y='16' width='68' height='68' rx='18' fill='none' stroke='%23000' stroke-width='7.6'/%3E%3Ccircle cx='34' cy='34' r='7.5' fill='none' stroke='%23000' stroke-width='4.2'/%3E%3Ccircle cx='66' cy='34' r='8.5'/%3E%3Ccircle cx='34' cy='66' r='8.5'/%3E%3Ccircle cx='66' cy='66' r='8.5'/%3E%3C/svg%3E");
  --die-5: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='12 12 76 76'%3E%3Crect x='16' y='16' width='68' height='68' rx='18' fill='none' stroke='%23000' stroke-width='7.6'/%3E%3Ccircle cx='34' cy='34' r='7.5' fill='none' stroke='%23000' stroke-width='4.2'/%3E%3Ccircle cx='66' cy='34' r='8.5'/%3E%3Ccircle cx='50' cy='50' r='8.5'/%3E%3Ccircle cx='34' cy='66' r='8.5'/%3E%3Ccircle cx='66' cy='66' r='8.5'/%3E%3C/svg%3E");
  --die-6: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='12 12 76 76'%3E%3Crect x='16' y='16' width='68' height='68' rx='18' fill='none' stroke='%23000' stroke-width='7.6'/%3E%3Ccircle cx='34' cy='31' r='6' fill='none' stroke='%23000' stroke-width='3.4'/%3E%3Ccircle cx='66' cy='31' r='7'/%3E%3Ccircle cx='34' cy='50' r='7'/%3E%3Ccircle cx='66' cy='50' r='7'/%3E%3Ccircle cx='34' cy='69' r='7'/%3E%3Ccircle cx='66' cy='69' r='7'/%3E%3C/svg%3E");
}
.step:nth-child(1), .dice > li:nth-child(1) { --die: var(--die-1); }
.step:nth-child(2), .dice > li:nth-child(2) { --die: var(--die-2); }
.step:nth-child(3), .dice > li:nth-child(3) { --die: var(--die-3); }
.step:nth-child(4), .dice > li:nth-child(4) { --die: var(--die-4); }
.step:nth-child(5), .dice > li:nth-child(5) { --die: var(--die-5); }
.step:nth-child(6), .dice > li:nth-child(6) { --die: var(--die-6); }
.die, .dice > li::before { flex: none; display: block; width: 26px; height: 26px; color: var(--text); background: currentColor; -webkit-mask: var(--die) center / contain no-repeat; mask: var(--die) center / contain no-repeat; }
.dice { list-style: none; counter-reset: dice; }
.dice > li { counter-increment: dice; }
.dice > li::before { content: ""; }
.die--n, .dice > li:nth-child(n+7)::before { -webkit-mask: none; mask: none; background: none; box-shadow: inset 0 0 0 2.6px currentColor; border-radius: 27%; display: grid; place-items: center; font-size: 12px; font-weight: 500; line-height: 1; }
.dice > li:nth-child(n+7)::before { content: counter(dice); }
/* in the steps, step 2 is the logo itself and the die fills in as you go; they roll in with the line above them */
.step__n { position: relative; display: block; width: 28px; height: 28px; color: var(--text); background: currentColor; -webkit-mask: var(--die) center / contain no-repeat; mask: var(--die) center / contain no-repeat; }
.step__n::before { content: counter(step); position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.js .steps .step__n { opacity: 0; transform: rotate(-90deg) scale(.6); transition: transform .9s cubic-bezier(.3, 1.35, .45, 1), opacity .4s ease; }
.js .steps.is-in .step__n { opacity: 1; transform: none; }
.steps.is-in .step:nth-child(2) .step__n { transition-delay: .25s; }
.steps.is-in .step:nth-child(3) .step__n { transition-delay: .5s; }
.steps.is-in .step:nth-child(4) .step__n { transition-delay: .75s; }
@media (prefers-reduced-motion: reduce) { .js .steps .step__n { opacity: 1; transform: none; transition: none; } }
.step h3 { margin-top: 18px; font-size: 20px; font-weight: 500; letter-spacing: -0.006em; }
.step p { margin-top: 8px; color: var(--text-2); font-size: 15px; line-height: 1.55; }

/* a plain list with hairlines */
.list { border-top: 1px solid var(--line); }
.list__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); transition: background-color var(--t-fast) ease; }
a.list__row:hover .list__title { color: var(--text-2); }
.list__title { font-size: 19px; font-weight: 500; letter-spacing: -0.004em; transition: color var(--t-fast) ease; }
.list__sub { margin-top: 4px; color: var(--text-3); font-size: 15px; }

/* questions and answers that open smoothly */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 24px; width: 100%; padding: 24px 0; border: 0; background: none; font-size: 19px; font-weight: 500; letter-spacing: -0.004em; text-align: left; }
.faq__q .plus { position: relative; width: 14px; height: 14px; flex: none; }
.faq__q .plus::before, .faq__q .plus::after { content: ""; position: absolute; left: 0; top: 6.25px; width: 14px; height: 1.5px; background: currentColor; border-radius: 1px; transition: transform var(--t) var(--ease); }
.faq__q .plus::after { transform: rotate(90deg); }
.faq__item.is-open .plus::after { transform: rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 48px 26px 0; color: var(--text-2); font-size: 16px; line-height: 1.65; max-width: 760px; }
.faq__a p + p { margin-top: -12px; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; color: var(--text-2); }
.input { width: 100%; height: 52px; padding: 0 20px; border: 0; border-radius: var(--r-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font-size: 16px; transition: box-shadow var(--t-fast) ease; }
textarea.input { height: auto; min-height: 132px; padding: 16px 20px; border-radius: var(--r-tile); resize: vertical; line-height: 1.5; }
.input::placeholder { color: #7A7A7A; }
.input:focus { outline: none; box-shadow: inset 0 0 0 1px #6A6A6A; }
.input[aria-invalid="true"] { box-shadow: inset 0 0 0 1px #E5484D; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form__note { color: var(--text-3); font-size: 14px; }
.form__err { color: #FF9592; font-size: 14px; min-height: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* the claim bar: paiir.in/ + your name */
.claim { display: flex; align-items: center; width: min(560px, 100%); height: 60px; padding: 6px 6px 6px 22px; border-radius: var(--r-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow var(--t-fast) ease; }
.claim:focus-within { box-shadow: inset 0 0 0 1px #5A5A5A; }
.claim__pre { color: var(--text-3); font-size: 17px; font-weight: 500; }
.claim input { all: unset; flex: 1; min-width: 0; text-align: left; font-size: 17px; font-weight: 500; color: var(--text); }
.claim input::placeholder { color: #6A6A6A; }
.claim .pill { height: 48px; padding: 0 22px; }
.claim-wrap .claim__note, .claim__note { min-height: 22px; line-height: 1.5; font-size: 14px; color: var(--text-3); transition: color var(--t-fast) ease; }
.claim__note.is-ok { color: var(--ok); }
.claim__note.is-no { color: #FF6B6B; }
/* owner 2026-11-05: "if it's available write available, if not then show red and not available and give option to
   choose name": the box edge and the line turn green or red, with a round tick or cross, and free names to pick */
.claim__note { display: flex; align-items: center; gap: 8px; }
.claim__note b { color: inherit; font-weight: 500; }
.claim.is-ok, .claim.is-ok:focus-within { box-shadow: inset 0 0 0 1.5px #1FB565; }
.claim.is-no, .claim.is-no:focus-within { box-shadow: inset 0 0 0 1.5px #E5484D; }
.claim__ic { flex: none; width: 18px; height: 18px; border-radius: 50%; }
.claim__ic--ok { background: #1FB565 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.4l3.6 3.6 7.4-8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.claim__ic--no { background: #E5484D url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 8l8 8M16 8l-8 8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.claim__try { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: -2px; }
.claim__try[hidden] { display: none; }
.claim__try-l { color: var(--text-3); font-size: 14px; }
.claim__name { height: 34px; padding: 0 14px; border: 0; border-radius: var(--r-pill); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); color: var(--text); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color var(--t-fast) ease; }
.claim__name:hover, .claim__name:focus-visible { background: rgba(255, 255, 255, .16); }
.hh .claim__try, .uc-hero .claim__try, .hero--left .claim__try, .split__text .claim__try { justify-content: flex-start; }

/* a dialog that rises from the bottom on phones */
.dialog { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s linear .35s; }
.dialog.is-on { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.dialog__card { position: relative; width: min(480px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; padding: 40px 36px 34px; border-radius: var(--r-panel); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transform: translateY(16px) scale(.98); transition: transform .6s var(--ease); }
.dialog.is-on .dialog__card { transform: none; }
.dialog__card h2 { font-size: 28px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.15; }
.dialog__card > p { margin-top: 10px; color: var(--text-2); }
.dialog__card .form { margin-top: 26px; }
.dialog__x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--button-2); display: grid; place-items: center; }
.dialog__done { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 8px 0; }
.dialog__done img { width: 88px; height: auto; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 95; transform: translate(-50%, 20px); padding: 13px 20px; border-radius: var(--r-pill); background: var(--text); color: var(--bg); font-size: 15px; font-weight: 500; opacity: 0; transition: opacity .35s var(--ease), transform .6s var(--ease); pointer-events: none; max-width: calc(100vw - 40px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }


/* ---------- arriving on screen ---------- */
/* things appear by fading in where they are; nothing slides while the page scrolls (owner, 2026-10-28) */
.js [data-reveal] { opacity: 0; transition: opacity .7s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.js [data-reveal].is-in { opacity: 1; }
.js [data-reveal="fade"] { transform: none; }
/* pictures fade in and settle (opacity and transform only, so scrolling stays light) */
.js .media[data-reveal] > img { transform: scale(1.06); transition: transform 1.4s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .media[data-reveal].is-in > img { transform: none; }
.js a:hover .media[data-reveal].is-in > img { transform: scale(1.03); transition: transform 1.2s var(--ease); }
/* headlines rise line by line, words held in a mask */
.js [data-split] .wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .wd > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--w, 0) * 45ms); }
.js [data-split].is-in .wd > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .media[data-reveal], .js .media[data-reveal] > img, .js [data-split] .wd > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .moment > * { opacity: 1; transform: none; }
  .ask__ph::after { animation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---------- smaller screens ---------- */
@media (max-width: 1180px) {
  .nav { gap: 24px; }
  .mega__panel.is-on { grid-template-columns: minmax(0, 1fr) 300px; }
  .row__track { grid-auto-columns: calc((100% - 2 * 24px) / 3); }
}
@media (max-width: 1040px) {
  .nav, .header__right .drop, .header__right .acct { display: none; }
  .menu-btn { display: flex; }
  .header__right > .pill--light { transition: opacity var(--t) var(--ease); }
  .menu-open .header__right > .pill--light { opacity: 0; pointer-events: none; }
  .mega, .scrim { display: none; }
}
@media (min-width: 1041px) { .sheet-nav { display: none; } }
@media (max-width: 900px) {
  .prompt { padding: 72px 0 96px; gap: 22px; }
  .featured, .grid3, .grid2, .band__cards, .split, .steps, .steps--3 { grid-template-columns: minmax(0, 1fr); }
  .grid4 { grid-template-columns: 1fr 1fr; gap: 16px; }
  .side { margin-top: 56px; gap: 48px; }
  .media__words { font-size: 44px; }
  .media__title { font-size: 30px; }
  .band { padding: 88px var(--gutter) 96px; }
  .band__cards { margin-top: 28px; }
  .band__card { min-height: 0; }
  .hero { padding: 72px 0 64px; gap: 18px; }
  .split { gap: 32px; }
  .split__text h2 { font-size: 32px; }
  .steps { gap: 36px; }
  .row__track { grid-auto-columns: 78%; gap: 16px; }
  .search__links { grid-template-columns: minmax(0, 1fr); }
  .search { padding-top: 10vh; }
  .closing { padding: 56px 20px; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .faq__a p { padding-right: 0; }
  .dialog { place-items: end center; padding: 0; }
  .dialog__card { width: 100%; border-radius: var(--r-panel) var(--r-panel) 0 0; padding: 36px 22px calc(28px + env(safe-area-inset-bottom)); transform: translateY(100%); }
  .claim { height: 56px; padding-left: 18px; }
  .claim .pill { height: 44px; padding: 0 16px; }
  .claim__pre, .claim input { font-size: 16px; }
  .section { gap: 32px; }
}
@media (max-width: 640px) {
  /* big headlines breathe a little more on a small screen */
  .hero h1, .band h2 { letter-spacing: -0.02em; line-height: 1.1; }
  body :is(.split__text h2, .br-apply__intro h2, .co-why__text h2, .amb-apply__t h2, .cf-first h3) { font-size: var(--h1); }
  .media__words { font-size: clamp(28px, 10vw, 44px); }
  .grid3 .media--sq { aspect-ratio: 4 / 3; }
  /* steps: the die beside the words, one compact list */
  .steps { gap: 0; }
  .step { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 16px; padding: 20px 0 24px; }
  .step__n { grid-row: 1 / span 2; }
  .step h3 { grid-column: 2; margin-top: 1px; font-size: 18px; line-height: 1.35; }
  .step p { grid-column: 2; margin-top: 4px; }
  /* the mascot over a closing, the 404 or a "thank you" is 64px here, 88 on wider screens (owner, 2026-10-30 and 31:
     too big on phones, then on every page) */
  :is(.closing, .nf, .dialog__done, .ct__done, .br-done) > img[src*="/mascots/"] { width: 64px; height: 64px; }
}
@media (max-width: 420px) {
  .header__right .pill--light { padding: 0 14px; }
}

/* the claim bar and its note, centred under a hero */
.claim-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; margin-top: 10px; }
.hero--left .claim-wrap, .split__text .claim-wrap { align-items: flex-start; }

/* the hidden attribute always wins over a class that sets display */
[hidden] { display: none !important; }
/* dark words on a light picture */
.ink-words .media__words { color: #0B0B0C; }


/* ---------- light theme (owner, 2026-11-03: "give option to make light or dark theme to our current website") ----------
   The same site, inverted: white page, black words, the one black button where the dark site has its one white button.
   Dark stays the default; the sun / moon button in the top bar switches (paiir.js, saved in localStorage "paiir.theme",
   set before the page paints by the script in the head). Pictures keep their colours. */
html[data-theme="light"] {
  --bg: #FFFFFF;
  --band: #F4F4F4;
  --surface: #F2F2F2;
  --surface-2: #FFFFFF;
  --surface-3: #E7E7E7;
  --line: #E6E6E6;
  --line-2: #D6D6D6;
  --text: #0B0B0C;
  --text-2: #4A4A4A;
  --text-3: #707070;
  --button-2: #E6E6E6;
  --ok: #0F8A4B;
  color-scheme: light;
}
[data-theme="light"] ::selection { background: #0B0B0C; color: #FFFFFF; }
[data-theme="light"] .pill--light:hover { background: #2A2A2A; }
[data-theme="light"] .pill--quiet:hover { background: #DADADA; }
[data-theme="light"] .pill--outline { box-shadow: inset 0 0 0 1px #CFCFCF; }
[data-theme="light"] .pill--outline:hover { box-shadow: inset 0 0 0 1px #8A8A8A; }
[data-theme="light"] .chip:hover { box-shadow: inset 0 0 0 1px #B5B5B5; }
[data-theme="light"] .scrim { background: rgba(0, 0, 0, .16); }
[data-theme="light"] .search { background: rgba(255, 255, 255, .9); }
[data-theme="light"] .dialog { background: rgba(0, 0, 0, .3); }
[data-theme="light"] .dialog__card { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line), 0 40px 90px -30px rgba(0, 0, 0, .3); }
[data-theme="light"] .drop__menu { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line), 0 18px 44px -18px rgba(0, 0, 0, .22); }
[data-theme="light"] .ask { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line-2); }
[data-theme="light"] .ask:focus-within { box-shadow: inset 0 0 0 1px #A8A8A8, 0 0 0 6px rgba(0, 0, 0, .04); }
[data-theme="light"] .ask__send { background: #C9C9C9; }
[data-theme="light"] .ask.has-text .ask__send path { stroke: #FFFFFF; }
[data-theme="light"] .input, [data-theme="light"] .claim { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line-2); }
[data-theme="light"] .input:focus, [data-theme="light"] .claim:focus-within { box-shadow: inset 0 0 0 1px #8A8A8A; }
[data-theme="light"] .input::placeholder, [data-theme="light"] .claim input::placeholder { color: #9A9A9A; }
[data-theme="light"] .form__err, [data-theme="light"] .claim__note.is-no, [data-theme="light"] .br-q.is-err legend { color: #C9302C; }
[data-theme="light"] .media { background: #EEEEEE; }
[data-theme="light"] .band__card { box-shadow: inset 0 0 0 1px var(--line); }
/* white marks drawn for the black page turn black (the logo, the footer icon, the Paiir icon over a band, Pip's frame) */
[data-theme="light"] :not(.mini__avatar):not(.eh-av) > img[src*="-white.svg"] { filter: invert(1); }
[data-theme="light"] .buddy [stroke="#fff"] { stroke: #0B0B0C; }
[data-theme="light"] .buddy [fill="#fff"] { fill: #0B0B0C; }
[data-theme="light"] :is(.dialog__x, .arrows button, .pill--dark, .pill--quiet, .pill--outline) path[stroke="#fff"] { stroke: var(--text); }
[data-theme="light"] .br-tick path { stroke: #FFFFFF; }
/* page parts that used a dark colour of their own */
[data-theme="light"] .amb--next { border-color: #CFCFCF; }
[data-theme="light"] .eh-field:hover, [data-theme="light"] .eh-field:focus-visible { box-shadow: inset 0 0 0 1px #B5B5B5; }
[data-theme="light"] .calc__range::-webkit-slider-runnable-track { background: linear-gradient(90deg, #0B0B0C var(--p), #D4D4D4 var(--p)); }
[data-theme="light"] .calc__range::-webkit-slider-thumb { background: #0B0B0C; box-shadow: 0 0 0 6px rgba(0, 0, 0, .06); }
[data-theme="light"] .calc__range:active::-webkit-slider-thumb { box-shadow: 0 0 0 10px rgba(0, 0, 0, .08); }
[data-theme="light"] .calc__range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px #0B0B0C; }
[data-theme="light"] .calc__range::-moz-range-track { background: #D4D4D4; }
[data-theme="light"] .calc__range::-moz-range-progress { background: #0B0B0C; }
[data-theme="light"] .calc__range::-moz-range-thumb { background: #0B0B0C; box-shadow: 0 0 0 6px rgba(0, 0, 0, .06); }
[data-theme="light"] .calc__range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px #0B0B0C; }
[data-theme="light"] .g-ddb:hover { box-shadow: inset 0 0 0 1px #B5B5B5; }
[data-theme="light"] .g-promo { background: var(--band); }
[data-theme="light"] .g-promo:hover { background: var(--surface-3); }
[data-theme="light"] .g-promo__mark { opacity: .06; }
[data-theme="light"] .ev-btn:hover, [data-theme="light"] .ev-btn[aria-expanded="true"] { box-shadow: inset 0 0 0 1px #B5B5B5; }
[data-theme="light"] .ev-cal { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px rgba(0, 0, 0, .14); }
[data-theme="light"] .ev-soon { border-color: rgba(0, 0, 0, .14); }
[data-theme="light"] :is(.g-search, .mt-search, .jb-search, .help-search) { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line-2); }
[data-theme="light"] :is(.g-search, .mt-search, .jb-search, .help-search):focus-within { box-shadow: inset 0 0 0 1px #8A8A8A; }
[data-theme="light"] :is(.g-search, .mt-search, .jb-search, .help-search) input::placeholder, [data-theme="light"] .mt-search__in::placeholder { color: #9A9A9A; }
[data-theme="light"] .g-d-row b i { background: linear-gradient(90deg, #E2E2E2, #EDEDED); }
[data-theme="light"] .g-d-amt { background: var(--band); }
[data-theme="light"] mark.hl { background: rgba(0, 0, 0, .09); }
[data-theme="light"] .jb-ddm, [data-theme="light"] .g-ddm, [data-theme="light"] .jb-sheet__panel { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px rgba(0, 0, 0, .14); }
[data-theme="light"] .jb-sheet { background: rgba(0, 0, 0, .25); }
[data-theme="light"] .jb-sk i, [data-theme="light"] .jb-s-sk i, [data-theme="light"] .cf-sk { background: linear-gradient(100deg, #EFEFEF 30%, #F7F7F7 50%, #EFEFEF 70%) 0 0 / 300% 100%; }
[data-theme="light"] .jb-bar::after { background: linear-gradient(var(--bg), rgba(255, 255, 255, 0)); }

/* the sun / moon in the top bar: the sun shows on the dark site (switch to light), the moon on the light one */
.theme-btn { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--text); cursor: pointer; transition: background-color var(--t-fast) ease, transform var(--t-fast) var(--ease); -webkit-tap-highlight-color: transparent; }
.theme-btn:hover { background: var(--surface); }
.theme-btn:active { transform: scale(.92); }
.theme-btn svg { width: 19px; height: 19px; }
.theme-btn .t-moon, [data-theme="light"] .theme-btn .t-sun { display: none; }
[data-theme="light"] .theme-btn .t-moon { display: block; }
/* switching fades the whole page across, where the browser can (paiir.js) */
html.theme-swap::view-transition-old(root) { animation: none; }
html.theme-swap::view-transition-new(root) { animation: vt-theme .45s var(--ease) both; }
@keyframes vt-theme { from { opacity: 0; } }
@media (hover: none) { .theme-btn:hover { background: transparent; } }
[data-theme="light"] .sh-btn { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line); }
[data-theme="light"] .sh-btn:hover { background: var(--band); }
[data-theme="light"] .g-d-lock { background: var(--band); }
[data-theme="light"] .g-d-lock__ic { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line); }

/* the FREE band (ui.js freeBand; Grants and Co-founders): the badge, a line, and ways to share the page */
.free-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 40px; padding: 32px 36px; border-radius: var(--r-card); background: var(--surface); }
.free-band__badge { display: inline-block; padding: 4px 11px; border-radius: var(--r-pill); background: #12B76A; color: #04140B; font-size: 12.5px; font-weight: 500; letter-spacing: .06em; line-height: 1.4; }
.free-band__t h2 { margin: 14px 0 0; font-size: clamp(22px, 2.3vw, 28px); font-weight: 500; letter-spacing: -0.014em; line-height: 1.2; color: var(--text); }
.free-band__t p { margin: 8px 0 0; max-width: 36em; color: var(--text-2); font-size: 16px; line-height: 1.55; }
.free-band__share { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; max-width: 560px; }
.sh-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 0; border-radius: var(--r-pill); background: var(--surface-3); color: var(--text); font: inherit; font-size: 14.5px; font-weight: 500; text-decoration: none; cursor: pointer; transition: background-color var(--t) ease; }
.sh-btn:hover { background: var(--line-2); }
.sh-btn svg { width: 17px; height: 17px; flex: none; }
@media (max-width: 900px) { .free-band { grid-template-columns: 1fr; padding: 26px 22px; } .free-band__share { justify-content: flex-start; max-width: none; } }
@media (max-width: 640px) { .sh-btn { height: 42px; padding: 0 14px; font-size: 14px; } }

/* ---- grain (owner, 2026-11-04: "this kind of texture gradient noise type"): a small tile of light and dark specks over
   every picture, the way risograph prints and openai's posters feel. A plain see-through tile, no blend mode, so
   scrolling stays smooth. Words and drawn cards sit above it. ---- */
.media::after, .wposter::after, .band__art::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background: url(/img/grain.png) 0 0 / 160px 160px; opacity: .6;
}
.media > :not(img, video, picture) { z-index: 2; }
.media > picture { display: contents; }
.media > picture > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }

/* paintings carry white words on computers; phones show the field and keep the ink words */
@media (min-width: 641px) {
  .media--art.media--ink .media__words, .media--art .media__words { color: #fff; text-shadow: 0 2px 40px rgba(10, 12, 40, 0.3); }
}

/* the home band opens with the Paiir World collage: the die in glass, held up before the world */
.band__art { position: relative; width: 100%; max-width: 1080px; aspect-ratio: 16 / 8; border-radius: var(--r-image); overflow: hidden; margin-bottom: 18px; background: #0d1830; }
.band__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; display: block; }
.band--art .band__icon { display: none; }
@media (max-width: 640px) {
  .band__art { display: none; }
  .band--art .band__icon { display: block; }
}

/* ---- the Paiir die rolls inside a button while it works (owner, 2026-11-04: "loading ui on submit button and call to
   action button (Paiir icon only)"): forms set aria-busy, links get data-loading on the click (paiir.js). The words stay
   for screen readers. ---- */
.pill[aria-busy="true"], .pill[data-loading], button[aria-busy="true"], .btn[aria-busy="true"] {
  position: relative; -webkit-text-fill-color: transparent; cursor: progress; pointer-events: none;
}
.pill[aria-busy="true"] > *, .pill[data-loading] > *, button[aria-busy="true"] > *, .btn[aria-busy="true"] > * { visibility: hidden; }
.pill[aria-busy="true"]::after, .pill[data-loading]::after, button[aria-busy="true"]::after, .btn[aria-busy="true"]::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 1.3em; height: 1.3em; margin: -0.65em 0 0 -0.65em;
  background: currentColor;
  -webkit-mask: var(--die-mask) center / contain no-repeat; mask: var(--die-mask) center / contain no-repeat;
  animation: paiir-roll 2.4s cubic-bezier(.65, 0, .35, 1) infinite;
}
/* a link that opens quickly never flashes the die */
.pill[data-loading]::after { animation: paiir-roll 2.4s cubic-bezier(.65, 0, .35, 1) .18s infinite backwards, paiir-in .18s linear .18s backwards; }
:root { --die-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='12 12 76 76'%3E%3Crect x='16' y='16' width='68' height='68' rx='18' fill='none' stroke='%23000' stroke-width='7.6'/%3E%3Ccircle cx='36' cy='36' r='7.5' fill='none' stroke='%23000' stroke-width='4.2'/%3E%3Ccircle cx='64' cy='64' r='8.5'/%3E%3C/svg%3E"); }
@keyframes paiir-roll {
  0%, 8% { transform: rotate(0) scale(1); }
  17% { transform: rotate(45deg) scale(.8); }
  25%, 33% { transform: rotate(90deg) scale(1); }
  42% { transform: rotate(135deg) scale(.8); }
  50%, 58% { transform: rotate(180deg) scale(1); }
  67% { transform: rotate(225deg) scale(.8); }
  75%, 83% { transform: rotate(270deg) scale(1); }
  92% { transform: rotate(315deg) scale(.8); }
  100% { transform: rotate(360deg) scale(1); }
}
@keyframes paiir-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .pill[aria-busy="true"]::after, .pill[data-loading]::after, button[aria-busy="true"]::after, .btn[aria-busy="true"]::after { animation: paiir-breathe 1.6s ease-in-out infinite; }
}
@keyframes paiir-breathe { 50% { opacity: .45; } }
/* a painting with big words: the words move to the open sky at the top left, over a soft shade, never on the place */
@media (min-width: 641px) {
  .media--art .media__words { align-items: flex-start; justify-content: flex-start; gap: 0.26em; padding: 5.5% 6%; }
  .media--art::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(10, 12, 34, 0.42), rgba(10, 12, 34, 0) 48%); }
}
/* the paintings carry their own texture: a lighter grain over them */
.wposter--art::after, .media--art::after { opacity: 0.4; }

/* the menu's paintings carry their tab's word, like the Paiir World posters */
.mega__art { position: relative; }
.mega__word { position: absolute; left: 7%; top: 9%; z-index: 2; font-size: clamp(30px, 2.6vw, 42px); font-weight: 500; letter-spacing: -0.022em; line-height: 1; color: #fff; text-shadow: 0 2px 30px rgba(10, 12, 40, .3); pointer-events: none; }
.mega__art::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(160deg, rgba(10, 12, 34, .45) 0%, rgba(10, 12, 34, 0) 46%); }

/* ---- 2D art everywhere (owner, 2026-11-04: "dont keep gradient, just add 2d art as per the name and words"): the
   site's pictures are paintings (/img/art/), shown on phones too. Words on a painting sit at its top left in white
   over a soft shade. ---- */
.media--paint:has(.media__title, .media__words)::before,
.wcard__img.media--paint::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(165deg, rgba(8, 10, 28, .58) 0%, rgba(8, 10, 28, .14) 44%, rgba(8, 10, 28, 0) 62%);
}
.media--paint .media__title, .media--paint .media__title--dark {
  place-items: start; align-content: start; text-align: left; color: #fff; padding: 7% 8%;
  font-size: clamp(24px, 2.4vw, 34px); text-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 2px 22px rgba(0, 0, 0, .45);
}
.media--paint .media__words, .ink-words .media--paint .media__words, .media--art .media__words {
  color: #fff; align-items: flex-start; justify-content: flex-start; gap: .26em; padding: 5.5% 6%;
  text-shadow: 0 2px 40px rgba(10, 12, 40, .35);
}
.media--art::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(10, 12, 34, .42), rgba(10, 12, 34, 0) 48%); }
.media--paint > img { width: 100%; height: 100%; object-fit: cover; }

/* the band's collage on phones too */
@media (max-width: 640px) {
  .band__art { display: block; aspect-ratio: 4 / 3; }
  .band--art .band__icon { display: none; }
}

/* ---- closings on their painting: the words and buttons on the calm left side; on phones the painting sits above
   the words ---- */
.closing--art {
  position: relative; overflow: hidden; isolation: isolate; align-items: flex-start; justify-content: center;
  text-align: left; min-height: 440px; padding: 80px clamp(28px, 6vw, 84px); background: #0b0d12;
}
.closing__art { position: absolute; inset: 0; z-index: -2; }
.closing__art img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; display: block; }
.closing--art::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(4, 6, 14, .8) 0%, rgba(4, 6, 14, .56) 36%, rgba(4, 6, 14, 0) 66%); }
.closing--art::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url(/img/grain.png) 0 0 / 160px 160px; opacity: .32; }
.closing--art h2 { max-width: 560px; text-shadow: 0 2px 30px rgba(0, 0, 0, .3); }
.closing--art > p { max-width: 480px; color: rgba(255, 255, 255, .88); }
.closing--art .closing__go, .closing--art .share-row { justify-content: flex-start; }
@media (max-width: 640px) {
  .closing--art { padding: 0 0 30px; min-height: 0; background: var(--surface); }
  .closing--art::before { display: none; }
  .closing__art { position: relative; inset: auto; z-index: 0; width: 100%; aspect-ratio: 16 / 10; }
  .closing--art > :not(.closing__art) { margin-inline: 22px; }
}

/* ---- smooth menus (owner, 2026-11-04: "when i hover the tab it has some bug, make it smooth"): the dimmed page no
   longer blurs (a full-screen blur over the paintings stalled the first frames), the links and the picture fade up
   every time a menu opens or another tab takes over, and the pictures are ready before they're needed (paiir.js). ---- */
.scrim { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(0, 0, 0, .62); }
.mega__link, .mega__feature { opacity: 1; transform: none; transition: none; }
.mega.is-open .mega__panel.is-on .mega__link { animation: mega-in .42s var(--ease) both; }
.mega.is-open .mega__panel.is-on .mega__link:nth-child(2) { animation-delay: .03s; }
.mega.is-open .mega__panel.is-on .mega__link:nth-child(3) { animation-delay: .06s; }
.mega.is-open .mega__panel.is-on .mega__link:nth-child(4) { animation-delay: .09s; }
.mega.is-open .mega__panel.is-on .mega__link:nth-child(5) { animation-delay: .12s; }
.mega.is-open .mega__panel.is-on .mega__link:nth-child(6) { animation-delay: .15s; }
.mega.is-open .mega__panel.is-on .mega__feature { animation: mega-in .5s var(--ease) .05s both; }
.mega__feature .media { background: #15171c; }
@keyframes mega-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) {
  .mega.is-open .mega__panel.is-on .mega__link, .mega.is-open .mega__panel.is-on .mega__feature { animation: none; }
}

/* ---- small cards (owner, 2026-11-04): every How it works: the steps as small cards with their dice ---- */
.steps--cards { gap: 14px; }
.steps--cards .step { border-top: 0; padding: 24px 22px 28px; background: var(--surface); border-radius: var(--r-card); display: flex; flex-direction: column; gap: 10px; transition: background-color var(--t) ease, transform var(--t) var(--ease); }
.steps--cards .step::before { display: none; }
.steps--cards .step:hover { background: var(--surface-2); transform: translateY(-3px); }
.steps--cards .step h3 { margin-top: 12px; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.steps--cards .step p { color: var(--text-2); font-size: 15px; line-height: 1.55; }
.co-how__pane .steps--cards:not(.is-in) .step::before { transform: none; }

.steps--cards.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .steps--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps--cards.steps--3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .steps--cards { grid-template-columns: minmax(0, 1fr); } }
.steps--cards:not(.is-in) .step::before { transform: none; }

/* ---- trust cards with a green tick (owner, 2026-11-04: "add at least green circle tick to make it more trusted") ---- */
/* green circle ticks: a list (.ticks) and a single one (.gtick) */
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--text-2); font-size: 15px; font-weight: 500; }
.ticks li { display: inline-flex; align-items: center; gap: 9px; }
.ticks li::before, .gtick { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: #1FB565 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.4l3.6 3.6 7.4-8' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.gtick { display: inline-block; width: 22px; height: 22px; background-size: 14px; }
@media (max-width: 640px) { .ticks { flex-direction: column; gap: 10px; font-size: 14.5px; } }

/* a line icon on a soft tile at the top of a words-only card (owner 2026-11-05) */
.card-ic { flex: none; width: 44px; height: 44px; border-radius: var(--r-tile); display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--text); margin-bottom: 6px; }
.card-ic--sm { width: 38px; height: 38px; border-radius: var(--r-tile); margin-bottom: 4px; }
.band__card .card-ic + h3 { margin-top: 0; }
.tick-card { position: relative; }
.tick-card::before { content: ""; display: block; width: 30px; height: 30px; margin-bottom: 18px; border-radius: 50%; background: #1FB565 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.4l3.6 3.6 7.4-8' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; box-shadow: 0 0 0 6px rgba(31, 181, 101, .14); }

/* ---- menus, round 9 (owner, 2026-11-04: "it feels lagging and not closing properly ... transition is not smooth"): the
   panel no longer grows its height (that laid the page out again on every frame); it fades and lifts into place on the
   compositor, and leaves as quickly. The dimmed page follows at the same pace. ---- */
.mega { display: block; grid-template-rows: none; opacity: 0; visibility: hidden; transform: translate3d(0, -8px, 0); transition: opacity .18s ease, transform .24s var(--ease), visibility 0s linear .18s, box-shadow .2s ease; will-change: opacity, transform; }
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .3s var(--ease), visibility 0s; }
.mega__clip { overflow: visible; }
.scrim { transition: opacity .22s ease, visibility 0s linear .22s; }
.scrim.is-on { transition: opacity .25s ease; }
.mega.is-open .mega__panel.is-on .mega__link { animation-duration: .32s; }
.mega.is-open .mega__panel.is-on .mega__feature { animation-duration: .36s; }

.band__card.tick-card { min-height: 0; }


/* small step cards with their moment on top (Learn's How a call works) */
.steps--mini .step { padding-top: 14px; }
.step__pic { height: 128px; margin: 0 -8px 10px; border-radius: var(--r-pop); background: var(--surface-2); display: grid; place-items: center; padding: 14px; overflow: hidden; }
.mh { width: 100%; max-width: 230px; display: flex; flex-direction: column; gap: 7px; color: #111; font-size: 11.5px; font-weight: 500; }
.mh b { font-weight: 500; }
.mh em { font-style: normal; }
.mh__search { background: #fff; border-radius: var(--r-pill); padding: 6px 12px; color: #6B6B6B; font-weight: 500; }
.mh__search::before { content: "⌕ "; color: #999; }
.mh__row { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: var(--r-tile); padding: 6px 8px; }
.mh__row i { width: 20px; height: 20px; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; font-style: normal; font-size: 10px; flex: none; }
.mh__row b { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mh__row em { background: #111; color: #fff; border-radius: var(--r-pill); padding: 3px 8px; font-size: 10.5px; }
.mh__day { color: #fff; font-size: 12.5px; }
.mh__slots { display: flex; gap: 6px; }
.mh__slots em { flex: 1; text-align: center; background: #fff; border-radius: var(--r-tile); padding: 8px 0; }
.mh__slots em.is-on { background: #0E7C46; color: #fff; }
.mh__amt { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: var(--r-tile); padding: 10px 12px; }
.mh__amt em { color: #555; font-weight: 500; }
.mh__safe { display: flex; align-items: center; gap: 7px; color: #fff; font-weight: 500; }
.mh__safe i { width: 18px; height: 18px; border-radius: 50%; background: #1FB565 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.4l3.6 3.6 7.4-8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; flex: none; }
.mh__meet { display: flex; flex-direction: column; gap: 2px; background: #fff; border-radius: var(--r-tile); padding: 10px 12px; }
.mh__meet em { color: #555; font-weight: 500; }
.mh__join { align-self: flex-start; background: #1a73e8; color: #fff; border-radius: var(--r-pill); padding: 6px 12px; }
@media (max-width: 640px) { .step__pic { display: none; } .steps--mini .step { padding-top: 24px; } }

/* ---------- the black top bar on the white site (owner 2026-11-05: "change the nav bannar black bg") ----------
   The bar, its round corner caps, the big menus, the Log in / account menus and the phone menu keep the dark words,
   like the admin console: a black bar that curves into the white page. */
.header, .sheet-nav {
  --bar: #141414;
  --bg: #000000;
  --surface: #1F1F1F;
  --surface-2: #262626;
  --surface-3: #2C2C2C;
  --line: #2E2E2E;
  --line-2: #3A3A3A;
  --text: #FFFFFF;
  --text-2: #CDCDCD;
  --text-3: #9B9B9B;
  --button-2: #3A3A3A;
  color: var(--text);
  color-scheme: dark;
}
.sheet-nav { background: var(--bar); }
html[data-theme="light"] :is(.header, .sheet-nav) img[src*="-white.svg"]:not(#_) { filter: none; }
.header path[stroke="#fff"] { stroke: currentColor; }
html[data-theme="light"] :is(.header, .sheet-nav) .pill--light:hover { background: #E6E6E6; }
html[data-theme="light"] :is(.header, .sheet-nav) .pill--quiet:hover { background: #474747; }
html[data-theme="light"] .header .drop__menu { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 18px 44px -18px rgba(0, 0, 0, .5); }
.header .drop__menu a:hover, .header .drop__menu button:hover { background: var(--surface-3); }
html[data-theme="light"] .header .mega__feature .media { background: #15171c; }
/* a little grain on the bar, the same tile the painted cards carry (owner 2026-11-05: "make white bg little noisee
   just like our design cards"; the bar is black again since). Each bar surface draws it under its own words; the caps are the bar cut by
   a round mask, so their grain matches the bar. */
.header::before, .mega::before, .sheet-nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: url(/img/grain.png) 0 0 / 160px 160px; opacity: .18;
}
.header::before { z-index: 0; }
.header > .header__bar { position: relative; z-index: 61; } /* above the big menu, so Log in's menu is never under it */
.header__cap { background: var(--bar) !important; overflow: hidden; }
.header__cap::after { content: ""; position: absolute; inset: 0; background: url(/img/grain.png) 0 0 / 160px 160px; opacity: .18; }
.header__cap--l { -webkit-mask: radial-gradient(circle at 100% 100%, transparent calc(var(--bar-r) - .5px), #000 var(--bar-r)); mask: radial-gradient(circle at 100% 100%, transparent calc(var(--bar-r) - .5px), #000 var(--bar-r)); }
.header__cap--r { -webkit-mask: radial-gradient(circle at 0 100%, transparent calc(var(--bar-r) - .5px), #000 var(--bar-r)); mask: radial-gradient(circle at 0 100%, transparent calc(var(--bar-r) - .5px), #000 var(--bar-r)); }

/* headline words rise inside a clip that is open on the top and both sides, so a word's last letter and its soft
   shadow are never cut (owner 2026-11-05: the w of "know" was cut at its right edge). Once a word has risen the clip
   opens all round. */
.js [data-split] .wd { overflow: visible; clip-path: inset(-.6em -.4em 0 -.4em); }
.js [data-split].is-in .wd { clip-path: inset(-.6em -.4em -.6em -.4em); transition: clip-path 0s linear calc(1.15s + var(--w, 0) * 45ms); }
@media (prefers-reduced-motion: reduce) { .js [data-split] .wd { clip-path: none !important; } }

/* ---------- the whole site white (owner 2026-11-05: "make white theme website entirely entire website") ----------
   html carries data-theme="light" on every page (layout.js), so the light words above are the site's words now.
   Words that sit ON a painting keep the dark set: white words, dark glass boxes, the one white button. */
html[data-theme="light"] .on-paint {
  --bg: #000000; --band: #171717; --surface: #1F1F1F; --surface-2: #262626; --surface-3: #2C2C2C;
  --line: #2E2E2E; --line-2: #3A3A3A; --text: #FFFFFF; --text-2: #CDCDCD; --text-3: #9B9B9B; --button-2: #3A3A3A; --ok: #3DD68C;
  color: var(--text); color-scheme: dark;
}
@media (min-width: 641px) {
  html[data-theme="light"] .closing--art {
    --bg: #000000; --band: #171717; --surface: #1F1F1F; --surface-2: #262626; --surface-3: #2C2C2C;
    --line: #2E2E2E; --line-2: #3A3A3A; --text: #FFFFFF; --text-2: #CDCDCD; --text-3: #9B9B9B; --button-2: #3A3A3A; --ok: #3DD68C;
    color: var(--text); color-scheme: dark;
  }
  html[data-theme="light"] .closing--art .pill--light:hover { background: #E6E6E6; }
  html[data-theme="light"] .closing--art .pill--outline { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
  html[data-theme="light"] .closing--art .pill--outline:hover { box-shadow: inset 0 0 0 1px #fff; }
}
html[data-theme="light"] .on-paint .pill--light:hover { background: #E6E6E6; }
html[data-theme="light"] .on-paint .pill--outline { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
html[data-theme="light"] .on-paint img[src*="-white.svg"]:not(#_) { filter: none; }
/* the home ask box: white like every other box now */
html[data-theme="light"] .hm-ask .ask { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 60px -36px rgba(0, 0, 0, .28); }
html[data-theme="light"] .hm-ask .ask:focus-within { box-shadow: inset 0 0 0 1px #A8A8A8, 0 0 0 6px rgba(0, 0, 0, .04); }
/* phones: the closing's painting sits above its words, so the words are on the page and take the page's words */
@media (max-width: 640px) {
  html[data-theme="light"] .closing--art > p { color: var(--text-2); }
  html[data-theme="light"] .closing--art h2 { text-shadow: none; }
}
/* grey helper words a step darker, so they read on the grey cards too (4.5:1 on #F2F2F2) */
html[data-theme="light"] { --text-3: #666666; }
html[data-theme="light"] .on-paint { --text-3: #9B9B9B; }
/* the small step pictures (Learn's How a call works): their white rows get an edge on the white, their words go dark */
html[data-theme="light"] .step__pic { background: #EBEBEB; }
html[data-theme="light"] :is(.mh__day, .mh__safe) { color: var(--text); }
/* the name ideas under any link box: light chips on the white site */
html[data-theme="light"] .claim__name { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line-2); }
html[data-theme="light"] .claim__name:hover, html[data-theme="light"] .claim__name:focus-visible { background: var(--surface); }

/* ---------- cards on the white site (owner 2026-11-05: "this type of card is not coming good..when hover it comes odd
   ... you can make it like this [a white card with a thin grey edge] for all cards which has this type of design") ----
   Every card is white with a thin grey edge. Pointing at one darkens the edge and lifts it on a soft shadow; it never
   changes colour, so it never melts into the white page. */
html[data-theme="light"] :is(.steps--cards .step, .g-inside__card, .co-trust__card, .hx-feats li, .hx-how__card, .lg__sum li, .amb-do__c, .amb, .uc-tile, .band__card, .hm-door, .ev-row) {
  background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow var(--t) ease, transform var(--t) var(--ease);
}
html[data-theme="light"] :is(.steps--cards .step, .g-inside__card, .co-trust__card, .hx-how__card, .uc-tile, a.band__card, .hm-door, .ev-row):is(:hover, :focus-visible) {
  background: #FFFFFF; box-shadow: inset 0 0 0 1px #D2D2D2, 0 20px 44px -26px rgba(0, 0, 0, .28);
}
/* the icon tiles and little pictures inside a white card are the soft grey */
html[data-theme="light"] :is(.card-ic, .g-inside__ic, .uc-tile .uc-ic) { background: var(--surface); }
html[data-theme="light"] .step__pic { background: var(--surface); }

/* ---------- Notion's colours and type on the white site (owner 2026-11-05: "use the colours from this website
   [notion.com] and make it properly ... font size also font (semi bold, bold) matters") ----------
   Warm greys instead of cold ones, near-black words, one blue for the main action and a pale blue for the second,
   bold headings that are bigger and tighter. The black bar, its menus and words on paintings keep their own set. */
html[data-theme="light"] {
  --bg: #FFFFFF; --band: #F8FAFD; --surface: #F8FAFD; --surface-2: #FFFFFF; --surface-3: #E8EAED;
  --line: #E3E3E3; --line-2: #DADCE0; --button-2: #E8EAED;
  --text: #1F1F1F; --text-2: #444746; --text-3: #5F6368;
  --act: #1A73E8; --act-h: #0B57D0; --act-ink: #FFFFFF;
  --act2: #E8F0FE; --act2-h: #D3E3FD; --act2-ink: #0B57D0;
  --section: 34px; --h1: 40px; --hero: 56px; --card-title: 18px; --lead: 19px; --cta-title: 40px; --band-title: 48px;
}
@media (max-width: 900px) { html[data-theme="light"] { --section: 29px; --h1: 32px; --hero: 40px; --lead: 18px; --cta-title: 32px; --band-title: 38px; } }
@media (max-width: 640px) { html[data-theme="light"] { --section: 25px; --h1: 27px; --hero: 34px; --card-title: 18px; --lead: 17px; --cta-title: 27px; --band-title: 30px; } }
html[data-theme="light"] :is(.header, .sheet-nav, .on-paint) { --act: #FFFFFF; --act-h: #E6E6E6; --act-ink: #0B0B0C; --act2: #3A3A3A; --act2-h: #474747; --act2-ink: #FFFFFF; }
@media (min-width: 641px) { html[data-theme="light"] .closing--art { --act: #FFFFFF; --act-h: #E6E6E6; --act-ink: #0B0B0C; --act2: rgba(255, 255, 255, .16); --act2-h: rgba(255, 255, 255, .26); --act2-ink: #FFFFFF; } }

/* type: headings bold and tight, small titles semi bold */
html[data-theme="light"] :is(h1, h2) { font-weight: 500; letter-spacing: -0.022em; }
html[data-theme="light"] h1 { letter-spacing: -0.022em; }
html[data-theme="light"] h3 { font-weight: 500; letter-spacing: -0.012em; }
html[data-theme="light"] :is(.card__title, .uc-tile__t b, .g-inside__card b, .co-trust__card b) { font-weight: 500; }
html[data-theme="light"] :is(.header, .sheet-nav) :is(h1, h2, h3) { font-weight: 500; letter-spacing: -0.006em; }
html[data-theme="light"] .section__head h2 { line-height: 1.12; }
html[data-theme="light"] .section__head p { font-size: 17px; }

/* buttons: the main action blue, the second pale blue (on the black bar and on paintings: white, and dark glass) */
html[data-theme="light"] .pill--light { background: var(--act); color: var(--act-ink); }
html[data-theme="light"] .pill--light:hover { background: var(--act-h); }
/* every page puts its main action on .pill--quiet (ui.js button()) and its second on .pill--outline: blue, then pale blue */
html[data-theme="light"] .pill--quiet { background: var(--act); color: var(--act-ink); }
html[data-theme="light"] .pill--quiet:hover { background: var(--act-h); }
html[data-theme="light"] .pill--outline { background: var(--act2); color: var(--act2-ink); box-shadow: none; }
html[data-theme="light"] .pill--outline:hover { background: var(--act2-h); box-shadow: none; }
html[data-theme="light"] .pill--dark { background: var(--surface); color: var(--text); }
html[data-theme="light"] .pill--dark:hover { background: var(--surface-3); }
html[data-theme="light"] :is(.header, .sheet-nav) .pill--dark { background: var(--surface); color: var(--text); }
html[data-theme="light"] .pill { font-weight: 500; }
html[data-theme="light"] :is(.header, .sheet-nav) .pill { font-weight: 500; }
html[data-theme="light"] .chip:hover { box-shadow: inset 0 0 0 1px #B9B5B0; }
/* the link box's button is always the main action */
html[data-theme="light"] .claim .pill { background: var(--act); color: var(--act-ink); }
html[data-theme="light"] .claim .pill:hover { background: var(--act-h); }
/* page openings and closings: Notion-size buttons */
html[data-theme="light"] :is(.hero__go, .closing__go) .pill { height: 48px; padding: 0 24px; font-size: 16px; }
@media (max-width: 640px) { html[data-theme="light"] :is(.hero__go, .closing__go) .pill { height: 44px; padding: 0 20px; font-size: 15px; } }

/* the bar's buttons match the page's (owner 2026-11-05: "the button colour also work like [Get started free / Ask Paiir
   anything]"): Get started solid blue, Log in (and the signed-in account button) pale blue, on the bar and in the phone menu */
html[data-theme="light"] :is(.header, .sheet-nav) .pill { font-weight: 500; }
html[data-theme="light"] :is(.header, .sheet-nav) .pill--light { background: #1A73E8; color: #FFFFFF; }
html[data-theme="light"] :is(.header, .sheet-nav) .pill--light:hover { background: #0B57D0; color: #FFFFFF; }
html[data-theme="light"] :is(.header, .sheet-nav) .pill--dark { background: #E8F0FE; color: #0B57D0; }
html[data-theme="light"] :is(.header, .sheet-nav) .pill--dark:hover { background: #D3E3FD; color: #0B57D0; }
html[data-theme="light"] :is(.header, .sheet-nav) .pill--dark .avatar { background: #C9DFFB; color: #0B57D0; }

/* ---------- plain step numbers (owner 2026-11-05: "remove dice numbering (write 1, 2, 3 simple everywhere)") ----------
   Every numbered step (.step__n in the steps, ui.js die(), .dice lists) is the number in a small rounded square: dark
   with a white number on the white site, white with a dark number on the black bar and on paintings. */
.die, .die--n, .step__n, .dice > li::before, .dice > li:nth-child(n+7)::before {
  -webkit-mask: none !important; mask: none !important; box-shadow: none;
  display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: var(--r-tag);
  background: var(--num-bg, #1F1F1F); color: var(--num-ink, #FFFFFF);
  font-size: 14px; font-weight: 500; line-height: 1; letter-spacing: 0; font-variant-numeric: tabular-nums;
}
:is(.header, .sheet-nav, .on-paint) { --num-bg: #FFFFFF; --num-ink: #111111; }
.dice > li::before { content: counter(dice); }
.step__n::before { content: counter(step); position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; }
.js .steps .step__n { transform: translateY(6px); }
.js .steps.is-in .step__n { transform: none; }
.amb-mail__l .die { width: 22px; height: 22px; border-radius: var(--r-tag); font-size: 12px; }
.hw3__k .die { width: 24px; height: 24px; border-radius: var(--r-tag); font-size: 13px; }
/* the number keeps its own colours inside rows and cards that colour their spans (Community's rows and cards) */
.die.die--n, .step__n { display: inline-grid !important; color: var(--num-ink, #FFFFFF) !important; margin-top: 0; }

/* "Paiir for" (owner 2026-11-05, like notion.com's "Notion for"): three text columns, the first in big bold words */
.mega__panel--cols.is-on { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding-bottom: 52px; }
.mega__list { display: flex; flex-direction: column; align-items: flex-start; }
.mega__col .mega__link { padding: 6px 0; font-size: 17px; font-weight: 500; letter-spacing: -0.005em; line-height: 1.35; color: var(--text); transition: color var(--t-fast) ease; }
.mega__col--big .mega__link { padding: 3px 0; font-size: 32px; font-weight: 500; letter-spacing: -0.022em; line-height: 1.2; }
.mega__list:hover .mega__link { color: var(--text-3); }
.mega__list .mega__link:hover, .mega__list .mega__link:focus-visible { color: var(--text); }
@media (max-width: 1240px) { .mega__col--big .mega__link { font-size: 27px; } .mega__panel--cols.is-on { gap: 40px; } }

/* Use cases: the field pages in their groups, one column each (the count comes from layout.js as --n) */
.mega__panel--cols.is-on { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; }
.mega__panel--cols .mega__col .mega__link { padding: 5px 0; font-size: 16px; }
/* six menus fit narrower laptops: the logo never shrinks, the gaps close up, Search keeps only its icon */
.brand, .brand img { flex: none; min-width: 51px; }
@media (max-width: 1240px) { .nav { gap: 22px; } }
@media (max-width: 1160px) { .nav { gap: 18px; font-size: 14.5px; } .nav__search { padding: 0 10px; margin-left: 0; } .nav__search span { display: none; } }


/* the page's scrollbar dark, to match the black bar (owner 2026-11-05): the root takes the dark scheme (its scrollbar
   follows it), the page inside stays light, so boxes, menus and pickers keep their light look */
html[data-theme="light"] { color-scheme: dark; }
html[data-theme="light"] body { color-scheme: light; }

/* the menu, round 4: four choices; Sell your expertise opens with its links, who it's for and its picture */
.mega__panel--side.is-on { grid-template-columns: minmax(0, 1fr) 240px 340px; gap: 48px; }
.mega__panel--side .mega__links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.mega__side .mega__sl { padding: 5px 0; font-size: 16px; font-weight: 500; color: var(--text); }
.mega__side .mega__list:hover .mega__sl { color: var(--text-3); }
.mega__side .mega__list .mega__sl:hover { color: var(--text); }
.nav { gap: 30px; }
.nav__item:focus { outline: none; }
.nav__item:focus-visible { outline: none; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
@media (max-width: 1240px) { .mega__panel--side.is-on { grid-template-columns: minmax(0, 1fr) 200px 280px; gap: 32px; } .mega__panel--side .mega__links { grid-template-columns: minmax(0, 1fr); } }

/* the bar like notion.com's (owner 2026-11-05): the die alone on the left; Log in as words; Get started a solid blue
   button with soft corners */
.brand img, .brand { min-width: 0; }
.brand img { width: 34px; height: 34px; }
html[data-theme="light"] .header .drop[data-login] > .pill--dark { background: none; color: #FFFFFF; padding: 0 12px; }
html[data-theme="light"] .header .drop[data-login] > .pill--dark:hover, html[data-theme="light"] .header .drop.is-open > .pill--dark { background: rgba(255, 255, 255, .1); color: #FFFFFF; }
html[data-theme="light"] .header .drop[data-login] .chev path { stroke: currentColor; }
html[data-theme="light"] .header .header__right > .pill--light { border-radius: var(--r-tile); height: 40px; padding: 0 16px; }
/* Signed in (owner, 2026-11-10): "Go to dashboard" is a green call to action wherever Get started was (paiir.js
   acct). "It should make people feel they should click this button", then "the corner radius not consistent and the
   colour also": ONE flat green everywhere (no gradient, edge or glow; white words 4.7:1), fully round like the account
   pill beside it and every other button, and a soft light that sweeps across every few seconds. Hover: a shade darker,
   the arrow leans out. Still under reduced motion. */
html[data-theme] .pill.pill--go, html[data-theme] :is(.header, .sheet-nav, .ph__go) .pill.pill--go {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-pill); background: #0D8547; color: #FFFFFF; font-weight: 500; box-shadow: none;
  transition: background-color var(--t-fast) ease, transform var(--t-fast) var(--ease);
}
html[data-theme] .pill.pill--go::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, .26) 48%, rgba(255, 255, 255, .26) 52%, transparent 68%); transform: translateX(-130%); animation: go-shine 6s var(--ease) 1.4s infinite; }
@keyframes go-shine { 0% { transform: translateX(-130%); } 18%, 100% { transform: translateX(130%); } }
html[data-theme] .pill.pill--go:hover, html[data-theme] :is(.header, .sheet-nav, .ph__go) .pill.pill--go:hover { background: #0B7440; color: #FFFFFF; box-shadow: none; }
html[data-theme] .pill.pill--go:active { transform: scale(.98); }
html[data-theme] .pill.pill--go .arrow { transition: transform var(--t) var(--ease); }
html[data-theme] .pill.pill--go:hover .arrow { transform: translate(2.5px, -2.5px); }
@media (prefers-reduced-motion: reduce) { html[data-theme] .pill.pill--go::after { animation: none; display: none; } }
html[data-theme="light"] .header .acct .pill--dark { background: rgba(255, 255, 255, .1); color: #FFFFFF; }

/* ---- owner 2026-11-05 ("its really congested on phone ... fix the layout sizing and all letter sizing too including
   footer"): one phone pass for the whole site. A calmer type scale (every page title one size, every section title one
   size), tighter section spacing, lighter card padding, links under their headings, and a compact footer. ---- */
@media (max-width: 640px) {
  html[data-theme="light"] { --hero: 32px; --h1: 27px; --section: 25px; --card-title: 17px; --lead: 16px; --cta-title: 27px; --band-title: 29px; --display: 40px; --prompt: 20px; --section-gap: 60px; --body: 15px; --meta: 14px; }
  html[data-theme="light"] body { font-size: 15px; }
  /* every page title */
  html[data-theme="light"] :is(.hero h1, .hx-hero h1, .eh h1, .hh h1, .nh__h, .ph__h, .cx__h, .lg__head h1, .bp__top h1, .uc-hero h1, .wrap > section:first-child h1) { font-size: var(--hero); line-height: 1.1; letter-spacing: -0.022em; }
  /* every section title */
  html[data-theme="light"] :is(.section__head h2, .split__text h2, .co-why__text h2, .amb-apply__t h2, .br-apply__intro h2, .fx h2, .hw3__head h2, .ak-panel h2, .sx-panel h2, .ev-head h2, .cf-first h3) { font-size: var(--section); line-height: 1.15; letter-spacing: -0.025em; }
  html[data-theme="light"] .ev-web__head h3 { font-size: 24px; }
  html[data-theme="light"] :is(.hero__lead, .hero > p, .hh__lead, .nh__sub, .ph__sub, .cx__sub, .fx__sub, .hw3__head p, .uc-hero__text > p) { font-size: 16px; line-height: 1.5; }
  html[data-theme="light"] .section__head p { font-size: 15px; }
  html[data-theme="light"] :is(.calc__num) { font-size: 44px; }
  html[data-theme="light"] :is(.br-ticket__big) { font-size: 40px; }
  html[data-theme="light"] .media__title, html[data-theme="light"] .media__words { font-size: 30px; }
  /* spacing: less air between sections and in the opening */
  html[data-theme="light"] .hero { padding: 44px 0 40px; gap: 16px; }
  html[data-theme="light"] .section__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  html[data-theme="light"] .section__head > a, html[data-theme="light"] .section__head .link { font-size: 14.5px; }
  html[data-theme="light"] .band__card { padding: 20px 18px 22px; gap: 10px; }
  html[data-theme="light"] .band__card h3, html[data-theme="light"] .card__title { font-size: var(--card-title); }
  html[data-theme="light"] .band__card p { font-size: 14.5px; line-height: 1.55; }
  html[data-theme="light"] .uc-moment { padding: 9px 12px 9px 9px; gap: 10px; border-radius: var(--r-pop); }
  html[data-theme="light"] .uc-moment b { font-size: 14.5px; }
  html[data-theme="light"] .pill { font-size: 15px; }
  html[data-theme="light"] .pill--lg { height: 48px; padding: 0 22px; font-size: 15.5px; }
  html[data-theme="light"] .closing { padding: 32px 22px; }
}
/* small phones (360 to 380 wide): one more step down */
@media (max-width: 380px) {
  html[data-theme="light"] { --hero: 29px; --section: 23px; --gutter: 16px; }
  html[data-theme="light"] .hero { padding: 36px 0 34px; }
}

/* corners (owner 2026-11-05, "think like apple design corner radius"): small thumbnails in lists sit a step under
   the pictures in cards, and on phones, where they are smaller, a step under again */
.news__img { border-radius: var(--r-pop); }
@media (max-width: 640px) { .news__img { border-radius: var(--r-tile); } }

/* ---------- the footer, one design for paiir.in and app.paiir.in (owner, 2026-11-07: "redesign it and rebuild it
   properly for all pages"): a warm grey band, the brand and the two ways in on the left, the menu's groups on the right,
   one quiet bottom row, and the wordmark drawn large and faint under it all ---------- */
.ft { position: relative; overflow: hidden; margin-top: clamp(64px, 8vw, 120px); background: #F8FAFD; color: #1F1F1F; }
.ft__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr); gap: 56px; padding: 80px 0 64px; }
.ft__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.ft__logo { display: inline-flex; align-items: center; gap: 10px; border-radius: var(--r-tag); transition: opacity var(--t-fast) ease; }
.ft__logo:hover { opacity: .7; }
.ft__logo img:last-child { width: auto; height: 26px; }
.ft__line { margin: 0; max-width: 290px; color: #444746; font-size: 15px; line-height: 1.55; }
.ft__line b { display: block; margin-bottom: 4px; color: #1F1F1F; font-size: 17px; font-weight: 500; letter-spacing: -0.012em; }
.ft__go { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
html[data-theme="light"] .ft__go .pill { height: 40px; padding: 0 18px; font-size: 14.5px; }
html[data-theme="light"] .ft__login { background: #FFFFFF; color: #1F1F1F; box-shadow: inset 0 0 0 1px #DADCE0; }
html[data-theme="light"] .ft__login:hover { background: #FFFFFF; box-shadow: inset 0 0 0 1px #B9B5B0; }
.ft__social { display: flex; gap: 8px; margin-top: 4px; }
.ft__social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #FFFFFF; box-shadow: inset 0 0 0 1px #E3E0DC; color: #1F1F1F; transition: box-shadow var(--t-fast) ease, transform var(--t-fast) ease; }
.ft__social a:hover { box-shadow: inset 0 0 0 1px #B9B5B0; transform: translateY(-1px); }
.ft__social svg { width: 17px; height: 17px; }
.ft__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.ft__col { display: flex; flex-direction: column; gap: 32px; }
.ft__group { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.ft__group > span { margin-bottom: 4px; color: #8A847E; font-size: 13px; font-weight: 500; }
.ft__group a { color: #37352F; font-size: 14.5px; font-weight: 500; line-height: 1.35; transition: color var(--t-fast) ease; }
.ft__group a:hover { color: #1A73E8; }
.ft__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 28px; padding: 22px 0; border-top: 1px solid #E3E0DC; color: #5F6368; font-size: 13.5px; font-weight: 500; }
.ft__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.ft__legal a, .ft__end a { color: #5F6368; transition: color var(--t-fast) ease; }
.ft__legal a:hover, .ft__end a:hover { color: #1F1F1F; }
.ft__end { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.ft__lang { display: inline-flex; align-items: center; gap: 8px; color: #37352F; }
.ft__lang span { color: #8A847E; }
@media (max-width: 1100px) { .ft__top { grid-template-columns: minmax(0, 1fr); gap: 48px; } }
@media (max-width: 900px) { .ft__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; } }
@media (max-width: 640px) {
  .ft__top { gap: 40px; padding: 56px 0 40px; }
  .ft__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .ft__col { gap: 28px; }
  .ft__group { gap: 10px; }
  .ft__group a { font-size: 15px; padding: 2px 0; }
  .ft__bottom { flex-direction: column-reverse; align-items: flex-start; gap: 16px; padding: 22px 0 26px; }
  .ft__end { width: 100%; justify-content: space-between; }
}

/* ---------- phones, one pass (owner, 2026-11-07: "footer also for phone not coming well"; mobile pass 2026-11-14) ---------- */
/* Show more on phones: a list with data-sm="N" (paiir.js marks the items after N with .sm-x and adds the pill under it) */
.sm-row { display: none; }
@media (max-width: 640px) {
  .js [data-sm]:not(.is-open) > .sm-x { display: none !important; }
  .sm-row { display: flex; justify-content: center; margin-top: 20px; }
  .sm-row[hidden] { display: none; }
  .sm-row .sm-btn { min-width: 148px; height: 44px; padding: 0 22px; font-size: 15px; }

  /* the footer: the two ways in side by side at full width, the link groups flowing in two balanced columns, the
     policies on one line and the copyright under them */
  html[data-theme="light"] .ft__go { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  html[data-theme="light"] .ft__go .pill { height: 46px; justify-content: center; }
  .ft__line { max-width: none; }
  .ft__cols { display: block; columns: 2; column-gap: 20px; }
  .ft__col { display: block; }
  .ft__group { break-inside: avoid; margin-bottom: 26px; gap: 4px; }
  .ft__group > span { margin-bottom: 6px; }
  .ft__group a { display: block; padding: 7px 0; }
  .ft__bottom { gap: 14px; }
  .ft__legal { gap: 4px 20px; }
  .ft__legal a { padding: 6px 0; }
  .ft__legal > span { order: 9; width: 100%; padding-top: 6px; }
}

/* Calm type (owner, 2026-11-12: "I dont want too much bold"): bold words stay medium, never heavy */
b, strong { font-weight: 500; }
.nav__item { font-weight: 400; }
/* Page headlines one step heavier (owner, 2026-11-12: "Connect with people who’ve done it ... little too thin, make it medium") */
html[data-theme="light"] :is(.hero h1, .hx-hero h1, .eh h1, .hh h1, .nh__h, .ph__h, .cx__h, .lg__head h1, .bp__top h1, .uc-hero h1, .wrap > section:first-child h1) { font-weight: 600; }

/* ---------- Host on Paiir: free and paid, and who sees your event (ui.js hostPlans, owner 2026-11-17) ---------- */
.hplans { margin: clamp(48px, 7vw, 96px) 0; }
.hplans__head { max-width: 640px; }
.hplans__kick { display: inline-flex; align-items: center; gap: 8px; color: #6B3FD4; font-size: 14px; font-weight: 500; }
.hplans__kick span { width: 8px; height: 8px; border-radius: 3px; background: #6B3FD4; }
.hplans__head h2 { margin-top: 10px; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -0.025em; }
.hplans__head > p:last-child { margin-top: 10px; color: var(--text-2); font-size: 17px; line-height: 1.55; }
.hplans__grid { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hplan { --soft: #F1EAFF; --tile: #E2D4FF; --ink: #6B3FD4; display: flex; flex-direction: column; padding: 24px; border-radius: var(--r-card, 22px); background: var(--soft); }
.hplan--free { --soft: #E3F6EA; --tile: #C9EDD6; --ink: #16794A; }
.hplan--paid { --soft: #E8F0FE; --tile: #D3E3FD; --ink: #0B57D0; box-shadow: inset 0 0 0 2px #1A73E8; }
.hplan__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-tile, 12px); background: var(--tile); color: var(--ink); }
.hplan__k { margin-top: 16px; color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.hplan__price { margin-top: 6px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.hplan__price b { font-size: 40px; font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: var(--text); }
.hplan__price span { color: var(--text-2); font-size: 15px; }
.hplan__note { margin-top: 8px; color: var(--text); font-size: 14.5px; font-weight: 500; }
.hplan__lead { margin-top: 8px; color: var(--text); font-size: 15.5px; line-height: 1.55; }
.hplan__list { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.hplan__list li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-2); font-size: 14.5px; line-height: 1.45; }
.hplan__tick { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--ink); color: #FFFFFF; }
.hplans__go { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 1023px) { .hplans__grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }

/* ---------- Happening on Paiir: events built on Paiir, live (ui.js hostedEvents + paiir.js) ---------- */
.hosted { margin: clamp(40px, 6vw, 80px) 0; }
.hosted[hidden] { display: none; }
.hosted__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.hosted__kick { display: inline-flex; align-items: center; gap: 8px; color: #16794A; font-size: 14px; font-weight: 500; }
.hosted__live { width: 8px; height: 8px; border-radius: 50%; background: #16794A; box-shadow: 0 0 0 3px #C9EDD6; }
.hosted__head h2 { margin-top: 8px; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -0.022em; }
.hosted__head p:not(.hosted__kick) { margin-top: 6px; color: var(--text-2); font-size: 16px; }
.hosted__grid { margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hosted__c { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-card, 22px); background: #FFFFFF; box-shadow: 0 0 0 1px #E3E3E3; color: var(--text); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.hosted__c:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px #DADCE0, 0 16px 32px -20px rgba(31, 31, 31, .4); }
.hosted__pic { position: relative; display: block; flex: none; aspect-ratio: 16 / 9; overflow: hidden; background: #F1F3F4; }
.hosted__pic img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.hosted__chip, .hosted__on { position: absolute; z-index: 1; top: 10px; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; }
.hosted__chip { left: 10px; background: rgba(255, 255, 255, .92); color: #1F1F1F; }
.hosted__on { right: 10px; background: rgba(17, 17, 17, .72); color: #FFFFFF; }
.hosted__w { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.hosted__when { color: #0B57D0; font-size: 13.5px; font-weight: 500; }
.hosted__w b { font-size: 17px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hosted__meta { color: var(--text-2); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1023px) { .hosted__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .hosted__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-left: -16px; margin-right: -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .hosted__grid::-webkit-scrollbar { display: none; }
  .hosted__c { flex: 0 0 82%; scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) { .hosted__c, .hplan { transition: none; } }

html[data-theme] .hplans__go .pill--dark { background: #1F1F1F; color: #FFFFFF; }
html[data-theme] .hplans__go .pill--dark:hover { background: #000000; }
