/* Fourth pass on the first screens: type, the coin's back, the four-sided frame and a compact access section.
   Loaded last. */

/* ── type: Clash Grotesk (Indian Type Foundry, Fontshare), self-hosted as shipped; see fonts/clash-grotesk/LICENSE-FFL.txt ── */
@font-face { font-family: 'Clash Grotesk'; src: url(../fonts/clash-grotesk/ClashGrotesk-Variable.woff2) format('woff2'), url(../fonts/clash-grotesk/ClashGrotesk-Variable.woff) format('woff');
  font-weight: 200 700; font-style: normal; font-display: swap; }
:root { --head: 'Clash Grotesk', 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --t-hero: clamp(40px, 5.4vw, 88px); --t-section: clamp(32px, 3.7vw, 58px); --t-title: clamp(20px, 1.65vw, 25px); }
/* every heading on the page: one simple, bold face (the phone keeps the app's own type) */
.serif, .step-item.on > button { font-family: var(--head); font-weight: 560; letter-spacing: -.02em; }
.phone .serif { font-family: var(--serif); font-weight: 400; letter-spacing: normal; }
.hero-h { line-height: 1; letter-spacing: -.03em; }
.h-sec { line-height: 1.02; letter-spacing: -.025em; }
.tile-h { line-height: 1.12; letter-spacing: -.01em; }
.qa-h { font-size: clamp(28px, 2.9vw, 44px); }
.step-item.on > button { font-size: clamp(22px, 2vw, 30px); line-height: 1.12; }
@media (max-width: 860px) { .step-item > button { font-family: var(--head); font-weight: 600; font-size: 21px; letter-spacing: -.015em; } }

/* the name: thinner in the hero, and a touch lighter where it docks */
.intro-word { font-weight: 300; }
.f-word { font-weight: 400; }

/* the hero: the name high, the coin resting under it (never over the letters) */
.js .intro-word { margin-bottom: 34vh; }
@media (max-width: 860px) { .js .intro-word { margin-bottom: 30vh; } }

/* ── the coin's back: a large plain centre with a currency symbol struck into it ── */
.c-sym { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
  font: 500 calc(var(--d) * .4)/1 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: rgba(84, 94, 108, .58);
  text-shadow: 0 calc(var(--d) * .005) 0 rgba(255,255,255,.8), 0 calc(var(--d) * -.004) 0 rgba(18,22,30,.42), 0 0 calc(var(--d) * .02) rgba(255,255,255,.18); }

/* ── the frame: the same margin on all four sides, the height of the header ── */
.rail.rail-b { top: auto; bottom: var(--f); left: 0; right: 0; width: auto; height: 1px; }

/* ── private access: compact, aligned, one block inside the page ── */
.access { min-height: 0; }
.acc-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: start; gap: 40px 72px;
  padding-top: calc(var(--f) + 72px); padding-bottom: 72px; }
.acc-copy { gap: 16px; padding-top: 6px; }
.h-acc { font-size: var(--t-section); line-height: 1.02; letter-spacing: -.025em; }
.acc-p { font-size: 16.5px; max-width: 27em; }
.acc-m { font-size: 15px; }
.flow-card { max-width: 440px; border-radius: 18px; padding: 20px 22px 22px; }
.ask-top { gap: 12px; }
.ask-back { width: 36px; height: 36px; margin-left: -6px; }
.ask-bar { height: 6px; }
.ask-steps { min-height: 0; margin-top: 16px; }
.ask-q { font-size: 22px; line-height: 1.2; letter-spacing: -.01em; padding-bottom: 12px; }
.ask-l { font-size: 13.5px; margin-bottom: 6px; }
.field { height: 50px; border-radius: 12px; font-size: 17px; padding: 0 14px; }
.ask-hint { margin-top: 8px; font-size: 13.5px; }
.ask-review > div { min-height: 46px; }
.ask-review dd { font-size: 16px; }
.ask-status { margin: 4px 0 10px; font-size: 13.5px; }
.flow-card .btn-lg { height: 50px; border-radius: 14px; font-size: 16px; }
.ticket h3 { font-size: 28px; }
/* the footer is the bottom band of the frame: exactly one margin tall */
.foot { border-top: 0; }
.foot-in { min-height: var(--f); padding-top: 0; padding-bottom: 0; flex-wrap: nowrap; gap: 0 28px; }
.foot-n { width: auto; order: 3; white-space: nowrap; }
@media (max-width: 860px) {
  .acc-wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: calc(var(--f) + 40px); padding-bottom: 48px; }
  .flow-card { justify-self: stretch; max-width: none; }
  .acc-wrap, .foot-in { padding-left: calc(var(--f) + 14px); padding-right: calc(var(--f) + 14px); }   /* inside the side rails, like the header */
  .foot-in { flex-wrap: wrap; padding: 12px calc(var(--f) + 14px) calc(var(--f) + 8px); gap: 4px 18px; }
}

/* ── "Your wealth lives everywhere": further left, clear of the ring ── */
.blk-a { left: calc(var(--f) + 40px); bottom: calc(var(--f) + 32px); width: min(360px, 25vw); }
@media (max-width: 860px) { .blk-a { left: calc(var(--f) + 14px); right: calc(var(--f) + 14px); width: auto; } }

