/* /design: the product design case study and the brand study. Builds on site.css tokens and components.
   Everything here is namespaced cs- (case study) or br- (brand) so it can't collide with shared classes. */

/* ---------- Hero ---------- */
.cs-hero { padding-bottom: 0; }
.cs-hero .h1 { max-width: 860px; }
.cs-meta { display: flex; flex-wrap: wrap; justify-content: center; margin: 14px 0 0; background: #fff; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.cs-meta div { padding: 12px 22px; display: grid; gap: 2px; text-align: left; }
.cs-meta div + div { box-shadow: -1px 0 0 var(--line); }
.cs-meta dt { font-size: 13.5px; color: var(--muted); }
.cs-meta dd { margin: 0; font-size: 16px; font-weight: 500; display: flex; align-items: center; gap: 7px; }
.cs-live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.cs-hero-phones { position: relative; height: 560px; margin-top: 56px; -webkit-mask: linear-gradient(180deg, #000 78%, transparent); mask: linear-gradient(180deg, #000 78%, transparent); }
.cs-hero-phones .p { position: absolute; left: 50%; top: 0; translate: -50% 0; }
.cs-hero-phones .p2 { z-index: 2; }
.cs-hero-phones .p2 .phone { --z: .76; }
.cs-hero-phones .p1 .phone, .cs-hero-phones .p3 .phone { --z: .64; }
.cs-hero-phones .p1 { translate: calc(-50% - 290px) 84px; rotate: -7deg; }
.cs-hero-phones .p3 { translate: calc(-50% + 290px) 84px; rotate: 7deg; }

/* Real screenshots whose page isn't white: match the status bar cover to the page */
.phone.shot.pg-grey .st-cover { background: #F4F4F4; }
.phone.shot.pg-tint .st-cover { background: #EAF2FF; }
.phone.shot.pg-launch .st-cover { background: #006DFE; }
.phone.shot.pg-launch .st { color: #fff; }

/* ---------- Layout: sticky chapter index + main column ---------- */
.cs-body { padding: 0 0 72px; }
.cs-grid { display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: 0 56px; align-items: start; }
.cs-toc { position: sticky; top: 92px; margin-top: 92px; max-height: calc(100vh - 110px); overflow-y: auto; scrollbar-width: none; padding-bottom: 12px; }
.cs-toc::-webkit-scrollbar { display: none; }
.cs-toc-h { display: block; font-size: 13px; font-weight: 600; color: var(--faint); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.cs-toc ol { display: grid; gap: 1px; box-shadow: inset 1.5px 0 0 var(--line); }
.cs-toc a { display: flex; gap: 10px; align-items: baseline; padding: 6px 0 6px 14px; font-size: 15px; font-weight: 500; color: var(--muted); box-shadow: inset 1.5px 0 0 transparent; transition: color .2s, box-shadow .2s; }
.cs-toc ol a > span { font: 500 12px/1 ui-monospace, 'SF Mono', Menlo, monospace; color: var(--faint); transition: color .2s; }
.cs-toc a:hover { color: var(--ink); }
.cs-toc ol a > span { transition: color .2s; }
.cs-toc a.on { color: var(--ink); box-shadow: inset 2px 0 0 var(--blue); }
.cs-toc ol a.on > span { color: var(--blue); }
.cs-toc ol.sub { box-shadow: none; display: none; padding: 2px 0 6px 36px; }
.cs-toc li.open ol.sub { display: grid; }
.cs-toc ol.sub a { font-size: 13.5px; padding: 4px 0; box-shadow: none; }
.cs-toc ol.sub a.on { color: var(--blue); box-shadow: none; }
.cs-toc a.cs-toc-foot { margin-top: 24px; display: flex; gap: 12px; align-items: center; padding: 12px 14px 12px 12px; background: var(--tile); border-radius: 16px; color: var(--ink); box-shadow: none; transition: background-color .25s; }
.cs-toc a.cs-toc-foot:hover { background: var(--tile-2); }
.cs-toc-foot svg { width: 40px; height: 40px; border-radius: 11px; flex: none; }
.cs-toc-foot span { display: grid; gap: 2px; line-height: 1.2; }
.cs-toc-foot b { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.cs-toc-foot small { font-size: 13px; color: var(--muted); }

.cs-main { min-width: 0; }
.cs-ch { padding-top: 128px; scroll-margin-top: 16px; }
.cs-ch.first { padding-top: 92px; }
.cs-kicker { display: block; font-size: 15px; font-weight: 500; color: var(--blue); margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.cs-ch > .h2 { font-size: clamp(34px, 3.9vw, 50px); max-width: 800px; }
.cs-lead { margin-top: 20px; max-width: 680px; font-size: 19px; }
.cs-cap { margin-top: 18px; font-size: 15.5px; line-height: 1.55; color: var(--muted); max-width: 700px; }
.cs-h3 { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; letter-spacing: -.015em; margin: 64px 0 18px; }
.cs-h3 > span { width: 28px; height: 28px; border-radius: 9px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: 14px; font-weight: 600; }
.cs-main .it { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.cs-main .it .g { width: 22px; height: 22px; }

/* Decision callout, used through the page */
.cs-decision { margin-top: 18px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; background: var(--blue-cream); box-shadow: inset 0 0 0 1px #DCE7FF; border-radius: 20px; padding: 18px 22px; }
.cs-decision .tag { margin-top: 1px; }
.cs-decision p { font-size: 16.5px; color: var(--ink-2); line-height: 1.55; }
.cs-decision b { color: var(--ink); font-weight: 600; }

/* ---------- 00 Overview ---------- */
.cs-over { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.cs-big { font-size: 27px; line-height: 1.32; font-weight: 500; letter-spacing: -.018em; color: var(--ink); margin-bottom: 18px; text-wrap: pretty; }
.cs-big b { font-weight: 500; color: var(--blue); }
.cs-over .p { font-size: 17.5px; }
.cs-glance { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.cs-glance div { background: var(--tile); border-radius: 22px; padding: 20px 18px 18px; display: grid; gap: 8px; align-content: start; }
.cs-glance b { font-size: 40px; font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.cs-glance span { font-size: 14.5px; color: var(--ink-2); line-height: 1.35; }

/* ---------- 01 Problem ---------- */
.cs-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.cs-pcard { background: var(--tile); border-radius: 26px; padding: 12px 12px 22px; display: flex; flex-direction: column; gap: 18px; }
.cs-pcard .vis { height: 210px; border-radius: 18px; position: relative; overflow: hidden; }
.cs-pcard figcaption { padding: 0 8px; display: grid; gap: 5px; }
.cs-pcard figcaption b { font-size: 18px; font-weight: 500; }
.cs-pcard figcaption span { font-size: 15.5px; color: var(--ink-2); line-height: 1.45; }

.pv-chat { background: #E7ECF2; padding: 14px 14px 0; display: flex; flex-direction: column; gap: 8px; }
.pv-chat .msg { max-width: 82%; border-radius: 14px; padding: 7px 9px 5px; font-size: 14px; line-height: 1.35; box-shadow: 0 1px 1px rgba(0, 0, 0, .07); }
.pv-chat .in { background: #fff; align-self: flex-start; border-top-left-radius: 4px; display: grid; gap: 6px; }
.pv-chat .out { background: #D9E8FF; align-self: flex-end; border-top-right-radius: 4px; }
.pv-chat .fwd { display: flex; gap: 4px; align-items: center; font-size: 12px; color: var(--muted); font-style: italic; }
.pv-chat .fwd .g { width: 12px; height: 12px; }
.pv-chat .sheet { width: 160px; height: 84px; border-radius: 8px; background: #F3EFE6; display: grid; gap: 7px; padding: 12px 10px; rotate: -1.5deg; filter: blur(.5px) contrast(.9); box-shadow: inset 0 0 18px rgba(120, 100, 60, .18); }
.pv-chat .sheet i { display: block; height: 4px; background: repeating-linear-gradient(90deg, #BDB5A3 0 20px, transparent 20px 26px); opacity: .9; }
.pv-chat .sheet i:first-child { background: #A49B88; width: 60%; height: 6px; }
.pv-chat .tm { display: block; text-align: right; font-size: 10.5px; color: var(--faint); margin-top: 1px; }
.pv-board { background: #E6DAC4; display: grid; place-items: center; }
.pv-board .paper { position: relative; width: 58%; background: #fff; padding: 22px 14px 16px; display: grid; gap: 7px; rotate: -3deg; box-shadow: 0 8px 18px -6px rgba(80, 60, 20, .35); }
.pv-board .paper b { font-size: 12.5px; font-weight: 600; text-align: center; margin-bottom: 2px; }
.pv-board .paper span { height: 6px; border-radius: 3px; background: repeating-linear-gradient(90deg, #D5D5DA 0 22px, transparent 22px 28px); }
.pv-board .paper span.short { width: 60%; }
.pv-board .tack { position: absolute; top: 7px; left: 50%; width: 11px; height: 11px; margin-left: -5px; border-radius: 50%; background: #E5484D; box-shadow: 0 2px 3px rgba(0, 0, 0, .3); }
.pv-board .note { position: absolute; right: 12%; bottom: 14%; width: 74px; height: 70px; background: #FFE58F; rotate: 7deg; display: grid; place-items: center; text-align: center; font-size: 13px; font-weight: 600; line-height: 1.2; color: #6B5300; box-shadow: 0 6px 12px -4px rgba(80, 60, 20, .35); }
.pv-pin { background: #EEF1EC; }
.pv-pin .roads, .pv-map .roads, .pv-ctrl .roads { position: absolute; inset: 0; width: 100%; height: 100%; }
.pv-pin .roads path, .pv-map .roads path, .pv-ctrl .roads path, .cs-dirs .roads path { fill: none; stroke: #fff; stroke-width: 11; stroke-linecap: round; }
.pv-pin .roads path.thin, .pv-map .roads path.thin, .pv-ctrl .roads path.thin, .cs-dirs .roads path.thin { stroke-width: 6; }
.pv-pin .pin { position: absolute; left: 22%; top: 30%; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 3px #fff, 0 4px 10px rgba(0, 0, 0, .25); }
.pv-pin .pin .g { width: 20px; height: 20px; }
.pv-pin .callout { position: absolute; left: 38%; top: 18%; background: #fff; border-radius: 14px; padding: 10px 12px; display: grid; gap: 4px; box-shadow: var(--shadow-float); min-width: 140px; }
.pv-pin .callout b { font-size: 16px; font-weight: 600; }
.pv-pin .callout span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--faint); }
.pv-pin .callout .g { width: 14px; height: 14px; }

.cs-hidden { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; background: var(--tile); border-radius: 28px; padding: 28px; overflow: hidden; }
.cs-hidden .copy { display: grid; gap: 12px; justify-items: start; }
.cs-hidden .h4 { font-weight: 500; font-size: 22px; }
.cs-hidden .p { font-size: 16px; }
.cs-hidden .cloud { position: relative; display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 0; }
.cs-hidden .cloud .chip { box-shadow: none; }
.cs-hidden .cloud .chip .g { color: var(--blue); }
.cs-hidden .frost { position: absolute; inset: 38% -10px -10px; display: flex; align-items: flex-end; justify-content: center; gap: 6px; padding-bottom: 18px; background: linear-gradient(180deg, rgba(244, 244, 245, .2), rgba(244, 244, 245, .9) 45%); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.cs-hidden .frost .g { width: 16px; height: 16px; margin-bottom: 2px; }

.cs-hmw { margin-top: 16px; border-radius: 28px; padding: 34px 38px; background: #0B0B0D; color: #fff; position: relative; overflow: hidden; }
.cs-hmw span { font-size: 13.5px; font-weight: 600; color: var(--gold); letter-spacing: .06em; text-transform: uppercase; }
.cs-hmw p { position: relative; z-index: 1; font-size: 26px; line-height: 1.36; font-weight: 500; letter-spacing: -.015em; margin-top: 10px; max-width: 720px; text-wrap: balance; }

/* ---------- 02 Data ---------- */
.cs-data { display: grid; grid-template-columns: .78fr 1.22fr; gap: 16px; margin-top: 48px; }
.cs-bigstat { background: linear-gradient(150deg, #1F6BFF, #4F8FFF); color: #fff; border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden; isolation: isolate; }
.cs-bigstat > .g { width: 38px; height: 38px; }
.cs-bigstat b { font-size: 62px; font-weight: 500; letter-spacing: -.04em; line-height: 1; margin-top: auto; padding-top: 48px; }
.cs-bigstat > span { font-size: 17px; opacity: .94; }
.cs-bigstat small { font-size: 12.5px; opacity: .7; margin-top: 12px; }
.cs-bars { background: var(--tile); border-radius: 28px; padding: 22px 24px; display: grid; gap: 15px; align-content: center; }
.cs-bars .row { display: grid; grid-template-columns: 1fr auto; gap: 7px 12px; }
.cs-bars .l { font-size: 15px; color: var(--ink-2); }
.cs-bars .row > b { grid-row: 1; grid-column: 2; font-size: 15px; font-weight: 600; text-align: right; }
.cs-bars .bar { grid-column: 1 / -1; grid-row: 2; height: 10px; border-radius: 10px; background: #E4E4E7; overflow: hidden; }
.cs-bars .bar i { display: block; height: 100%; width: var(--w); min-width: 6px; background: var(--blue); border-radius: 10px; transform-origin: left; transition: transform 1.2s var(--ease-out); }
.cs-bars .bar.grey i { background: #8E8E95; }
.cs-bars .bar.red i { background: var(--red); }
html.js .cs-bars .bar i { transform: scaleX(0); }
html.js .cs-bars.in .bar i { transform: none; }
.cs-bars .row:nth-child(2) i { transition-delay: .1s; } .cs-bars .row:nth-child(3) i { transition-delay: .2s; } .cs-bars .row:nth-child(n+4) i { transition-delay: .3s; }

.cs-evidence { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: stretch; margin-top: 16px; background: var(--tile); border-radius: 32px; padding: 36px 40px 0 28px; overflow: hidden; }
.cs-evidence .cs-shot { position: relative; min-height: 480px; overflow: hidden; display: flex; justify-content: center; align-items: flex-start; -webkit-mask: linear-gradient(180deg, #000 88%, transparent); mask: linear-gradient(180deg, #000 88%, transparent); }
.cs-evidence .cs-shot .phone { --z: .64; }
.cs-evidence .pinlabel { position: absolute; z-index: 50; font-size: 12.5px; font-weight: 600; padding: 5px 9px; border-radius: 9px; background: var(--ink); color: #fff; white-space: nowrap; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .4); }
.cs-evidence .pinlabel::after { content: ''; position: absolute; top: 50%; width: 8px; height: 8px; background: inherit; translate: 0 -50%; rotate: 45deg; }
.cs-evidence .l1 { left: 0; top: 291px; background: var(--red); }
.cs-evidence .l1::after { right: -3px; }
.cs-evidence .l2 { right: -6px; top: 305px; background: #D99A00; }
.cs-evidence .l2::after { left: -3px; }
.cs-evidence .copy { padding-bottom: 36px; display: grid; gap: 14px; justify-items: start; align-content: center; }
.cs-evidence .h3 { font-size: clamp(24px, 2.4vw, 30px); }
.cs-impl { display: grid; gap: 14px; margin-top: 6px; }
.cs-impl li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.cs-impl b { display: block; font-size: 16.5px; font-weight: 600; }
.cs-impl span:not(.it) { font-size: 15px; color: var(--muted); line-height: 1.45; display: block; }
.cs-strip { margin-top: 16px; display: flex; align-items: center; gap: 12px 16px; background: #FFF8E6; box-shadow: inset 0 0 0 1px #FBE3A0; border-radius: 18px; padding: 12px 12px 12px 18px; flex-wrap: wrap; }
.cs-strip .lbl { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: 14.5px; color: #8A5A00; }
.cs-strip .lbl .g { width: 17px; height: 17px; }
.cs-strip .txt { font-size: 15px; color: var(--ink-2); flex: 1; min-width: 220px; }
.cs-strip .btns { display: flex; gap: 8px; }
.cs-strip .a-btn { height: 40px; padding: 0 14px; font-size: 14.5px; border-radius: 12px; }
.cs-strip .a-btn .g { width: 16px; height: 16px; }

/* ---------- 03 People ---------- */
.cs-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.cs-person { background: var(--tile); border-radius: 26px; padding: 22px 20px 20px; display: flex; flex-direction: column; gap: 18px; }
.cs-person .top { display: flex; gap: 12px; align-items: flex-start; }
.cs-person .top .it { width: 46px; height: 46px; border-radius: 50%; }
.cs-person .top .it .g { width: 25px; height: 25px; }
.cs-person .top .h5 { font-size: 18px; }
.cs-person .top span:not(.it) { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.4; margin-top: 3px; }
.cs-person small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.cs-person .needs span { display: block; font-size: 15px; padding: 7px 0; color: var(--ink-2); line-height: 1.35; }
.cs-person .needs span + span { box-shadow: inset 0 1px 0 #E4E4E7; }
.cs-person .built { background: #fff; border-radius: 16px; padding: 12px 14px; margin-top: auto; }
.cs-person .built span { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; font-weight: 500; padding: 5px 0; line-height: 1.35; }
.cs-person .built .g { width: 18px; height: 18px; color: var(--blue); }

/* ---------- 04 Principles ---------- */
.cs-princ { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.cs-pr { background: var(--tile); border-radius: 26px; padding: 12px 12px 22px; display: flex; flex-direction: column; }
.cs-pr .pv { height: 180px; border-radius: 18px; background: #fff; position: relative; overflow: hidden; margin-bottom: 18px; }
.cs-pr .n { font: 500 13px ui-monospace, 'SF Mono', Menlo, monospace; color: var(--faint); padding: 0 8px; }
.cs-pr .h5 { padding: 4px 8px 0; }
.cs-pr .p { padding: 6px 8px 0; font-size: 15px; line-height: 1.5; }

.pv-map { background: #EEF1EC !important; }
.pv-map .mp, .pv-ctrl .mpin { position: absolute; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(0, 0, 0, .25); }
.pv-map .mp.g, .pv-map .mp.g:not(svg) { background: var(--green); }
.pv-map .mp .g, .pv-ctrl .mpin .g { width: 14px; height: 14px; }
.pv-map .sheet { position: absolute; left: 12px; right: 12px; bottom: 0; background: #fff; border-radius: 16px 16px 0 0; padding: 6px 10px 10px; box-shadow: 0 -4px 14px rgba(0, 0, 0, .1); display: grid; gap: 6px; }
.pv-map .grab { width: 26px; height: 3px; border-radius: 3px; background: #D9D9DC; margin: 0 auto 1px; }
.pv-map .field { height: 22px; border-radius: 8px; background: #F0F0F1; display: flex; align-items: center; padding: 0 7px; color: var(--faint); }
.pv-map .field .g { width: 12px; height: 12px; }
.pv-map .chips { display: flex; gap: 5px; }
.pv-map .chips b { height: 16px; width: 44px; border-radius: 6px; background: #F0F0F1; }
.pv-map .chips b:nth-child(2) { width: 36px; } .pv-map .chips b:nth-child(3) { width: 52px; }
.pv-map .next { display: flex; align-items: center; gap: 6px; height: 24px; border-radius: 8px; background: var(--blue); color: #fff; padding: 0 8px; font-size: 11.5px; }
.pv-map .next .g { width: 13px; height: 13px; }
.pv-map .next em { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .35); }
.pv-map .next strong { font-weight: 600; }

.pv-act { display: grid; align-content: center; gap: 10px; padding: 16px; }
.pv-act .r { display: flex; gap: 8px; align-items: center; }
.pv-act .a-btn { height: 42px; padding: 0 16px; font-size: 14.5px; border-radius: 13px; flex: none; }
.pv-act .a-btn .g { width: 17px; height: 17px; }
.pv-act .a-sq { width: 42px; height: 42px; border-radius: 13px; }
.pv-act .a-sq .g { width: 19px; height: 19px; }
.pv-act .keys { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--muted); margin-top: 4px; }
.pv-act .keys span { display: inline-flex; align-items: center; gap: 5px; }
.pv-act .keys i { width: 10px; height: 10px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }

.pv-weights { display: flex; align-items: flex-end; justify-content: center; gap: 12px; padding: 0 10px 28px; }
.pv-weights .w { display: grid; justify-items: center; gap: 8px; }
.pv-weights .w b { font-size: 46px; line-height: .9; letter-spacing: -.02em; }
.pv-weights .w span { font-size: 12px; color: var(--muted); width: 54px; text-align: center; line-height: 1.25; }
.pv-weights .w.x { opacity: .3; position: relative; }
.pv-weights .w.x::after { content: ''; position: absolute; left: -6px; right: -6px; top: 22px; height: 2.5px; background: var(--red); rotate: -24deg; border-radius: 2px; }

.pv-glyph { display: flex; align-items: center; justify-content: center; gap: 16px; }
.pv-glyph .g { width: 30px; height: 30px; }
.pv-glyph .bare { color: var(--muted); display: grid; }
.pv-glyph .sq, .pv-glyph .ci { width: 56px; height: 56px; display: grid; place-items: center; }
.pv-glyph .sq { border-radius: 16px; }
.pv-glyph .ci { border-radius: 50%; }

.pv-words { display: grid; place-content: center; gap: 18px; padding: 14px; }
.pv-words .swap { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 24px; letter-spacing: -.01em; }
.pv-words s { color: var(--faint); text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.pv-words svg { width: 16px; height: 16px; color: var(--muted); }
.pv-words .swap b { font-weight: 600; color: var(--blue); }
.pv-words .chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pv-words .a-chip { height: 30px; font-size: 13px; padding: 0 10px; }

.pv-dense { padding-top: 16px; }
.pv-dense .place { padding: 0 16px; display: grid; gap: 3px; }
.pv-dense .place > b { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.pv-dense .cat { font-size: 12.5px; color: var(--muted); }
.pv-dense .meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.pv-dense .meta em { font-style: normal; }
.pv-dense .meta .star { color: #E5A000; font-weight: 600; }
.pv-dense .meta .open { color: var(--green); font-weight: 500; }
.pv-dense .meta .g { width: 13px; height: 13px; margin-right: -4px; }
.pv-dense .row { display: flex; gap: 5px; margin-top: 7px; }
.pv-dense .a-chip { height: 26px; font-size: 12px; padding: 0 8px; border-radius: 8px; gap: 4px; }
.pv-dense .a-chip .g { width: 13px; height: 13px; }
.pv-dense .band { display: block; height: 8px; background: #F4F4F4; margin: 12px 0 10px; }
.pv-dense .line { display: flex; gap: 10px; padding: 0 16px; align-items: center; }
.pv-dense .line i { width: 28px; height: 28px; border-radius: 9px; background: var(--blue-soft); }
.pv-dense .line em { flex: 1; height: 8px; border-radius: 4px; background: #EEE; }

.pv-native { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pv-native .os { display: grid; justify-items: center; align-content: center; gap: 12px; }
.pv-native .os + .os { box-shadow: inset 1px 0 0 var(--line); }
.pv-native small { font-size: 12px; font-weight: 600; color: var(--muted); }
.pv-native .back { width: 34px; height: 34px; display: grid; place-items: center; }
.pv-native .back svg { width: 20px; height: 20px; }
.pv-native .back.ios { border-radius: 50%; background: #F2F2F3; }
.pv-native .sw { position: relative; display: block; border-radius: 99px; background: var(--blue); }
.pv-native .sw i { position: absolute; top: 50%; border-radius: 50%; background: #fff; translate: 0 -50%; }
.pv-native .sw.ios { width: 46px; height: 28px; }
.pv-native .sw.ios i { right: 2px; width: 24px; height: 24px; box-shadow: 0 2px 4px rgba(0, 0, 0, .2); }
.pv-native .sw.and { width: 48px; height: 28px; }
.pv-native .sw.and i { right: 5px; width: 20px; height: 20px; }
.pv-native .pick { display: flex; flex-direction: column; align-items: center; font-size: 12px; height: 46px; justify-content: center; }
.pv-native .pick em { font-style: normal; opacity: .35; line-height: 1.2; }
.pv-native .pick.ios em.on { opacity: 1; font-size: 15px; font-weight: 500; background: #F0F0F1; border-radius: 7px; padding: 1px 16px; }
.pv-native .pick.and em.on { opacity: 1; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 13.5px; font-weight: 500; }

.pv-bars { display: grid; grid-template-rows: 1fr 50px; gap: 8px; padding: 12px; background: #F4F4F5 !important; }
.pv-bars .bar { position: relative; background: #fff; border-radius: 14px; overflow: hidden; }
.pv-bars .bk { width: 26px; height: 26px; border-radius: 50%; background: #F2F2F3; display: grid; place-items: center; }
.pv-bars .bk svg { width: 14px; height: 14px; }
.pv-bars .big .bk { position: absolute; left: 10px; top: 10px; }
.pv-bars .big b { position: absolute; left: 12px; top: 40px; font-size: 21px; white-space: nowrap; font-weight: 600; letter-spacing: -.015em; }
.pv-bars .ln { position: absolute; left: 12px; right: 12px; height: 70px; background: repeating-linear-gradient(180deg, #EFEFF1 0 9px, transparent 9px 18px); }
.pv-bars .big .ln { top: 74px; }
.pv-bars .small .ln { top: 12px; }
.pv-bars .small .top { position: absolute; inset: 0 0 auto; height: 50px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); box-shadow: 0 1px 0 #E3E3E6; }
.pv-bars .small .bk { position: absolute; left: 10px; top: 12px; }
.pv-bars .small b { font-size: 13px; font-weight: 600; }

.pv-ctrl { background: #EEF1EC !important; }
.pv-ctrl .area { position: absolute; left: 10px; top: 10px; height: 30px; padding: 0 10px; border-radius: 99px; background: #fff; display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; box-shadow: 0 2px 8px rgba(0, 0, 0, .16); }
.pv-ctrl .area .g { width: 14px; height: 14px; color: var(--blue); }
.pv-ctrl .area svg:not(.g) { width: 11px; height: 11px; color: var(--muted); }
.pv-ctrl .av { position: absolute; right: 10px; top: 10px; width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(0, 0, 0, .2); color: var(--blue); }
.pv-ctrl .av .g { width: 17px; height: 17px; }
.pv-ctrl .sqs { position: absolute; left: 10px; top: 50px; display: grid; gap: 6px; }
.pv-ctrl .sqs i, .pv-ctrl .zoom i { width: 30px; height: 30px; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .16); }
.pv-ctrl .sqs i { border-radius: 10px; }
.pv-ctrl .zoom { position: absolute; right: 10px; bottom: 10px; display: grid; gap: 6px; }
.pv-ctrl .zoom i { border-radius: 50%; }
.pv-ctrl .zoom i.loc { color: var(--blue); }
.pv-ctrl .sqs .g, .pv-ctrl .zoom .g { width: 16px; height: 16px; }
.pv-ctrl .mpin { left: 40%; top: 68%; }
.pv-ctrl .mpin.sel { left: 62%; top: 52%; width: 34px; height: 34px; margin: -38px 0 0 -17px; border-radius: 50% 50% 50% 4px; rotate: -45deg; }
.pv-ctrl .mpin.sel .g { rotate: 45deg; width: 18px; height: 18px; }

/* ---------- 05 Structure ---------- */
.cs-ia { margin-top: 48px; background: var(--tile); border-radius: 32px; padding: 28px 20px 0; }
.cs-ia .root { margin: 0 auto; width: max-content; display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 16px; padding: 9px 16px 9px 9px; font-weight: 600; font-size: 17px; box-shadow: var(--shadow-card); position: relative; }
.cs-ia .root svg { width: 32px; height: 32px; border-radius: 9px; }
.cs-ia .root::after { content: ''; position: absolute; left: 50%; top: 100%; width: 2px; height: 22px; margin-left: -1px; background: #D2D2D7; }
.cs-ia .cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 44px; position: relative; align-items: start; }
.cs-ia .cols::before { content: ''; position: absolute; top: -22px; left: calc((100% - 30px) / 8); right: calc((100% - 30px) / 8); height: 2px; background: #D2D2D7; }
.cs-ia .col { background: #fff; border-radius: 20px; padding: 12px 12px 8px; position: relative; }
.cs-ia .col::before { content: ''; position: absolute; left: 50%; top: -22px; width: 2px; height: 22px; margin-left: -1px; background: #D2D2D7; }
.cs-ia .head { display: flex; gap: 10px; align-items: center; padding: 2px 2px 12px; box-shadow: inset 0 -1px 0 var(--line); }
.cs-ia .head .it { width: 36px; height: 36px; border-radius: 50%; }
.cs-ia .head .it .g { width: 20px; height: 20px; }
.cs-ia .head b { display: block; font-size: 17px; font-weight: 600; line-height: 1.2; }
.cs-ia .head small { font-size: 13px; color: var(--muted); }
.cs-ia ul { display: grid; padding-top: 6px; }
.cs-ia li { display: grid; grid-template-columns: 18px 1fr; column-gap: 8px; font-size: 14px; line-height: 1.35; padding: 7px 2px; }
.cs-ia li .g { width: 17px; height: 17px; color: var(--ink-2); margin-top: 1px; }
.cs-ia li em { grid-column: 2; font-style: normal; font-size: 12.5px; color: var(--muted); }
.cs-ia li.node { background: var(--blue-cream); border-radius: 12px; padding: 8px 6px; margin: 2px -4px; box-shadow: inset 0 0 0 1px #DCE7FF; }
.cs-ia li.node .g { color: var(--blue); }
.cs-ia .sub { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.cs-ia .sub em { font-size: 12px; background: #fff; color: var(--ink-2); border-radius: 6px; padding: 2px 6px; }
.cs-ia .tabbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 16px 0 20px; background: #fff; border-radius: 18px; padding: 10px 8px 10px; box-shadow: var(--shadow-card); }
.cs-ia .tabbar span { display: grid; justify-items: center; gap: 3px; font-size: 12.5px; font-weight: 500; color: #8A8A90; }
.cs-ia .tabbar .g { width: 24px; height: 24px; }
.cs-ia .tabbar .on { color: var(--blue); }

/* ---------- 06 Flows ---------- */
.cs-flow { margin-top: 64px; padding-top: 44px; box-shadow: inset 0 1px 0 var(--line); }
.cs-ch > .cs-lead + .cs-flow { margin-top: 44px; padding-top: 0; box-shadow: none; }
.cs-fhead { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.cs-fl { width: 44px; height: 44px; border-radius: 14px; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 20px; }
.cs-fhead .h3 { font-size: clamp(24px, 2.4vw, 30px); }
.cs-fhead .p { margin-top: 6px; max-width: 640px; }
.cs-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; counter-reset: s; }
.cs-steps li { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 6px; background: var(--tile); border-radius: 99px; font-size: 14.5px; font-weight: 500; position: relative; }
.cs-steps li b { width: 24px; height: 24px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 12.5px; font-weight: 600; color: var(--blue); }
.cs-steps li + li::before { content: ''; position: absolute; left: -8px; top: 50%; width: 8px; height: 2px; background: #D9D9DC; }

.cs-reel { display: grid; gap: 12px; margin-top: 24px; }
.cs-reel.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cs-reel.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cs-reel figure, .cs-events figure, .br-app figure { background: var(--tile); border-radius: 24px; padding: 18px 8px 0; display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.cs-reel.four .phone { --z: .42; }
.cs-reel.three .phone, .cs-events .phone, .br-app .phone { --z: .56; }
.cs-reel figcaption, .cs-events figcaption, .br-app figcaption { align-self: stretch; padding: 14px 8px 18px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.cs-reel figcaption b, .cs-events figcaption b, .br-app figcaption b { display: block; font-size: 15.5px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }

.cs-dirs .dm { position: absolute; inset: 0; background: #EEF1EC; }
.cs-dirs .dm svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cs-dirs .roads path { stroke-width: 28; }
.cs-dirs .roads path.thin { stroke-width: 14; }
.cs-dirs .route path { fill: none; stroke: var(--blue); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 1 17; }
.cs-dirs .me { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px #fff, 0 0 0 28px rgba(31, 107, 255, .14); }
.cs-dirs .mpin { position: absolute; width: 50px; height: 50px; margin: -56px 0 0 -25px; border-radius: 50% 50% 50% 4px; rotate: -45deg; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 3px #fff, 0 6px 14px rgba(0, 0, 0, .25); }
.cs-dirs .mpin .g { rotate: 45deg; width: 26px; height: 26px; }
.cs-dirs .sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; background: #fff; border-radius: 28px 28px 0 0; padding: 10px 18px 40px; box-shadow: 0 -6px 24px rgba(0, 0, 0, .12); }
.cs-dirs .sheet .grab { display: block; width: 38px; height: 5px; border-radius: 5px; background: #D9D9DC; margin: 0 auto 14px; }
.cs-dirs .sheet > b { display: block; font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.cs-dirs .mode { display: flex; gap: 8px; margin: 12px 0 8px; }
.cs-dirs .mode em { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 13px; border-radius: 11px; background: #F0F0F1; font-style: normal; font-size: 15px; font-weight: 500; }
.cs-dirs .mode em.on { background: #1D1D1F; color: #fff; }
.cs-dirs .mode .g { width: 18px; height: 18px; }
.cs-dirs .opt { display: flex; align-items: center; gap: 14px; height: 56px; box-shadow: inset 0 -1px 0 #EFEFEF; font-size: 17px; font-weight: 500; }
.cs-dirs .opt .g { width: 26px; height: 26px; color: var(--ink-2); }
.cs-dirs .opt span { flex: 1; }
.cs-dirs .opt .ck { width: 24px; height: 24px; border-radius: 50%; background: var(--blue); position: relative; }
.cs-dirs .opt .ck::after { content: ''; position: absolute; left: 8px; top: 5px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; rotate: 45deg; }
.cs-dirs .a-btn { margin-top: 18px; height: 54px; font-size: 17px; }

.cs-loop { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; position: relative; background: var(--tile); border-radius: 28px; padding: 14px; }
.cs-loop .node { background: #fff; border-radius: 20px; padding: 18px; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; row-gap: 3px; align-content: start; }
.cs-loop .node .it { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 14px; }
.cs-loop .node b { font-size: 17px; font-weight: 600; }
.cs-loop .node span:not(.it) { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.cs-loop .n1 { padding-right: 44px; } .cs-loop .n2 { padding-left: 34px; } .cs-loop .n3 { grid-column: 2; grid-row: 2; padding-left: 34px; } .cs-loop .n4 { grid-column: 1; grid-row: 2; padding-right: 44px; }
.cs-loop .ring { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 7px var(--tile); z-index: 2; }
.cs-loop .ring .g { width: 26px; height: 26px; }
.cs-ladder { margin-top: 12px; background: var(--tile); border-radius: 28px; padding: 22px 20px 20px; }
.cs-ladder .h { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; margin-bottom: 16px; padding: 0 4px; }
.cs-ladder .h b { font-size: 18px; font-weight: 600; }
.cs-ladder .h span { font-size: 14.5px; color: var(--muted); }
.cs-ladder .steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; align-items: end; }
.cs-ladder .lv { background: #fff; border-radius: 16px; padding: 14px 6px 12px; display: grid; justify-items: center; align-content: end; gap: 3px; text-align: center; }
.cs-ladder .lv:nth-child(1) { min-height: 150px; } .cs-ladder .lv:nth-child(2) { min-height: 160px; } .cs-ladder .lv:nth-child(3) { min-height: 170px; }
.cs-ladder .lv:nth-child(4) { min-height: 180px; } .cs-ladder .lv:nth-child(5) { min-height: 190px; } .cs-ladder .lv:nth-child(6) { min-height: 200px; }
.cs-ladder .sh { width: 40px; height: 44px; background: var(--c); color: #fff; display: grid; place-items: center; margin-bottom: 6px; clip-path: path('M20 0 L40 7 V22 C40 34 30 41 20 44 C10 41 0 34 0 22 V7 Z'); }
.cs-ladder .sh .g { width: 20px; height: 20px; margin-top: -2px; }
.cs-ladder .lv b { font-size: 14.5px; font-weight: 600; }
.cs-ladder .lv small { font-size: 12.5px; color: var(--muted); }
.cs-ladder .need { display: flex; gap: 4px; margin-top: 8px; height: 20px; align-items: center; }
.cs-ladder .need i { width: 14px; height: 14px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 2px var(--teal-soft); }
.cs-ladder .need.live { font-size: 11.5px; font-weight: 600; color: var(--green-ink); background: var(--green-soft); padding: 0 8px; border-radius: 99px; }
.cs-ladder .foot { display: flex; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap; margin-top: 16px; padding: 0 4px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.cs-ladder .foot b { color: var(--ink); font-weight: 600; }
.cs-ladder .pts em { font-style: normal; font-weight: 600; margin: 0 4px 0 12px; }
.cs-ladder .pts em:first-child { margin-left: 0; }
.cs-ladder .pts .up { color: var(--green); } .cs-ladder .pts .down { color: var(--red); }

.cs-add { display: grid; grid-template-columns: 1fr 290px; gap: 14px; margin-top: 24px; align-items: stretch; }
.cs-add .ways { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-content: start; }
.cs-add .way { background: var(--tile); border-radius: 22px; padding: 18px; display: grid; gap: 4px; align-content: start; }
.cs-add .way b { font-size: 16.5px; font-weight: 600; margin-top: 8px; }
.cs-add .way span:not(.it) { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.cs-add .after { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.cs-add .after span { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 11px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; }
.cs-add .after .g { width: 16px; height: 16px; color: var(--green); }
.cs-add .cs-shot, .cs-fund .cs-shot { background: var(--tile); border-radius: 26px; padding-top: 22px; display: flex; justify-content: center; overflow: hidden; min-height: 470px; max-height: 520px; -webkit-mask: linear-gradient(180deg, #000 85%, transparent); mask: linear-gradient(180deg, #000 85%, transparent); }
.cs-add .cs-shot .phone, .cs-fund .cs-shot .phone { --z: .58; }

.cs-events { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-top: 24px; align-items: start; }
.cs-events .side { display: grid; gap: 12px; }
.cs-events .side figure { padding: 16px 14px 0; }
/* The ticket: a pass with a blue top and a white stub, notched where it would tear */
.tk { width: 100%; max-width: 272px; filter: drop-shadow(0 10px 16px rgba(16, 24, 40, .12)) drop-shadow(0 0 .5px rgba(16, 24, 40, .25)); }
.tk-top, .tk-bot { -webkit-mask-composite: source-in; mask-composite: intersect; }
.tk-top { background: var(--blue); color: #fff; border-radius: 18px 18px 0 0; padding: 14px 16px 18px; display: grid; gap: 10px;
  -webkit-mask-image: radial-gradient(circle at 0 100%, transparent 9.5px, #000 10px), radial-gradient(circle at 100% 100%, transparent 9.5px, #000 10px);
  mask-image: radial-gradient(circle at 0 100%, transparent 9.5px, #000 10px), radial-gradient(circle at 100% 100%, transparent 9.5px, #000 10px); }
.tk-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tk-org { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; opacity: .9; }
.tk-org .g { width: 16px; height: 16px; }
.tk-ok { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px 0 7px; border-radius: 99px; background: rgba(255, 255, 255, .2); font-size: 12px; font-weight: 600; }
.tk-ok .g { width: 14px; height: 14px; }
.tk-title { font-size: 21px; font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
.tk-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 8px; }
.tk-meta small { display: block; font-size: 11.5px; opacity: .72; margin-bottom: 1px; }
.tk-meta b { font-size: 14px; font-weight: 600; white-space: nowrap; }
.tk-bot { position: relative; background: #fff; border-radius: 0 0 18px 18px; padding: 18px 16px 14px; display: grid; justify-items: center; gap: 8px;
  -webkit-mask-image: radial-gradient(circle at 0 0, transparent 9.5px, #000 10px), radial-gradient(circle at 100% 0, transparent 9.5px, #000 10px);
  mask-image: radial-gradient(circle at 0 0, transparent 9.5px, #000 10px), radial-gradient(circle at 100% 0, transparent 9.5px, #000 10px); }
.tk-bot::before { content: ''; position: absolute; left: 16px; right: 16px; top: 0; border-top: 1.5px dashed #D5D8DE; }
.tk-bot .qr { width: 104px; height: 104px; fill: #1D1D1F; }
.tk-bot small { font-size: 12px; color: var(--muted); }
/* The recap: a post from the masjid, with photos */
.rc { width: 100%; max-width: 272px; background: #fff; border-radius: 18px; padding: 14px; display: grid; gap: 10px; box-shadow: inset 0 0 0 1px var(--line), 0 10px 18px -12px rgba(16, 24, 40, .2); }
.rc-h { display: flex; gap: 10px; align-items: center; }
.rc-av { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.rc-av .g { width: 18px; height: 18px; }
.rc-h b { display: block; font-size: 14.5px; font-weight: 600; }
.rc-h small { font-size: 12.5px; color: var(--muted); }
.rc p { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.rc-ph { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 62px 62px; gap: 6px; }
.rc-ph span { border-radius: 12px; background: #F4F5F7; display: grid; place-items: center; overflow: hidden; }
.rc-ph .a { grid-row: span 2; }
.rc-ph img { width: 62px; height: 62px; }
.rc-ph .a img { width: 112px; height: 112px; }
.rc-f { display: flex; gap: 14px; font-size: 13px; color: var(--muted); }
.rc-f span { display: inline-flex; align-items: center; gap: 5px; }
.rc-f .g { width: 15px; height: 15px; }

.cs-fund { display: grid; grid-template-columns: 290px 1fr; gap: 14px; margin-top: 24px; align-items: start; }
.cs-fund .cards { display: grid; gap: 12px; }
.cs-nomoney { background: var(--blue-cream); box-shadow: inset 0 0 0 1px #DCE7FF; border-radius: 22px; padding: 18px; display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.cs-nomoney .it { width: 44px; height: 44px; border-radius: 14px; background: #fff; }
.cs-nomoney b { display: block; font-size: 17px; font-weight: 600; margin-bottom: 3px; }
.cs-nomoney span:not(.it) { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.cs-prog { padding: 18px 20px; border-radius: 22px; box-shadow: inset 0 0 0 1.5px var(--line); }
.cs-prog .tag { display: flex; width: max-content; margin-bottom: 10px; }
.cs-legit { background: var(--tile); border-radius: 22px; padding: 18px; display: grid; gap: 10px; }
.cs-legit b { font-size: 16.5px; font-weight: 600; }
.cs-legit .opts { display: flex; gap: 8px; flex-wrap: wrap; }
.cs-legit .opts span { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 12px; background: #fff; font-size: 14.5px; font-weight: 500; }
.cs-legit .opts .g { width: 17px; height: 17px; }
.cs-legit .yes .g { color: var(--green); } .cs-legit .no .g { color: var(--red); }
.cs-legit small { font-size: 14px; color: var(--muted); line-height: 1.5; }

.cs-credit { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; background: var(--tile); border-radius: 18px; padding: 12px 16px; font-size: 14.5px; }
.cs-credit .src { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.cs-credit .src i { width: 26px; height: 26px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--teal); }
.cs-credit .src .g { width: 15px; height: 15px; }
.cs-credit .v { color: var(--blue); font-weight: 500; margin-right: 18px; }

/* ---------- 07 Design system ---------- */
.cs-swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cs-swatches .grp { background: var(--tile); border-radius: 22px; padding: 16px; display: grid; gap: 10px; align-content: start; }
.cs-swatches small, .cs-comps .c > small { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.cs-swatches .sw { display: grid; grid-template-columns: 38px 1fr; column-gap: 10px; align-items: center; }
.cs-swatches .sw i { grid-row: span 2; width: 38px; height: 38px; border-radius: 11px; }
.cs-swatches .sw i.ln { box-shadow: inset 0 0 0 1px #E0E0E4; }
.cs-swatches .sw b { font-size: 14.5px; font-weight: 500; line-height: 1.2; }
.cs-swatches .sw code { font: 12.5px ui-monospace, 'SF Mono', Menlo, monospace; color: var(--muted); }
.cs-tones { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: var(--tile); border-radius: 22px; padding: 14px; }
.cs-tones span { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }
.cs-tones span .g { width: 24px; height: 24px; }
.cs-tones p { flex: 1 1 280px; font-size: 15px; color: var(--ink-2); margin-left: 8px; line-height: 1.5; }

.cs-type { background: var(--tile); border-radius: 26px; padding: 6px 22px; display: grid; grid-template-columns: minmax(0, 1fr) 230px; column-gap: 24px; }
.cs-type .r { grid-column: 1; display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: baseline; gap: 16px; padding: 14px 0; box-shadow: inset 0 -1px 0 #E4E4E7; }
.cs-type .r:nth-child(7) { box-shadow: none; }
.cs-type .k { font-size: 14px; font-weight: 500; }
.cs-type .k small { display: block; font: 12px ui-monospace, 'SF Mono', Menlo, monospace; color: var(--muted); margin-top: 3px; }
.cs-type .s { color: var(--ink); line-height: 1.2; overflow-wrap: anywhere; }
.cs-type .face { grid-column: 2; grid-row: 1 / span 7; align-self: center; background: #fff; border-radius: 20px; padding: 22px; display: grid; gap: 12px; }
.cs-type .face b { font-size: 104px; font-weight: 600; line-height: .85; letter-spacing: -.03em; color: var(--blue); }
.cs-type .face span { font-size: 17px; font-weight: 600; }
.cs-type .face small { font-size: 14px; font-weight: 400; color: var(--muted); line-height: 1.45; display: block; margin-top: 4px; }

.cs-radii { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.cs-radii div { background: var(--tile); border-radius: 20px; padding: 16px 14px 14px; display: grid; gap: 1px; }
.cs-radii i { width: 64px; height: 64px; background: #fff; box-shadow: inset 0 0 0 2px var(--blue); margin-bottom: 12px; }
.cs-radii b { font-size: 22px; font-weight: 500; }
.cs-radii span { font-size: 13.5px; color: var(--muted); }

.cs-glyphs { background: var(--tile); border-radius: 28px; padding: 20px; }
.cs-glyphs .hero-g { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; margin-bottom: 18px; }
.cs-glyphs .big { width: 220px; height: 220px; border-radius: 24px; display: grid; place-items: center; color: var(--blue); background-color: #fff; background-image: linear-gradient(#E9EEF7 1px, transparent 1px), linear-gradient(90deg, #E9EEF7 1px, transparent 1px); background-size: 7px 7px; background-position: 26px 26px; }
.cs-glyphs .big .g { width: 168px; height: 168px; }
.cs-glyphs .notes { display: grid; gap: 12px; }
.cs-glyphs .notes span { display: flex; gap: 10px; align-items: center; font-size: 16px; font-weight: 500; }
.cs-glyphs .notes i { width: 16px; height: 16px; border-radius: 5px; flex: none; }
.cs-glyphs .notes .a { background: var(--blue); } .cs-glyphs .notes .b { background: rgba(31, 107, 255, .38); }
.cs-glyphs .notes .c { background-color: #fff; background-image: linear-gradient(#C9D3E6 1px, transparent 1px), linear-gradient(90deg, #C9D3E6 1px, transparent 1px); background-size: 4px 4px; box-shadow: inset 0 0 0 1px #C9D3E6; }
.cs-glyphs > .p { font-size: 16px; margin-bottom: 18px; max-width: 680px; }
.cs-glyphs .glyphs { grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 6px; }
.cs-glyphs .glyphs div { border-radius: 14px; }
.cs-glyphs .glyphs div .g { width: 26px; height: 26px; }

.cs-comps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.cs-comps .c { background: var(--tile); border-radius: 22px; padding: 16px 18px 18px; display: grid; gap: 12px; align-content: start; }
.cs-comps .c.w2 { grid-column: span 2; }
.cs-comps .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cs-comps .a-btn { flex: none; padding: 0 18px; }
.cs-comps .a-btn.danger { background: var(--red-soft); color: var(--red); }
.cs-comps .seg { display: inline-flex; background: #E7E7EA; border-radius: 12px; padding: 3px; gap: 2px; width: max-content; }
.cs-comps .seg span { padding: 8px 16px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.cs-comps .seg .on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.cs-comps .rows { background: #fff; border-radius: 16px; padding: 2px 0; }
.cs-comps .a-row { padding: 10px 14px; }
.cs-comps .a-row + .a-row { box-shadow: inset 0 1px 0 #F0F0F2; }
.cs-comps .fol { font-size: 14px; font-weight: 600; color: var(--blue); }
.cs-comps .tog { width: 46px; height: 28px; border-radius: 14px; background: #E3E3E6; position: relative; flex: none; }
.cs-comps .tog i { position: absolute; top: 2px; left: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .2); }
.cs-comps .tog.on { background: var(--blue); }
.cs-comps .tog.on i { left: 20px; }
.cs-comps .mtag { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 500; background: #E7E7EA; border-radius: 7px; padding: 4px 7px; }
.cs-comps .mtag .g { width: 13px; height: 13px; }
.cs-comps .mtag.blue { background: var(--blue-soft); color: var(--blue); }
.cs-comps .mtag.green { background: var(--green-soft); color: var(--green-ink); }
.cs-comps .a-pt { margin: 0; background: #fff; }

/* ---------- 08 Craft ---------- */
.cs-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; margin-top: 48px; }
.cs-craft { grid-column: span 6; background: var(--tile); border-radius: 28px; padding: 14px 14px 24px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.cs-craft.w7 { grid-column: span 7; } .cs-craft.w5 { grid-column: span 5; } .cs-craft.w12 { grid-column: span 12; }
.cs-craft .vis { height: 236px; border-radius: 20px; background: #fff; position: relative; overflow: hidden; margin-bottom: 10px; display: grid; place-items: center; }
.cs-craft > .tag { align-self: flex-start; margin: 0 8px; }
.cs-craft > .h5 { padding: 4px 8px 0; }
.cs-craft > .p { padding: 0 8px; font-size: 15.5px; }

.cs-title-demo { width: 236px; height: 212px; position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px #E8E8EB, 0 10px 24px -14px rgba(0, 0, 0, .25); background: #fff; }
.cs-title-demo .bar { position: absolute; inset: 0 0 auto; height: 42px; z-index: 2; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid transparent; animation: csBar 6s var(--ease) infinite; }
.cs-title-demo .bk { position: absolute; left: 8px; top: 8px; width: 26px; height: 26px; border-radius: 50%; background: #F2F2F3; display: grid; place-items: center; }
.cs-title-demo .bk svg { width: 14px; height: 14px; }
.cs-title-demo .bar b { font-size: 13px; font-weight: 600; opacity: 0; animation: csTitle 6s var(--ease) infinite; }
.cs-title-demo .scroll { position: absolute; left: 0; right: 0; top: 42px; padding: 0 12px; animation: csScroll 6s var(--ease) infinite; }
.cs-title-demo .lt { font-size: 25px; font-weight: 600; letter-spacing: -.015em; line-height: 1.1; }
.cs-title-demo .cap { font-size: 11px; color: var(--muted); margin: 2px 0 8px; }
.cs-title-demo .nx { display: flex; align-items: center; gap: 8px; background: #F4F4F5; border-radius: 12px; padding: 8px 10px; margin-bottom: 4px; }
.cs-title-demo .nx span { width: 26px; height: 26px; border-radius: 50%; background: #FFF1C9; color: #E5A800; display: grid; place-items: center; }
.cs-title-demo .nx .g { width: 15px; height: 15px; }
.cs-title-demo .nx b { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cs-title-demo .nx small { font-size: 10.5px; color: var(--muted); margin-left: auto; }
.cs-title-demo .li { display: flex; align-items: center; gap: 8px; height: 29px; font-size: 12.5px; box-shadow: inset 0 -1px 0 #F0F0F2; }
.cs-title-demo .li .g { width: 15px; height: 15px; }
.cs-title-demo .li span { flex: 1; }
.cs-title-demo .li b { font-weight: 500; }
.cs-title-demo .li.on { color: var(--blue); }
@keyframes csScroll { 0%, 18% { transform: none; } 42%, 80% { transform: translateY(-64px); } 100% { transform: none; } }
@keyframes csBar { 0%, 26% { background: rgba(255, 255, 255, 0); border-color: transparent; } 40%, 80% { background: rgba(255, 255, 255, .78); border-color: #E6E6E6; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); } 96%, 100% { background: rgba(255, 255, 255, 0); border-color: transparent; } }
@keyframes csTitle { 0%, 30% { opacity: 0; } 42%, 80% { opacity: 1; } 92%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cs-title-demo *, .cs-title-demo { animation: none !important; } }

.cs-snaps { display: flex; gap: 16px; align-items: flex-end; justify-content: center; }
.cs-snaps figure { display: grid; justify-items: center; gap: 8px; }
.cs-snaps figcaption { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.cs-snaps .s { position: relative; width: 78px; height: 160px; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px #E1E4DE; background: radial-gradient(circle at 30% 22%, var(--blue) 4px, transparent 4.5px), radial-gradient(circle at 68% 34%, var(--blue) 4px, transparent 4.5px), radial-gradient(circle at 44% 48%, var(--blue) 4px, transparent 4.5px), linear-gradient(115deg, transparent 42%, #fff 42% 47%, transparent 47%), linear-gradient(20deg, transparent 58%, #fff 58% 62%, transparent 62%), #EEF1EC; }
.cs-snaps .s i { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 12px 12px 0 0; box-shadow: 0 -3px 10px rgba(0, 0, 0, .12); transition: height .6s var(--ease-out); }
.cs-snaps .s i::before { content: ''; position: absolute; left: 50%; top: 4px; width: 16px; height: 3px; margin-left: -8px; border-radius: 3px; background: #D9D9DC; }
.cs-snaps .s i::after { content: ''; position: absolute; left: 8px; right: 8px; top: 12px; height: 34px; background: linear-gradient(#EEE, #EEE) 0 0 / 70% 6px no-repeat, linear-gradient(#F0F0F1, #F0F0F1) 0 12px / 100% 10px no-repeat, linear-gradient(var(--blue), var(--blue)) 0 28px / 100% 6px no-repeat; }
.cs-snaps .s1 i { height: 34%; } .cs-snaps .s2 i { height: 60%; } .cs-snaps .s3 i { height: 100%; border-radius: 0; }
.cs-snaps .s3 i::after { top: 28px; }
.cs-snaps .s3 em { position: absolute; left: 7px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #F0F0F1; z-index: 1; }

.cs-band { width: 270px; background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px #E8E8EB, 0 10px 24px -14px rgba(0, 0, 0, .25); overflow: hidden; text-align: left; }
.cs-band .sec { padding: 10px 14px; display: grid; }
.cs-band .sec b { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.cs-band .sec span { display: flex; align-items: center; gap: 8px; font-size: 13px; height: 32px; }
.cs-band .sec span + span { box-shadow: inset 0 1px 0 #F2F2F2; }
.cs-band .sec .g { width: 16px; height: 16px; color: var(--muted); }
.cs-band em { margin-left: auto; font-style: normal; display: inline-flex; }
.cs-band em .g { width: 15px; height: 15px; color: var(--green); }
.cs-band em.role { font-size: 11.5px; font-weight: 500; background: var(--blue-soft); color: var(--blue); border-radius: 6px; padding: 2px 6px; }
.cs-band .band { display: block; height: 8px; background: #F4F4F4; }

.cs-os { background: #fff; border-radius: 20px; padding: 4px 16px; margin-bottom: 12px; font-size: 14px; }
.cs-os .h, .cs-os .r { display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 10px; padding: 10px 0; align-items: center; }
.cs-os .r { box-shadow: inset 0 1px 0 #F0F0F2; }
.cs-os .h b { font-size: 13.5px; font-weight: 600; }
.cs-os .r span { color: var(--muted); }
.cs-os .r em { font-style: normal; font-weight: 500; line-height: 1.35; }

.cs-craft.dark { background: #0B0B0D; display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; padding: 18px 18px 18px; align-items: center; }
.cs-dark { display: grid; gap: 14px; background: #141518; border-radius: 20px; padding: 16px; }
.cs-dark .pairs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.cs-dark .pairs div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.cs-dark .pairs i { width: 100%; height: 30px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.cs-dark .pairs i:first-child { border-radius: 10px 10px 3px 3px; }
.cs-dark .pairs i:nth-child(2) { border-radius: 3px 3px 10px 10px; }
.cs-dark .pairs span { font-size: 12px; color: #9C9CA2; margin-top: 6px; }
.cs-dark .demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.cs-dark .demo > div { display: flex; align-items: center; gap: 10px; border-radius: 16px; padding: 10px 10px 10px 12px; min-width: 0; }
.cs-dark .demo .lt { background: #fff; color: #1D1D1F; }
.cs-dark .demo .dk { background: #25262B; color: #EDEDEF; }
.cs-dark .demo div div { min-width: 0; flex: 1; }
.cs-dark .demo b { display: block; font-size: 14px; font-weight: 600; }
.cs-dark .demo small { display: block; font-size: 11.5px; color: #7A7A80; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-dark .demo .dk small { color: #9C9CA2; }
.cs-dark .demo .tile { width: 38px; height: 38px; border-radius: 12px; background: #18233A; color: #4C8DFF; display: grid; place-items: center; flex: none; }
.cs-dark .demo .tile .g, .cs-dark .demo .a-tile .g { width: 21px; height: 21px; }
.cs-dark .go { height: 30px; padding: 0 12px; border-radius: 9px; background: #1F6BFF; color: #fff; font-size: 13px; font-weight: 600; display: grid; place-items: center; flex: none; }
.cs-dark .dk .go { background: #4C8DFF; }
.cs-craft.dark .copy { display: grid; gap: 10px; justify-items: start; padding: 4px 8px; }
.cs-craft.dark .h5 { color: #fff; }
.cs-craft.dark .p { color: #B5B5BB; font-size: 15.5px; }

.cs-ask { background: #fff; border-radius: 20px; padding: 18px; margin-bottom: 12px; display: grid; gap: 14px; }
.cs-ask .q { display: flex; gap: 12px; align-items: center; }
.cs-ask .q .it { width: 44px; height: 44px; border-radius: 14px; }
.cs-ask .q b { display: block; font-size: 16px; font-weight: 600; }
.cs-ask .q small { font-size: 13.5px; color: var(--muted); }
.cs-ask .b { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.cs-ask .a-btn { height: 44px; font-size: 14.5px; border-radius: 12px; padding: 0 10px; }
.cs-ask .a-btn .g { width: 17px; height: 17px; }
.cs-springs { background: #fff; border-radius: 20px; padding: 16px; margin-bottom: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cs-springs div { display: grid; gap: 2px; }
.cs-springs svg { width: 100%; height: 62px; overflow: visible; margin-bottom: 8px; }
.cs-springs path { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.cs-springs path.t { stroke: #E3E3E6; stroke-width: 1.5; stroke-dasharray: 4 4; }
.cs-springs b { font-size: 14px; font-weight: 600; }
.cs-springs small { font-size: 12px; color: var(--muted); }

/* ---------- 09 Iterations ---------- */
.cs-versions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 28px; }
.cs-versions span { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 99px; background: var(--tile); font: 500 13.5px ui-monospace, 'SF Mono', Menlo, monospace; color: var(--ink-2); }
.cs-versions span.on { background: var(--blue); color: #fff; font-family: inherit; font-size: 14.5px; }
.cs-tl { margin-top: 28px; display: grid; gap: 12px; position: relative; }
.cs-tl::before { content: ''; position: absolute; left: 123px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(var(--blue), var(--blue-4) 75%, var(--line)); border-radius: 2px; }
.cs-tl > li { display: grid; grid-template-columns: 106px 1fr; gap: 34px; position: relative; }
.cs-tl > li::before { content: ''; position: absolute; left: 117px; top: 21px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px var(--blue); }
.cs-tl .when { padding-top: 16px; text-align: right; }
.cs-tl .when b { display: block; font-size: 16px; font-weight: 600; }
.cs-tl .when code { white-space: nowrap; font: 11px ui-monospace, 'SF Mono', Menlo, monospace; color: var(--muted); }
.cs-tl .card { padding: 18px 22px; border-radius: 22px; }
.cs-tl .card .h5 { margin-bottom: 6px; }
.cs-tl .card p { font-size: 15.5px; color: var(--ink-2); line-height: 1.55; }
.cs-tl .card p + p { margin-top: 8px; }
.cs-tl .card .why { font-size: 14.5px; color: var(--muted); background: #fff; border-radius: 12px; padding: 10px 12px; margin-top: 12px; }
.cs-tl .card.now { background: var(--blue-cream); box-shadow: inset 0 0 0 1px #DCE7FF; }
.cs-tl .mini-tabs { display: flex; align-items: center; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.cs-tl .mini-tabs span { display: inline-flex; gap: 5px; align-items: center; height: 30px; padding: 0 10px; border-radius: 9px; background: #fff; font-size: 13px; font-weight: 500; color: var(--muted); }
.cs-tl .mini-tabs .on { color: var(--blue); }
.cs-tl .mini-tabs .was { text-decoration: line-through; opacity: .6; }
.cs-tl .mini-tabs svg:not(.g) { width: 14px; height: 14px; color: var(--muted); }
.cs-tl .mini-tabs .g { width: 15px; height: 15px; }
.cs-tl .small-dec { display: grid; gap: 7px; }
.cs-tl .small-dec li { padding-left: 18px; position: relative; font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.cs-tl .small-dec li::before { content: ''; position: absolute; left: 3px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* ---------- 10 Brand ---------- */
.br-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.br-sub { scroll-margin-top: 16px; }
.br-intro { font-size: 16.5px; color: var(--ink-2); max-width: 680px; margin: -6px 0 20px; line-height: 1.55; }
.br-open { margin-top: 44px; border-radius: 36px; overflow: hidden; position: relative; isolation: isolate; background: #0B0B0D; color: #fff; }
.br-open .art { position: relative; height: 380px; display: grid; place-items: center; }
.br-open .art img { width: 240px; height: 240px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
.br-open .r { position: absolute; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; padding: 8px 14px 8px 10px; border-radius: 99px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.br-open .r i { width: 10px; height: 10px; border-radius: 50%; }
.br-open .r1 { left: 12%; top: 26%; } .br-open .r1 i { background: rgba(255, 255, 255, .45); }
.br-open .r2 { right: 14%; top: 36%; } .br-open .r2 i { background: #fff; }
.br-open .r3 { left: 18%; bottom: 18%; } .br-open .r3 i { background: var(--gold); }
.br-open .nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.br-open .nums div { padding: 20px 24px 22px; display: grid; gap: 2px; }
.br-open .nums div + div { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .12); }
.br-open .nums b { font-size: 38px; font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
.br-open .nums span { font-size: 14.5px; color: rgba(255, 255, 255, .7); }

.br-name { display: grid; grid-template-columns: .9fr 1.1fr; gap: 14px; }
.br-name .word { background: var(--tile); border-radius: 28px; padding: 26px; display: grid; gap: 14px; align-content: start; }
.br-name .ar { font-size: 92px; line-height: 1.05; color: var(--blue); direction: rtl; justify-self: start; }
.br-name .say { display: flex; align-items: baseline; gap: 12px; }
.br-name .say b { font-size: 34px; font-weight: 600; letter-spacing: -.02em; }
.br-name .say small { font-size: 15px; color: var(--muted); }
.br-name .word p { font-size: 16px; color: var(--ink-2); line-height: 1.55; }
.br-name .word p b { color: var(--ink); font-weight: 600; }
.br-name .word .so { background: #fff; border-radius: 14px; padding: 12px 14px; color: var(--ink); font-weight: 500; }
.br-hall { background: var(--tile); border-radius: 28px; padding: 22px 22px 16px; margin: 0; display: grid; align-content: center; }
.br-hall svg { width: 100%; height: auto; overflow: visible; }
.br-hall circle { transition: fill .35s ease; }
.br-hall .band { transition: opacity .6s ease; }
.br-hall figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.br-hall figcaption span { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ink-2); }
.br-hall figcaption i { width: 10px; height: 10px; border-radius: 50%; }
.br-hall figcaption .gold { background: #FFD04F; } .br-hall figcaption .blue { background: rgba(31, 107, 255, .5); }
.br-hall figcaption em { font-style: normal; margin-left: auto; }
.br-hadith { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.br-hadith blockquote { background: var(--gold-soft); border-radius: 24px; padding: 24px 24px 20px; display: grid; gap: 14px; align-content: space-between; }
.br-hadith p { font-size: 19px; line-height: 1.42; font-weight: 500; letter-spacing: -.01em; }
.br-hadith cite { font-style: normal; font-size: 13.5px; font-weight: 500; color: var(--gold-ink); }
.br-hadith .pbuh { font-family: 'Geeza Pro', 'Noto Naskh Arabic', serif; font-size: 1.3em; line-height: 1; vertical-align: -.12em; font-weight: 400; }

.br-brief { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.br-brief > div { background: var(--tile); border-radius: 22px; padding: 18px; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; row-gap: 2px; align-content: start; }
.br-brief .ic { grid-row: 1 / span 3; width: 44px; height: 44px; border-radius: 14px; background: #fff; color: var(--blue); display: grid; place-items: center; }
.br-brief .ic svg { width: 26px; height: 26px; }
.br-brief em { font: 500 12px ui-monospace, 'SF Mono', Menlo, monospace; font-style: normal; color: var(--faint); }
.br-brief b { font-size: 16px; font-weight: 600; line-height: 1.3; }
.br-brief small { font-size: 14px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.br-cat { margin-top: 14px; background: var(--tile); border-radius: 28px; padding: 20px; }
.br-cat .tropes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.br-cat figure { background: #fff; border-radius: 18px; padding: 14px 8px 12px; margin: 0; display: grid; justify-items: center; gap: 8px; position: relative; }
.br-cat figure svg, .br-cat figure img { width: 72px; height: 72px; }
.br-cat figure img { border-radius: 17px; }
.br-cat figcaption { font-size: 13px; font-weight: 500; text-align: center; }
.br-cat figure:not(.ours)::after { content: ''; position: absolute; inset: 10px; background: linear-gradient(to top right, transparent calc(50% - 1px), rgba(240, 69, 58, .55) 50%, transparent calc(50% + 1px)); pointer-events: none; opacity: .9; }
.br-cat figure.ours { box-shadow: inset 0 0 0 1.5px #D9D9DC; }
.br-cat .cap { font-size: 14.5px; color: var(--muted); margin-top: 14px; line-height: 1.5; max-width: 720px; }
.br-gap { margin-top: 14px; background: #0B1A3D; color: #C3D0F2; border-radius: 24px; padding: 22px 26px; font-size: 18px; line-height: 1.5; }
.br-gap b { color: #fff; font-weight: 600; }
.br-gap em { font-style: normal; color: var(--gold); font-weight: 500; }

.br-kinds { background: var(--tile); border-radius: 26px; padding: 20px; }
.br-kinds .stackbar { display: flex; height: 54px; border-radius: 14px; overflow: hidden; gap: 2px; }
.br-kinds .stackbar i { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; font-size: 17px; font-style: normal; min-width: 0; }
.br-kinds .legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 16px; margin-top: 16px; }
.br-kinds .legend span { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; }
.br-kinds .legend i { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.br-patterns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 10px; }
.br-patterns .pt { background: var(--tile); border-radius: 22px; padding: 14px; display: grid; grid-template-columns: 80px 1fr; gap: 16px; align-items: center; }
.br-patterns .pt > svg { width: 80px; height: 80px; }
.br-patterns .pt > div { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; align-items: center; }
.br-patterns b { font-size: 15.5px; font-weight: 600; }
.br-patterns .tg { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 99px; }
.br-patterns .tg.keep { background: var(--green-soft); color: var(--green-ink); }
.br-patterns .tg.drop { background: var(--red-soft); color: #C42A20; }
.br-patterns small { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.br-patterns .meter { height: 6px; border-radius: 6px; background: #E4E4E7; overflow: hidden; margin-top: 6px; }
.br-patterns .meter i { display: block; height: 100%; background: var(--blue); border-radius: 6px; }
.br-patterns em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-top: 6px; }

.br-roundhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.br-roundhead .br-nav { display: flex; gap: 8px; margin-top: 46px; }
.br-roundhead .br-nav button { width: 42px; height: 42px; border-radius: 50%; background: var(--tile); display: grid; place-items: center; transition: background-color .2s, opacity .2s; }
.br-roundhead .br-nav button:hover { background: var(--tile-2); }
.br-roundhead .br-nav button[disabled] { opacity: .35; cursor: default; }
.br-roundhead .br-nav svg { width: 8px; height: 13px; }
.br-roundhead .br-nav .prev svg { rotate: 180deg; }
.br-rounds { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0; padding-bottom: 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
.br-rounds::-webkit-scrollbar { display: none; }
.br-rounds .rd { flex: 0 0 min(560px, 86%); scroll-snap-align: start; background: var(--tile); border-radius: 26px; padding: 10px 10px 18px; display: grid; gap: 14px; align-content: start; }
.br-rounds img { width: 100%; height: auto; aspect-ratio: 1110 / 760; object-fit: cover; border-radius: 18px; background: #E9E9EE; }
.br-rounds img.tall { object-fit: cover; object-position: 50% 4%; }
.br-rounds .tx { padding: 0 8px; display: grid; gap: 6px; }
.br-rounds .n { font-size: 13.5px; font-weight: 600; color: var(--blue); }
.br-rounds .tx > b { font-size: 21px; font-weight: 600; letter-spacing: -.015em; }
.br-rounds .tx p { font-size: 15px; color: var(--ink-2); line-height: 1.5; margin-bottom: 4px; }
.br-rounds .vd { font-size: 14px; line-height: 1.45; color: var(--ink-2); display: grid; grid-template-columns: 70px 1fr; gap: 8px; align-items: baseline; }
.br-rounds .vd span { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 99px; text-align: center; }
.br-rounds .vd .k { background: var(--green-soft); color: var(--green-ink); }
.br-rounds .vd .d { background: var(--red-soft); color: #C42A20; }

.br-eq { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 8px; }
.br-eq figure { margin: 0; background: var(--tile); border-radius: 24px; padding: 20px 10px 16px; display: grid; justify-items: center; gap: 10px; text-align: center; }
.br-eq svg { width: 62%; height: auto; aspect-ratio: 524 / 800; }
.br-eq figcaption { font-size: 13px; color: var(--muted); line-height: 1.35; }
.br-eq figcaption b { display: block; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.br-eq figure.res { background: var(--blue); }
.br-eq figure.res figcaption, .br-eq figure.res figcaption b { color: #fff; }
.br-eq > i { font-style: normal; font-size: 30px; font-weight: 500; color: var(--faint); }
.br-reader { margin-top: 12px; background: var(--tile); border-radius: 28px; padding: 18px; display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: center; }
.br-reader .art { background: #fff; border-radius: 20px; padding: 24px 48px; }
.br-reader .art svg { width: 100%; height: auto; aspect-ratio: 524 / 800; }
.br-reader .ctl { display: grid; gap: 10px; justify-items: start; padding-right: 12px; }
.br-reader .p { min-height: 78px; }
.br-reader input, .br-legi input { width: 100%; accent-color: var(--blue); margin-top: 6px; }
.br-reader .ticks, .br-legi .ticks { width: 100%; display: flex; justify-content: space-between; font-size: 13px; font-weight: 500; color: var(--muted); }
.br-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.br-why > div, .br-notes > div { background: var(--tile); border-radius: 22px; padding: 18px; display: grid; gap: 8px; align-content: start; justify-items: start; }
.br-why b, .br-notes b { font-size: 16.5px; font-weight: 600; }
.br-why p, .br-notes p { font-size: 14.5px; color: var(--muted); line-height: 1.5; }

.br-cons { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.br-cons .draw { position: relative; background: #F5F8FF; border-radius: 26px; overflow: hidden; box-shadow: inset 0 0 0 1px #E3EAFB; }
.br-cons .draw svg { display: block; width: 100%; height: auto; }
.br-cons .draw .guides { transition: opacity .3s; }
.br-cons .draw.noguides .guides { opacity: 0; }
.br-cons .seg { position: absolute; right: 14px; top: 14px; display: inline-flex; background: rgba(255, 255, 255, .9); border-radius: 12px; padding: 3px; gap: 2px; box-shadow: var(--shadow-card); }
.br-cons .seg button { font-size: 14px; font-weight: 500; padding: 7px 12px; border-radius: 10px; color: var(--muted); }
.br-cons .seg button.on { background: var(--blue); color: #fff; }
.br-spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.br-spec td { padding: 11px 0; box-shadow: inset 0 -1px 0 var(--line); vertical-align: top; line-height: 1.4; }
.br-spec td:first-child { color: var(--muted); width: 36%; padding-right: 12px; }
.br-spec td:last-child { font-weight: 500; }
.br-cons .br-spec { background: var(--tile); border-radius: 26px; padding: 6px 20px; border-collapse: separate; display: block; }
.br-cons .br-spec tbody { display: table; width: 100%; }
.br-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.br-mat { display: grid; grid-template-columns: 1.05fr .95fr; gap: 14px; margin-top: 12px; align-items: stretch; }
.br-mat .explode { position: relative; min-height: 440px; perspective: 1800px; background: radial-gradient(60% 60% at 50% 45%, #fff, var(--tile)); border-radius: 26px; overflow: hidden; }
.br-mat .stage { position: absolute; left: 50%; top: 60%; width: 240px; height: 240px; margin: -120px 0 0 -120px; transform-style: preserve-3d; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.br-mat .stage img { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.br-mat .explode.open .stage { transform: rotateX(52deg) rotateZ(-36deg) scale(.86); }
.br-mat .explode.open .stage img:nth-child(2) { transform: translateZ(30px); }
.br-mat .explode.open .stage img:nth-child(3) { transform: translateZ(60px); }
.br-mat .explode.open .stage img:nth-child(4) { transform: translateZ(90px); }
.br-mat .explode.open .stage img:nth-child(5) { transform: translateZ(120px); }
.br-mat .explode .btn { position: absolute; left: 14px; top: 14px; }
.br-mat .layers { background: var(--tile); border-radius: 26px; padding: 20px; display: grid; gap: 14px; counter-reset: l; align-content: center; }
.br-mat .layers li { display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; row-gap: 2px; }
.br-mat .layers li::before { counter-increment: l; content: counter(l); grid-row: span 2; width: 30px; height: 30px; border-radius: 9px; background: #fff; color: var(--blue); display: grid; place-items: center; font-size: 14px; font-weight: 600; }
.br-mat .layers b { font-size: 15.5px; font-weight: 600; }
.br-mat .layers span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.br-zoom { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 12px; margin-top: 12px; }
.br-zoom figure { margin: 0; background: var(--tile); border-radius: 24px; padding: 8px 8px 14px; display: grid; gap: 10px; align-content: start; }
.br-zoom figure img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 18px; }
.br-zoom figcaption { font-size: 13.5px; color: var(--muted); padding: 0 8px; line-height: 1.45; }
.br-zoom .flat { background: var(--tile); border-radius: 24px; padding: 18px; display: grid; gap: 8px; align-content: start; }
.br-zoom .flat .row { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.br-zoom .flat .ico { width: 76px; height: 76px; border-radius: 18px; }
.br-zoom .flat .w, .br-zoom .flat .n { width: 76px; height: 76px; border-radius: 18px; display: grid; place-items: center; }
.br-zoom .flat .w { background: #fff; } .br-zoom .flat .n { background: #0B1A3D; }
.br-zoom .flat .w svg, .br-zoom .flat .n svg { width: 34px; height: 52px; }
.br-zoom .flat b { font-size: 16px; font-weight: 600; }
.br-zoom .flat p { font-size: 14.5px; color: var(--muted); line-height: 1.5; }

.br-ladder { background: var(--tile); border-radius: 26px; padding: 26px 24px 18px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 24px; }
.br-ladder figure { margin: 0; display: grid; justify-items: center; gap: 8px; }
.br-ladder figure img { image-rendering: auto; }
.br-ladder figcaption { font-size: 13px; font-weight: 600; text-align: center; line-height: 1.25; }
.br-ladder figcaption small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.br-ladder .lnote { flex-basis: 100%; font-size: 13.5px; color: var(--muted); }
.br-legi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }
.br-legi .cell { background: var(--tile); border-radius: 26px; padding: 12px 12px 20px; display: grid; gap: 6px; align-content: start; }
.br-legi .cell.w2 { grid-column: span 2; }
.br-legi .vis { height: 210px; background: #fff; border-radius: 18px; display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 10px; overflow: hidden; }
.br-legi .cell > b { font-size: 16.5px; font-weight: 600; padding: 0 8px; }
.br-legi .cell > p { font-size: 14.5px; color: var(--muted); line-height: 1.5; padding: 0 8px; }
.br-legi .cell > input, .br-legi .cell > .ticks { width: auto; margin-left: 8px; margin-right: 8px; }
.br-legi .squint img { width: 150px; height: 150px; transition: filter .1s; }
.br-legi .row5 { gap: 10px; padding: 0 10px; }
.br-legi .row5 figure { margin: 0; display: grid; justify-items: center; gap: 8px; }
.br-legi .row5 img { width: 56px; height: 56px; }
.br-legi .row5 figcaption { font-size: 11.5px; font-weight: 500; color: var(--muted); }
.br-legi .sil svg { width: 70px; height: auto; aspect-ratio: 524 / 800; }
.br-legi .walls .vis { gap: 10px; padding: 0 12px; background: transparent; }
.br-legi .wp { flex: 1; height: 100%; border-radius: 18px; display: grid; grid-template-columns: repeat(3, 42px); justify-content: center; gap: 12px; padding: 18px 10px; align-content: start; justify-items: center; }
.br-legi .wp.light { background: radial-gradient(120% 80% at 20% 0%, #FFE3C8 0%, #F6C9E0 40%, #B9C8FF 100%); }
.br-legi .wp.dark { background: radial-gradient(120% 80% at 20% 0%, #2A3B7A 0%, #0D1330 55%, #06081A 100%); }
.br-legi .wp img { width: 42px; height: 42px; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .25)); grid-row: span 1; }
.br-legi .wp span { display: none; }
.br-legi .wp i { width: 42px; height: 42px; border-radius: 11px; background: rgba(255, 255, 255, .45); }
.br-legi .wp.dark i { background: rgba(255, 255, 255, .16); }
.br-legi .shapes .vis { gap: 26px; }
.br-legi .shapes figure { margin: 0; display: grid; justify-items: center; gap: 10px; }
.br-legi .shapes figcaption { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.br-legi .msk { width: 110px; height: 110px; overflow: hidden; position: relative; display: grid; place-items: center; }
.br-legi .msk img { position: absolute; left: -10px; top: -10px; width: 130px; height: 130px; max-width: none; }
.br-legi .msk.circle { border-radius: 50%; }
.br-legi .msk.squircle { border-radius: 32px; }
.br-legi .msk.themed { border-radius: 50%; background: #DDE6D3; }
.br-legi .msk.themed img { filter: brightness(0) invert(24%) sepia(30%) saturate(700%) hue-rotate(50deg); }
.br-legi .msk.notif { border-radius: 26px; background: #1D1D1F; }
.br-legi .msk.notif img { position: static; width: 44px; height: 44px; }
.br-contrast { margin-top: 12px; background: var(--tile); border-radius: 26px; padding: 20px; }
.br-contrast .h { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; padding: 0 4px 12px; }
.br-contrast .h b { font-size: 17px; font-weight: 600; }
.br-contrast .h span { font-size: 14px; color: var(--muted); }
.br-contrast .rows { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.br-contrast .rows > div { background: #fff; border-radius: 16px; padding: 10px 14px 10px 10px; display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; }
.br-contrast .pair { width: 40px; height: 40px; border-radius: 12px; background: var(--a); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.br-contrast .pair::after { content: ''; width: 16px; height: 16px; border-radius: 5px; background: var(--b); box-shadow: 0 0 0 1px rgba(0, 0, 0, .05); }
.br-contrast .rows span:not(.pair) { font-size: 14.5px; font-weight: 500; line-height: 1.3; }
.br-contrast .rows small { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.br-contrast .rows b { font-size: 20px; font-weight: 600; letter-spacing: -.01em; color: var(--green-ink); }
.br-contrast .caught { margin-top: 12px; background: #FFFAEE; box-shadow: inset 0 0 0 1px #FBE3A0; border-radius: 18px; padding: 16px 18px; display: grid; gap: 10px; justify-items: start; }
.br-contrast .caught p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.br-contrast .caught b { color: var(--ink); }
.br-checks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 24px; margin-top: 14px; }
.br-checks li { display: flex; gap: 10px; align-items: center; padding: 10px 2px; font-size: 15px; box-shadow: inset 0 -1px 0 var(--line); }
.br-checks .g { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--green-soft); color: var(--green); }

.br-word { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; align-items: stretch; }
.br-word .anat { background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); border-radius: 26px; padding: 26px 22px; display: grid; place-items: center; }
.br-word .anat svg { width: 100%; height: auto; }
.br-word .weights { background: var(--tile); border-radius: 26px; padding: 8px 20px; display: grid; align-content: center; }
.br-word .weights div { display: grid; grid-template-columns: 46px 1fr; align-items: baseline; padding: 12px 0; }
.br-word .weights div + div { box-shadow: inset 0 1px 0 #E4E4E7; }
.br-word .weights span { font: 12.5px ui-monospace, 'SF Mono', Menlo, monospace; color: var(--muted); }
.br-word .weights b { font-size: 19px; letter-spacing: -.01em; }
.br-lockups { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }
.br-lockups .lk { border-radius: 24px; min-height: 176px; display: grid; place-items: center; padding: 28px 32px 36px; position: relative; }
.br-lockups .lk svg { width: 100%; max-width: 300px; height: auto; }
.br-lockups .lk small { position: absolute; left: 18px; bottom: 12px; font-size: 12.5px; font-weight: 500; opacity: .7; }
.br-lockups .white { background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.br-lockups .blue { background: var(--blue); color: #fff; }
.br-lockups .night { background: #0B1A3D; color: #fff; }
.br-lockups .mono { background: var(--tile); }
.br-space { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; margin-top: 12px; align-items: center; }
.br-space .draw { background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); border-radius: 24px; padding: 22px; }
.br-space .draw svg { width: 100%; height: auto; }
.br-space .copy { display: grid; gap: 8px; }
.br-space .copy b { font-size: 17px; font-weight: 600; }
.br-space .copy p { font-size: 15px; color: var(--muted); line-height: 1.5; margin-bottom: 4px; }
.br-donts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.br-donts figure { margin: 0; background: var(--tile); border-radius: 22px; padding: 10px 10px 14px; display: grid; gap: 10px; }
.br-donts .art { height: 120px; border-radius: 16px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.br-donts .art svg { width: 72px; height: 72px; }
.br-donts .art.busy { background: repeating-linear-gradient(35deg, #3E7BFF 0 12px, #FFD34D 12px 24px, #1D1D1F 24px 36px); }
.br-donts .font { display: flex; align-items: center; gap: 8px; font: italic 700 21px Georgia, 'Times New Roman', serif; color: #0B1A3D; }
.br-donts .font svg { width: 34px; height: 34px; }
.br-donts figcaption { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: #C42A20; padding: 0 4px; }
.br-donts figcaption .g { width: 16px; height: 16px; flex: none; }

.br-app { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.br-lock .ph-screen { background: radial-gradient(120% 80% at 70% 0%, #2A3B7A 0%, #0D1330 60%, #06081A 100%); color: #fff; }
.br-lock .st { color: #fff; }
.br-lock .lk-time { text-align: center; font-size: 92px; font-weight: 500; line-height: 1; margin-top: 118px; letter-spacing: -.02em; }
.br-lock .lk-date { text-align: center; font-size: 19px; opacity: .8; margin-top: 8px; }
.br-lock .lk-note { margin: 56px 16px 0; background: rgba(255, 255, 255, .16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 26px; padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; }
.br-lock .lk-note .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--blue); display: grid; place-items: center; flex: none; }
.br-lock .lk-note b { font-size: 16px; font-weight: 600; }
.br-lock .lk-note small { font-size: 14px; opacity: .7; margin-left: 6px; }
.br-lock .lk-note p { font-size: 16px; line-height: 1.35; margin-top: 2px; opacity: .92; }
.br-store { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; margin-top: 12px; }
.br-store figure { margin: 0; background: var(--tile); border-radius: 24px; padding: 10px 10px 14px; display: grid; gap: 10px; align-content: start; }
.br-store figure img { width: 100%; height: auto; border-radius: 16px; }
.br-store figcaption { font-size: 13.5px; color: var(--muted); padding: 0 6px; }
.br-store .browser { background: #DEE1E6; border-radius: 16px; padding: 10px 10px 0; display: grid; height: 100%; min-height: 150px; align-content: start; }
.br-store .browser .t { display: flex; align-items: center; gap: 8px; width: max-content; min-width: 190px; background: #fff; border-radius: 10px 10px 0 0; padding: 9px 12px; font-size: 14px; font-weight: 500; }
.br-store .browser .t img { width: 16px; height: 16px; }
.br-store .browser .t i { margin-left: auto; display: grid; color: var(--muted); }
.br-store .browser .t .g { width: 12px; height: 12px; }
.br-store .browser .u { background: #fff; padding: 12px 14px 40px; font-size: 14px; color: var(--muted); border-radius: 0 10px 0 0; }

.br-dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.br-dl .d { display: flex; flex-direction: column; gap: 12px; border-radius: 22px; padding: 10px 10px 14px; position: relative; transition: transform .4s var(--ease-out), box-shadow .3s; }
.br-dl .d:hover { transform: translateY(-3px); }
.br-dl .d.wide { grid-column: span 2; }
.br-dl .d.light { background: var(--tile); }
.br-dl .d.dark { background: #0B1A3D; color: #fff; }
.br-dl .th { height: 120px; border-radius: 16px; display: grid; place-items: center; }
.br-dl .light .th { background: #fff; }
.br-dl .dark .th { background: rgba(255, 255, 255, .06); }
.br-dl .th img { width: 64px; height: 64px; }
.br-dl .wide .th img { width: 220px; height: auto; }
.br-dl .tx { padding: 0 6px; display: grid; }
.br-dl .tx b { font-size: 15.5px; font-weight: 600; }
.br-dl .tx small { font-size: 13px; color: var(--muted); }
.br-dl .dark .tx small { color: rgba(255, 255, 255, .6); }
.br-dl .dlg { position: absolute; right: 16px; bottom: 18px; width: 18px; height: 18px; rotate: 225deg; color: var(--blue); }
.br-dl .dark .dlg { color: var(--gold); }
.br-colours { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.br-colours .c { text-align: left; background: var(--tile); border-radius: 22px; padding: 8px 8px 14px; display: grid; gap: 4px; align-content: start; cursor: copy; transition: transform .4s var(--ease-out); }
.br-colours .c:hover { transform: translateY(-3px); }
.br-colours .cc { height: 96px; border-radius: 16px; background: var(--c); color: var(--t); display: flex; align-items: flex-end; padding: 10px 12px; margin-bottom: 8px; }
.br-colours .cc.ln { box-shadow: inset 0 0 0 1px #E0E0E4; }
.br-colours .cc em { font: 600 13px ui-monospace, 'SF Mono', Menlo, monospace; font-style: normal; }
.br-colours .c b { font-size: 15.5px; font-weight: 600; padding: 0 6px; }
.br-colours .c small { font-size: 12.5px; color: var(--muted); line-height: 1.4; padding: 0 6px; }
.br-prop { display: flex; height: 56px; border-radius: 16px; overflow: hidden; margin-top: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.br-prop i { display: flex; align-items: center; padding: 0 14px; font-style: normal; font-weight: 600; font-size: 14.5px; white-space: nowrap; }

/* ---------- 11 Next ---------- */
.cs-next { display: grid; grid-template-columns: .92fr 1.08fr; gap: 14px; margin-top: 44px; align-items: start; }
.cs-next .rcol { gap: 12px; }
.cs-next .ritem .it { border-radius: 12px; }
.cs-lessons { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.cs-lessons .value { padding: 20px; border-radius: 22px; gap: 6px; }
.cs-lessons .value .h5 { font-size: 17px; }
.cs-lessons .value .p { font-size: 15px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cs-grid { grid-template-columns: 172px minmax(0, 1fr); gap: 0 36px; }
  .cs-reel.four .phone { --z: .38; }
  .cs-people, .cs-princ { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .br-eq svg { width: 70%; }
}
@media (max-width: 960px) {
  .cs-hero-phones { height: 470px; }
  .cs-hero-phones .p2 .phone { --z: .62; }
  .cs-hero-phones .p1 .phone, .cs-hero-phones .p3 .phone { --z: .52; }
  .cs-hero-phones .p1 { translate: calc(-50% - 210px) 70px; }
  .cs-hero-phones .p3 { translate: calc(-50% + 210px) 70px; }
  .cs-grid { display: block; }
  .cs-toc { position: relative; top: 0; margin: 28px calc(var(--gutter) * -1) 0; max-height: none; padding: 0 var(--gutter); overflow-x: auto; }
  .cs-toc-h, .cs-toc-foot, .cs-toc ol.sub { display: none !important; }
  .cs-toc > ol { display: flex; gap: 6px; box-shadow: none; width: max-content; }
  .cs-toc a { background: var(--tile); border-radius: 99px; padding: 8px 13px; box-shadow: none !important; font-size: 14.5px; white-space: nowrap; }
  .cs-ch { padding-top: 96px; }
  .cs-ch.first { padding-top: 56px; }
  .cs-over, .cs-data, .cs-evidence, .cs-hidden, .cs-add, .cs-fund, .cs-next, .br-name, .br-cons, .br-mat, .br-word, .br-space, .cs-craft.dark { grid-template-columns: 1fr; }
  .cs-evidence { padding: 28px 24px 0; }
  .cs-evidence .copy { order: -1; padding-bottom: 0; }
  .cs-evidence .cs-shot { height: 440px; }
  .cs-ia .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cs-ia .cols::before, .cs-ia .col::before { display: none; }
  .cs-ia .root::after { display: none; }
  .cs-ia .cols { margin-top: 20px; }
  .cs-events { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cs-events .side { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cs-add .cs-shot, .cs-fund .cs-shot { min-height: 0; height: 440px; }
  .cs-swatches { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cs-type { grid-template-columns: 1fr; }
  .cs-type .face { grid-column: 1; grid-row: auto; margin-bottom: 14px; grid-template-columns: auto 1fr; align-items: center; }
  .cs-type .face b { font-size: 72px; }
  .cs-radii { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cs-comps { grid-template-columns: 1fr; }
  .cs-comps .c.w2 { grid-column: auto; }
  .cs-craft, .cs-craft.w7, .cs-craft.w5, .cs-craft.w12 { grid-column: span 12; }
  .br-cat .tropes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .br-zoom { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .br-zoom .flat { grid-column: 1 / -1; }
  .br-dl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .br-colours { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cs-meta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: 100%; }
  .cs-meta div + div { box-shadow: none; }
  .cs-meta div:nth-child(even) { box-shadow: -1px 0 0 var(--line); }
  .cs-meta div:nth-child(n+3) { box-shadow: 0 -1px 0 var(--line); }
  .cs-meta div:nth-child(4) { box-shadow: 0 -1px 0 var(--line), -1px 0 0 var(--line); }
  .cs-meta div { padding: 12px 16px; }
  .cs-hero-phones { height: 420px; margin-top: 36px; }
  .cs-hero-phones .p2 .phone { --z: .6; }
  .cs-hero-phones .p1, .cs-hero-phones .p3 { display: none; }
  .cs-ch > .h2 { font-size: 34px; }
  .cs-lead { font-size: 17.5px; }
  .cs-big { font-size: 21px; }
  .cs-h3 { font-size: 20px; margin-top: 52px; }
  .cs-glance b { font-size: 32px; }
  .cs-trio, .cs-people, .cs-princ, .cs-add .ways, .cs-lessons, .br-hadith, .br-brief, .br-patterns, .br-why, .br-notes, .br-legi, .br-contrast .rows, .br-checks, .br-lockups, .br-donts, .br-store, .br-zoom { grid-template-columns: 1fr; }
  .br-legi .cell.w2 { grid-column: auto; }
  .br-donts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cs-hmw { padding: 26px 22px; }
  .cs-hmw p { font-size: 20px; }
  .cs-bigstat b { font-size: 48px; }
  .cs-decision { grid-template-columns: 1fr; gap: 10px; padding: 16px 18px; }
  .cs-decision .tag { justify-self: start; }
  .cs-ia .cols { grid-template-columns: 1fr; }
  .cs-people, .cs-princ, .br-brief, .br-patterns { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .cs-people::-webkit-scrollbar, .cs-princ::-webkit-scrollbar, .br-brief::-webkit-scrollbar, .br-patterns::-webkit-scrollbar { display: none; }
  .cs-people > *, .cs-princ > *, .br-brief > *, .br-patterns > * { flex: 0 0 84%; scroll-snap-align: center; }
  .br-patterns .pt { grid-template-columns: 64px 1fr; align-items: start; }
  .br-patterns .pt > svg { width: 64px; height: 64px; }
  .cs-ch { padding-top: 80px; }
  .cs-reel, .cs-events, .br-app { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .cs-reel::-webkit-scrollbar, .cs-events::-webkit-scrollbar, .br-app::-webkit-scrollbar { display: none; }
  .cs-reel figure, .cs-events figure, .cs-events .side, .br-app figure { flex: 0 0 78%; scroll-snap-align: center; }
  .cs-events .side { grid-template-columns: 1fr; }
  .cs-reel.four .phone, .cs-reel.three .phone, .cs-events .phone, .br-app .phone { --z: .6; }
  .cs-loop { grid-template-columns: 1fr; }
  .cs-loop .n3, .cs-loop .n4 { grid-column: auto; grid-row: auto; }
  .cs-loop .n1, .cs-loop .n2, .cs-loop .n3, .cs-loop .n4 { padding: 16px; }
  .cs-loop .n3 { order: 3; } .cs-loop .n4 { order: 4; }
  .cs-loop .ring { display: none; }
  .cs-ladder .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cs-ladder .lv { min-height: 0 !important; }
  .cs-swatches { grid-template-columns: 1fr; }
  .cs-radii { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-glyphs .hero-g { grid-template-columns: 1fr; }
  .cs-glyphs .big { width: 100%; }
  .cs-glyphs { padding: 14px; }
  .cs-glyphs .glyphs { grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); gap: 5px; }
  .cs-glyphs .glyphs div { border-radius: 11px; }
  .cs-glyphs .glyphs div .g { width: 22px; height: 22px; }
  .cs-dark .pairs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cs-dark .demo { grid-template-columns: 1fr; }
  .cs-tl::before { left: 6px; }
  .cs-tl > li { grid-template-columns: 1fr; gap: 6px; padding-left: 28px; }
  .cs-tl > li::before { left: 0; top: 4px; }
  .cs-tl .when { text-align: left; padding-top: 0; display: flex; gap: 10px; align-items: baseline; }
  .br-open .art { height: 300px; }
  .br-open .art img { width: 180px; height: 180px; }
  .br-open .r { font-size: 13px; }
  .br-open .r1 { left: 6%; top: 12%; } .br-open .r2 { right: 6%; top: 44%; } .br-open .r3 { left: 8%; bottom: 10%; }
  .br-open .nums { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .br-open .nums div:nth-child(3) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
  .br-open .nums div:nth-child(4) { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .12), inset 0 1px 0 rgba(255, 255, 255, .12); }
  .br-open .nums b { font-size: 30px; }
  .br-name .ar { font-size: 72px; }
  .br-cat .tropes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .br-kinds .legend { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .br-kinds .stackbar i { font-size: 14px; }
  .br-roundhead .br-nav { display: none; }
  .br-rounds { margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scroll-padding: 0 var(--gutter); }
  .br-rounds .rd { flex-basis: 88%; }
  .br-eq { grid-template-columns: 1fr auto 1fr; row-gap: 10px; }
  .br-eq > i:nth-of-type(2) { display: none; }
  .br-reader { grid-template-columns: 1fr; gap: 16px; }
  .br-reader .art { padding: 20px 80px; }
  .br-legi .row5 img { width: 44px; height: 44px; }
  .br-legi .row5 figcaption { font-size: 10px; }
  .br-legi .shapes .vis { gap: 10px; flex-wrap: wrap; height: auto; padding: 16px 8px; }
  .br-legi .msk { width: 84px; height: 84px; }
  .br-legi .msk img { left: -8px; top: -8px; width: 100px; height: 100px; }
  .br-dl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .br-dl .d.wide { grid-column: span 2; }
  .br-colours { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .br-prop i { font-size: 12.5px; padding: 0 8px; }
}

/* Pull to refresh demo (the animation itself lives in site.css with the phone screens) */
.cs-craft.cs-refresh { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; padding: 14px; }
.cs-refresh .copy { display: grid; gap: 10px; justify-items: start; padding: 18px 14px; }
.cs-refresh .copy .p { font-size: 16px; }
.cs-refresh .vis { height: 520px; margin: 0; align-items: start; padding-top: 34px; background: linear-gradient(180deg, #EEF4FF, #F7F9FF); }
.cs-refresh .vis .phone { --z: .78; }
.cs-rf-notes { display: grid; gap: 8px; margin-top: 8px; width: 100%; }
.cs-rf-notes li { display: grid; gap: 2px; background: #fff; border-radius: 14px; padding: 10px 14px; }
.cs-rf-notes b { font-size: 15px; font-weight: 600; }
.cs-rf-notes span { font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .cs-craft.cs-refresh { grid-template-columns: 1fr; } .cs-refresh .vis { height: 460px; } }
@media (max-width: 640px) { .cs-refresh .vis .phone { --z: .66; } }
