/* knewit.in home page. Only index.html loads this file; the app, admin and legal pages use styles.css. */

:root {
  --ink: #0b0b0d;
  --paper: #ffffff;
  --soft: #f4f4f6;
  --soft-2: #ebebef;
  --line: #e4e4ea;
  --stone: #55556a;      /* body grey, 7:1 on white */
  --dim: #8a8a96;        /* second tone in headlines, 3.4:1: only on large text */
  --butter: #f9e3a1;
  --butter-deep: #e9c661;
  --lav: #9b7ff0;
  --lav-deep: #5b3fc4;
  --lav-mist: #f1edff;
  --orange: #ff6b35;
  --mint: #34c38f;
  --pink: #ff9cbc;
  --sky: #4f8cff;
  --lime: #dcf36a;
  --rasp: #d9245c;

  --head: "Inter Tight", "Inter", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --max: 1240px;
  --gutter: clamp(16px, 4.5vw, 48px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: clamp(1rem, .97rem + .15vw, 1.0625rem); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button { font: inherit; color: inherit; }
.dim { color: var(--dim); }
.muted { color: var(--stone); }
:focus-visible { outline: 3px solid var(--lav-deep); outline-offset: 3px; border-radius: 10px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.eyebrow { font-size: .74rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); margin-bottom: 14px; }

/* ---------- Pills ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: .92rem; text-decoration: none; border: 1.5px solid transparent; transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s; white-space: nowrap; }
.pill-lg { min-height: 52px; padding: 0 26px; font-size: 1rem; }
.pill-ink { background: var(--ink); color: var(--paper); }
.pill-ink:hover { background: var(--lav-deep); transform: translateY(-2px); }
.pill-ghost { border-color: var(--line); background: var(--paper); }
.pill-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.pill-paper { background: var(--paper); color: var(--ink); }
.pill-paper:hover { background: var(--butter); transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px max(var(--gutter), calc((100vw - var(--max)) / 2)); background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, padding .3s; }
.nav.scrolled { border-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.04em; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { text-decoration: none; font-size: .9rem; font-weight: 550; padding: 8px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.nav-links a:hover { background: var(--soft); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 6px; }
.nav-signin { text-decoration: none; font-size: .9rem; font-weight: 600; padding: 8px 12px; border-radius: 999px; }
.nav-signin:hover { background: var(--soft); }
.nav-links a[aria-current="page"] { background: var(--soft); }
.nav-signup { padding: 9px 16px; font-size: .9rem; }
.nav-signup[hidden] { display: none !important; }
.nav-links .nav-menu-signin { display: none; }
.nav-menu { display: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; place-items: center; }
.nav-menu:hover { background: var(--soft); }
.nav-menu svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav-menu:focus-visible { outline: 3px solid var(--lav-deep, #5b3fc4); outline-offset: 2px; }
/* six links + cart + Sign up + Sign in only fit side by side on wide screens; below that they open from the menu button */
@media (max-width: 1100px) {
  .nav-menu { display: inline-grid; }
  .nav-links { display: none; position: absolute; top: 100%; left: var(--gutter); right: var(--gutter); flex-direction: column; gap: 2px; padding: 8px;
    background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px rgba(0, 0, 0, .12); }
  .nav.menu-open .nav-links { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 1rem; }
}
@media (max-width: 420px) { .nav-links .nav-menu-signin { display: flex; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; margin-top: 4px; } .nav-signin { display: none; } .nav-signup { padding: 8px 13px; } .nav-end { gap: 2px; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(96px, 9.5vw, 128px) var(--gutter) clamp(40px, 6vw, 72px); text-align: center; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 70%; z-index: -1; background: radial-gradient(60% 60% at 50% 0%, var(--lav-mist), transparent 70%); }
.hero-title { font-size: clamp(2.3rem, 1rem + 4.6vw, 5.3rem); letter-spacing: -0.055em; line-height: .98; max-width: 19ch; margin: 0 auto; }
.hero-title .w { display: inline-block; }
.js .hero-title .w { opacity: 0; filter: blur(10px); transform: translateY(.35em); transition: opacity .8s var(--ease), filter .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--k, 0) * 70ms); }
.js .ready .hero-title .w { opacity: 1; filter: none; transform: none; }

.arc-wrap { position: relative; }
.arc { position: relative; height: clamp(250px, 27vw, 350px); margin: clamp(6px, 1.6vw, 20px) calc(var(--gutter) * -1) 0; perspective: 1500px; perspective-origin: 50% 40%; overflow: hidden; touch-action: pan-y; cursor: grab; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.arc.dragging { cursor: grabbing; }
.arc-track { position: absolute; inset: 0; transform-style: preserve-3d; }
.ac { --cw: clamp(112px, 11.6vw, 172px); position: absolute; left: 50%; top: 50%; width: var(--cw); aspect-ratio: 3 / 4; margin: calc(var(--cw) * -2 / 3) 0 0 calc(var(--cw) / -2); padding: 0; border: 0; background: none; cursor: pointer; transform-style: preserve-3d; will-change: transform; -webkit-tap-highlight-color: transparent; }
.ac-in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .7s var(--ease); }
.ac.flip .ac-in { transform: rotateY(180deg); }
.ac-f, .ac-b { position: absolute; inset: 0; border-radius: calc(var(--cw) * .1); padding: calc(var(--cw) * .09); display: flex; flex-direction: column; text-align: left; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 16px 26px -16px rgba(20, 10, 60, .55), 0 4px 10px -6px rgba(0,0,0,.25); }
.ac-f::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 80% at 0% 0%, rgba(255,255,255,.35), transparent 50%), radial-gradient(90% 70% at 100% 100%, rgba(0,0,0,.14), transparent 60%); }
.ac-b { transform: rotateY(180deg); background: var(--ink); color: var(--paper); justify-content: center; gap: 8px; }
.ac small { font-size: calc(var(--cw) * .06); font-weight: 650; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.ac-f b { font-family: var(--head); font-weight: 800; letter-spacing: -0.06em; line-height: .9; font-size: calc(var(--cw) * .24); margin-top: auto; }
.ac-long .ac-f b { font-size: calc(var(--cw) * .17); }
.ac-f > span { font-size: calc(var(--cw) * .072); font-weight: 550; line-height: 1.3; margin-top: calc(var(--cw) * .06); opacity: .85; }
.ac-b > span { font-family: var(--head); font-size: calc(var(--cw) * .095); font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
.ac:focus-visible { outline: none; } .ac:focus-visible .ac-f, .ac:focus-visible .ac-b { outline: 3px solid var(--lav-deep); outline-offset: 3px; }

.c-butter { --bg: var(--butter); --fg: var(--ink); } .c-lav { --bg: var(--lav); --fg: #fff; } .c-ink { --bg: #15151a; --fg: #fff; }
.c-orange { --bg: var(--orange); --fg: #1a0b05; } .c-mint { --bg: var(--mint); --fg: #062418; } .c-pink { --bg: var(--pink); --fg: #3a0718; }
.c-sky { --bg: var(--sky); --fg: #fff; } .c-paper { --bg: #fbfbfd; --fg: var(--ink); } .c-lime { --bg: var(--lime); --fg: #1d2500; } .c-rasp { --bg: var(--rasp); --fg: #fff; }
.ac-f, .cc-mini, .fg { background: var(--bg); color: var(--fg); }
.c-paper .ac-f { box-shadow: 0 0 0 1px var(--line) inset, 0 16px 26px -16px rgba(20, 10, 60, .4); }
.c-ink .ac-f { background: radial-gradient(100% 80% at 100% 0%, #3b2a8a, transparent 60%), #15151a; }
.c-lav .ac-f { background: radial-gradient(100% 90% at 100% 100%, var(--lav-deep), transparent 70%), var(--lav); }

.tag { position: absolute; z-index: 5; top: 4px; display: inline-flex; align-items: flex-start; gap: 2px; pointer-events: none; animation: bob 5.5s ease-in-out infinite; }
.tag b { font-size: .82rem; font-weight: 650; padding: 6px 11px; border-radius: 999px; color: #fff; box-shadow: 0 8px 20px -8px rgba(0,0,0,.35); }
.tag svg { width: 18px; height: 18px; fill: var(--ink); stroke: #fff; stroke-width: 1.4; margin-top: 18px; }
.tag-l { left: max(10%, calc(50% - 360px)); } .tag-l b { background: var(--lav-deep); } .tag-l svg { transform: scaleX(-1); }
.tag-r { right: max(10%, calc(50% - 360px)); top: -2%; animation-delay: -2.7s; } .tag-r b { background: #13a26f; margin-top: 20px; } .tag-r svg { margin-top: 0; }
@keyframes bob { 50% { transform: translate(6px, -10px); } }
.js .tag { opacity: 0; transition: opacity .6s 1.2s; } .js .ready .tag { opacity: 1; }

.hero-foot { display: grid; justify-items: center; gap: 22px; margin-top: clamp(4px, 1.5vw, 16px); }
/* Same look as the hero headline (owner's request): tight bold heading font, ink first line, grey second line with the key words in ink. */
.hero-lede { max-width: 22ch; text-align: center; font-family: var(--head); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; text-wrap: balance; color: var(--ink); font-size: clamp(1.6rem, .9rem + 2.6vw, 3.1rem); }
.hero-lede .ink { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.js .hero-foot { opacity: 0; transform: translateY(16px); transition: opacity .8s .9s var(--ease), transform .8s .9s var(--ease); } .js .ready .hero-foot { opacity: 1; transform: none; }
.hero-stats { display: flex; gap: clamp(18px, 6vw, 64px); margin: 6px 0 0; }
.hero-stats div { display: grid; justify-items: center; }
.hero-stats dd { margin: 0; font-family: var(--head); font-weight: 700; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.hero-stats dt { white-space: nowrap; font-size: .85rem; color: var(--stone); font-weight: 550; margin-top: 4px; }

/* ---------- Section shells ---------- */
main > section { padding-inline: var(--gutter); }
main > section > * { max-width: var(--max); margin-inline: auto; }
.sec-head { margin-bottom: clamp(26px, 4vw, 44px); }
.sec-head h2, .strip-head h2, .own-copy h2, .cascade-copy h2, .pc-head h2, .faq-head h2 { font-size: clamp(2rem, 1rem + 3.6vw, 4.2rem); }
.sec-head > p:not(.eyebrow) { margin-top: 16px; color: var(--stone); max-width: 58ch; }
.sec-head.center { text-align: center; } .sec-head.center h2, .sec-head.center > p { margin-inline: auto; }
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Syllabus strip ---------- */
.strip { padding-block: clamp(36px, 6vw, 72px); }
.strip-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 28px; margin-bottom: 26px; }
.strip-head h2 { font-size: clamp(1.6rem, 1rem + 2vw, 2.6rem); }
.strip-head p { color: var(--stone); max-width: 36ch; }
/* who it's for: crayon sketches */
.asp { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.asp li { display: grid; align-content: start; gap: 6px; padding: 16px 18px 20px; border-radius: 24px; background: #fbfaf6; transition-delay: calc(var(--i, 0) * 90ms); }
.asp svg { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; margin-bottom: 8px; overflow: visible; transition: transform .5s cubic-bezier(.3,1.4,.5,1); }
.asp li:hover svg { transform: rotate(-2deg) scale(1.03); }
.asp h3 { font-size: 1.12rem; letter-spacing: -0.025em; }
.asp p { font-size: .92rem; color: var(--stone); line-height: 1.45; }
.asp g { fill: none; }
.asp .ink { stroke: #2b2836; stroke-width: 3.2; }
.asp .thin { stroke-width: 2.4; }
.asp .dots { stroke-width: 6.5; }
.asp .c-blue { stroke: #4f8cff; stroke-width: 5; } .asp .c-blue.thin { stroke-width: 3.4; }
.asp .c-red { stroke: #e5484d; stroke-width: 4.5; }
.asp .fill-yellow { fill: #ffd84d; } .asp .fill-orange { fill: #ff8a4c; } .asp .fill-green { fill: #5cc98b; } .asp .fill-pink { fill: #ff9ec0; }
.asp .fill-blue { fill: #7fb0ff; } .asp .fill-purple { fill: #a98bff; } .asp .fill-paper { fill: #fff; } .asp .fill-glow { fill: #ffe98a; opacity: .7; }
@media (max-width: 960px) { .asp { grid-template-columns: repeat(2, 1fr); } }
/* what you get */
.feats { padding-top: 0; }
.feat { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.feat li { display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 22px; border-radius: 24px; background: #fff; border: 1px solid #ececf1; transition-delay: calc(var(--i, 0) * 70ms); }
.feat-ic { width: 68px; height: 68px; border-radius: 18px; background: #fbfaf6; display: grid; place-items: center; margin-bottom: 8px; }
.feat-ic svg { width: 54px; height: 54px; overflow: visible; }
.feat h3 { font-size: 1.15rem; letter-spacing: -0.025em; }
.feat p { font-size: .93rem; color: var(--stone); line-height: 1.5; }
.feat-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.feat-tags i { font-style: normal; font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #f3f2f7; color: #3d3a4b; }
.feat-foot { text-align: center; margin-top: 22px; color: var(--stone); font-size: .95rem; }
.feat-foot a { color: var(--ink); font-weight: 650; }
.feat g { fill: none; }
.feat .ink { stroke: #2b2836; stroke-width: 2.6; } .feat .thin { stroke-width: 2; }
.feat .c-blue { stroke: #4f8cff; stroke-width: 4; } .feat .c-green { stroke: #22a06b; stroke-width: 3.2; } .feat .c-purple { stroke: #8b6cff; stroke-width: 3.2; } .feat .c-orange { stroke: #ff8a4c; stroke-width: 3.2; }
.feat .fill-yellow { fill: #ffd84d; } .feat .fill-orange { fill: #ff8a4c; } .feat .fill-pink { fill: #ff9ec0; } .feat .fill-blue { fill: #7fb0ff; } .feat .fill-paper { fill: #fff; } .feat .fill-ink { fill: #24212d; }
@media (max-width: 960px) { .feat { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feat { grid-template-columns: 1fr; } .feat li { padding: 20px; } }
@media (max-width: 380px) { .asp li { padding: 14px 14px 16px; } .asp h3 { font-size: 1rem; } .asp p { font-size: .86rem; } }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-row { display: flex; width: max-content; animation: slide 60s linear infinite; }
.marquee-soft span { font-family: var(--head); font-weight: 650; font-size: clamp(1.1rem, .9rem + .8vw, 1.5rem); letter-spacing: -0.03em; color: #a8a8b4; padding: 0 22px; display: inline-flex; align-items: center; gap: 44px; white-space: nowrap; }
.marquee-soft span::after { content: "✦"; font-size: .7em; color: #cfcfd8; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- How revision works ---------- */
.how { padding-block: clamp(48px, 8vw, 110px); }
.how .sec-head h2 { max-width: 16ch; }

/* ---------- How revision works: coloured-pencil drawing on the page ---------- */
.how2 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 4vw, 48px) clamp(24px, 5vw, 64px); align-items: center; }
.how2-copy p { font-size: clamp(1.05rem, .98rem + .4vw, 1.3rem); line-height: 1.5; max-width: 44ch; }
.how2-copy p + p { margin-top: 12px; font-size: 1rem; }
.how2-card { position: relative; justify-self: center; width: min(100%, 360px); display: grid; gap: 18px; padding: 22px 22px 20px; border-radius: 28px; background: #fff;
  border: 1px solid rgba(0,0,0,.06); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 14px 28px -10px rgba(20,16,40,.12), 0 44px 80px -30px rgba(20,16,40,.22); }
.hc-top { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; }
.hc-subj { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: #1d1d1f; }
.hc-subj i { width: 8px; height: 8px; border-radius: 50%; background: var(--lav-deep); }
.hc-count { color: #86868b; font-variant-numeric: tabular-nums; }
.hc-q { font-family: var(--head); font-size: 1.32rem; font-weight: 650; line-height: 1.25; letter-spacing: -0.025em; color: #1d1d1f; }
.hc-seg { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding: 3px; border-radius: 12px; background: #f2f2f5; }
.hc-seg i { position: relative; z-index: 1; font-style: normal; font-size: .82rem; font-weight: 550; text-align: center; padding: 8px 0; color: #6e6e73; transition: color .3s 1.1s; }
.hc-seg i.on { color: #1d1d1f; font-weight: 650; }
.hc-pill { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / 4); border-radius: 9px; background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 1px rgba(0,0,0,.04); transform: translateX(200%); transition: transform .7s 1s cubic-bezier(.3,.9,.3,1); }
.js .how2-card:not(.in) .hc-pill { transform: translateX(0); }
.js .how2-card:not(.in) .hc-seg i.on { color: #6e6e73; }
.how2-note { position: absolute; right: 20px; bottom: -30px; font-size: .68rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); white-space: nowrap; }
.js .how2-note { opacity: 0; transition: opacity .4s 1.7s; } .js .how2-card.in .how2-note { opacity: 1; }

.how2-draw { grid-column: 1 / -1; margin: clamp(8px, 2vw, 20px) 0 0; }
.how2-draw figcaption { font-size: .74rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); text-align: center; margin-top: 8px; }
.js .how2-draw figcaption { opacity: 0; transition: opacity .5s .15s; } .js .how2-draw.done figcaption { opacity: 1; }
.how2-draw svg { display: block; width: 100%; height: auto; overflow: visible; }
.tl-v { display: none !important; max-width: 420px; margin: 0 auto; }
@media (max-width: 760px) { .how2 { grid-template-columns: 1fr; } .tl-h { display: none !important; } .tl-v { display: block !important; } .how2-card { margin-bottom: 30px; } }

/* strokes, dots, the travelling ball */
.how2-draw .draw { stroke: var(--c); stroke-width: 3.6; }
.how2-draw .draw.base { stroke-width: 2; }
.how2-draw .draw.ghost { display: none; }
.tl-v .draw { stroke-width: 3.2; }
.dots circle, .dots .done-card { transform-box: fill-box; transform-origin: center; }
.dots circle { stroke: #1b1922; stroke-width: 2.2; }
.dots circle { fill: var(--f); }
.dots .done-card rect { stroke: #1b1922; stroke-width: 2.2; }
.dots .done-card .back { fill: #c9f2dc; }
.dots .done-card .front { fill: #fffdf8; }
.dots .done-card .tick { fill: none; stroke: #16a34a; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ball { fill: #1d1b24; }
.ball-glow { fill: #1d1b24; opacity: .1; }
.ripples circle { fill: none; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ripple .9s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes ripple { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.8); opacity: 0; } }

/* labels: the site's small uppercase style, shown at once */
.labels text { font-family: var(--body); text-anchor: middle; letter-spacing: .14em; }
.tl-v .labels text { text-anchor: start; }
.labels .day { font-size: 13px; font-weight: 700; fill: #15131c; }
.labels .sub { font-size: 10.5px; font-weight: 600; fill: #8a8a96; }
.tl-v .labels .day { font-size: 12.5px; } .tl-v .labels .sub { font-size: 10px; }
.how2-foot { font-size: 1rem; color: var(--ink); text-align: center; margin: 18px auto 0; max-width: 60ch; }

/* before the animation runs (JS adds .ready, then plays) */
.js .how2-draw .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .how2-draw .dots > * { opacity: 0; transform: scale(.3); transition: opacity .25s, transform .55s cubic-bezier(.3,1.7,.5,1); }
.js .how2-draw .dots > .on { opacity: 1; transform: scale(1); }
.js .how2-draw .labels > g { opacity: 0; transition: opacity .3s; }
.js .how2-draw .labels > g.on { opacity: 1; }
.js .how2-draw .ball, .js .how2-draw .ball-glow { opacity: 0; transition: opacity .3s; }
.js .how2-draw.playing .ball { opacity: 1; } .js .how2-draw.playing .ball-glow { opacity: .1; }
.js .how2-foot { opacity: 0; transition: opacity .5s; } .js .how2-draw.done .how2-foot { opacity: 1; }
.how2-draw.done .done-card { animation: cardBob 3.4s 1s ease-in-out infinite; }
@keyframes cardBob { 50% { transform: translateY(-3px) rotate(-3deg); } }
@media (prefers-reduced-motion: reduce) {
  .js .how2-draw .draw { stroke-dashoffset: 0; }
  .js .how2-draw .dots > *, .js .how2-draw .labels > g, .js .how2-foot, .js .how2-note, .js .how2-draw figcaption { opacity: 1; transform: none; transition: none; }
  .how2-draw.done .done-card { animation: none; }
}


/* ---------- Sessions: scroll cascade ---------- */
.cascade { position: relative; }
.cascade-pin { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.cascade-copy > p:not(.eyebrow) { margin-top: 18px; color: var(--stone); max-width: 44ch; }
.cascade-copy .muted { font-size: .92rem; }
.cascade-stage { position: relative; height: min(76vh, 640px); }
.cc { --x: calc(var(--i) * 9%); --y: calc(var(--i) * 12%); position: absolute; left: var(--x); top: var(--y); border-radius: 20px; box-shadow: 0 30px 50px -28px rgba(20, 10, 60, .45), 0 0 0 1px rgba(0,0,0,.04); will-change: transform; }
.cc small { font-size: .7rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.cc-sess { width: clamp(220px, 22vw, 290px); padding: 20px; display: grid; gap: 6px; }
.cc-sess b { font-family: var(--head); font-size: 1.7rem; letter-spacing: -0.04em; }
.cc-sess span { font-size: .88rem; opacity: .8; }
.cc-butter { background: var(--butter); } .cc-ink { background: radial-gradient(100% 90% at 100% 0%, #3b2a8a, transparent 60%), #15151a; color: #fff; }
.cc-note { width: clamp(240px, 24vw, 310px); display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.cc-note img { border-radius: 7px; flex: none; }
.cc-note b { display: block; font-size: .88rem; } .cc-note span { font-size: .82rem; color: var(--stone); }
.cc-mini { width: clamp(120px, 11vw, 150px); aspect-ratio: 3 / 4; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.cc-mini b { font-family: var(--head); font-size: 1.5rem; letter-spacing: -0.05em; line-height: .95; }
@media (min-width: 861px) {
  .js .cascade { height: 210vh; }
  .js .cascade-pin { position: sticky; top: 0; height: 100vh; }
}
@media (max-width: 860px) {
  .cascade { padding-block: 48px; }
  .cascade-pin { grid-template-columns: 1fr; }
  .cascade-stage { height: 640px; }
  .cc { --x: calc(var(--i) * 6%); --y: calc(var(--i) * 13.2%); }
  .js .cc { opacity: 0; transform: translate(40px, 30px) rotate(6deg); transition: opacity .7s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i) * 90ms); }
  .js .cascade.in .cc { opacity: 1; transform: none; }
}

/* ---------- Own cards: folder tabs ---------- */
.own { padding-block: clamp(56px, 9vw, 120px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; }
.own > * { max-width: none; margin: 0; }
.own-ic { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; margin-bottom: 18px; }
.own-copy p { margin: 18px 0 24px; color: var(--stone); max-width: 40ch; }
.folder-tabs { display: flex; gap: 4px; padding-left: 14px; }
.folder-tabs button { border: 0; cursor: pointer; font-weight: 650; font-size: .92rem; padding: 12px 18px 14px; border-radius: 16px 16px 0 0; background: var(--soft-2); color: var(--stone); margin-bottom: -8px; transition: background .25s, color .25s, padding .25s; }
.folder-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; padding-inline: 24px; }
.folder-panel { position: relative; background: var(--ink); color: #fff; border-radius: 26px; padding: clamp(18px, 2.6vw, 28px); }
.folder-say { color: rgba(255,255,255,.78); margin-bottom: 18px; max-width: 50ch; min-height: 3.1em; font-size: .95rem; }
.folder-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fg { aspect-ratio: 4 / 3; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; transition: opacity .35s var(--ease), transform .45s var(--ease); transition-delay: calc(var(--j, 0) * 45ms); }
.fg small { font-size: .7rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.fg b { font-family: var(--head); font-size: clamp(.95rem, .8rem + .5vw, 1.2rem); letter-spacing: -0.03em; line-height: 1.1; }
.fg.c-paper { box-shadow: none; }
.folder-grid.swap .fg { opacity: 0; transform: translateY(10px) scale(.96); }
@media (max-width: 860px) { .own { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .folder-grid { grid-template-columns: repeat(2, 1fr); } .folder-tabs { padding-left: 6px; } .folder-tabs button { padding: 10px 12px 14px; font-size: .84rem; } .folder-tabs button[aria-selected="true"] { padding-inline: 14px; } }

/* ---------- Subjects: line icons ---------- */
.subjects { padding-block: clamp(56px, 9vw, 110px); }
.subj { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(22px, 3vw, 36px) 14px; max-width: 980px; }
.subj a { display: grid; justify-items: center; gap: 10px; text-align: center; text-decoration: none; font-size: .88rem; font-weight: 600; line-height: 1.25; }
.ring { width: clamp(62px, 6.4vw, 82px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1.5px solid var(--ink); transition: background .3s, color .3s, transform .4s var(--ease); }
.ring svg { width: 46%; height: 46%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.subj a:hover .ring { background: var(--ink); color: #fff; transform: translateY(-6px) rotate(-6deg); }
.center-link { text-align: center; margin-top: clamp(28px, 4vw, 44px); }
.center-link a { font-weight: 650; text-decoration: none; border-bottom: 1.5px solid; }

@media (max-width: 640px) { .subj { grid-template-columns: repeat(2, 1fr); } .subj a { font-size: .84rem; } }

/* ---------- Feature tiles ---------- */
.tiles { padding-block: clamp(56px, 9vw, 110px) clamp(40px, 6vw, 70px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; }
.tiles > * { max-width: none; margin: 0; }
.tile { position: relative; overflow: hidden; border-radius: clamp(24px, 3vw, 36px); min-height: clamp(420px, 44vw, 560px); padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; isolation: isolate; }
.tile h3 { font-size: clamp(1.6rem, 1rem + 1.8vw, 2.5rem); max-width: 16ch; }
.tile h3 span { opacity: .62; }
.tile p { max-width: 42ch; font-size: .95rem; opacity: .85; }
.tile-ic { position: absolute; top: clamp(20px, 3vw, 30px); left: clamp(20px, 3vw, 30px); width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; }
.tile-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.tile-rasp { color: #fff; background: radial-gradient(80% 70% at 80% 10%, #ff6f91, transparent 60%), radial-gradient(70% 70% at 0% 100%, #7a0a35, transparent 60%), var(--rasp); }
.tile-butter { color: var(--ink); background: radial-gradient(80% 70% at 90% 10%, #fff3c9, transparent 60%), radial-gradient(70% 70% at 0% 100%, #f2c94c, transparent 60%), var(--butter); }
.devs { position: absolute; z-index: -1; inset: 14% 6% 50% 6%; display: flex; align-items: flex-end; justify-content: center; gap: 4%; }
.devs i { display: block; border: 2px solid rgba(255,255,255,.9); background: linear-gradient(160deg, rgba(255,255,255,.28), rgba(255,255,255,.06)); backdrop-filter: blur(6px); transition: transform .8s var(--ease); }
.d-phone { width: 15%; aspect-ratio: 9 / 19; border-radius: 14px; }
.d-tab { width: 30%; aspect-ratio: 3 / 4; border-radius: 16px; }
.d-lap { width: 44%; aspect-ratio: 16 / 10.5; border-radius: 10px 10px 2px 2px; position: relative; }
.d-lap::after { content: ""; position: absolute; left: -9%; right: -9%; bottom: -10px; height: 8px; border-radius: 0 0 8px 8px; background: rgba(255,255,255,.85); }
.tile:hover .d-phone { transform: translateY(-10px) rotate(-4deg); } .tile:hover .d-lap { transform: translateY(-6px); } .tile:hover .d-tab { transform: translateY(-14px) rotate(3deg); }
.papers { position: absolute; z-index: -1; inset: 14% 10% 44% 10%; }
.papers i { position: absolute; left: 50%; top: 50%; width: min(78%, 330px); padding: 18px 20px; border-radius: 18px; background: #fff; font-style: normal; font-family: var(--head); font-weight: 650; letter-spacing: -0.02em; font-size: 1.05rem; box-shadow: 0 30px 40px -24px rgba(80, 50, 0, .45); transition: transform .8s var(--ease); }
.papers i:nth-child(1) { transform: translate(-58%, -150%) rotate(-6deg); }
.papers i:nth-child(2) { transform: translate(-42%, -45%) rotate(4deg); background: var(--ink); color: #fff; }
.papers i:nth-child(3) { transform: translate(-54%, 62%) rotate(-3deg); }
.tile:hover .papers i:nth-child(1) { transform: translate(-62%, -166%) rotate(-9deg); } .tile:hover .papers i:nth-child(3) { transform: translate(-50%, 76%) rotate(0deg); }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing { position: relative; padding-block: clamp(56px, 9vw, 110px); }
.pc-head { text-align: center; display: grid; justify-items: center; gap: 16px; margin-bottom: clamp(36px, 5vw, 60px); }
.pc-head .own-ic { margin-bottom: 0; }
.pc-head p { color: var(--stone); max-width: 52ch; }
.pc-toggle { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; font-size: .95rem; padding: 10px 18px 10px 12px; border-radius: 999px; background: var(--soft); }
.pc-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pc-switch { width: 44px; height: 26px; border-radius: 99px; background: #c9c9d3; position: relative; flex: none; transition: background .25s; }
.pc-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.2); transition: transform .3s var(--ease); }
.pc-toggle input:checked + .pc-switch { background: var(--lav-deep); }
.pc-toggle input:checked + .pc-switch::after { transform: translateX(18px); }
.pc-toggle input:focus-visible + .pc-switch { outline: 3px solid var(--lav-deep); outline-offset: 3px; }
.pc-toggle em { font-style: normal; color: var(--lav-deep); margin-left: 4px; }
.pc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 22px); align-items: center; }
.pc { position: relative; border-radius: 28px; padding: clamp(22px, 2.6vw, 30px); background: var(--paper); box-shadow: 0 0 0 1.5px var(--line); display: flex; flex-direction: column; gap: 10px; transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .3s; }
.js .pc { opacity: 0; transform: translateY(40px); }
.js .pc.in { opacity: 1; transform: none; }
.pc-pop-card { background: radial-gradient(90% 70% at 100% 0%, #ff8a5c, transparent 55%), linear-gradient(160deg, #6a4ae0, #4a2fb4); color: #fff; box-shadow: 0 40px 70px -30px rgba(74, 47, 180, .75); }
.pc-pop-card, .js .pc-pop-card.in { transform: translateY(-14px) rotate(-2deg); }
.pc-pop-card:hover { transform: translateY(-18px) rotate(0); }
.pc-pop { position: absolute; top: 18px; right: 18px; font-size: .74rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--butter); color: var(--ink); }
.pc-name { font-weight: 650; font-size: .95rem; }
.pc-price { display: flex; align-items: baseline; gap: 4px; margin-top: 4px; }
.pc-rs { font-family: var(--head); font-size: 1.6rem; font-weight: 700; align-self: flex-start; margin-top: .4em; }
.pc-price b { font-family: var(--head); font-size: clamp(3rem, 2.2rem + 2.4vw, 4.2rem); letter-spacing: -0.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.pc-per { font-size: .9rem; opacity: .7; margin-left: 4px; }
.pc-sub { font-size: .88rem; opacity: .78; min-height: 2.6em; }
.pc-was { text-decoration: line-through; opacity: .6; margin-right: 6px; }
.pc-feat { list-style: none; margin: 8px 0 14px; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: .9rem; }
.pc-pop-card .pc-feat { border-color: rgba(255,255,255,.22); }
.pc-feat li { display: flex; gap: 10px; }
.pc-feat li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100%; }
.pc-pop-card .pc-feat li::before { background-color: var(--butter); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pc-btn { margin-top: auto; display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 999px; font-weight: 650; text-decoration: none; background: var(--ink); color: #fff; transition: transform .25s var(--ease), background .2s; }
.pc-btn:hover { transform: translateY(-2px); background: var(--lav-deep); }
.pc-pop-card .pc-btn { background: #fff; color: var(--ink); } .pc-pop-card .pc-btn:hover { background: var(--butter); }
.pc-ref { margin: 26px auto 0; max-width: 60ch; padding: 10px 16px; border-radius: 999px; background: #e9f7ee; color: #14532d; font-weight: 600; font-size: .92rem; text-align: center; }
.pc-ref b { letter-spacing: .06em; }
.pc-foot { text-align: center; color: var(--stone); font-size: .9rem; margin-top: 26px; max-width: 64ch; }
.code-sample { font-family: ui-monospace, Consolas, monospace; font-weight: 700; letter-spacing: .08em; color: var(--ink); background: var(--soft-2); padding: 2px 8px; border-radius: 6px; }
.pc-confetti { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; pointer-events: none; }
@media (max-width: 960px) {
  .pc-grid { grid-template-columns: 1fr; max-width: 460px; }
  .pc-pop-card, .js .pc-pop-card.in { transform: rotate(-1.5deg); }
  .pc-grid .pc-pop-card { order: -1; }
}

/* ---------- FAQ ---------- */
/* ---------- FAQ: topic boxes + chat-style answers ---------- */
.faq { padding-block: clamp(56px, 8vw, 100px); }
.faq > * { max-width: 760px; }
.faq-head { text-align: center; }
.faq-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: clamp(24px, 3.4vw, 36px); }
.faq-tab { font: inherit; font-size: .95rem; font-weight: 600; color: var(--stone); padding: 12px 20px; border-radius: 14px; border: 1px solid #e6e5ec; background: var(--paper); cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.faq-tab:hover { border-color: #cfcdd8; color: var(--ink); }
.faq-tab:active { transform: scale(.97); }
.faq-tab.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.faq-tab:focus-visible, .faq-q:focus-visible, .faq-mail:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.faq-list { margin-top: clamp(26px, 3.6vw, 40px); display: grid; gap: 4px; min-height: 230px; }
.faq-item { padding: 6px 0; animation: faqIn .45s var(--ease) both; }
.faq-item[hidden] { display: none; }
@keyframes faqIn { from { opacity: 0; transform: translateY(8px); } }
.faq-q { font: inherit; display: flex; align-items: center; gap: 14px; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; color: var(--ink); }
.faq-q span { padding: 14px 20px; border-radius: 20px 20px 20px 6px; background: var(--soft); font-weight: 620; font-size: 1.02rem; line-height: 1.4; transition: background .25s, color .25s; }
.faq-q:hover span { background: #ececf2; }
.faq-q i { flex: none; position: relative; width: 22px; height: 22px; color: #9a99a6; transition: color .25s; }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; left: 4px; right: 4px; top: 10px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease); }
.faq-q i::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] span { background: var(--lav-mist); color: #4b2fd6; }
.faq-q[aria-expanded="true"] i { color: #4b2fd6; }
.faq-q[aria-expanded="true"] i::after { transform: rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .45s var(--ease), opacity .35s; }
.faq-a > div { overflow: hidden; }
.faq-item.open .faq-a { grid-template-rows: 1fr; opacity: 1; }
.faq-a p { margin: 8px 0 4px clamp(28px, 7vw, 64px); max-width: min(52ch, calc(100% - clamp(28px, 7vw, 64px))); width: fit-content; padding: 14px 18px; border-radius: 20px 20px 6px 20px; background: var(--ink); color: #f4f3f8; line-height: 1.55;
  transform: translateY(6px); transition: transform .45s var(--ease); }
.faq-item.open .faq-a p { transform: none; }
.faq-a a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.faq-more { margin-top: clamp(44px, 6vw, 72px); text-align: center; display: grid; justify-items: center; }
.faq-faces { display: flex; margin-bottom: 18px; }
.faq-faces svg { width: 48px; height: 48px; border-radius: 50%; border: 3px solid var(--paper); box-shadow: 0 0 0 1px #ebeaf0; }
.faq-faces svg + svg { margin-left: -12px; }
.faq-more h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); letter-spacing: -.03em; margin: 0; }
.faq-more p { margin: 10px 0 0; color: var(--stone); max-width: 44ch; }
.faq-mail { margin-top: 20px; display: inline-block; padding: 12px 20px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; transition: transform .25s var(--ease); }
.faq-mail:hover { transform: translateY(-2px); }
@media (max-width: 560px) {
  .faq-tabs { gap: 6px; flex-wrap: nowrap; }
  .faq-tab { padding: 10px 11px; font-size: .84rem; white-space: nowrap; }
  .faq-q span { font-size: .98rem; }
}
@media (prefers-reduced-motion: reduce) { .faq-item, .faq-a, .faq-a p { animation: none; transition: none; } }
/* end FAQ */

/* ---------- Closer + footer ---------- */
.closer { margin: clamp(20px, 4vw, 40px) clamp(8px, 1.5vw, 20px) 0; border-radius: clamp(28px, 4vw, 48px); padding-block: clamp(64px, 10vw, 130px); text-align: center; color: #fff; display: grid; justify-items: center; gap: 28px;
  background: radial-gradient(60% 80% at 50% 120%, #6a4ae0, transparent 70%), radial-gradient(40% 60% at 90% 0%, rgba(255, 138, 92, .5), transparent 70%), #0e0d14; }
.closer h2 { font-size: clamp(2.2rem, 1rem + 4.6vw, 5rem); max-width: 12ch; }
.foot { padding: clamp(36px, 5vw, 56px) var(--gutter) 24px; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; overflow: hidden; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot nav a { text-decoration: none; font-size: .92rem; font-weight: 550; color: var(--stone); }
.foot nav a:hover { color: var(--ink); }
.foot-word { font-family: var(--head); font-weight: 800; letter-spacing: -0.07em; line-height: .8; font-size: clamp(5rem, 24vw, 21rem); text-align: center; margin: clamp(24px, 4vw, 40px) 0 clamp(12px, 2vw, 20px);
  background: linear-gradient(180deg, var(--soft-2), #fafafb); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.foot-legal { text-align: center; font-size: .82rem; color: var(--stone); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .marquee-row { animation: none; }
  .tag { animation: none; }
}

/* ---------- One rhythm: every section is separated by the same gap (2 × --sec) ---------- */
:root { --sec: clamp(48px, 6.4vw, 92px); }
.hero { padding-bottom: var(--sec); }
.strip, .feats, .how, .cascade, .own, .subjects, .tiles, .pricing, .faq { padding-block: var(--sec); }
.closer { margin-block: var(--sec); }
.closer { margin-bottom: 0; }

/* ---------- Buy: one price, an optional code, straight to payment ---------- */
.buy-sec [hidden] { display: none !important; }
.buy > * { min-width: 0; }
.buy-sec { padding-block: var(--sec); }
.buy-head { text-align: center; display: grid; justify-items: center; gap: 16px; margin-bottom: clamp(28px, 4vw, 44px); }
.buy-head h2 { font-size: clamp(2rem, 1rem + 3.6vw, 4.2rem); }
.buy-head p { color: var(--stone); max-width: 52ch; }
.buy-sec > .buy { max-width: 480px; }
.buy { display: grid; gap: 18px; padding: clamp(22px, 4vw, 32px); border-radius: 28px; background: var(--paper); box-shadow: 0 0 0 1px #ebeaf0, 0 30px 60px -36px rgba(20, 16, 40, .35); }
.buy-price { text-align: center; display: grid; justify-items: center; gap: 4px; }
.buy-price p { display: flex; align-items: flex-start; gap: 4px; margin: 0; line-height: 1; }
.buy-price b { font-family: var(--head); font-size: clamp(3.6rem, 2.6rem + 4vw, 5.2rem); font-weight: 800; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.buy-rs { font-size: 1.6rem; font-weight: 700; margin-top: .5em; }
.buy-was { font-weight: 650; color: var(--stone); text-decoration: line-through; text-decoration-thickness: 2px; }
.buy-price small { color: var(--stone); font-size: .9rem; margin-top: 6px; }
.buy-code { display: grid; justify-items: center; gap: 10px; }
.buy-link { border: 0; background: none; padding: 0; font: inherit; font-size: .92rem; font-weight: 650; color: var(--lav-deep, #5b3fc4); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.buy-code-row { display: flex; gap: 8px; width: 100%; }
.buy-code-row input, .buy-email input { flex: 1; min-width: 0; width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 1.5px solid #e4e2ea; background: #fff; font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.buy-code-row input { text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.buy-code-row input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 400; }
.buy-code-row input:focus, .buy-email input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(20, 16, 40, .08); }
.buy-apply { flex: none; height: 50px; padding: 0 20px; border-radius: 14px; border: 0; background: var(--soft); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.buy-apply:disabled { opacity: .5; cursor: default; }
.buy-ok { display: flex; align-items: center; gap: 12px; margin: 0; padding: 8px 14px; border-radius: 999px; background: #e6f6ec; color: #17653a; font-size: .9rem; font-weight: 650; }
.buy-ok .buy-link { color: #17653a; font-size: .85rem; }
.buy-msg { margin: 0; color: #b42318; font-size: .9rem; text-align: center; }
.buy-email { display: grid; gap: 6px; } .buy-email span { font-size: .85rem; font-weight: 650; color: var(--stone); }
.buy-signed { margin: 0; text-align: center; color: var(--stone); font-size: .9rem; }
.buy-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-size: 1.05rem; font-weight: 700; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s; box-shadow: 0 16px 30px -16px rgba(20, 16, 40, .7); }
.buy-btn:hover { transform: translateY(-2px); } .buy-btn:active { transform: scale(.98); }
.buy-btn:disabled { opacity: .6; cursor: progress; transform: none; }
.buy-btn b { font-variant-numeric: tabular-nums; }
.buy-btn:focus-visible, .buy-apply:focus-visible, .buy-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.buy-fine { display: flex; gap: 8px; align-items: flex-start; margin: 0; color: var(--stone); font-size: .82rem; line-height: 1.45; }
.buy-fine svg { flex: none; width: 16px; height: 16px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.buy-done { text-align: center; justify-items: center; animation: buyIn .5s var(--ease); }
.buy-done h3 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); letter-spacing: -0.03em; margin: 0; }
.buy-done p { margin: 0; color: var(--stone); }
.buy-tick { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #e6f6ec; color: #17653a; }
.buy-tick svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes buyIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* Signed in: profile chip in the header (back into the app) */
.nav-me { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; text-decoration: none; color: inherit; font-size: .9rem; font-weight: 650; border: 1px solid var(--line, #e6e6ea); background: #fff; transition: background .15s, border-color .15s; }
.nav-me:hover { background: var(--soft, #f4f4f6); }
.nav-me:focus-visible { outline: 3px solid #5b3fc4; outline-offset: 2px; }
.nav-me-ava { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; flex: none; background: linear-gradient(150deg, #8b6cff, #5b3fc4); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .02em; }
.nav-me-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav-cta[hidden] { display: none !important; }
@media (max-width: 380px) { .nav-me-name { display: none; } .nav-me { padding: 4px; } }

/* =====================================================================================================
   HOME REDESIGN (Nov 2026). New sections, in page order. Parts ported from the AurbitX home-page kit
   (orange recoloured to knewit purple: #7b4dff accent, #5b3fc4 for small text on white).
   ===================================================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.zh, .rp, .gain, .trust, .gx, .results { padding-block: var(--sec); }

/* ---------- Header: About button + bubble (app.js adds it to every page with this header) ---------- */
.nav-about { position: relative; }
.nav-about-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.nav-about-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.nav-about-btn:hover, .nav-about.open .nav-about-btn { background: var(--lav-mist); border-color: #d9cdfd; color: var(--lav-deep); }
.nav-about-pop { position: absolute; right: -8px; top: calc(100% + 12px); z-index: 50; width: 268px; display: grid; gap: 4px; padding: 8px; border-radius: 20px; background: var(--paper); box-shadow: 0 0 0 1px #ebe8f3, 0 24px 50px -24px rgba(30, 20, 70, .45); animation: navPop .22s var(--ease); }
.nav-about-pop[hidden] { display: none; }
.nav-about-pop::before { content: ""; position: absolute; right: 21px; top: -6px; width: 12px; height: 12px; background: var(--paper); transform: rotate(45deg); box-shadow: -1px -1px 0 #ebe8f3; }
.nav-about-pop::after { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-about-pop a { position: relative; display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; text-decoration: none; }
.nav-about-pop a:hover, .nav-about-pop a:focus-visible { background: var(--lav-mist); }
.nav-about-pop b { font-family: var(--head); font-size: .98rem; letter-spacing: -.02em; }
.nav-about-pop span { font-size: .8rem; color: var(--stone); }
@keyframes navPop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
@media (max-width: 420px) { .nav-about-btn { width: 36px; height: 36px; } }

/* ---------- Back to the top: a small corner button once the reader reaches the questions ---------- */
.to-top { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 45; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 12px 26px -12px rgba(20, 16, 40, .6); opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none; transition: opacity .3s, transform .35s var(--ease), background .2s; }
.to-top.on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--lav-deep); }
.to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- WHO IT'S FOR 2: "UPSC is hard" sideways story ---------- */
main > section.px { padding: 0; }
main > section.px > .px-pin { max-width: none; }
.px { --cw: min(1180px, 82vw); --p: 0; position: relative; height: 500vh; background: var(--paper); }
.px-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; }
.px-pin::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(242, 238, 254, 0) 0%, rgba(242, 238, 254, calc(var(--p) * .95)) 30%, rgba(242, 238, 254, calc(var(--p) * .95)) 62%, rgba(242, 238, 254, 0) 100%); }
.px-head { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; padding: clamp(92px, 12vh, 128px) var(--gutter) 0; }
.px-head .eyebrow { margin-bottom: 8px; }
.px-head h2 { font-size: clamp(30px, 4.3vw, 64px); max-width: 17ch; }
.px-head h2 span { color: #7b4dff; }
.px-hint { position: absolute; right: var(--gutter); bottom: 6px; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); opacity: calc(1 - var(--p) * 12); }
.px-hint svg { width: 18px; height: 18px; fill: none; stroke: #7b4dff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: pxnudge 1.6s ease-in-out infinite; }
@keyframes pxnudge { 50% { translate: 6px 0; } }
.px-track { position: relative; z-index: 1; flex: 1; min-height: 0; display: flex; align-items: stretch; gap: clamp(28px, 5vw, 80px); width: max-content; padding: clamp(14px, 3vh, 34px) calc((100vw - var(--cw)) / 2) clamp(64px, 10vh, 96px); will-change: transform; }
.px-card { position: relative; flex: none; width: var(--cw); height: min(100%, 600px); align-self: center; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(20px, 3.4vw, 56px); }
.px-ghost { position: absolute; left: -3%; top: -10%; z-index: 0; font-family: var(--head); font-size: clamp(150px, 22vw, 330px); font-weight: 800; line-height: 1; letter-spacing: -.07em; color: #f4f2fa; pointer-events: none; transform: translateX(calc(var(--d, 0) * -90px)); }
.px-art { position: relative; z-index: 1; height: 100%; min-height: 0; display: grid; place-items: center; transform: translateX(calc(var(--d, 0) * 120px)) rotate(calc(var(--d, 0) * -5deg)) scale(calc(1 - var(--d, 0) * var(--d, 0) * .25)); }
.px-art img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(91, 63, 196, .14)); animation: pxfloat 6.5s ease-in-out infinite; }
.px-card:nth-child(2n) .px-art img { animation-delay: -3s; }
@keyframes pxfloat { 50% { translate: 0 -12px; } }
.px-text { position: relative; z-index: 1; opacity: var(--o, 1); transform: translateX(calc(var(--d, 0) * 40px)); }
.px-no { display: block; font-size: 12px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.px-no i { font-style: normal; color: var(--lav-deep); margin-right: 8px; }
.px-text h3 { font-size: clamp(26px, 3vw, 48px); line-height: 1.05; margin: 14px 0; }
.px-strike { background: linear-gradient(#7b4dff, #7b4dff) 0 58% / 0 .09em no-repeat; transition: background-size .9s cubic-bezier(.65, 0, .35, 1) .15s, color .6s ease .5s; }
.px-card.is-on .px-strike { background-size: 100% .09em; color: #9a98a6; }
.px-prob { color: var(--stone); font-size: clamp(14px, 1.1vw, 17px); line-height: 1.6; max-width: 42ch; }
.px-fix { margin-top: 22px; max-width: 44ch; padding: 16px 20px; border-radius: 18px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); border: 1px solid #dcd1fd; box-shadow: 0 22px 44px -26px rgba(91, 63, 196, .5); font-size: clamp(14px, 1.1vw, 17px); line-height: 1.55; opacity: 0; transform: translateY(20px); transition: opacity .6s ease .55s, transform .8s var(--ease) .55s; }
.px-fix b { display: block; margin-bottom: 6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--lav-deep); }
.px-card.is-on .px-fix { opacity: 1; transform: none; }
.px-end h3 span { color: #7b4dff; }
.px-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.px-progress { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: clamp(20px, 4vh, 38px); max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 16px; }
.px-count { font-size: 12px; font-weight: 650; letter-spacing: .08em; color: var(--dim); font-variant-numeric: tabular-nums; }
.px-count b { color: var(--ink); }
.px-progress > i { flex: 1; height: 2px; border-radius: 2px; background: #ecebf1; overflow: hidden; }
.px-progress s { display: block; height: 100%; background: linear-gradient(90deg, #9b7ff0, #7b4dff); transform-origin: 0 50%; transform: scaleX(var(--p)); }
.px-skip { display: inline-flex; align-items: center; gap: 4px; flex: none; padding: 4px 2px; border: 0; background: none; cursor: pointer; font-size: 11px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); transition: color .2s; }
.px-skip svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s ease; }
.px-skip.is-up svg { transform: rotate(180deg); }
.px-skip:hover, .px-skip:focus-visible { color: var(--lav-deep); }
/* phones and reduced motion: a plain sideways-swipe row (app.js adds .px-flat) */
.px.px-flat { height: auto; padding-block: var(--sec); }
.px-flat .px-pin { position: static; height: auto; overflow: visible; }
.px-flat .px-pin::before, .px-flat .px-hint, .px-flat .px-progress { display: none; }
.px-flat .px-head { padding-top: 0; }
.px-flat .px-track { width: auto; transform: none !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 26px var(--gutter) 8px; gap: 16px; }
.px-flat .px-track::-webkit-scrollbar { display: none; }
.px-flat .px-card { width: min(86vw, 520px); height: auto; grid-template-columns: 1fr; gap: 10px; align-self: stretch; align-content: start; scroll-snap-align: center; padding: 18px; border-radius: 24px; background: #faf9fd; border: 1px solid #eeebf6; overflow: hidden; }
.px-flat .px-art { height: auto; transform: none; } .px-flat .px-art img { max-height: 220px; animation: none; }
.px-flat .px-text, .px-flat .px-ghost { transform: none; opacity: 1; } .px-flat .px-ghost { font-size: 96px; top: 0; }
.px-flat .px-text h3 { font-size: 24px; margin: 8px 0; } .px-flat .px-fix { margin-top: 12px; padding: 12px 14px; }

/* ---------- WHO IT'S FOR 3: pencil shaving that becomes a bird ---------- */
.zh { position: relative; overflow: hidden; }
.zh-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: end; gap: 0 clamp(20px, 4vw, 70px); }
.zh-copy { align-self: center; padding-bottom: 40px; max-width: 560px; }
.zh-kicker { color: var(--lav-deep); }
.zh-copy h2 { font-size: clamp(2.4rem, 1rem + 4vw, 4.6rem); }
.zh-lede { margin-top: 22px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; color: var(--stone); max-width: 470px; }
.zh-lede b { color: var(--ink); font-weight: 650; }
.zh-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.zh-bird { position: relative; margin: 0 clamp(0px, 4vw, 60px) -2px 0; justify-self: end; width: min(100%, 420px); z-index: 1; }
.zh-bird-img { width: 100%; height: auto; margin-inline: auto; transform-origin: 31% 100%; }
.zh-bird-cap { position: absolute; right: calc(100% + 8px); bottom: 18px; width: 15ch; text-align: right; font-size: 12.5px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; line-height: 1.5; color: var(--lav-deep); }
.zh-bird.pt-ready .zh-bird-img { opacity: 0; transition: opacity .45s ease; }
.zh-bird.pt-ready.pt-done .zh-bird-img { opacity: 1; animation: zhsway 7s ease-in-out 1.2s infinite; }
.zh-bird-cv { position: absolute; z-index: 1; pointer-events: none; transition: opacity .45s ease .05s; }
.zh-bird.pt-done .zh-bird-cv { opacity: 0; }
@keyframes zhsway { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-1.6deg); } 70% { transform: rotate(1.2deg); } }
.zh-stats { grid-column: 1 / -1; position: relative; z-index: 2; display: flex; margin: 0; padding: 14px 8px; background: var(--paper); border: 1px solid #ebe9f1; border-radius: 22px; box-shadow: 0 18px 40px -22px rgba(20, 16, 40, .25); }
.zh-stats > div { flex: 1; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 18px; padding: 6px clamp(16px, 2.2vw, 30px); }
.zh-stats > div + div { border-left: 1px solid #ebe9f1; }
.zh-stats dt { grid-column: 1; font-family: var(--head); font-size: clamp(20px, 1.8vw, 28px); font-weight: 750; letter-spacing: -.035em; }
.zh-stats dd { grid-column: 1; margin: 2px 0 0; font-size: 13px; color: var(--stone); }
.zh-stats svg { grid-column: 2; grid-row: 1 / 3; width: 44px; height: 44px; }
@media (max-width: 900px) {
  .zh-split { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .zh-copy { margin: 0 auto; padding-bottom: 10px; } .zh-lede { margin-inline: auto; } .zh-ctas { justify-content: center; }
  .zh-bird { justify-self: center; margin: 0 auto; width: min(70%, 300px); }
  .zh-bird-cap { position: static; width: auto; text-align: center; margin-top: 10px; }
  .zh-stats { flex-direction: column; padding: 6px 4px; text-align: left; }
  .zh-stats > div + div { border-left: 0; border-top: 1px solid #ebe9f1; }
}

/* ---------- WHAT YOU GET 1: the tower with the tools floating around it ---------- */
.ax { position: relative; text-align: center; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #f8f5ff 16%, #efe9fe 38%, #ede6fe 55%, #f6f2ff 78%, #fff 100%); padding-block: clamp(110px, 16vh, 190px) clamp(90px, 14vh, 160px); }
.ax-copy { position: relative; z-index: 1; max-width: 760px; }
.ax-title { font-size: clamp(38px, 5vw, 72px); color: #6c3bf2; }
.ax-stage { position: relative; z-index: 2; max-width: 1160px; margin: calc(-1 * clamp(70px, 7vw, 120px)) auto 0; height: calc(clamp(300px, 30vw, 430px) * 1.5); }
.ax-tower { position: absolute; left: 50%; top: 0; width: clamp(300px, 30vw, 430px); margin: 0; translate: -50% 0; pointer-events: none; }
.ax-tower img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(60, 30, 140, .16)); opacity: 0; transform: translateY(90px); transition: opacity 1s ease, transform 1.4s var(--ease); }
.ax-stage.in .ax-tower img { opacity: 1; transform: none; }
.ax-tiles { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.ax-tile { position: absolute; left: var(--x); top: var(--y); width: 118px; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px; font-size: 13px; font-weight: 650; line-height: 1.2; color: #1c1a19; opacity: 0; scale: .85; transition: opacity .6s ease var(--rd), scale .7s var(--ease) var(--rd), color .2s; }
.ax-stage.in .ax-tile { opacity: 1; scale: 1; animation: axfloat 6s ease-in-out var(--dl) infinite; }
.ax-ic { width: clamp(52px, 4.2vw, 64px); aspect-ratio: 1; filter: drop-shadow(0 10px 14px rgba(60, 30, 140, .16)); transition: transform .5s var(--ease); }
.ax-ic svg { width: 100%; height: 100%; display: block; }
.ax-tile:hover { color: var(--lav-deep); } .ax-tile:hover .ax-ic { transform: scale(1.1) rotate(-4deg); }
@keyframes axfloat { 0%, 100% { translate: -50% 0; } 50% { translate: -50% -8px; } }
.ax-after { position: relative; z-index: 3; max-width: 620px; }
.ax-lede { margin: clamp(10px, 2vw, 24px) auto 0; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: var(--stone); max-width: 520px; }
.ax-ideas { position: relative; display: grid; place-items: center; width: min(340px, 92%); margin: 22px auto 0; padding-bottom: 26px; }
.ax-idea { grid-area: 1 / 1; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 16px; border-radius: 20px; background: #fff; box-shadow: 0 12px 30px -16px rgba(60, 30, 140, .3), 0 0 0 1px #ebe8f3; opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.ax-idea.on { opacity: 1; transform: none; }
.ax-n { font-family: var(--head); font-size: 46px; font-weight: 750; letter-spacing: -.06em; line-height: 1; color: #7b4dff; }
.ax-idea strong { font-family: var(--head); font-size: 18px; letter-spacing: -.03em; }
.ax-idea span { font-size: 13.5px; line-height: 1.5; color: var(--stone); }
.ax-dots { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.ax-dots i, .gx-dots i { width: 6px; height: 6px; border-radius: 999px; background: #d9cdfd; transition: width .4s var(--ease), background .4s; }
.ax-dots i.on, .gx-dots i.on { width: 18px; background: #7b4dff; }
@media (max-width: 900px) {
  .ax-stage { height: auto; margin-top: -30px; }
  .ax-tower { position: relative; left: auto; translate: none; width: min(62vw, 300px); margin: 0 auto; }
  .ax-tiles { position: static; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 6px; max-width: 460px; margin: 26px auto 0; }
  .ax-tile { position: static; width: auto; translate: none; }
  @keyframes axfloat { 50% { translate: 0 -8px; } }
}

/* ---------- HOW IT WORKS 2: one wide devices tile ---------- */
.tiles.tiles-one { grid-template-columns: minmax(0, 1fr); }
.tiles-one .tile { min-height: clamp(340px, 32vw, 460px); }

/* ---------- WHY IT'S UNIQUE 1: "Shaping the Republic" sketch with labels ---------- */
main > section.rp > .rp-wrap { max-width: 1500px; }
.rp-eyebrow { text-align: center; }
.rp-art { position: relative; margin: clamp(6px, 1.5vw, 18px) 0 0; container-type: inline-size; }
.rp-art img { width: 100%; height: auto; }
.js .rp-art img { opacity: 0; transform: translateY(-80px); transition: opacity 1.3s var(--ease), transform 1.3s var(--ease); }
.js .rp-art.in img { opacity: 1; transform: none; }
.rp-tag { position: absolute; display: block; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: clamp(7px, .8cqi, 13px); line-height: 1.35; white-space: nowrap; }
.js .rp-tag { opacity: 0; transform: translateY(6px); transition: opacity .6s ease, transform .6s ease; }
.js .rp-art.in .rp-tag { opacity: 1; transform: none; }
.rp-art.in .rp-tag:nth-of-type(1) { transition-delay: 1.5s; } .rp-art.in .rp-tag:nth-of-type(2) { transition-delay: 1.2s; } .rp-art.in .rp-tag:nth-of-type(3) { transition-delay: .9s; } .rp-art.in .rp-tag:nth-of-type(4) { transition-delay: 1.35s; } .rp-art.in .rp-tag:nth-of-type(5) { transition-delay: .5s; }
.rp-tag b { display: block; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.rp-tag i { display: block; margin-top: .5em; font-style: italic; color: var(--stone); }
.rp-geo b { font-weight: 600; letter-spacing: .08em; }
.rp-foot { text-align: center; margin-top: clamp(22px, 3.5vw, 48px); }
.rp-line { max-width: 24ch; margin: 0 auto; font-family: var(--head); font-size: clamp(30px, 4.2vw, 64px); font-weight: 700; line-height: 1.04; letter-spacing: -.05em; text-wrap: balance; }
.rp-line span { display: block; margin-top: .14em; color: var(--dim); font-size: .62em; letter-spacing: -.035em; }
.rp-points { list-style: none; margin: clamp(26px, 3.5vw, 44px) auto 0; padding: 0; max-width: 1040px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; text-align: left; }
.rp-points li { padding: 18px 20px; border-radius: 20px; background: var(--lav-mist); color: var(--stone); font-size: .95rem; line-height: 1.5; }
.rp-points b { display: block; margin-bottom: 4px; font-family: var(--head); color: var(--ink); font-size: 1.05rem; letter-spacing: -.02em; }
@media (max-width: 760px) { .rp-tag { display: none; } .rp-points { grid-template-columns: 1fr; } }

/* ---------- IF YOU BUY: without / with table + number tiles ---------- */
.gain-table { max-width: 980px; border-radius: 28px; overflow: hidden; box-shadow: 0 0 0 1px #ebe9f1, 0 30px 60px -40px rgba(20, 16, 40, .35); }
.gain-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.15fr); }
.gain-row > * { padding: 18px clamp(16px, 2vw, 26px); border-top: 1px solid #efedf4; font-size: .98rem; line-height: 1.45; }
.gain-row b { font-family: var(--head); letter-spacing: -.02em; }
.gain-row > :nth-child(2) { color: var(--stone); text-decoration: line-through; text-decoration-color: rgba(85, 85, 106, .35); }
.gain-row > :nth-child(3) { background: var(--lav-mist); font-weight: 600; position: relative; padding-left: calc(clamp(16px, 2vw, 26px) + 26px); }
.gain-row:not(.gain-hd) > :nth-child(3)::before { content: ""; position: absolute; left: clamp(16px, 2vw, 26px); top: 21px; width: 16px; height: 16px; border-radius: 50%; background: #7b4dff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.gain-hd > * { border-top: 0; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none !important; color: var(--stone); background: var(--soft); }
.gain-hd > :nth-child(3) { background: #7b4dff; color: #fff; padding-left: clamp(16px, 2vw, 26px); }
.gain-nums { list-style: none; margin: clamp(22px, 3vw, 36px) auto 0; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gain-nums li { display: grid; align-content: start; gap: 6px; padding: 22px; border-radius: 22px; background: var(--soft); }
.gain-nums b { font-family: var(--head); font-size: clamp(2.2rem, 1.4rem + 2vw, 3.2rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: #6c3bf2; }
.gain-nums span { color: var(--stone); font-size: .95rem; line-height: 1.45; }
@media (max-width: 720px) {
  .gain-row { grid-template-columns: 1fr 1fr; }
  .gain-row > :first-child { grid-column: 1 / -1; padding-bottom: 4px; }
  .gain-row > :nth-child(2), .gain-row > :nth-child(3) { border-top: 0; font-size: .9rem; }
  .gain-hd > :first-child { display: none; }
  .gain-nums { grid-template-columns: 1fr; }
}

/* ---------- TRUST: six things a visitor can check ---------- */
.trust-grid { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trust-grid li { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 24px; background: var(--paper); box-shadow: 0 0 0 1px #ebe9f1; transition: box-shadow .3s, transform .3s var(--ease); }
.trust-grid li:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px #dcd1fd, 0 24px 44px -30px rgba(91, 63, 196, .45); }
.trust-ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--lav-mist); color: var(--lav-deep); }
.trust-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust-grid h3 { font-size: 1.15rem; letter-spacing: -.025em; }
.trust-grid p { color: var(--stone); font-size: .95rem; line-height: 1.5; flex: 1; }
.trust-grid a { font-weight: 650; font-size: .92rem; color: var(--lav-deep); text-underline-offset: 3px; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---------- QUESTIONS: people over the title bar, papers floating around ---------- */
.faq { position: relative; overflow: hidden; }
.qa-stage { position: relative; max-width: 940px; margin: 0 auto clamp(40px, 5vw, 64px); }
.qa-ghost { position: absolute; left: 50%; transform: translateX(-50%); z-index: 0; pointer-events: none; white-space: nowrap; font-family: var(--head); font-size: clamp(84px, 15vw, 230px); font-weight: 650; letter-spacing: -.06em; line-height: 1; color: #f3f3f5; }
.qa-ghost-top { top: -.32em; } .qa-ghost-bot { bottom: -.42em; color: #f8f6ff; }
.trust-links { color: var(--stone); }
.qa-scene { position: relative; z-index: 1; }
.qa-scene:has(.qa-people) { z-index: 3; }
.qa-people { position: relative; z-index: 3; width: min(80%, 740px); margin: 0 auto calc(-1 * clamp(16px, 2.7vw, 36px)); pointer-events: none; }
.qa-people img { width: 100%; height: auto; transform: translateY(40px); opacity: 0; transition: transform 1.1s var(--ease) .15s, opacity .8s ease .15s; }
.qa-stage.in .qa-people img { transform: none; opacity: 1; }
.qa-bar { position: relative; z-index: 2; display: flex; align-items: center; gap: clamp(12px, 1.6vw, 20px); max-width: 800px; margin: 0 auto; background: #fff; border: 1px solid #e7e7ec; border-radius: 999px; box-shadow: 0 26px 54px -26px rgba(11, 13, 18, .32); padding: clamp(14px, 2.1vw, 24px) clamp(20px, 3vw, 36px); }
.qa-bar-ic { width: clamp(22px, 2.4vw, 30px); height: auto; flex: none; fill: none; stroke: #7b4dff; stroke-width: 2.2; stroke-linecap: round; }
.qa-bar h2 { flex: 1; text-align: left; font-size: clamp(24px, 3.5vw, 46px); line-height: 1.05; }
.qa-bar h2 span { color: #7b4dff; }
.qa-bar-meta { display: flex; align-items: center; gap: 8px; flex: none; padding-left: clamp(12px, 1.6vw, 20px); border-left: 1px solid #e7e7ec; font-size: 13px; color: var(--stone); }
.qa-bar-meta svg { width: 16px; height: 16px; fill: none; stroke: #1c1a19; stroke-width: 1.8; stroke-linejoin: round; }
.qa-doc { position: absolute; margin: 0; z-index: 1; opacity: 0; transform: translateY(-18px) rotate(var(--r, 0deg)); transition: opacity .7s ease, transform .9s var(--ease); filter: drop-shadow(0 12px 16px rgba(11, 13, 18, .08)); }
.qa-stage.in .qa-doc { opacity: 1; transform: translateY(0) rotate(var(--r, 0deg)); animation: qafloat 7s ease-in-out infinite; }
.qa-doc img { width: 100%; height: auto; }
.qa-doc figcaption { position: absolute; font-size: clamp(8px, .85vw, 11px); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #1c1a19; max-width: 58%; line-height: 1.15; }
.qa-doc.d1 { width: clamp(88px, 13vw, 150px); right: 1%; top: 10%; --r: 3deg; transition-delay: .5s; animation-delay: .4s; }
.qa-doc.d1 figcaption { left: 24%; top: 15%; transform: rotate(4deg); color: var(--lav-deep); }
.qa-doc.d2 { width: clamp(92px, 14vw, 158px); left: 1%; top: 30%; --r: -6deg; transition-delay: .35s; animation-delay: 1.6s; }
.qa-doc.d2 figcaption { left: 18%; top: 17%; transform: rotate(4deg); }
.qa-scene-low { height: clamp(120px, 16vw, 190px); }
.qa-doc.d3 { width: clamp(90px, 13.5vw, 152px); left: 13%; top: 18px; --r: -2deg; transition-delay: .65s; animation-delay: .9s; }
.qa-doc.d3 figcaption { left: 16%; top: 17%; transform: rotate(-11deg); }
.qa-doc.d4 { width: clamp(92px, 14vw, 158px); right: 13%; top: 26px; --r: 2deg; transition-delay: .8s; animation-delay: 2.2s; }
.qa-doc.d4 figcaption { left: 17%; top: 13%; transform: rotate(4deg); color: var(--lav-deep); }
@keyframes qafloat { 50% { translate: 0 -7px; } }
.qa-pin { position: absolute; left: 50%; top: 26px; width: 1px; height: 46px; background: #1c1a19; }
.qa-pin::after { content: ""; position: absolute; left: -3px; bottom: -4px; width: 7px; height: 7px; border-radius: 50%; background: #7b4dff; }
.qa-spark { position: absolute; z-index: 1; fill: #7b4dff; width: 16px; height: 16px; animation: qatwinkle 3.2s ease-in-out infinite; }
.qa-spark.k1 { left: 17%; top: 44%; width: 20px; height: 20px; } .qa-spark.k2 { right: 16%; top: 4%; animation-delay: 1.1s; } .qa-spark.k3 { left: 30%; top: 2%; width: 11px; height: 11px; fill: #1c1a19; animation-delay: 2s; }
@keyframes qatwinkle { 50% { transform: scale(.55) rotate(45deg); opacity: .6; } }
.qa-swoosh { position: absolute; z-index: 1; fill: none; stroke: #1c1a19; stroke-width: 1.5; stroke-linecap: round; }
.qa-swoosh.s1 { left: 6%; top: 66%; width: clamp(80px, 11vw, 150px); } .qa-swoosh.s2 { right: 13%; top: 22%; width: 30px; }
.faq .faq-tabs { position: relative; z-index: 2; }
@media (max-width: 700px) {
  .qa-people { width: 100%; } .qa-bar { border-radius: 22px; }
  .qa-bar-meta, .qa-doc.d2, .qa-swoosh.s1 { display: none; }
  .qa-doc.d1 { width: 70px; top: -44%; right: 0; } .qa-doc.d3 { left: 4%; } .qa-doc.d4 { right: 4%; }
  .qa-spark.k1 { left: 4%; top: 58%; }
}

/* ---------- PLAY: expanding photo cards that fill with colour (placeholder content) ---------- */
.gx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(22px, 3vw, 36px); }
.gx-word { font-size: clamp(5rem, 3rem + 9vw, 11rem); font-weight: 800; letter-spacing: -.07em; line-height: .85; }
.gx-sub { display: grid; text-align: right; font-family: var(--head); font-weight: 700; font-size: clamp(1.1rem, .8rem + 1vw, 1.7rem); letter-spacing: -.03em; line-height: 1.1; }
.gx-sub span + span { color: var(--dim); }
.gx-row { display: flex; gap: clamp(12px, 1.4vw, 22px); height: clamp(380px, 32vw, 440px); padding-bottom: 10px; }
.gx-card { position: relative; flex: 1 1 0; min-width: 0; height: 100%; border-radius: 28px; background: #0a0a0a; overflow: hidden; cursor: pointer; box-shadow: 0 10px 24px -18px rgba(11, 13, 18, .5); transition: flex-grow .75s cubic-bezier(.22, 1, .36, 1), box-shadow .6s ease; contain: layout paint; }
.gx-card.is-open { flex-grow: 3.4; box-shadow: 0 30px 60px -30px rgba(11, 13, 18, .55); }
.gx-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.9); transition: filter .7s ease; }
.gx-card.is-open .gx-photo { filter: none; }
.gx-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10, 10, 10, .75)); }
.gx-card.is-open .gx-shade { background: linear-gradient(90deg, #0a0a0a 0%, #0a0a0a 26%, rgba(10, 10, 10, .92) 42%, rgba(10, 10, 10, .6) 60%, transparent 82%); }
.gx-name { position: absolute; left: 18px; right: 12px; bottom: 18px; color: #fff; font-weight: 650; font-size: 15px; line-height: 1.2; transition: opacity .3s; }
.gx-card.is-open .gx-name { opacity: 0; }
.gx-body { position: absolute; inset: 0; width: 23rem; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: clamp(22px, 2.4vw, 34px); color: #fff; opacity: 0; transform: translateX(-24px); transition: opacity .45s ease, transform .6s cubic-bezier(.22, 1, .36, 1); pointer-events: none; }
.gx-card.is-open .gx-body { opacity: 1; transform: none; transition-delay: .12s; pointer-events: auto; }
.gx-tile { width: 52px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 15px; margin-bottom: 6px; background: #7b4dff; }
.gx-tile svg { width: 52%; height: 52%; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.gx-tag { font-size: 11.5px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: #c4b2fa; }
.gx-body h3 { font-size: clamp(26px, 2.4vw, 34px); }
.gx-body p { color: rgba(255, 255, 255, .82); font-size: 15px; line-height: 1.55; max-width: 34ch; }
.gx-play { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; padding: 4px 0; color: #fff; font-weight: 650; text-decoration: none; }
.gx-play svg { width: 18px; height: 18px; fill: #9b7ff0; }
.gx-play:hover { text-decoration: underline; text-underline-offset: 4px; }
.gx-dots { display: none; justify-content: center; gap: 6px; margin-top: 14px; }
@media (max-width: 860px) {
  .gx-row { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 12px; height: 440px; }
  .gx-row::-webkit-scrollbar { display: none; }
  .gx-card, .gx-card.is-open { flex: 0 0 86%; scroll-snap-align: center; contain: none; }
  .gx-card .gx-body { opacity: 1; transform: none; pointer-events: auto; width: 78%; }
  .gx-card .gx-name { opacity: 0; } .gx-card .gx-photo { filter: none; }
  .gx-card .gx-shade { background: linear-gradient(90deg, #0a0a0a 0%, rgba(10, 10, 10, .9) 45%, rgba(10, 10, 10, .4) 75%, transparent); }
  .gx-dots { display: flex; }
  .gx-head { flex-direction: column; align-items: flex-start; } .gx-sub { text-align: left; }
}

/* ---------- RESULTS: stories (sample ones marked) + live numbers ---------- */
.res-live { list-style: none; margin: 0 auto clamp(26px, 3.5vw, 40px); padding: 0; max-width: 900px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.res-live li { display: grid; gap: 4px; padding: 20px 16px; text-align: center; }
.res-live li + li { border-left: 1px solid var(--line); }
.res-live b { font-family: var(--head); font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); font-weight: 800; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.res-live span { color: var(--stone); font-size: .88rem; }
.res-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.res-card { position: relative; margin: 0; display: flex; flex-direction: column; gap: 14px; padding: 24px 22px; border-radius: 24px; background: var(--soft); }
.res-card:nth-child(2) { background: var(--lav-mist); } .res-card:nth-child(3) { background: #fdf6dd; } .res-card:nth-child(4) { background: #eaf6ef; }
.res-sample { position: absolute; top: 14px; right: 14px; padding: 3px 9px; border-radius: 999px; background: rgba(11, 11, 13, .08); color: var(--stone); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.res-tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lav-deep); }
.res-card blockquote { margin: 0; flex: 1; font-family: var(--head); font-size: 1.08rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.4; }
.res-card figcaption { display: flex; align-items: center; gap: 10px; }
.res-ava { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 750; }
.res-card figcaption b { display: block; font-size: .92rem; } .res-card figcaption small { color: var(--stone); font-size: .8rem; }
.res-cta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 20px; margin-top: clamp(24px, 3vw, 36px); text-align: center; color: var(--stone); }
@media (max-width: 1000px) { .res-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .res-grid { grid-template-columns: 1fr; } .res-live { grid-template-columns: 1fr; } .res-live li + li { border-left: 0; border-top: 1px solid var(--line); } }

/* reduced motion: everything new sits still */
@media (prefers-reduced-motion: reduce) {
  .ax-tower img, .ax-tile, .qa-people img, .js .rp-art img, .js .rp-tag { opacity: 1 !important; transform: none !important; scale: 1 !important; animation: none !important; }
  .qa-doc { opacity: 1 !important; transform: rotate(var(--r, 0deg)) !important; animation: none !important; }
  .px-art img, .qa-spark, .px-hint svg { animation: none; }
}

/* Trademark sign after the knewit name (home page only, owner has the authorisation) */
.tm { font-size: .42em; font-weight: 600; letter-spacing: 0; vertical-align: super; line-height: 0; margin-left: .06em; }
.brand .tm { font-size: .5em; }
.foot-word .tm { font-size: .16em; vertical-align: top; position: relative; top: .5em; }

/* Hero arc cards: one colour per subject (owner, 15 Nov 2026; only here) */
.ac.s-pgeo { --bg: #0199E5; --fg: #fff; } .ac.s-hgeo { --bg: #FDC726; --fg: #1d1d1f; } .ac.s-env { --bg: #13a26f; --fg: #fff; }
.ac.s-ir { --bg: #06BEDD; --fg: #0b2530; } .ac.s-anc { --bg: #FB6E1D; --fg: #fff; } .ac.s-mod { --bg: #DD211F; --fg: #fff; }
.ac.s-art { --bg: #DAA572; --fg: #2a1a0c; } .ac.s-sci { --bg: #09305E; --fg: #fff; } .ac.s-eco { --bg: #E683A0; --fg: #2a0e18; } .ac.s-pol { --bg: #67696A; --fg: #fff; }
/* Header tagline under the name (owner, 15 Nov 2026) */
.brand-n { display: inline-flex; flex-direction: column; line-height: 1.05; }
.brand-n .brand-tag { font: 500 10.5px/1.2 Inter, system-ui, sans-serif; letter-spacing: .01em; color: #7a7a85; margin-top: 2px; white-space: nowrap; }
.hero-lede { font-weight: 800; font-size: clamp(2rem, 1.1rem + 3.4vw, 4rem); max-width: 26ch; }
.hero-lede .hl-v { color: #7464d2; } .hero-lede .hl-y { color: #FDC726; }
/* ONE HEADER POSITION (owner, 15 Nov 2026): knewit logo + name sit at exactly the same spot on every page */
html { scrollbar-gutter: stable; }
header.nav, header.shop-top { padding-inline: max(var(--kw-gut, 16px), calc((100% - 1240px) / 2)) !important; }
header.nav, header.shop-top { --kw-gut: clamp(16px, 4.5vw, 48px); padding-block: 12px !important; min-height: 64px; box-sizing: border-box; }
header .brand { gap: 9px !important; font-size: 1.2rem !important; font-weight: 700 !important; letter-spacing: -0.04em !important; line-height: 1 !important; }
header .brand img { width: 30px !important; height: 30px !important; border-radius: 8px; }
header.nav, header.shop-top { height: 64px; align-items: center !important; padding-block: 0 !important; }

/* ABOUT button icon (owner, 17 Nov 2026): a briefcase (Careers) behind, an "i" (About us) in front, like the app's bell + calendar.
   The front circle's halo is the button colour, so it cuts the briefcase lines. */
.nav-about-btn { --ab-bg: var(--paper); }
.nav-about-btn:hover, .nav-about.open .nav-about-btn { --ab-bg: var(--lav-mist); }
.nav-about-btn svg.ab-ic { width: 22px; height: 22px; overflow: visible; stroke-linejoin: round; }
.nav-about-btn .ab-cut { fill: var(--ab-bg); stroke: var(--ab-bg); stroke-width: 4.2; transition: fill .2s, stroke .2s; }
.nav-about-btn .ab-info path { stroke-width: 2.2; }
.nav-about-btn .ab-info { transform-origin: 17.3px 16.6px; transform-box: view-box; transition: transform .35s cubic-bezier(.2, 1.4, .4, 1); }
.nav-about-btn:hover .ab-info, .nav-about.open .nav-about-btn .ab-info { transform: scale(1.12); }
@media (prefers-reduced-motion: reduce) { .nav-about-btn .ab-info { transition: none; transform: none !important; } }