/* ── the phone: a thin black bezel ── */
.phone-body { background: transparent; border: 0; box-shadow: 0 40px 90px -30px rgba(4,8,18,.6); }
.phone .screen { box-shadow: 0 0 0 4px #050608, 0 0 0 5px rgba(255,255,255,.14); }

/* ── the lock screen, as the app draws it (dark, the mark glowing, a Biometric card) ── */
.phone .screen { background: radial-gradient(120% 60% at 50% 18%, #20242c 0%, #121418 60%); }
.lk-mk { position: absolute; left: 0; right: 0; top: 40px; display: flex; flex-direction: column; align-items: center; gap: 2px; color: #eef1f5; }
.lk-glow { position: absolute; top: 18px; width: 52px; height: 52px; border-radius: 50%; background: radial-gradient(circle, rgba(200,211,222,.5), rgba(200,211,222,0) 70%); filter: blur(8px); animation: lkp 3.4s ease-in-out infinite; }
.lk-emb { position: relative; width: 84px; height: 84px; }
.lk-w { margin-top: -6px; font: italic 400 46px/1.05 'Instrument Serif', Georgia, serif; letter-spacing: -.01em; }
.lk-t { font: 800 7.5px Manrope, sans-serif; letter-spacing: .34em; text-transform: uppercase; color: #9aa4b1; }
.lk-c { position: absolute; left: 0; right: 0; top: 344px; display: flex; flex-direction: column; align-items: center; gap: 6px; color: #eef1f5; }
.lk-m { display: flex; align-items: center; gap: 6px; font: 800 13.5px var(--head, Manrope), sans-serif; }
.lk-m svg { color: #c8d3de; }
.lk-s { max-width: 200px; text-align: center; font: 500 10.5px/1.4 Manrope, sans-serif; color: #9aa4b1; }
.lk-pk { position: absolute; left: 50%; top: 532px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(220,228,236,.18); font: 700 10.5px Manrope, sans-serif; color: #eef1f5; white-space: nowrap; }
.lk-f { position: absolute; left: 22px; right: 22px; top: 572px; text-align: center; font: 600 7.5px/1.4 Manrope, sans-serif; color: #8a94a2; }
.lk-f u { color: #c8d3de; text-decoration-thickness: 1px; text-underline-offset: 1.5px; }
.phone .sensor { border-radius: 50%; background: #1a1d23; border-color: rgba(220,228,236,.2); color: #c8d3de; }
.phone .sensor-glow, .phone .sensor-pulse { border-radius: 50%; }   /* round again: the coin settles into it
.phone .sr-track { stroke: rgba(220,228,236,.16); }
@keyframes lkp { 50% { opacity: .55; transform: scale(1.2); } }
@media (prefers-reduced-motion: reduce) { .lk-glow { animation: none; } }
.phone .fp-base { stroke: rgba(220,228,236,.22); }
.phone .fp-ink { stroke: #dce4ec; }

/* ── the bottom line of the frame: only on the last page, with the footer ── */
.rail.rail-b { opacity: 0; transition: opacity .4s ease-out; }
.at-end .rail.rail-b { opacity: 1; }

/* ── private access: one full screen; the form is an invitation card sealed with the coin ── */
.access { min-height: var(--vh); display: flex; flex-direction: column; }
.acc-wrap { flex: 1 1 auto; align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); padding-top: calc(var(--f) + 56px); padding-bottom: 56px; }
.acc-copy { padding-top: 0; }
.flow-card.inv { position: relative; max-width: 460px; color: #0e1621; border: 0; border-radius: 10px; padding: 48px 34px 30px;
  background: linear-gradient(165deg, #f7f9fb 0%, #e5eaf0 100%);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 0 0 10px rgba(255,255,255,0), inset 0 0 0 11px rgba(14,22,33,.14), 0 50px 100px -36px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.35);
  transition: background .6s ease-out, color .6s ease-out; }
.flow-card.inv::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: url(../img/coin-a.webp) 50% 55% / 78% no-repeat; opacity: .07; mix-blend-mode: multiply; filter: grayscale(1); }
.inv-seal { position: absolute; left: 50%; top: -32px; width: 64px; height: 64px; margin-left: -32px; border-radius: 50%; z-index: 2;
  box-shadow: 0 10px 22px -8px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.25); }
.inv-rays { position: absolute; left: 50%; top: 0; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%; z-index: -1; pointer-events: none; opacity: 0;
  background: repeating-conic-gradient(rgba(220,232,248,.38) 0 1.6deg, rgba(220,232,248,0) 1.6deg 10deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 100%); mask-image: radial-gradient(closest-side, #000 20%, transparent 100%); }
.inv .ask-top { gap: 12px; }
.inv .ask-back { color: #0e1621; }
.inv .ask-back:hover { background: rgba(14,22,33,.06); }
.inv .ask-bar { background: rgba(14,22,33,.1); }
.inv .ask-bar i { background: #1c2b40; }
.inv .ask-count { color: #56616e; }
.inv .ask-q { color: #0e1621; font-size: 24px; }
.inv .ask-l { color: #56616e; }
.inv .field { height: 50px; padding: 0 2px; border: 0; border-bottom: 1.5px solid rgba(14,22,33,.28); border-radius: 0; background: transparent; color: #0e1621;
  font: 560 21px var(--head); letter-spacing: -.005em; color-scheme: light; }
.inv .field::placeholder { color: #8a94a2; font-weight: 400; }
.inv .field:focus-visible { outline: none; border-bottom-color: #1c2b40; box-shadow: 0 1.5px 0 #1c2b40; }
.inv .field[aria-invalid="true"] { border-bottom-color: #a8352d; }
.inv .field-age { max-width: 220px; }
.inv .ask-hint { color: #56616e; }
.inv .ask-hint.bad, .inv .ask-status.error { color: #a8352d; }
.inv .ask-status { color: #56616e; }
.inv .ask-review > div { border-top-color: rgba(14,22,33,.1); }
.inv .ask-review dt { color: #56616e; }
.inv .ask-review dd { color: #0e1621; }
.inv .ask-edit { color: #2c3e55; }
.inv .btn { --btn: #1c2b40; --btn-ink: #f6f8fa; --btn-edge: #0a1320; background: #1c2b40; color: #f6f8fa; box-shadow: 0 4px 0 #0a1320, inset 0 1px 0 rgba(255,255,255,.18); }
.inv .btn.is-idle { background: rgba(14,22,33,.08); color: #8a94a2; box-shadow: 0 4px 0 rgba(14,22,33,.07); }
/* opened: the card turns over to its dark side, the seal set, the light breaking out behind it */
.flow-card.inv.is-open { color: #eef2f6; background: linear-gradient(165deg, #1b2b45 0%, #0b1422 100%);
  box-shadow: inset 0 0 0 10px rgba(255,255,255,0), inset 0 0 0 11px rgba(220,230,245,.22), 0 50px 120px -30px rgba(80,120,200,.45), 0 0 0 1px rgba(220,230,245,.18); }
.flow-card.inv.is-open::before { mix-blend-mode: screen; opacity: .1; }
.inv .ticket { color: inherit; }
.inv .ticket-top { background: none; padding: 4px 0 0; border-radius: 0; text-align: center; justify-items: center; }
.inv .ticket-ic { display: none; }
.inv .ticket h3 { font-size: 34px; line-height: 1.05; color: #f1f4f8; }
.inv .ticket-top p { color: rgba(238,242,246,.8); }
.inv .ticket-cut, .inv .foil { display: none; }
.inv .ticket-row { background: none; padding: 22px 0 0; }
.inv .ticket-row > div { border-top: 1px solid rgba(220,230,245,.14); padding-top: 12px; }
.inv .ticket-row dt { color: rgba(238,242,246,.6); }
.inv .ticket-row dd { color: #f1f4f8; }
.inv .ticket-again { color: #dce4ec; margin-top: 18px; }
@media (max-width: 860px) { .flow-card.inv { padding: 44px 22px 24px; } .inv-rays { width: 420px; height: 420px; margin: -210px 0 0 -210px; } }

/* the end of the stage: a closing line on the left, then the day-lit world dims to the features' night */
.blk-c { top: 50%; --base: -50%; left: calc(var(--f) + 40px); width: min(440px, 30vw); gap: 18px; color: var(--ink); }
.blk-c .blk-h { font-size: clamp(40px, 4.4vw, 68px); text-shadow: none; }
.dusk { position: absolute; inset: 0; opacity: 0; pointer-events: none; background: radial-gradient(48% 52% at 64% 50%, rgba(70,105,180,.2), rgba(70,105,180,0) 72%), #050912; }
.bk-rings circle { stroke-width: 1.4; }
@media (max-width: 860px) { .blk-c { left: calc(var(--f) + 14px); right: calc(var(--f) + 14px); width: auto; top: calc(var(--f) + 24px); --base: 0%; } }

/* the topic stays under the header while its panels scroll up behind it (js/sections.js cuts them at its edge) */

.five .bento, .secure .tiles { position: relative; z-index: 1; }
/* how your data is kept gets a screen of its own before the questions */
.secure .qa { margin-top: 0; }
/* every section heading at one size and rhythm, the first screen's line included */
.blk-h, .blk-a .blk-h, .blk-b .blk-h, .blk-c .blk-h { font-size: var(--t-section); line-height: 1.02; letter-spacing: -.025em; }
.hero-h { font-size: var(--t-section); line-height: 1.02; letter-spacing: -.025em; }

/* phones: no side margins. The logo stays top-left, MUDRA in the centre, Log in top-right; the page uses the full width.
   iPads and wider keep the side lines. --fs is the side margin, --f still the header's height. */
:root { --fs: var(--f); }
@media (max-width: 600px) {
  :root { --fs: 0px; }
  .rail-l, .rail-r { display: none; }
  .f-count { display: none; }
  .f-login { right: 14px !important; }
  .f-name { left: 0; right: 0; }
  .js .intro-cap { left: 16px; right: 16px; }
  .blk-a, .blk-c { left: 16px; right: 16px; }
  .acc-wrap, .foot-in { padding-left: 16px; padding-right: 16px; }
  .foot-in { padding: 12px 16px calc(var(--f) + 8px); }
}

/* the panel section keeps two panels now: adding what you own, and Ask Mudra */
.t-own { grid-column: span 12; }

/* ── Private access: one wide glass box. Name, date of birth, email, then the arrow; a market line rises across it
      a third for each part done, and to the top when the request is in ── */
.acc-wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
.flow-card.acc-box { position: relative; justify-self: stretch; width: 100%; max-width: none; padding: 40px 36px 30px; border-radius: 28px; overflow: hidden; color: #eef2f6;
  background: linear-gradient(160deg, rgba(210,224,246,.11), rgba(210,224,246,.04)); border: 1px solid rgba(220,232,250,.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 40px 80px -40px rgba(0,0,0,.7); }
.acc-line { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70%; pointer-events: none; overflow: visible; }
.acc-line path { fill: none; vector-effect: non-scaling-stroke; }
.acc-line-bg { stroke: rgba(220,232,250,.1); stroke-width: 1.2; stroke-dasharray: 3 6; }
.acc-line-fg { stroke: #e6eefb; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 6px rgba(150,190,255,.85)); }
.acc-form { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.25fr) auto; gap: 18px 34px; align-items: start; }
.acc-col { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 8px; align-content: start; }
.acc-k { display: flex; align-items: center; gap: 8px; padding: 0; margin-bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(220,232,250,.7); }
.acc-k span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(220,232,250,.3); font-size: 10.5px; letter-spacing: 0; transition: background-color .3s ease-out, color .3s ease-out, border-color .3s ease-out; }
.acc-col.done .acc-k span { background: #e6eefb; border-color: #e6eefb; color: #0b1422; }
.acc-box .field { height: 48px; padding: 0 2px; border: 0; border-bottom: 1.5px solid rgba(220,232,250,.3); border-radius: 0; background: transparent; color: #f3f6fa; font: 600 19px var(--sans, 'Manrope'), sans-serif; color-scheme: dark; transition: border-color .2s ease-out; }
.acc-box .field::placeholder { color: rgba(220,232,250,.38); font-weight: 500; }
.acc-box .field:focus { outline: 0; border-bottom-color: #e6eefb; }
.acc-box .field[aria-invalid="true"] { border-bottom-color: #ff8a8a; }
.acc-hint { margin: 6px 0 0; min-height: 1lh; font-size: 13.5px; color: rgba(220,232,250,.6); }
.acc-hint.bad { color: #ff9a9a; font-weight: 700; }
.acc-go { align-self: center; margin-top: 18px; width: 64px; height: 64px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: #e6eefb; color: #0b1422;
  box-shadow: 0 0 0 6px rgba(230,238,251,.1), 0 18px 34px -14px rgba(150,190,255,.6); transition: transform .3s var(--ease), opacity .25s ease-out, box-shadow .3s ease-out; }
.acc-go svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.acc-go:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 0 0 9px rgba(230,238,251,.14), 0 22px 40px -14px rgba(150,190,255,.75); }
.acc-go:hover:not(:disabled) svg { transform: translateX(3px); }
.acc-go:disabled { opacity: .3; cursor: default; box-shadow: none; }
.acc-go:focus-visible { outline: 2px solid #e6eefb; outline-offset: 4px; }
.is-busy .acc-go svg { animation: acc-go 0.9s ease-in-out infinite; }
@keyframes acc-go { 50% { transform: translateX(6px); opacity: .4; } }
.acc-status { grid-column: 1 / -1; margin: 0; min-height: 1lh; font-size: 14px; color: rgba(220,232,250,.7); }
.acc-status.error { color: #ff9a9a; font-weight: 700; }
.acc-box .ticket { position: relative; z-index: 1; }   /* the confirmation keeps its own paper ticket, dark text on light */
.acc-box .ticket-again { color: #eef2f6; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 860px) {
  .flow-card.acc-box { padding: 28px 20px 22px; border-radius: 22px; }
  .acc-form { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .acc-go { justify-self: end; margin-top: 0; }
  .acc-line { height: 40%; }
}

.phone .app-title { font-family: var(--head); font-weight: 560; letter-spacing: -.01em; }

/* How your data is kept: the whole screen holds while the three scenes play, then scrolls on as one */
.sec-pin { position: relative; height: calc(var(--vh) * 2.2); }
.sec-hold { position: sticky; top: 0; min-height: var(--vh); display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--f) + 24px); padding-bottom: 40px; }
.secure .tiles { gap: 22px; }
.secure .stile { background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.75); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 30px 60px -36px rgba(14,22,33,.35); }
[data-theme="dark"] .secure .stile { background: rgba(20,30,46,.5); border-color: rgba(220,232,250,.14); }
.secure .tile-t { min-height: calc(1.5em * 3); text-wrap: pretty; }
/* the struck-through lines and the finished code in the same green as "Opened by you" */
.secure .strike i { background: var(--n-up) !important; }
.secure .strike { text-decoration-color: var(--n-up); }
@media (max-width: 860px) { .sec-pin { height: auto; } .sec-hold { position: relative; min-height: 0; } }

/* ── Private access (rebuilt 19 Nov): heading + one line, a small "Already a member?" button on the right,
      and one thin glass box that lights a third for each part done, then the arrow ── */
.acc-wrap { padding-top: calc(var(--f) + 80px); gap: 32px; }
.acc-copy { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; }
.acc-ttl { display: grid; gap: 14px; }
.acc-p { margin: 0; font-size: 18px; color: rgba(238,242,246,.78); }
.acc-member { flex: none; display: inline-flex; align-items: center; gap: 14px; padding: 8px 8px 8px 22px; border-radius: 999px; text-decoration: none; color: #eef2f6; font: 600 15px var(--sans, 'Manrope'), sans-serif;
  background: rgba(210,224,246,.07); border: 1px solid rgba(220,232,250,.2); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: background-color .3s ease-out, border-color .3s ease-out; }
.acc-member i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #e6eefb; color: #0b1422; }
.acc-member svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s ease-out; }
.acc-member:hover { background: rgba(210,224,246,.13); border-color: rgba(220,232,250,.34); } .acc-member:hover svg { transform: translateX(3px); }
.acc-member:focus-visible { outline: 2px solid #e6eefb; outline-offset: 4px; }

.flow-card.acc-box { overflow: visible; padding: 28px 32px 20px; background: rgba(210,224,246,.025); border-color: rgba(220,232,250,.16); --fill: 0; }
.flow-card.acc-box.cal-open { z-index: 30; }
.acc-fill { position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(220,232,250,.2), rgba(200,214,236,.08) 60%, rgba(220,232,250,.14)); box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
  clip-path: inset(0 calc((1 - var(--fill)) * 100%) 0 0 round 28px); transition: clip-path .9s cubic-bezier(.2,.8,.2,1); }
.acc-line { display: none; }
.acc-form { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 10px 34px; align-items: center; }
.acc-k { margin-bottom: 4px; }
.acc-box .field { height: 46px; }
.acc-hint { margin-top: 4px; font-size: 13px; }
.acc-go { margin-top: 0; width: 58px; height: 58px; }
.acc-go:disabled { opacity: .28; }
.all-done .acc-go:not(:disabled) { box-shadow: 0 0 0 8px rgba(230,238,251,.12), 0 0 34px rgba(170,200,255,.55); animation: acc-ready 2.4s ease-in-out infinite; }
@keyframes acc-ready { 50% { box-shadow: 0 0 0 12px rgba(230,238,251,.06), 0 0 44px rgba(170,200,255,.7); } }
.acc-status:empty { display: none; }

/* date of birth: a button that opens the calendar */
.acc-dob { position: relative; }
.acc-date { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left; cursor: pointer; color: rgba(220,232,250,.38) !important; font-weight: 500 !important; }
.acc-date.set { color: #f3f6fa !important; font-weight: 600 !important; }
.acc-date svg { flex: none; width: 20px; height: 20px; fill: none; stroke: rgba(220,232,250,.7); stroke-width: 1.6; stroke-linecap: round; }
.cal { position: absolute; left: -14px; top: calc(100% - 6px); z-index: 40; width: 330px; padding: 16px; border-radius: 22px; color: #eef2f6;
  background: rgba(12,19,32,.94); border: 1px solid rgba(220,232,250,.18); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.85); }
.cal[hidden] { display: none; }
.cal-wheels { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.wheel { height: 170px; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; overscroll-behavior: contain; outline: 0; border-radius: 12px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.wheel::-webkit-scrollbar { display: none; }
.wheel:focus-visible { box-shadow: inset 0 0 0 1.5px rgba(230,238,251,.5); }
.wheel-pad { height: 68px; }
.wheel-i { display: block; width: 100%; height: 34px; padding: 0; border: 0; background: none; color: #eef2f6; font: 600 16px var(--sans, 'Manrope'), sans-serif; cursor: pointer; scroll-snap-align: center; transform-origin: 50% 50%; }
.wheel-i:disabled { color: rgba(238,242,246,.25); cursor: default; }
.wheel-band { position: absolute; left: 0; right: 0; top: 68px; height: 34px; border-radius: 10px; background: rgba(230,238,251,.07); border: 1px solid rgba(230,238,251,.14); pointer-events: none; }
.cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(220,232,250,.12); }
.cal-w { text-align: center; font: 600 11px 'JetBrains Mono', monospace; color: rgba(220,232,250,.5); padding-bottom: 4px; }
.cal-d { height: 34px; border: 0; border-radius: 10px; background: none; color: #eef2f6; font: 600 14px var(--sans, 'Manrope'), sans-serif; cursor: pointer; }
.cal-d:hover:not(:disabled) { background: rgba(230,238,251,.1); }
.cal-d.on { background: #e6eefb; color: #0b1422; }
.cal-d:disabled { color: rgba(238,242,246,.2); cursor: default; }
.cal-d:focus-visible { outline: 2px solid #e6eefb; outline-offset: 1px; }

@media (max-width: 860px) {
  .acc-wrap { padding-top: calc(var(--f) + 36px); padding-bottom: 28px; gap: 22px; }
  .acc-copy { flex-direction: column; align-items: flex-start; gap: 18px; }
  .acc-p { font-size: 16px; }
  .acc-member { font-size: 14px; padding: 6px 6px 6px 18px; } .acc-member i { width: 34px; height: 34px; }
  .flow-card.acc-box { padding: 20px 18px 16px; }
  .acc-fill { clip-path: inset(0 0 calc((1 - var(--fill)) * 100%) 0 round 22px); }   /* on phones it fills top to bottom, with the fields */
  .acc-form { grid-template-columns: minmax(0, 1fr) auto; gap: 14px 16px; }
  .acc-col { grid-column: 1 / -1; }
  .acc-go { grid-column: 2; width: 52px; height: 52px; }
  .acc-status { grid-column: 1; grid-row: auto; align-self: center; }
  .acc-box .field { height: 42px; font-size: 17px; }
  .cal { position: static; width: auto; margin-top: 10px; }
  /* the footer on phones: name and year, the links in one tidy row, then the address */
  .foot-in { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid rgba(220,232,250,.1); font-size: 13.5px; }
  .foot-l { gap: 10px; } .foot-l .wordmark { font-size: 17px; }
  .foot-r { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 0; }
  .foot-r a { min-height: 28px; }
  .foot-n { font-size: 12.5px; opacity: .8; white-space: normal; }
}
/* the box sits close under the heading, so the calendar has room to open below it */
.acc-wrap { align-content: start; align-items: start; }
.acc-form { align-items: start; } .acc-go { align-self: center; }
@media (max-width: 860px) { .acc-hint:empty { display: none; } .acc-form { gap: 18px 16px; } }
/* shorter screens: a compact calendar (three rows on each wheel); it opens upwards when there is no room below */
@media (max-height: 820px) and (min-width: 861px) {
  .wheel { height: 102px; } .wheel-pad { height: 34px; } .wheel-band { top: 34px; }
  .cal-d { height: 28px; font-size: 13px; } .cal-days { margin-top: 10px; padding-top: 8px; gap: 2px; }
}
.cal.up { top: auto; bottom: calc(100% - 4px); }

/* ── date of birth, final: three small wheels in the field itself (day, month, year). Each shows its chosen row, with
      the rows above and below just peeking, so the field is the same height as the others and the box never moves ── */
.dob { display: grid; grid-template-columns: .8fr 1.5fr 1fr; gap: 4px; height: 46px; border-bottom: 1.5px solid rgba(220,232,250,.3); transition: border-color .25s ease-out; }
.dob:focus-within { border-bottom-color: #e6eefb; }
.dob[aria-invalid="true"] { border-bottom-color: #ff8a8a; }
.dob .wheel { height: 46px; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; overscroll-behavior: contain; outline: 0; border-radius: 8px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%, #000 65%, transparent); mask-image: linear-gradient(180deg, transparent, #000 35%, #000 65%, transparent); }
.dob .wheel::-webkit-scrollbar { display: none; }
.dob .wheel:focus-visible { background: rgba(230,238,251,.06); }
.dob .wheel-pad { height: 11px; }
.dob .wheel-i { display: block; width: 100%; height: 24px; padding: 0 2px; border: 0; background: none; text-align: left; color: #f3f6fa; font: 600 18px var(--sans, 'Manrope'), sans-serif; line-height: 24px; cursor: grab; scroll-snap-align: center; white-space: nowrap; transform-origin: 50% 50%; }
.dob .wheel-i.ph { color: rgba(220,232,250,.38); font-weight: 500; }
.dob .wheel-i:disabled { color: rgba(238,242,246,.22); cursor: default; }
/* the box goes back to its place: heading at the top, the box in the middle of the space below */
.acc-wrap { grid-template-rows: auto 1fr; align-items: start; }
.flow-card.acc-box { align-self: center; }
/* the confirmation: no tick, no "send another"; compact so the whole section still fits one screen */
.acc-box .ticket-top { padding: 22px 24px 18px; gap: 6px; }
.acc-box .ticket h3 { font-size: 30px; }
.acc-box .ticket-row { padding: 16px 24px 0; gap: 10px; }
.acc-box .foil { height: 54px; }
@media (max-width: 860px) {
  .dob .wheel-i { font-size: 17px; }
  .acc-box .ticket-top { padding: 18px 18px 14px; }
  .acc-box .ticket h3 { font-size: 26px; }
  .acc-box .ticket-top p { font-size: 15px; }
  .acc-box .ticket-row { padding: 12px 18px 0; } .acc-box .ticket-row dd { font-size: 15.5px; }
  .acc-box .foil { height: 46px; }
  .flow-card.acc-box.is-open { padding: 12px; }
}
/* the ticket: no foil strip, even padding, the line under the heading balanced */
.acc-box .foil { display: none; }
.acc-box .ticket-row { padding-bottom: 22px; border-radius: 0 0 22px 22px; }
.acc-box .ticket-top p { text-wrap: balance; }
@media (max-width: 860px) {
  .acc-box .ticket-row { padding-bottom: 16px; }
  /* phones: the whole section, form or ticket, fits one screen */
  .acc-wrap { padding-top: calc(var(--f) + 24px); padding-bottom: 18px; gap: 16px; }
  .acc-copy { gap: 12px; } .acc-ttl { gap: 8px; }
  .acc-p { text-wrap: balance; }
  .flow-card.acc-box { padding: 16px 16px 14px; }
  .acc-form { gap: 12px 12px; }
  .acc-box .field, .dob { height: 40px; } .dob .wheel { height: 40px; } .dob .wheel-pad { height: 8px; }
  .acc-col[data-col="2"] { grid-column: 1; }   /* the arrow sits beside the email, not on a row of its own */
  .acc-go { grid-column: 2; grid-row: 3; align-self: end; width: 48px; height: 48px; }
  .acc-status { grid-column: 1 / -1; }
  .foot-in { gap: 6px; padding-top: 12px; }
  .foot-r { gap: 0 14px; }
  .foot-n { margin: 0; }
}

/* ── the confirmation, final: a small platinum printer prints a notched ticket ── */
.flow-card.acc-box.is-open { background: none; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0; }
.is-open .acc-fill { display: none; }
.printer { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; width: min(620px, 100%); margin: 0 auto; outline: 0; color: #eef2f6; }
.printer[hidden] { display: none; }
.pr-machine { position: relative; width: 100%; padding: 12px 12px 30px; border-radius: 24px; background: linear-gradient(180deg, #2a3342, #1a212d); border: 1px solid rgba(220,232,250,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 -1px 0 rgba(0,0,0,.5), 0 24px 40px -22px rgba(0,0,0,.8); }
.pr-head { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 6px; }
.pr-led { width: 7px; height: 7px; border-radius: 50%; background: #e6eefb; box-shadow: 0 0 8px rgba(200,220,255,.9); }
.pr-brand { font: 600 11px var(--clash, 'Manrope'), sans-serif; letter-spacing: .32em; color: rgba(220,232,250,.55); }
.pr-grill { margin-left: auto; display: flex; gap: 4px; } .pr-grill i { width: 18px; height: 3px; border-radius: 2px; background: rgba(0,0,0,.45); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.pr-screen { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #0a0f17; border: 1px solid rgba(0,0,0,.6); box-shadow: inset 0 0 22px rgba(0,0,0,.65); }
.pr-status { font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: rgba(220,232,250,.8); }
.pr-ic { position: relative; width: 18px; height: 18px; flex: none; }
.pr-spin { position: absolute; inset: 1px; border-radius: 50%; border: 2px solid rgba(220,232,250,.25); border-top-color: #e6eefb; animation: pr-spin .8s linear infinite; }
.pr-ok { position: absolute; inset: 0; width: 18px; height: 18px; opacity: 0; transform: scale(.94); transition: opacity .16s ease-out, transform .16s ease-out; }
.pr-ok circle { fill: var(--n-up, #3fbf7f); } .pr-ok path { fill: none; stroke: #06120c; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.printer[data-stage="complete"] .pr-spin { display: none; }
.printer[data-stage="complete"] .pr-ok { opacity: 1; transform: none; }
.printer[data-stage="complete"] .pr-status { color: #eef2f6; }
.pr-slot { position: absolute; left: 22px; right: 22px; bottom: 12px; height: 8px; border-radius: 4px; background: #05080d; box-shadow: inset 0 2px 3px rgba(0,0,0,.9); }
@keyframes pr-spin { to { transform: rotate(360deg); } }

/* the paper comes out of the slot, line by line */
.pr-out { position: relative; z-index: 2; width: calc(100% - 44px); margin-top: -18px; overflow: hidden; padding: 0 0 18px; }
.pr-out::before { content: ''; position: absolute; left: 0; right: 0; top: -2px; height: 8px; background: rgba(5,8,13,.75); filter: blur(5px); z-index: 2; }
.pr-feed { transform: translateY(calc(-100% + 2px)); opacity: 0; }
.printer[data-stage="printing"] .pr-feed { opacity: 1; animation: pr-feed 1.75s linear forwards; }
.printer[data-stage="complete"] .pr-feed { opacity: 1; transform: none; }
@keyframes pr-feed {
  0% { transform: translateY(calc(-100% + 2px)); } 7.5%, 10.5% { transform: translateY(-91%); } 18%, 21% { transform: translateY(-81%); }
  28.5%, 31.5% { transform: translateY(-70%); } 39%, 42% { transform: translateY(-58%); } 49.5%, 52.5% { transform: translateY(-45%); }
  60%, 63% { transform: translateY(-32%); } 70.5%, 73.5% { transform: translateY(-20%); } 81%, 84% { transform: translateY(-10%); }
  91.5%, 94.5% { transform: translateY(-3%); } 100% { transform: translateY(0); } }

/* the ticket: notched where the stub tears off, platinum paper, dark ink */
.tk { --notch: 13px; --stub: 34%; position: relative; display: grid; grid-template-rows: minmax(0, 1fr) var(--stub); height: 270px; color: #0e1621;
  background: linear-gradient(145deg, rgba(255,255,255,.55), transparent 42%), #e3e9f1; transition: transform .22s cubic-bezier(.23,1,.32,1);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--stub) - var(--notch)), calc(100% - var(--notch)) calc(100% - var(--stub)), 100% calc(100% - var(--stub) + var(--notch)), 100% 100%, 0 100%, 0 calc(100% - var(--stub) + var(--notch)), var(--notch) calc(100% - var(--stub)), 0 calc(100% - var(--stub) - var(--notch)));
  filter: drop-shadow(0 18px 26px rgba(0,0,0,.35)); }
.tk-body { position: relative; padding: 26px 30px 18px; display: grid; align-content: start; gap: 8px; }
.tk-body::after { content: ''; position: absolute; left: calc(var(--notch) + 6px); right: calc(var(--notch) + 6px); bottom: 0; border-bottom: 1.5px dashed rgba(14,22,33,.3); }
.tk-k { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #56616e; }
.tk-h { margin: 0; font: 600 30px var(--head, 'Manrope'), sans-serif; letter-spacing: -.01em; line-height: 1.05; }
.tk-name { margin: 4px 0 0; font: 700 18px var(--sans, 'Manrope'), sans-serif; }
.tk-p { margin: 0; font-size: 14.5px; color: #3c4a5c; text-wrap: balance; } .tk-p b { color: #0e1621; overflow-wrap: anywhere; }
.tk-stub { display: flex; align-items: center; gap: 28px; padding: 0 30px; }
.tk-stub span { display: grid; gap: 3px; } .tk-stub i { font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #6a7686; } .tk-stub b { font-size: 14.5px; }
.tk-stub .tk-mark { margin-left: auto; font: 500 22px var(--clash, 'Manrope'), sans-serif; letter-spacing: .3em; color: rgba(14,22,33,.22); }

/* ── the footer on phones only: no block, just the name, T&C and Help in the bottom margin ── */
@media (max-width: 860px) {
.foot { border: 0; }
.foot-in { height: var(--f); min-height: 0; padding-top: 0; padding-bottom: 0; display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 13.5px; color: rgba(220,232,250,.6); border: 0; }
.foot-l { display: flex; align-items: baseline; gap: 10px; margin: 0; white-space: nowrap; }
.foot-r { display: flex; gap: 8px; margin: 0; }
.foot-r a { min-height: 32px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(220,232,250,.18); color: #eef2f6; text-decoration: none; font-weight: 600; font-size: 13px; transition: background-color .25s ease-out; }
.foot-r a:hover { background: rgba(220,232,250,.08); text-decoration: none; }
}

@media (max-width: 860px) {
  /* phones: room to breathe; the arrow beside the email; "Already a member?" under the box */
  .acc-wrap { padding-top: calc(var(--f) + 32px); padding-bottom: 20px; gap: 22px; grid-template-rows: none; }
  .acc-copy { display: contents; }
  .acc-ttl { order: 1; gap: 10px; } .flow-card.acc-box { order: 2; padding: 22px 18px 20px; } .acc-member { order: 3; justify-self: center; }
  .access:has(.is-open) .acc-member { display: none; }
  .acc-form { gap: 22px 14px; }
  .acc-box .field, .dob { height: 44px; } .dob .wheel { height: 44px; } .dob .wheel-pad { height: 10px; }
  .acc-col[data-col="2"] { grid-column: 1; }
  .acc-go { grid-column: 2; grid-row: 3; align-self: end; margin-bottom: 2px; width: 50px; height: 50px; }
  .tk { height: 300px; --stub: 30%; }
  .tk-body { padding: 22px 22px 14px; } .tk-h { font-size: 26px; } .tk-stub { padding: 0 22px; gap: 20px; } .tk-stub .tk-mark { display: none; }
  .pr-machine { padding: 10px 10px 26px; border-radius: 20px; }
  .foot-in { display: flex; height: var(--f); padding: 0 16px; border: 0; gap: 10px; font-size: 12.5px; }
  .foot-l .wordmark { font-size: 16px; }
  .foot-r a { padding: 0 10px; font-size: 12px; min-height: 30px; }
}
@media (prefers-reduced-motion: reduce) { .pr-spin { animation: none; } .printer[data-stage="printing"] .pr-feed { animation: none; transform: none; } }
.foot-r .sm { display: none; }
.tk { height: 300px; }
@media (max-height: 800px) and (min-width: 861px) { .tk { height: 232px; } .tk-body { padding: 20px 28px 14px; gap: 6px; } .tk-h { font-size: 26px; } .acc-wrap { padding-top: calc(var(--f) + 56px); } }
@media (max-width: 860px) {
  .foot-in { padding-right: 76px; }   /* leaves the night-mode button its own corner */
  .foot-r { flex-wrap: nowrap; gap: 6px; } .foot-r .lg { display: none; } .foot-r .sm { display: inline; }
  .foot-l > span:last-child { font-size: 12px; }
  .tk { height: min(310px, calc(var(--vh) - 460px)); min-height: 270px; }
}

/* the ticket, personal: a fine guilloche in the paper and the Mudra mark as a watermark */
.tk-pat { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.tk-pat ellipse, .tk-pat path { fill: none; stroke: #2c3e55; stroke-width: .5; opacity: .16; }
.tk-wm { position: absolute; z-index: 0; right: 30px; top: 22px; width: 118px; height: auto; color: #2c3e55; opacity: .1; pointer-events: none; }
.tk-body, .tk-stub { position: relative; z-index: 1; }
.tk-stub .tk-mark { display: none; }

/* the footer links on phones: plain text you can click */
@media (max-width: 860px) {
.foot-r { gap: 22px; }
.foot-r a { padding: 0; border: 0; border-radius: 0; min-height: 32px; background: none; color: rgba(220,232,250,.75); font-weight: 600; }
.foot-r a:hover { background: none; color: #eef2f6; text-decoration: underline; text-underline-offset: 4px; }
}

@media (max-width: 860px) {
  .tk-wm { width: 84px; right: 20px; top: 18px; }
  .foot-r { gap: 16px; } .foot-r a { padding: 0; font-size: 12.5px; }
  /* phones: the heading stays near the top; the free space is shared equally above the box and above "Already a member?" */
  .acc-wrap { display: flex; flex-direction: column; gap: 0; padding-top: calc(var(--f) + 32px); padding-bottom: 28px; }
  .acc-ttl { flex: none; }
  .flow-card.acc-box { margin-top: auto; flex: none; }
  .acc-member { margin-top: auto; align-self: center; flex: none; }
  .acc-ttl { padding-bottom: 24px; } .flow-card.acc-box { margin-bottom: 24px; }   /* the least space, if the screen is short */
  .access:has(.is-open) .flow-card.acc-box { margin-bottom: auto; }
}
/* the pattern, calmer: one faint rosette off the right edge, the mark inside it */
.tk-pat ellipse { opacity: .11; } .tk-pat path { opacity: .09; }
.tk-wm { right: 44px; top: 54px; width: 92px; opacity: .09; }
@media (max-width: 860px) { .tk-wm { right: 18px; top: 40px; width: 64px; } }
@media (max-width: 860px) { .tk-wm { top: auto; bottom: 14px; right: 18px; width: 58px; } }   /* phones: the mark sits in the stub, clear of the text */
@media (max-width: 860px) { .tk-wm { width: 36px; right: 14px; bottom: 22px; } }
@media (max-width: 379px) { .tk-wm { display: none; } }   /* the narrowest phones: the pattern stays, the mark would touch the text */

/* no scroll anchoring: the browser must never nudge the scroll when a pinned section changes size */
html { overflow-anchor: none; }

/* ── planning: clear labels; on phones a tidy milestone list instead of floating labels ── */
.tip-free { width: 250px; }
.tip span { text-wrap: balance; }
.pl-legend { display: none; }
@media (max-width: 860px) {
  .plan-pin { align-items: flex-start; }
  .plan-wrap { padding-top: calc(var(--f) + 26px); padding-bottom: 20px; gap: 18px; height: 100%; box-sizing: border-box; }
  .plan .h-sec { font-size: 34px; }
  .plan .lead { font-size: 15.5px; line-height: 1.45; text-wrap: balance; }
  .plan-copy { gap: 8px; }
  .plan-chips { gap: 6px; font-size: 11px; } .plan-chips li { height: 26px; padding: 0 9px; }
  .plan-chart { flex: 1 1 auto; height: auto; min-height: 200px; max-height: 38svh; margin: 6px 0 22px; }
  .pc-y { font-size: 10.5px; } .pc-x { font-size: 10.5px; }
  .mk-pt .tip { display: none; }          /* the list below carries the words on phones */
  .mk-pt .beep { left: -7px; top: -7px; width: 14px; height: 14px; } .mk-pt .dot { left: -5px; top: -5px; width: 10px; height: 10px; }
  .pl-legend { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
  .pl-legend li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: start; opacity: .35; transition: opacity .4s ease-out; }
  .pl-legend li.on { opacity: 1; }
  .lg-d { width: 10px; height: 10px; margin-top: 4px; border-radius: 50%; background: var(--accent-ui); box-shadow: 0 0 0 3px var(--bg); }
  .pl-legend li.free .lg-d { background: var(--n-up); }
  .pl-legend b { display: block; font-size: 13px; font-weight: 700; color: var(--accent-ink); }
  .pl-legend li.free b { color: var(--n-up); }
  .pl-legend em { display: block; font-style: normal; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
  .plan-note { margin-top: 0; font-size: 12px; }
}
@media (max-width: 860px) {
  /* the chart sits in its own lifted box: a fine border and a soft shadow, with its labels inside */
  .plan-chart { isolation: isolate; margin: 44px 16px 52px; }
  .plan-chart::before { content: ''; position: absolute; z-index: -1; inset: -36px -14px -42px -14px; border-radius: 20px;
    background: var(--card, #fff); border: 1px solid var(--line-strong, rgba(14,22,33,.12));
    box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 40px -18px rgba(14,22,33,.35), 0 4px 12px -6px rgba(14,22,33,.18); }
  [data-theme="dark"] .plan-chart::before { box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 22px 44px -18px rgba(0,0,0,.75); }
}
@media (max-width: 860px) and (max-height: 780px) { .plan-chart { min-height: 150px; max-height: 26svh; margin: 40px 16px 48px; } .plan-wrap { gap: 14px; } .pl-legend { gap: 6px; } }

/* the ring lifts off the page: each card casts a soft shadow, the ring has a pooled shadow on the ground and a glow behind */
.orbit .cf { box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 22px 34px -14px rgba(3,8,18,.62), 0 6px 12px -6px rgba(3,8,18,.45); }
.ring-shade, .ring-glow { position: absolute; left: 0; top: 0; pointer-events: none; border-radius: 50%; will-change: transform, opacity; opacity: 0; }
.ring-shade { background: radial-gradient(closest-side, rgba(2,6,14,.55), rgba(2,6,14,.28) 55%, transparent); filter: blur(10px); }
.ring-glow { background: radial-gradient(closest-side, rgba(170,198,240,.22), rgba(150,180,230,.08) 55%, transparent); filter: blur(14px); }
.ring-shade { background: radial-gradient(closest-side, rgba(2,6,14,.7), rgba(2,6,14,.34) 55%, transparent); filter: blur(12px); }
.ring-glow { background: radial-gradient(closest-side, rgba(176,204,246,.32), rgba(150,180,230,.1) 55%, transparent); }

/* the date wheels, easier to find: at rest one row shows; point at one (or tab to it) and it opens into a small glass
   panel showing the values above and below. A click on the middle value steps to the next; mouse wheel, swipe and
   the arrow keys turn it. The field itself never changes size. */
.dob { position: relative; overflow: visible; }
.dob .wheel { position: relative; height: 72px; margin: -13px 0; border-radius: 12px; -webkit-mask-image: none; mask-image: none;
  clip-path: inset(13px 0 13px 0 round 8px); transition: clip-path .22s cubic-bezier(.2,.8,.2,1), background-color .22s ease-out, box-shadow .22s ease-out; }
.dob .wheel-pad { height: 24px; }
.dob .wheel:hover, .dob .wheel:focus-visible, .dob .wheel:focus { z-index: 6; clip-path: inset(0 -6px 0 -6px round 12px); background: rgba(12,19,32,.94);
  box-shadow: 0 0 0 1px rgba(220,232,250,.2), 0 18px 34px -16px rgba(0,0,0,.8); }
.dob .wheel-i { padding: 0 8px; }
.dob .wheel:hover .wheel-i[aria-selected="true"], .dob .wheel:focus .wheel-i[aria-selected="true"] { background: rgba(230,238,251,.1); border-radius: 6px; }
@media (max-width: 860px) { .acc-box .dob { height: 46px; } .dob .wheel { height: 72px; } .dob .wheel-pad { height: 24px; } }

/* the lit glass follows the fields: it stops in the gap after the last one done */
.acc-fill { clip-path: inset(0 calc(100% - var(--cut, 0px)) 0 0 round 28px); }
@media (max-width: 860px) { .acc-fill { clip-path: inset(0 0 calc(100% - var(--cut, 0px)) 0 round 22px); } }
/* the browser's autofill colour blends into the glass */
.acc-box .field:-webkit-autofill, .acc-box .field:-webkit-autofill:hover, .acc-box .field:-webkit-autofill:focus {
  -webkit-text-fill-color: #f3f6fa; caret-color: #f3f6fa; -webkit-box-shadow: 0 0 0 100px rgba(0,0,0,0) inset; transition: background-color 9999s ease-out 0s; }

/* the strike lines in "never sold": the same bright green as "Opened by you", with a soft glow */
.secure .strike i { height: 2px; background: var(--n-up) !important; box-shadow: 0 0 6px var(--n-up), 0 0 14px rgba(143,207,149,.55); }
[data-theme="light"] .secure .strike { color: inherit; }

/* 20 Nov: the story lines and the ring cards */
.blk-b .blk-h em { font-style: italic; }
@media (min-width: 861px) {
  /* "Your wealth lives everywhere": wide enough for two lines of heading and two of text, and lower on the screen */
  .blk-a { width: min(640px, 46vw); bottom: 44px; }
  .blk-a .blk-p { max-width: 60ch; }
}
@media (max-width: 860px) { .blk-a { bottom: 22px; } }
/* the screen pills on the ring cards stay inside their card */
.cf .pill { max-width: 100%; box-sizing: border-box; padding: 0 10px; font-size: 11px; letter-spacing: -.01em; }

/* the plan chart: no note under it, so the chart takes the room */
.plan-chart { height: min(52svh, 520px); }
@media (max-width: 860px) {
  .plan-chart { max-height: 46svh; min-height: 230px; }
}
@media (max-width: 860px) and (max-height: 780px) { .plan-chart { max-height: 34svh; min-height: 170px; } }

/* 20 Nov: one night for Home, Wealth and Analysis: the navy at the top of the first screen's sky (#0b1422) with a steel glow from its horizon.
   Private access keeps its darker starry sky. The walk sits between the old near-black and the new navy. */
html .fw-pin { background: #0b1422; }
html .fw-bg, html .dusk { background: radial-gradient(60% 60% at 64% 55%, rgba(125,143,165,.22), rgba(125,143,165,0) 72%), linear-gradient(180deg, #0b1422 0%, #142033 100%); }
html .walk { background: #0a111e; }
html .wk::after { background: linear-gradient(90deg, rgba(10,17,30,.82) 0%, rgba(10,17,30,.45) 36%, rgba(10,17,30,0) 62%); }
@media (max-width: 860px) { html .wk::after { background: linear-gradient(180deg, rgba(10,17,30,.8) 0%, rgba(10,17,30,.2) 45%, rgba(10,17,30,.85) 100%); } }

/* the chat's send button: a circle with the same gap above, below and to the right */
.chat .ask-in { height: 50px; padding: 0 5px 0 18px; border-radius: 999px; }
.chat .ask-in > i { width: 40px; height: 40px; border-radius: 50%; flex: none; }

/* phones: the plan chart without the empty band above it; the box starts just above the freedom line's label */
@media (max-width: 860px) {
  .plan-chart { max-height: 40svh; min-height: 210px; margin-top: 22px; }
  .plan-chart::before { top: -10px; }
}
@media (max-width: 860px) and (max-height: 780px) { .plan-chart { max-height: 30svh; min-height: 160px; margin-top: 20px; } }

/* 20 Nov: "Built around your money", five tiles: big + small, small + big, then Ask, wide and low. Each tile lifted like the plan chart. */
.five .bento { gap: 18px; }
.five .bento .tile { padding: 24px; gap: 18px; }
.five .tile-h { font-size: 22px; line-height: 1.15; }
.five .tile-copy { gap: 6px; } .five .tile-copy p { font-size: 14.5px; line-height: 1.45; }
.b-lift, .five .t-ask { border: 1px solid rgba(14,22,33,.12); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 40px -18px rgba(14,22,33,.35), 0 4px 12px -6px rgba(14,22,33,.18); }
.b-own { grid-column: span 7; order: 1; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); align-content: stretch; }
.b-fx  { grid-column: span 5; order: 2; align-content: space-between; }
.b-pl  { grid-column: span 5; order: 3; align-content: space-between; }
.b-way { grid-column: span 7; order: 4; align-content: space-between; }
.five .bento > .t-ask { grid-column: span 12; order: 5; grid-template-columns: minmax(0,4fr) minmax(0,7fr); align-items: center; padding: 20px 24px !important; }
.five .t-ask .chat { gap: 8px; } .five .t-ask .q, .five .t-ask .a, .five .t-ask .q *, .five .t-ask .a * { font-size: 14px !important; } .five .t-ask .q, .five .t-ask .a { padding: 10px 14px; } .five .t-ask .amu { font-size: 12px; }
.b-own .tile-copy { display: flex; flex-direction: column; } .b-own .nwfig { margin-top: auto; gap: 8px; }
.b-own .nw-v { font-size: 30px; }
.b-own .own-ui .own { font-size: 14px; } .b-own .own-ui .own > * { padding: 7px 0; }
.b-own .own-ui { align-self: end; }
.oo { display: flex; gap: 3px; margin-top: 4px; width: 68%; }
.oo i, .pl-bar i { display: block; flex: none; width: var(--w); height: 8px !important; border-radius: 4px; margin: 0; padding: 0; border: 0; box-shadow: none; }
.oo-own { background: linear-gradient(90deg, #8d9aa8, #c8d3de); } .oo-owe, .pl-bar .b { background: #e07a6f; } .pl-bar .a { background: #8fcf95; }
.oo-k { display: flex; gap: 16px; font-size: 12.5px; color: var(--muted); }
.oo-k span, .pl-r span { display: inline-flex; align-items: center; gap: 7px; }
.oo-k b { color: var(--ink); font-weight: 600; } .oo-k b.dn { color: #c4554a; }
.d-own, .d-owe, .d-yes { width: 7px; height: 7px; border-radius: 50%; background: #9aa7b5; flex: none; }
.d-owe { background: #e07a6f; } .d-yes { background: #8fcf95; }
.b-pl { background: rgba(15,24,36,.92); color: var(--on-alt); border: 1px solid rgba(220,228,236,.14);
  box-shadow: 0 1px 0 rgba(220,228,236,.1) inset, 0 22px 44px -18px rgba(3,8,18,.7), 0 6px 14px -6px rgba(3,8,18,.4); }
.b-pl .tile-h { color: var(--on-alt); } .b-pl .tile-copy p { color: var(--on-alt-mu); }
.fx, .pl { display: grid; font-size: 14px; }
.fx-r, .fx-t, .pl-r { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); color: var(--muted); }
.fx-r span { display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.fx .fl { flex: none; width: auto; display: inline-block; background: none; font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .08em; padding: 2px 5px; border-radius: 5px; border: 1px solid var(--line); color: var(--ink); }
.fx b { display: flex; gap: 8px; align-items: baseline; color: var(--ink); font-size: 15px; }
.fx small { font-size: 11.5px; font-weight: 600; } .fx small.up { color: #3f9a55; } .fx small.dn { color: #c4554a; }
.fx-t { border-top: 1px solid rgba(14,22,33,.25); } .fx-t span { color: var(--ink); font-weight: 700; } .fx-t b { font-size: 19px; color: var(--accent); }
.pl-r { border-top-color: rgba(220,228,236,.12); color: var(--on-alt-mu); }
.pl-r b { color: var(--on-alt); font-size: 15px; } .pl-r b.owe { color: #ff9a8f; } .pl-r b.yes { color: #8fcf95; font-size: 19px; }
.pl-t span { color: var(--on-alt); font-weight: 700; }
.pl-bar { display: flex; gap: 3px; margin-bottom: 8px; }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.way { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(220,232,250,.04); }
.way i { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: rgba(44,62,85,.08); margin-bottom: 6px; }
.way svg { width: 17px; height: 17px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.way b { font-size: 14.5px; color: var(--ink); } .way em { margin-bottom: 8px; font-style: normal; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.way i { flex: none; } .way span { margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 11.5px; color: var(--ink); }
@media (max-width: 860px) {
  .five .bento { gap: 10px; }
  .five .bento .tile { padding: 16px; gap: 12px; border-radius: 18px; }
  .five .tile-h { font-size: 17px; } .five .tile-copy p { font-size: 12.5px; }
  .b-own, .b-way, .five .bento > .t-ask { grid-column: span 12; }
  .b-fx, .b-pl { grid-column: span 6; }
  .b-fx .tile-copy p, .b-pl .tile-copy p { display: none; } .b-fx .tile-h, .b-pl .tile-h { font-size: 15px; line-height: 1.2; } .fx small { display: none !important; } .b-fx, .b-pl { align-content: space-between; }
  .b-own { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; } .oo { width: 80%; }
  .b-own .tile-copy p { display: none; }
  .b-own .nw-v { font-size: 22px; } .oo-k { flex-direction: column; gap: 2px; font-size: 11.5px; }
  .b-own .own-ui .own { font-size: 12px; gap: 0 6px; grid-template-columns: 1fr auto !important; } .b-own .own-ui .own > * { padding: 5px 0; } .b-own .own i { display: none; }
  .fx, .pl { font-size: 12px; } .fx-r, .fx-t, .pl-r { padding: 7px 0; }
  .fx b { display: grid; gap: 0; text-align: right; font-size: 13px; } .fx-t b, .pl-r b.yes { font-size: 15px; } .pl-r b { font-size: 13px; }
  .fx .fl { display: none; }
  .ways { gap: 8px; } .way { padding: 10px; } .way i { width: 26px; height: 26px; } .way b { font-size: 13px; } .way em { display: none; } .way span { font-size: 10.5px; margin-top: 4px; padding-top: 6px; }
  .five .bento > .t-ask { grid-template-columns: minmax(0,1fr); padding: 16px !important; }
  .five .t-ask .tile-copy p { display: none; }
  .five .t-ask .q, .five .t-ask .a, .five .t-ask .q *, .five .t-ask .a * { font-size: 13px !important; line-height: 1.4 !important; } .five .t-ask .amu { font-size: 11px !important; }
  .way span { white-space: nowrap; overflow: hidden; text-overflow: clip; font-size: 9.5px; letter-spacing: -.02em; }
}

/* 20 Nov: the plan chart sits in a lifted box on every screen, with the same padding on all four sides.
   The freedom line's label sits at 17.05% of the chart's height, about 22px above it, so the box's top follows it. */
.plan-chart::before { content: ''; position: absolute; z-index: -1; border-radius: 22px; pointer-events: none;
  background: var(--card, #fff); border: 1px solid var(--line-strong, rgba(14,22,33,.12));
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 40px -18px rgba(14,22,33,.35), 0 4px 12px -6px rgba(14,22,33,.18); }
[data-theme="dark"] .plan-chart::before { box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 22px 44px -18px rgba(0,0,0,.75); }
@media (min-width: 861px) {
  .plan-chart { isolation: isolate; height: min(46svh, 460px); margin: 40px 28px 64px; }
  .plan-chart::before { top: calc(17.05% - 50px); left: -28px; right: -28px; bottom: -58px; }
}
@media (max-width: 860px) {
  .plan-chart { flex: none; height: 30svh; min-height: 180px; max-height: 260px; margin: 14px 18px 46px; }
  .plan-chart::before { top: calc(17.05% - 40px); left: -18px; right: -18px; bottom: -45px; border-radius: 20px; }
  .pl-legend { gap: 16px; padding-top: 6px; }
  .pl-legend em { margin-top: 2px; }
}
@media (max-width: 860px) and (max-height: 780px) {
  .plan-chart { height: 26svh; min-height: 150px; margin: 12px 18px 44px; }
  .pl-legend { gap: 10px; padding-top: 2px; }
}

/* the Mudra mark on the coin's back, struck into the metal like the currency symbols */
.c-sym .c-mark { width: calc(var(--d) * .42); height: auto; color: rgba(84, 94, 108, .58);
  filter: drop-shadow(0 calc(var(--d) * .005) 0 rgba(255,255,255,.8)) drop-shadow(0 calc(var(--d) * -.004) 0 rgba(18,22,30,.42)); }

/* ── 20 Nov: the phone ── */
/* the lock screen shows the time, the notch, signal and battery, like the unlocked app */
.lk-status { z-index: 3; color: #eef1f5; }
/* Home on the phone: the very pieces that lift off it into the features (Portfolio, Indian, Overseas) */
.ph-pic { position: absolute; left: 18px; width: 248px; }
.ph-pic img { display: block; width: 100%; height: auto; }
.ph-pic .cd { display: none; }
[data-theme="dark"] .ph-pic .cd { display: block; } [data-theme="dark"] .ph-pic .cl { display: none; }
.ph-pf { top: 64px; } .ph-in { top: 345px; } .ph-os { top: 421px; }
.app-bar { top: 32px; height: 32px; } .app-title { font-size: 17px; }
/* the brief floats: a lifted card with a handle, just above the nav */
.days { top: auto; bottom: 56px; left: 12px; right: 12px; height: auto; padding: 4px 8px 7px; gap: 4px; border-radius: 16px; border-color: var(--line-strong);
  box-shadow: 0 -2px 0 rgba(255,255,255,.5) inset, 0 10px 24px -8px rgba(14,22,33,.32), 0 2px 6px rgba(14,22,33,.1); z-index: 2; }
.days-h { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: 100%; padding: 0 2px; }
.days-grab { grid-column: 2; grid-row: 1; width: 30px; height: 4px; border-radius: 2px; background: var(--line-strong); justify-self: center; }
.days-h b { grid-column: 1; grid-row: 1; font-size: 10px; font-weight: 800; }
.days-h em { grid-column: 3; grid-row: 1; justify-self: end; font-style: normal; font-size: 8px; color: var(--muted); }
/* the nav sits flat on the bottom edge, full width, with the home indicator under it */
.app-nav { height: 50px; padding: 0 8px 10px; border-top: 1px solid var(--line); background: var(--bg); box-shadow: none; }
.app-nav-c { width: 34px; height: 34px; }
.app-nav::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 96px; height: 4px; margin-left: -48px; border-radius: 2px; background: var(--ink); opacity: .85; }

/* the plan's three captions on desktop: small, and all placed the same way, up and to the left of their dot */
@media (min-width: 861px) {
  .mk-pt .tip, .mk-pt .tip-l, .mk-pt .tip-r, .mk-pt .tip-free { left: auto; top: auto; right: 12px; bottom: 30px; width: max-content; max-width: none;
    padding: 7px 10px; border-radius: 10px; gap: 1px; font-size: 11px; line-height: 1.3; white-space: nowrap; }
  .mk-pt .tip-k { font-size: 11px; }
  .plan-chart::before { top: calc(17.05% - 78px); }
  .plan-chart { margin-top: 68px; }
}

/* the two bars: shares of one full width (the gap no longer pushes the second past the edge); thicker blocks */
.oo i, .pl-bar i { width: auto; flex: var(--g) 1 0; }
.oo, .pl-bar { width: 100%; gap: 3px; }
.oo i { height: 12px !important; border-radius: 4px; }
.pl-bar i { height: 14px !important; border-radius: 4px; }
/* "Everything you own": the left column takes more of the card, the number and its bar are bigger */
@media (min-width: 861px) {
  .b-own { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; }
  .b-own .nw-v { font-size: 40px; }
  .b-own .oo-k { font-size: 13px; }
}
@media (max-width: 860px) { .oo, .pl-bar { width: 100%; } }

/* desktop keeps its full footer row; phones show only T&C and Help */
.foot-ph { display: none; }
@media (max-width: 860px) { .foot-wide { display: none; } .foot-ph { display: flex; } }

/* Labs: the observatory sits low in the photo; show the bottom of it so the dome clears the Opportunities panel */
.wk > img.bg[src*="walk-labs"] { object-position: 70% 100%; }
@media (max-width: 860px) { .wk > img.bg[src*="walk-labs"] { object-position: 82% 100%; } }

/* the mark on the coin: darker, struck deeper, with a ring of lettering round it so the eye stops there */
.c-sym .c-mark { width: calc(var(--d) * .76); color: rgba(44, 52, 64, .78);
  filter: drop-shadow(0 calc(var(--d) * .004) 0 rgba(255,255,255,.85)) drop-shadow(0 calc(var(--d) * -.003) 0 rgba(10,14,22,.55)); }
.c-ring-t { font: 600 10.4px 'Inter', 'Segoe UI', system-ui, sans-serif; letter-spacing: 0; fill: currentColor; }

/* the unlocked Home, laid out like the app: three cards with the same 20px side margin and an 8px gap, nothing under the Brief */
.ph-pic { left: 20px; width: 244px; border-radius: 10px; overflow: hidden; border: 0; box-shadow: 0 1px 2px rgba(14,22,33,.06), 0 6px 14px -8px rgba(14,22,33,.18); }
.ph-pf { top: 66px; } .ph-in { top: 347px; } .ph-os { top: 419px; }
.days { left: 20px; right: 20px; bottom: 58px; }

/* ── 20 Nov, the unlocked Home as the app draws it ──
   Portfolio and its chart sit straight on the screen, no card; Indian and Overseas float as cards, their edges in line
   with the chart; the Brief is a sheet across the bottom, edge to edge, rounded at the top; the nav floats on it. */
.app { background: #ffffff; }
[data-theme="dark"] .app { background: #13171a; }
.ph-pic { left: 18.0px; width: 248px; border-radius: 10px; overflow: hidden; }
.ph-pf { left: 9.6px; width: 271.4px; top: 56px; border-radius: 0; box-shadow: none; overflow: visible; }
.ph-in { top: 356.1px; } .ph-os { top: 429.4px; }
.ph-in, .ph-os { box-shadow: 0 1px 2px rgba(14,22,33,.08), 0 10px 22px -10px rgba(14,22,33,.3); }
.days { left: 0; right: 0; bottom: 0; top: auto; height: 99.0px; padding: 4px 10px 0; gap: 4px; border: 0; border-radius: 22px 22px 0 0;
  background: #ffffff; box-shadow: 0 -10px 26px -8px rgba(14,22,33,.22), 0 -1px 0 rgba(14,22,33,.06); justify-content: flex-start; }
[data-theme="dark"] .days { background: #1a1f24; box-shadow: 0 -12px 28px -8px rgba(0,0,0,.6), 0 -1px 0 rgba(255,255,255,.06); }
.days-up { color: #b07a1c; flex: none; }
.days-g { gap: 4px; }
.days-g > span { padding: 3px 0; border-radius: 8px; gap: 1px; }
.days-g > span:last-child { background: rgba(43,102,246,.12); }
.days-g > span:last-child i { color: #2b66f6; }
.days-g i { font-size: 8.5px; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.days-g b { font-size: 9.5px; }
.app-nav { left: 10px; right: 10px; bottom: 8px; height: 44px; padding: 0 6px; border: 1px solid rgba(14,22,33,.08); border-radius: 18px;
  background: #ffffff; box-shadow: 0 10px 20px -10px rgba(14,22,33,.35); z-index: 3; }
[data-theme="dark"] .app-nav { background: #22282e; border-color: rgba(255,255,255,.08); }
.app-nav::after { display: none; }
.app-nav-c { width: 42px; height: 42px; margin-top: -18px; border: 0; border-radius: 14px; color: #fff;
  background: linear-gradient(150deg, #4f86ff, #2b66f6); box-shadow: 0 10px 18px -8px rgba(43,102,246,.85), 0 0 0 4px #ffffff; }
[data-theme="dark"] .app-nav-c { box-shadow: 0 10px 18px -8px rgba(43,102,246,.85), 0 0 0 4px #22282e; }
.app-nav-on { color: #b07a1c; } .app-nav-on i { background: #b07a1c; }

/* the phone's nav, as in the app: Home, Wealth, Search (raised), Lab, Analysis; slate, not yellow; a little smaller,
   so the raised search button clears the middle day of the Brief */
.days-up { color: var(--ink); opacity: .75; }
.app-nav { bottom: 7px; height: 38px; color: #8a94a2; }
.app-nav-on, .app-nav-on i { color: #4d5a6b; } .app-nav-on i { background: #4d5a6b; width: 3px; height: 3px; }
.app-nav-on { gap: 2px; }
.app-nav-c { width: 34px; height: 34px; margin-top: -10px; border-radius: 11px; }
[data-theme="dark"] .app-nav { color: #9aa4b2; } [data-theme="dark"] .app-nav-on, [data-theme="dark"] .app-nav-on i { color: #c3ccd8; } [data-theme="dark"] .app-nav-on i { background: #c3ccd8; }
.days-g > span { padding: 2px 0; }

/* the walk: the photos show their colour. A light scrim only behind the words (no dark corners), and a soft lift on the words themselves */
html .wk::after { background: linear-gradient(90deg, rgba(10,17,30,.5) 0%, rgba(10,17,30,.22) 32%, rgba(10,17,30,0) 52%); }
@media (max-width: 860px) { html .wk::after { background: linear-gradient(180deg, rgba(10,17,30,.5) 0%, rgba(10,17,30,.12) 40%, rgba(10,17,30,0) 70%); } }
.wk .t b, .wk .t p, .wk .t .k { text-shadow: 0 1px 2px rgba(5,9,18,.35), 0 2px 14px rgba(5,9,18,.28); }
.wk > img.bg[src*="walk-labs"] { object-position: 70% 100%; }
@media (max-width: 860px) { .wk > img.bg[src*="walk-labs"] { object-position: 80% 70%; } }

/* -- 20 Nov (m): day / night lives in the menu; the page opens in the visitor's own setting -- */
.m-th, .m-s { display: none; }
.m-theme { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 14px; border: 1px solid var(--m-line); border-radius: 16px; background: transparent; color: var(--m-ink); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; text-align: left; }
.m-theme .ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; flex: none; }
.m-theme .m-sun { display: none; } [data-theme="dark"] .m-theme .m-sun { display: block; } [data-theme="dark"] .m-theme .m-moon { display: none; }
.m-tl { flex: 1; }
.m-sw { position: relative; width: 40px; height: 24px; border-radius: 999px; background: var(--m-tint2); border: 1px solid var(--m-line); flex: none; }
.m-sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--m-ink); transition: transform .3s var(--ease); }
.m-theme[aria-pressed="true"] .m-sw::after { transform: translateX(16px); }
.m-theme:focus-visible { outline: 2px solid var(--m-ink); outline-offset: 2px; }
@media (max-width: 860px) { .mode { display: none !important; } }

/* phones: the menu is a full screen of short rows: a small picture and one or two words each */
@media (max-width: 600px) {
  .menu { top: var(--f); left: 0; right: 0; bottom: 0; height: auto; max-height: none; border-radius: 0; border-width: 1px 0 0; display: block; clip-path: inset(0 0 100% 0); }
  .menu.open { clip-path: inset(0 0 0 0); }
  .m-stage { display: none; }
  .m-list { height: 100%; padding: 14px 16px calc(18px + env(safe-area-inset-bottom)); gap: 4px; }
  .m-h { padding: 4px 6px 8px; }
  .m-list a { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; padding: 8px; border-radius: 16px; }
  .m-list a .m-d, .m-list a .m-t { display: none; }
  .m-th { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; overflow: hidden; background: var(--m-tint); border: 1px solid var(--m-line); color: var(--m-ink); grid-column: 1; grid-row: 1; }
  .m-th img { width: 100%; height: 100%; object-fit: cover; }
  .m-th img.th-coin { width: 82%; height: 82%; object-fit: contain; }
  .m-th svg { width: 30px; height: 30px; }
  .th-q { font: 600 24px var(--clash, sans-serif); }
  .m-s { display: block; grid-column: 2; grid-row: 1; font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
  .m-n { grid-column: 3; grid-row: 1; font-size: 12px; }
  .m-list a .ic { display: none; }
  .m-list a.cur { background: var(--m-tint); }
  .m-list a.cur .m-n::before { content: none; }
  .m-list a.m-acc { margin-top: auto; justify-content: center; padding: 16px 20px; }
  .m-list a.m-acc .m-s { font-size: 18px; } .m-list a.m-acc .ic { display: block; }
  .m-theme { padding: 14px 16px; font-size: 16px; }
}

/* lock screen: the new mark, sized like the header's */
.lk-emb.lk-new { width: 58px; height: 52px; margin: 14px 0 12px; color: #e8edf2; filter: drop-shadow(0 0 14px rgba(200,211,222,.35)); }

/* phones: nothing anchored to the bottom of a pinned screen sits under the browser's bottom bar */
@media (max-width: 860px) {
  .js .intro-cap { bottom: calc(var(--vh) * .05 + var(--vb, 0px)); }
  .blk-a { bottom: calc(22px + var(--vb, 0px)); }
  .fw-snd { bottom: calc(14px + var(--vb, 0px)); }
  .fw-opt { bottom: calc(92px + var(--vb, 0px)); }
}

/* phones: the walk's words are smaller, and sit on a soft dark wash so they read over any photo */
@media (max-width: 700px) {
  html .wk::after { background: linear-gradient(180deg, rgba(10,17,30,.82) 0%, rgba(10,17,30,.62) 30%, rgba(10,17,30,.18) 52%, rgba(10,17,30,0) 64%); }
  .wk .t { top: 18px; left: 18px; right: 18px; }
  .wk .t .k { font-size: 10.5px; }
  .wk .t b { font-size: 30px; margin-top: 6px; }
  .wk .t p { font-size: 13.5px; line-height: 1.42; margin-top: 8px; }
  .wk .ui { left: 12px; right: 12px; bottom: 12px; }
  .wk .ui-labs { padding: 12px 12px 10px; border-radius: 18px; }
  .wk .ui-labs .lb-h { font-size: 13px; margin-bottom: 8px; }
}
