/* The feature pages (/features and /features/<slug>) of option E. Built by tools/build-pages.cjs from
   tools/feature-pages.cjs through tools/feature-render.cjs. Only the look's tokens are used (e/style.css),
   so the pages follow the site's colourway. Each page combines one hero, one flow, one details block and
   one "good to know" block below, so no two pages share a layout. */

.fx { padding: 36px 0 80px; --fx: var(--brand); --fx-ink: var(--on-brand); --fx-soft: var(--brand-soft); }
.fx--peach { --fx: var(--accent); --fx-ink: #3a1208; --fx-soft: var(--peach); }
.fx--sky { --fx: #8fd0f0; --fx-ink: #08263a; --fx-soft: #16303c; }
.fx--sage { --fx: #9fdc9f; --fx-ink: #0f2614; --fx-soft: #1d3a25; }
.fx--lilac { --fx: #c9a8f5; --fx-ink: #1d1530; --fx-soft: #2a2140; }
.fx--sun { --fx: var(--sun); --fx-ink: var(--sun-ink); --fx-soft: var(--peach); }
.fx a { color: var(--fx); }
.fx h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.04; }
.fx h1 em, .fx h2 em { font-style: var(--em-style); font-weight: var(--em-weight); color: var(--fx); }
.fx h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.fx h3 { font-family: var(--font-body); font-size: 1.08rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.fx p { line-height: 1.7; }
.fx-sec { margin-top: 84px; }
.fx-sec > h2 { margin-bottom: 26px; max-width: 22em; }
.fx-sec__intro { margin: -12px 0 26px; color: var(--muted); max-width: 46em; }
.fx-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fx-eyebrow b { padding: 2px 10px; border-radius: 6px; background: var(--fx); color: var(--fx-ink); letter-spacing: .06em; }
.fx-lead { font-size: 1.2rem; line-height: 1.6; color: var(--head); opacity: .92; max-width: 40em; }
.fx-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-tags span { padding: 4px 12px; border-radius: 99px; border: 1px solid var(--line); font-size: .86rem; color: var(--text); }
.fx-shot { display: block; width: 100%; height: auto; aspect-ratio: 128 / 62; object-fit: cover; object-position: center top; background: #0b1410; }
.fx-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.fx-muted { color: var(--muted); }
.fx .crumbs { margin-bottom: 26px; }
.fx .page__fig { margin: 0; max-width: none; }
.fx figure { margin: 0; }
.fx figcaption { margin-top: 10px; font-size: .92rem; color: var(--muted); }

/* ---- Heroes ---------------------------------------------------------------------------------- */
.fxh { display: grid; gap: 40px; align-items: center; }
.fxh__text { display: flex; flex-direction: column; gap: 18px; }
.fxh--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.fxh--center { text-align: center; justify-items: center; }
.fxh--center .fxh__text { align-items: center; max-width: 820px; }
.fxh--center .fx-tags { justify-content: center; }
.fxh--center .fxh__fig { width: 100%; }
.fxh--title h1 { font-size: clamp(2.8rem, 7.4vw, 5.6rem); line-height: .96; }
.fxh--title { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; padding-bottom: 32px; border-bottom: 2px solid var(--head); }
.fxh--title .fxh__fig { grid-column: 1 / -1; }
.fxh--band { padding: 44px clamp(20px, 4vw, 48px); border-radius: calc(var(--radius) + 6px); background: var(--fx); color: var(--fx-ink); grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.fxh--band h1, .fxh--band .fx-lead, .fxh--band .fx-eyebrow { color: var(--fx-ink); opacity: 1; }
.fxh--band h1 em { color: var(--fx-ink); }
.fxh--band .fx-eyebrow b { background: var(--fx-ink); color: var(--fx); }
.fxh--band .fx-tags span { border-color: rgba(0, 0, 0, .25); color: var(--fx-ink); }
.fxh--frame { padding: clamp(28px, 5vw, 60px); border: 2px solid var(--head); outline: 1px solid var(--head); outline-offset: -11px; text-align: center; justify-items: center; background: var(--card); }
.fxh--frame .fxh__text { align-items: center; max-width: 760px; }
.fxh--frame .fx-tags { justify-content: center; }
.fxh--frame h1 { font-style: italic; }
.fx-orn { display: block; width: 180px; height: 14px; color: var(--fx); }

/* ---- Where / who -------------------------------------------------------------------------- */
.ww { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.ww > div { padding: 20px 22px; }
.ww b { display: block; margin-bottom: 4px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fx); }
.ww--line { display: block; padding: 18px 22px; border-left: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); }
.ww--line strong { color: var(--head); }

/* ---- What it is --------------------------------------------------------------------------- */
.ab--cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 32px; }
.ab--cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.ab--cards > div { padding: 24px; }
.ab--cards h3 { margin-bottom: 8px; color: var(--fx); }
.ab--flow { column-width: 320px; column-gap: 48px; column-rule: 1px solid var(--line); }
.ab--flow p { margin: 0 0 16px; }
.ab--drop p:first-child::first-letter { float: left; font-family: var(--font-head); font-size: 4.2rem; line-height: .82; padding: 6px 10px 0 0; color: var(--fx); }
.ab--more { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px 40px; }
.ab--more h3 { font-family: var(--font-head); font-size: 1.35rem; font-weight: var(--head-weight); margin-bottom: 8px; }
.ab--more ul, .ab--more ol { padding-left: 1.2em; }
.ab--more ul { list-style: disc; }
.ab--more ol { list-style: decimal; }
.ab--more li + li { margin-top: 6px; }
.ab--more li::marker { color: var(--fx); }

/* ---- Flows: shared -------------------------------------------------------------------------- */
.fl { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.fl__n { font-family: var(--font-head); font-weight: 700; color: var(--fx); }
.fl h3 { color: var(--head); }
.fl p { font-size: .98rem; line-height: 1.6; }

/* track: cards with a coloured top edge and a big number (Point of sale) */
.fl--track > div { display: flex; flex-direction: column; border-top: 3px solid var(--fx); border-radius: 0 0 14px 14px; background: var(--card); overflow: hidden; }
.fl--track .fl__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px 10px; }
.fl--track .fl__n { font-size: 1.9rem; line-height: 1; }
.fl--track p { padding: 12px 16px 18px; }

/* zigzag: wide alternating rows (Menu) */
.fl--zigzag { grid-template-columns: 1fr; gap: 0; }
.fl--zigzag > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px; align-items: center; padding: 30px 0; border-bottom: 1px dashed var(--line); }
.fl--zigzag > div:nth-child(even) > :first-child { order: 2; }
.fl--zigzag .fl__n { font-size: 3.4rem; font-style: italic; line-height: 1; }
.fl--zigzag h3 { font-family: var(--font-head); font-size: 1.6rem; font-weight: var(--head-weight); margin: 6px 0; }
.fl--zigzag img { border-radius: 10px; border: 1px solid var(--line); }

/* timeline: a line with a dot per step (Floor plan, Voids) */
.fl--timeline { grid-template-columns: 1fr; gap: 0; padding-left: 28px; border-left: 2px solid var(--fx); }
.fl--timeline > div { position: relative; display: flex; flex-direction: column; gap: 10px; padding-bottom: 30px; }
.fl--timeline > div::before { content: ''; position: absolute; left: -38px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 2px solid var(--fx); }
.fl--timeline .fl__n { font-family: var(--font-body); font-size: .86rem; letter-spacing: .1em; }
.fl--timeline img { border-radius: 10px; }
.fx-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); gap: 36px; align-items: start; }
.fx-duo__h { margin-bottom: 18px; font-size: .84rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fx); }

/* board: New / Cooking / Ready columns of tickets (Kitchen display) */
.fl--board { grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fl--board > div { border-right: 1px solid var(--line); }
.fl--board .fl__col { display: flex; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 700; letter-spacing: .14em; }
.fl--board .fl__tickets { display: flex; flex-direction: column; gap: 14px; padding: 14px; }
.fl--board .fl__ticket { border: 1.5px solid var(--col); border-radius: 14px; background: var(--bg); overflow: hidden; }
.fl--board .fl__ticket header { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px 8px; }
.fl--board .fl__ticket header span { font-size: .84rem; font-weight: 700; color: var(--col); text-align: right; }
.fl--board .fl__ticket p { padding: 10px 14px 14px; }
.col--new { --col: #ef6b5b; background: rgba(239, 107, 91, .06); }
.col--cook { --col: #f5a524; background: rgba(245, 165, 36, .06); }
.col--ready { --col: #3ecf7a; background: rgba(62, 207, 122, .06); }
.fl--board .fl__col { color: var(--col); }

/* channels: groups with a pill heading (Table ordering) */
.fl-group + .fl-group { margin-top: 30px; }
.fl-group__h { display: inline-block; margin-bottom: 16px; padding: 6px 16px; border-radius: 99px; background: var(--fx); color: var(--fx-ink); font-weight: 700; }
.fl--channels > div { display: flex; flex-direction: column; border-radius: 22px; background: var(--card); overflow: hidden; }
.fl--channels .fl__body { display: flex; gap: 14px; padding: 16px 18px 20px; }
.fl--channels .fl__n { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--fx-soft); font-family: var(--font-body); }

/* route: map pins on a dashed line (WhatsApp ordering, Delivery) */
.fl--route { gap: 34px 22px; }
.fl--route > div { display: flex; flex-direction: column; gap: 12px; }
.fl--route .fl__pin { display: flex; align-items: center; gap: 10px; }
.fl--route .fl__pin b { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--fx); }
.fl--route .fl__pin b span { transform: rotate(45deg); color: var(--fx-ink); }
.fl--route .fl__pin i { flex: 1; border-top: 2px dashed var(--line); }
.fl--route img { border-radius: 12px; border: 1px solid var(--line); }

/* stubs: tear-off tickets (Payments) */
.fl--stubs > div { display: grid; grid-template-columns: 62px minmax(0, 1fr); background: var(--hot-bg); color: var(--hot-text); }
.fl--stubs .fl__n { padding-top: 16px; text-align: center; border-right: 2px dashed rgba(0, 0, 0, .22); font-family: var(--font-body); color: var(--hot-head); }
.fl--stubs h3 { color: var(--hot-head); }
.fl--stubs .fl__body { padding: 12px 14px 16px; }

/* cards: a chip in the corner (Gift cards) */
.fl--cards > div { border-radius: 18px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.fl--cards .fl__head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-size: .82rem; letter-spacing: .2em; color: var(--fx); }
.fl--cards .fl__head i { width: 34px; height: 24px; border-radius: 5px; background: var(--fx); }
.fl--cards .fl__body { padding: 14px 16px 18px; }

/* gridlines: a ruled grid (Tax) */
.fl--gridlines { gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.fl--gridlines > div { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fl--gridlines .fl__meta { display: flex; justify-content: space-between; font-size: .84rem; font-weight: 700; }
.fl--gridlines .fl__meta span { color: var(--muted); }

/* ledger: numbered entries (Cash & end of day) */
.fl--ledger { grid-template-columns: 1fr; gap: 0; }
.fl--ledger > div { display: grid; grid-template-columns: 64px minmax(0, 1fr); padding: 18px 0; border-bottom: 1px solid var(--line); }
.fl--ledger .fl__n { font-size: 1.5rem; color: var(--accent); }
.fl--ledger .fl__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; align-items: center; }
.fl--ledger small { display: block; margin-top: 6px; font-size: .8rem; letter-spacing: .1em; color: var(--fx); }
.fl--ledger img { border-radius: 8px; }

/* pairs: image beside the words (Recipes & inventory) */
.fl--pairs { grid-template-columns: repeat(auto-fill, minmax(min(440px, 100%), 1fr)); }
.fl--pairs > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 18px; background: var(--card); overflow: hidden; }
.fl--pairs img { height: 100%; min-height: 150px; aspect-ratio: auto; }
.fl--pairs .fl__body { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.fl__chip { align-self: flex-start; padding: 2px 10px; border-radius: 99px; background: var(--fx-soft); color: var(--fx); font-size: .8rem; font-weight: 700; }

/* week: coloured headers like shifts (Staff & scheduling) */
.fl--week > div { border-radius: 18px; background: var(--card); overflow: hidden; }
.fl--week .fl__head { display: flex; justify-content: space-between; padding: 12px 16px; background: var(--c); color: #0f1d17; font-weight: 700; }
.fl--week .fl__body { padding: 14px 16px 18px; }

/* rows: wide rows, words then picture (Team & permissions, Waiter app) */
.fl--rows { grid-template-columns: 1fr; gap: 16px; }
.fl--rows > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); border-radius: 18px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.fl--rows .fl__body { padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.fl--rows .fl__n { font-size: 2.6rem; line-height: 1; }
.fl--rows img { height: 100%; min-height: 170px; aspect-ratio: auto; }

/* notes: footnotes of a statement (Profit & loss) */
.fl--notes { gap: 34px 28px; }
.fl--notes > div { display: flex; flex-direction: column; gap: 10px; }
.fl--notes .fl__head { display: flex; align-items: baseline; gap: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--head); }
.fl--notes .fl__head span { font-family: var(--font-head); color: var(--fx); }
.fl--notes h3 { font-family: var(--font-head); font-size: 1.3rem; font-weight: var(--head-weight); }

/* numbered: square numbers (QuickBooks & Xero) */
.fl--numbered > div { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); }
.fl--numbered .fl__head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.fl--numbered .fl__n { display: grid; place-items: center; width: 32px; height: 32px; background: var(--fx); color: var(--fx-ink); font-family: var(--font-body); }
.fl--numbered p { padding: 14px 16px 18px; }

/* badged: a label over the picture (Several locations) */
.fl--badged > div { display: flex; flex-direction: column; gap: 10px; }
.fl--badged .fl__pic { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.fl--badged .fl__pic span { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 99px; background: var(--b); color: #0f1d17; font-size: .8rem; font-weight: 700; }

/* acts: a programme in three acts (Events & banquets) */
.fl-act + .fl-act { margin-top: 40px; }
.fl-act__h { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; font-family: var(--font-head); font-style: italic; font-size: 1.5rem; color: var(--fx); }
.fl-act__h::before, .fl-act__h::after { content: ''; flex: 1; border-top: 1px solid var(--fx); opacity: .6; }
.fl--acts > div { display: flex; flex-direction: column; gap: 10px; text-align: center; }
.fl--acts img { padding: 6px; background: var(--card); border: 1px solid var(--line); }
.fl--acts .fl__n { font-style: italic; font-size: 1.3rem; }
.fl--acts h3 { font-family: var(--font-head); font-size: 1.4rem; font-weight: var(--head-weight); }

/* persona: who sees it (Home dashboard) */
.fl--persona > div { border-radius: 20px; background: var(--card); overflow: hidden; }
.fl--persona .fl__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }

/* tour: a figure grid with big numbers (Reports & insights) */
.fl--tour { gap: 26px 20px; }
.fl--tour figure { display: flex; flex-direction: column; gap: 8px; }
.fl--tour img { border: 1px solid var(--line); }
.fl--tour .fl__n { font-size: 1.5rem; }

/* chat: a conversation (Order activity) */
.fl--chat { grid-template-columns: 1fr; gap: 20px; padding: clamp(14px, 3vw, 30px); border-radius: 26px; background: var(--card); }
.fl--chat > div { display: flex; }
.fl--chat .fl__msg { width: min(560px, 100%); display: flex; flex-direction: column; gap: 6px; }
.fl--chat .fl__who { font-size: .84rem; font-weight: 700; color: var(--m); }
.fl--chat .fl__bubble { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 4px 20px 20px 20px; background: var(--bg); border: 1px solid var(--line); }
.fl--chat .fl__bubble img { border-radius: 12px; }
.fl--chat .is-right { justify-content: flex-end; }
.fl--chat .is-right .fl__who { text-align: right; }
.fl--chat .is-right .fl__bubble { border-radius: 20px 4px 20px 20px; }
.fl--chat .is-mid { justify-content: center; }
.fl--chat .is-mid .fl__who { text-align: center; }
.fl--chat .is-mid .fl__bubble { border-radius: 20px; }

/* twin: two wide cards a row (Customers & loyalty) */
.fl--twin { grid-template-columns: repeat(auto-fill, minmax(min(460px, 100%), 1fr)); }
.fl--twin > div { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 22px; background: var(--card); }
.fl--twin .fl__head { display: flex; align-items: center; gap: 12px; }
.fl--twin .fl__n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--fx); color: var(--fx-ink); font-family: var(--font-body); flex: none; }
.fl--twin img { border-radius: 14px; }

/* masonry: a wall of cards (Feedback & reviews) */
.fl--masonry { display: block; column-width: 300px; column-gap: 20px; }
.fl--masonry > div { break-inside: avoid; margin: 0 0 20px; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.fl--masonry .fl__head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--fx); }
.fl--masonry .fl__head span { font-size: .8rem; padding: 2px 10px; border-radius: 99px; background: var(--fx-soft); color: var(--fx); }
.fl--masonry img { border-radius: 12px; }

/* moment: plain pictures with a small number (Notifications) */
.fl--moment > div { display: flex; flex-direction: column; gap: 10px; }
.fl--moment img { border-radius: 16px; border: 1px solid var(--line); }
.fl--moment .fl__n { font-family: var(--font-body); }

/* prompt: two tracks of questions (AI assistant) */
.fl--prompt { grid-template-columns: 1fr; gap: 14px; }
.fl--prompt > div { border-radius: 16px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.fl--prompt .fl__head { display: flex; gap: 10px; align-items: baseline; padding: 12px 16px; }
.fl--prompt .fl__head span { color: var(--fx); font-family: ui-monospace, Menlo, Consolas, monospace; }
.fl--prompt p { padding: 12px 16px 16px; }

/* check: a ticked list (Getting started) */
.fl--check { grid-template-columns: 1fr; gap: 16px; }
.fl--check > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; align-items: center; padding: 20px; border-radius: 24px; background: var(--card); }
.fl--check .fl__body { display: flex; gap: 16px; align-items: flex-start; }
.fl--check .fl__tick { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--fx-soft); color: var(--fx); }
.fl--check .fl__tick svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.fl--check small { font-weight: 700; letter-spacing: .1em; color: var(--fx); }
.fl--check img { border-radius: 16px; }

/* plain: a simple grid (Settings & themes) */
.fl--plain > div { display: flex; flex-direction: column; gap: 10px; }
.fl--plain img { border-radius: 14px; border: 1px solid var(--line); }

/* the extra pictures after the details: as wide as the row allows */
.fx-more { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }

/* tagged: a language tag on the picture (Languages) */
.fl--tagged { gap: 30px 20px; }
.fl--tagged > div { display: flex; flex-direction: column; gap: 10px; }
.fl--tagged .fl__pic { position: relative; }
.fl--tagged .fl__pic img { border: 2px solid var(--head); }
.fl--tagged .fl__pic span { position: absolute; bottom: -12px; right: 12px; padding: 4px 12px; background: var(--accent); color: #3a1208; font-size: .84rem; font-weight: 700; }
.fl--tagged h3 { margin-top: 8px; }

/* big: two large cards a row (Subscription & support) */
.fl--big { grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); }
.fl--big > div { border-radius: 24px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.fl--big .fl__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; }
.fl--big small { font-weight: 700; color: var(--fx); }

/* ---- Details blocks ------------------------------------------------------------------------- */
.dt-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.dt-cols h3 { padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--line); font-size: .86rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.dt-cols p { margin-bottom: 10px; font-size: .96rem; }
.dt-cols p b { color: var(--head); }

.dt-leaders { padding: clamp(24px, 4vw, 48px); background: var(--hot-bg); color: var(--hot-text); border-radius: 4px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px 48px; }
.dt-leaders > div { display: flex; flex-direction: column; gap: 2px; }
.dt-leaders .dt__line { display: flex; align-items: baseline; gap: 8px; }
.dt-leaders .dt__line b { font-family: var(--font-head); font-size: 1.2rem; color: var(--hot-head); white-space: nowrap; }
.dt-leaders .dt__line i { flex: 1; border-bottom: 2px dotted var(--hot-muted); transform: translateY(-4px); }
.dt-leaders .dt__line span { font-size: .82rem; font-weight: 700; color: var(--hot-tick); white-space: nowrap; }
.dt-leaders p { font-size: .94rem; line-height: 1.55; }

.dt-spec { border: 1px solid var(--line); border-radius: 4px; }
.dt-spec > div { display: grid; grid-template-columns: minmax(130px, 220px) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.dt-spec > div:last-child { border-bottom: 0; }
.dt-spec b { padding: 12px 16px; border-right: 1px solid var(--line); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .82rem; font-weight: 500; color: var(--fx); }
.dt-spec span { padding: 12px 16px; }

.dt-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.dt-tiles > div { padding: 16px 18px; border-radius: 12px; background: var(--card); border-top: 4px solid var(--col, var(--fx)); }
.dt-tiles b { display: block; margin-bottom: 4px; color: var(--head); }

.dt-table { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.dt-table table { width: 100%; min-width: 700px; border-collapse: collapse; font-size: .95rem; }
.dt-table th, .dt-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.dt-table thead th { border-top: 0; background: var(--card); color: var(--head); }
.dt-table tbody th { color: var(--fx); white-space: nowrap; }
.dt-table .is-none { color: var(--muted); }
.dt-table .is-all { color: var(--head); font-weight: 700; }

.dt-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.dt-groups > div { display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.dt-groups h3 { font-size: .86rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fx); }
.dt-groups p { padding-left: 14px; border-left: 2px solid var(--line); font-size: .95rem; }

.dt-receipt { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 36px; align-items: start; }
.dt-receipt__paper { padding: 26px 24px; background: var(--hot-bg); color: var(--hot-text); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9rem; border-top: 6px dashed var(--bg); border-bottom: 6px dashed var(--bg); }
.dt-receipt__paper > div { padding: 10px 0; border-bottom: 1px dashed rgba(0, 0, 0, .2); }
.dt-receipt__paper .dt__top { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; color: var(--hot-head); }
.dt-receipt__paper .dt__top span { color: var(--hot-tick); text-align: right; }
.dt-receipt__paper p { font-family: var(--font-body); font-size: .94rem; line-height: 1.5; }
.dt-receipt__paper .dt__total { display: flex; justify-content: space-between; border: 0; font-weight: 700; color: var(--hot-head); }

.dt-kinds { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.dt-kinds > div { min-height: 180px; aspect-ratio: 1.586; padding: 20px; border-radius: 18px; display: flex; flex-direction: column; justify-content: space-between; background: var(--k); color: #14110d; }
.dt-kinds b { font-size: 1.2rem; }
.dt-kinds span { font-size: .92rem; line-height: 1.5; }

.dt-countries { display: flex; flex-direction: column; gap: 10px; }
.dt-countries details { border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.dt-countries summary { cursor: pointer; padding: 16px 20px; font-family: var(--font-head); font-size: 1.3rem; color: var(--head); list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.dt-countries summary::-webkit-details-marker { display: none; }
.dt-countries summary span { font-family: var(--font-body); font-size: .94rem; color: var(--muted); }
.dt-countries summary::after { content: '+'; color: var(--fx); font-family: var(--font-body); }
.dt-countries details[open] summary::after { content: '–'; }
.dt-countries .dt__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; padding: 4px 20px 22px; }
.dt-countries .dt__in p { padding: 8px 0 8px 16px; border-left: 3px solid var(--fx); font-size: .95rem; }
.dt-countries .dt__in img { border-radius: 10px; }

.dt-formula { padding: 28px clamp(18px, 3vw, 36px); border-radius: var(--radius); background: var(--fx-soft); }
.dt-formula b { display: block; margin-bottom: 8px; font-size: .82rem; letter-spacing: .12em; color: var(--fx); }
.dt-formula code { display: block; font-size: clamp(1.1rem, 2.4vw, 1.7rem); line-height: 1.4; color: var(--head); font-family: ui-monospace, Menlo, Consolas, monospace; }
.dt-steps5 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.dt-steps5 > div { display: flex; flex-direction: column; gap: 6px; padding: 18px; }
.dt-steps5 i { display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid var(--fx); color: var(--fx); font-style: normal; font-weight: 700; }
.dt-steps5 b { color: var(--head); }

.dt-rules { display: flex; flex-direction: column; gap: 10px; }
.dt-rules p { padding: 12px 16px; border-radius: 10px; background: var(--card); }
.dt-rules p span { margin-right: 8px; font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--accent); }

.dt-pipe { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 26px; border-radius: 22px; background: var(--card); }
.dt-pipe > div { display: flex; align-items: center; gap: 10px; }
.dt-pipe__box { min-width: 128px; padding: 14px 16px; border-radius: 14px; display: flex; flex-direction: column; background: var(--b); color: var(--i); }
.dt-pipe__box b { font-size: 1rem; }
.dt-pipe__box span { font-size: .84rem; }
.dt-pipe svg { width: 26px; height: 14px; fill: none; stroke: var(--fx); stroke-width: 2; }
.dt-parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.dt-parts > div { padding: 18px; border-radius: 16px; border: 1.5px solid var(--line); }
.dt-parts b { display: block; margin-bottom: 4px; color: var(--head); }

.dt-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; padding: 16px; border-radius: 18px; background: var(--card); }
.dt-strip > div { display: flex; flex-direction: column; gap: 6px; }
.dt-strip b { font-size: .8rem; text-align: center; color: var(--muted); }
.dt-strip i { border-radius: 6px; background: var(--c); }
.dt-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: .88rem; font-weight: 700; margin-bottom: 12px; }
.dt-legend span::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; background: var(--c); }

.dt-roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.dt-roles > div { border-radius: 16px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.dt-roles > div::before { content: ''; display: block; height: 10px; background: var(--c); }
.dt-roles .dt__in { display: flex; flex-direction: column; gap: 8px; padding: 16px; }
.dt-roles i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c); color: #0f1d17; font-style: normal; font-weight: 700; }
.dt-roles b { font-size: 1.2rem; color: var(--head); }
.dt-roles span { font-size: .92rem; }

.dt-statement { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 44px; align-items: start; }
.dt-statement__lines > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dt-statement__lines b { font-family: var(--font-head); font-size: 1.15rem; font-weight: 400; color: var(--head); }
.dt-statement__lines span { font-size: .92rem; color: var(--muted); }
.dt-statement__lines .is-less { padding-left: 22px; }
.dt-statement__lines .is-total { border-bottom: 3px double var(--head); }
.dt-statement__lines .is-total b { font-weight: 700; color: var(--fx); }
.dt-statement__lines .is-below { border-bottom: 0; }

.dt-journal { border: 2px solid var(--head); border-radius: 4px; background: var(--card); }
.dt-journal__top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 12px 18px; border-bottom: 2px solid var(--head); font-weight: 700; color: var(--head); }
.dt-journal__top span { color: var(--fx); }
.dt-journal__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.dt-journal__cols > div { display: flex; flex-direction: column; gap: 12px; padding: 18px; }
.dt-journal__cols > div:first-child { border-right: 2px solid var(--head); }
.dt-journal__cols h3 { font-size: .8rem; letter-spacing: .14em; color: var(--fx); }
.dt-journal__cols p { padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.dt-journal__cols p b { color: var(--head); }

.dt-hub { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; padding: 30px 0; }
.dt-hub__side { display: flex; flex-direction: column; gap: 34px; }
.dt-hub__side > div { display: flex; align-items: center; }
.dt-hub__side i { flex: 1; border-top: 2px dashed var(--line); }
.dt-hub__node { flex: none; width: min(170px, 100%); padding: 14px; border-radius: 16px; border: 1.5px solid #8fd0f0; background: var(--card); font-size: .86rem; }
.dt-hub__node b { display: block; font-size: 1rem; color: var(--head); }
.dt-hub__core { width: clamp(140px, 17vw, 210px); aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; padding: 16px; background: var(--fx); color: var(--fx-ink); box-shadow: 0 0 0 12px var(--fx-soft); }
.dt-hub__core b { font-size: 1.2rem; }

.dt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); border-top: 1px solid var(--fx); border-left: 1px solid var(--fx); }
.dt-grid > div { padding: 18px; border-right: 1px solid var(--fx); border-bottom: 1px solid var(--fx); }
.dt-grid b { display: block; font-family: var(--font-head); font-size: 1.3rem; color: var(--head); }

.dt-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.dt-bento > div { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 20px; background: var(--card); }
.dt-bento b { font-size: .78rem; letter-spacing: .1em; color: var(--fx); }
.dt-bento .s2 { grid-column: span 2; } .dt-bento .s3 { grid-column: span 3; } .dt-bento .s4 { grid-column: span 4; } .dt-bento .s6 { grid-column: span 6; }
.dt-bento .is-hot { background: var(--fx); color: var(--fx-ink); }
.dt-bento .is-hot b { color: var(--fx-ink); opacity: .8; }
.dt-bento .is-hot strong { font-size: clamp(1.2rem, 2.2vw, 1.7rem); line-height: 1.3; }
.dt-bento .is-paper { background: var(--hot-bg); color: var(--hot-text); }
.dt-bento .is-paper b { color: var(--hot-tick); }

.dt-toc > div { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dt-toc .dt__n { font-family: var(--font-head); font-size: 2.6rem; line-height: 1; color: var(--accent); }
.dt-toc h3 { color: var(--head); }
.dt-toc img { width: clamp(90px, 16vw, 190px); height: auto; aspect-ratio: 128 / 62; object-fit: cover; object-position: center top; border: 1px solid var(--line); }
.dt-toc .dt__tag { font-size: .84rem; color: var(--muted); white-space: nowrap; }

.dt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dt-chips span { padding: 8px 14px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font-size: .94rem; font-weight: 600; }

.dt-segs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.dt-segs > div { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 24px; background: var(--card); }
.dt-segs .dt__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.dt-segs .dt__pills span { padding: 8px 14px; border-radius: 99px; background: var(--c); color: #12262a; font-weight: 700; font-size: .92rem; }
.dt-segs .dt__ladder { display: flex; align-items: flex-end; gap: 8px; height: 140px; }
.dt-segs .dt__ladder span { flex: 1; height: var(--h); border-radius: 12px 12px 4px 4px; background: var(--c); color: #12262a; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; font-weight: 700; font-size: .86rem; }

.dt-dark2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 18px; }
.dt-dark2 > div { padding: 24px; border-radius: 22px; background: var(--hot-bg); color: var(--hot-text); }
.dt-dark2 h3 { margin-bottom: 8px; color: var(--hot-head); font-family: var(--font-head); font-size: 1.35rem; font-weight: var(--head-weight); }
.dt-dark2 small { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--hot-tick); }

.dt-who { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.dt-who > div { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.dt-who b { color: var(--head); }
.dt-who small { align-self: flex-start; margin-top: 4px; padding: 2px 8px; border-radius: 99px; background: var(--fx-soft); color: var(--fx); font-size: .74rem; font-weight: 700; letter-spacing: .06em; }
.dt-phone { justify-self: center; width: min(320px, 100%); padding: 14px; border-radius: 44px; background: var(--frame); border: 2px solid var(--line); }
.dt-phone__screen { display: flex; flex-direction: column; gap: 10px; padding: 26px 14px 22px; border-radius: 32px; background: var(--cream-2); }
.dt-phone__time { text-align: center; font-size: 2.8rem; font-weight: 300; color: var(--head); }
.dt-phone__note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, .08); }
.dt-phone__note i { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--bg); color: var(--brand); font-style: normal; font-weight: 700; font-size: .8rem; }
.dt-phone__note b { display: block; font-size: .9rem; color: var(--head); }
.dt-phone__note span { font-size: .84rem; }

.dt-apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.dt-apps > div { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 20px; background: var(--card); }
.dt-apps .dt__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.dt-apps b { font-size: 1.08rem; color: var(--head); }
.dt-apps small { padding: 2px 10px; border-radius: 99px; background: var(--fx-soft); color: var(--fx); font-weight: 700; white-space: nowrap; }
.dt-shelf { padding: 40px 24px 0; border-radius: 28px; background: var(--card); }
.dt-shelf__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; align-items: end; }
.dt-shelf figure { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dt-shelf .device { width: 100%; max-width: 210px; transform: translateY(var(--lift, 0)); }
.dt-shelf figcaption { font-weight: 700; color: var(--head); margin: 0; }
.dt-shelf__base { height: 16px; margin: 20px -24px 0; border-radius: 0 0 28px 28px; background: var(--line); }

.dt-ask { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.dt-ask__bar { width: min(720px, 100%); display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.dt-ask__bar span { flex: 1; color: var(--muted); }
.dt-ask__bar b { padding: 4px 12px; border-radius: 8px; background: var(--fx); color: var(--fx-ink); font-size: .86rem; }
.dt-ask__bar svg { width: 22px; height: 22px; fill: none; stroke: var(--fx); stroke-width: 1.8; stroke-linecap: round; }
.dt-ask .dt-chips { justify-content: center; max-width: 760px; }

.dt-progress { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; padding: 22px 24px; border-radius: 22px; background: var(--card); }
.dt-progress > div { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.dt-progress .dt__dot { display: flex; align-items: center; width: 100%; }
.dt-progress .dt__dot i { flex: 1; height: 4px; background: var(--fx-soft); }
.dt-progress .dt__dot b { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--fx); color: var(--fx-ink); font-size: .86rem; }
.dt-progress > div:first-child .dt__dot i:first-child, .dt-progress > div:last-child .dt__dot i:last-child { visibility: hidden; }
.dt-progress span { font-size: .74rem; font-weight: 700; line-height: 1.3; }

.dt-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.dt-swatches > div { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.dt-swatches .dt__chip { height: 108px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; background: var(--s-bg); }
.dt-swatches .dt__chip span { display: flex; gap: 6px; }
.dt-swatches .dt__chip i { height: 10px; width: 60%; border-radius: 5px; background: var(--s-ink); }
.dt-swatches .dt__chip u { width: 14px; height: 14px; border-radius: 50%; background: var(--s-ac); }
.dt-swatches .dt__chip em { width: 50%; height: 12px; border-radius: 6px; background: var(--s-ac); }
.dt-swatches .dt__name { padding: 12px 14px; }
.dt-swatches .dt__name b { display: block; color: var(--head); }
.dt-swatches .dt__name span { font-size: .88rem; color: var(--muted); }
.dt-looks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 22px; }
.dt-looks img { display: block; width: 100%; height: auto; border-radius: 10px; }

.dt-scripts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border-top: 2px solid var(--head); border-bottom: 2px solid var(--head); }
.dt-scripts > div { padding: 26px 18px; border-right: 1px solid var(--line); }
.dt-scripts > div:last-child { border-right: 0; }
.dt-scripts b { display: block; font-family: var(--font-head); font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.2; color: var(--head); }
.dt-scripts b[lang="ar"] { font-family: 'Noto Naskh Arabic', var(--font-head), serif; color: var(--fx); }
.dt-scripts b[lang="hi"] { font-family: 'Noto Sans Devanagari', var(--font-body), sans-serif; }
.dt-scripts span { font-size: .9rem; color: var(--muted); }

.dt-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; align-items: stretch; }
.dt-plans > div { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 24px; background: var(--card); border: 1.5px solid var(--line); }
.dt-plans small { font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.dt-plans strong { font-family: var(--font-head); font-size: 1.8rem; color: var(--head); }
.dt-plans .dt__price { font-size: 1.05rem; color: var(--head); }
.dt-plans .dt__price b { font-family: var(--font-head); font-size: 2.2rem; color: var(--fx); }
.dt-plans .is-pick { background: var(--fx); border-color: var(--fx); color: var(--fx-ink); }
.dt-plans .is-pick small, .dt-plans .is-pick strong, .dt-plans .is-pick .dt__price, .dt-plans .is-pick .dt__price b { color: var(--fx-ink); }

/* ---- Good to know ---------------------------------------------------------------------------- */
.gk { margin-top: 84px; }
.gk h2 { margin-bottom: 16px; }
.gk--brand { padding: 32px; border-radius: 20px; background: var(--fx); color: var(--fx-ink); }
.gk--brand h2 { color: var(--fx-ink); }
.gk--brand p { padding-left: 24px; position: relative; font-size: 1.05rem; }
.gk--brand p + p { margin-top: 10px; }
.gk--brand p::before { content: '→'; position: absolute; left: 0; font-weight: 700; }
.gk--frame { padding: 34px; border: 2px solid var(--head); }
.gk--frame p::before { content: '✦ '; color: var(--fx); }
.gk--frame p + p { margin-top: 10px; }
.gk--notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.gk--notes h2 { grid-column: 1 / -1; }
.gk--notes p { padding: 18px; border: 1px solid var(--fx); border-radius: 4px; font-size: .96rem; }
.gk--notes p span { display: block; margin-bottom: 6px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .76rem; color: var(--fx); }
.gk--bar { padding: 24px 28px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.gk--bar h2 { color: #3ecf7a; font-size: 1.5rem; }
.gk--bar > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px 28px; }
.gk--split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 28px; padding: 30px; border-radius: 22px; background: var(--cream-2); }
.gk--split h2 { margin-bottom: 8px; }
.gk--split > div:last-child p { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.gk--split > div:last-child p + p { margin-top: 10px; }
.gk--bubbles { display: flex; flex-direction: column; gap: 12px; }
.gk--bubbles p { align-self: flex-start; max-width: 720px; padding: 12px 16px; border-radius: 4px 16px 16px 16px; background: var(--card); }
.gk--paper { padding: 30px; background: var(--hot-bg); color: var(--hot-text); border-radius: 4px; }
.gk--paper h2 { color: var(--hot-head); }
.gk--paper p + p { margin-top: 8px; }
.gk--paper p::before { content: '✓ '; color: var(--hot-tick); font-weight: 700; }
.gk--rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.gk--rules h2 { grid-column: 1 / -1; }
.gk--rules p { padding-top: 12px; border-top: 2px solid var(--fx); }
.gk--tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.gk--tiles h2 { grid-column: 1 / -1; }
.gk--tiles p { padding: 18px; border-radius: 16px; background: var(--fx-soft); }
.gk--numbered { padding: 32px; border: 1px solid var(--head); outline: 1px solid var(--head); outline-offset: 4px; }
.gk--numbered ol { padding-left: 1.3em; list-style: decimal; }
.gk--numbered li + li { margin-top: 8px; }

/* ---- Related and questions --------------------------------------------------------------------- */
.fx-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.fx-related a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.fx-related a:hover { border-color: var(--fx); }
.fx-related b { color: var(--head); }
.fx-related span { font-size: .92rem; color: var(--muted); }
.fx .page__faq { max-width: 46em; }
.fx-pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 48px; }
.fx-pager a { display: inline-flex; flex-direction: column; min-height: 44px; padding: 12px 18px; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.fx-pager a:last-child { align-items: flex-end; margin-left: auto; }
.fx-pager small { font-size: .78rem; color: var(--muted); }
.fx-pager b { color: var(--head); }

/* ---- The picture viewer (assets/zoom.js) --------------------------------------------------------
   Every screenshot is wrapped in a .fx-zoom button; a magnifier shows on hover (always on touch screens). */
.fx-zoom { position: relative; display: block; width: 100%; padding: 0; margin: 0; border: 0; border-radius: inherit; background: none; color: inherit; font: inherit; text-align: inherit; cursor: zoom-in; }
.fx-zoom::after { content: ''; position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(15, 29, 23, .82) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5efe0' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M20.5 20.5l-4.8-4.8M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 19px no-repeat; opacity: 0; transition: opacity .15s ease; pointer-events: none; }
.fx-zoom:hover::after, .fx-zoom:focus-visible::after { opacity: 1; }
@media (hover: none) { .fx-zoom::after { opacity: .9; } }
.fl--pairs .fx-zoom, .fl--rows .fx-zoom { height: 100%; }
.dt-toc .fx-zoom { width: auto; }
html.zoom-open { overflow: hidden; }
.zoom { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 11, 8, .96); color: var(--text); }
.zoom[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.zoom::backdrop { background: rgba(5, 11, 8, .9); }
.zoom__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.zoom__count { font-size: .9rem; color: var(--muted); }
.zoom__close, .zoom__nav { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--head); cursor: pointer; }
.zoom__nav[hidden] { display: none; }
.zoom__close svg, .zoom__nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.zoom__close:hover, .zoom__nav:hover { border-color: var(--brand); color: var(--brand); }
.zoom__fig { margin: 0; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 0 80px 24px; }
.zoom__img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 200px); border-radius: 10px; background: #0b1410; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.zoom__cap { display: flex; flex-direction: column; gap: 4px; max-width: 780px; text-align: center; }
.zoom__cap b { font-size: 1.05rem; color: var(--head); }
.zoom__cap span { font-size: .95rem; line-height: 1.5; }
.zoom__cap span:empty { display: none; }
.zoom__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.zoom__prev { left: 16px; }
.zoom__next { right: 16px; }
@media (max-width: 700px) {
  .zoom__fig { padding: 0 12px 86px; }
  .zoom__img { max-height: calc(100vh - 270px); }
  .zoom__nav { top: auto; bottom: 20px; transform: none; }
  .zoom__prev { left: calc(50% - 58px); }
  .zoom__next { right: calc(50% - 58px); }
}
@media (prefers-reduced-motion: reduce) { .fx-zoom::after { transition: none; } }

/* ---- The /features overview ------------------------------------------------------------------- */
.fxo { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding: 36px 0 80px; }
.fxo__side { flex: 1 1 240px; max-width: 280px; display: flex; flex-direction: column; gap: 18px; padding: 18px 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.fxo__side h2 { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 10px 4px; }
.fxo__side a { display: flex; gap: 10px; align-items: center; min-height: 40px; padding: 6px 10px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: .96rem; }
.fxo__side a:hover { background: var(--cream-2); color: var(--head); }
.fxo__side a span { min-width: 22px; font-size: .76rem; font-weight: 700; color: var(--muted); }
.fxo__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 48px; }
.fxo__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.fxo__stats > div { padding: 18px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.fxo__stats b { display: block; font-family: var(--font-head); font-size: 2.4rem; line-height: 1.1; color: var(--brand); }
.fxo__stats span { font-size: .9rem; color: var(--muted); }
.fxo__pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.fxo__pillars > div { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.fxo__pillars small { font-weight: 700; letter-spacing: .12em; color: var(--brand); }
.fxo__pillars h3 { font-family: var(--font-head); font-size: 1.35rem; font-weight: var(--head-weight); }
.fxo__pillars nav { display: flex; flex-wrap: wrap; gap: 6px; }
.fxo__pillars nav a { padding: 4px 12px; border-radius: 99px; border: 1px solid var(--line); color: var(--text); font-size: .86rem; text-decoration: none; }
.fxo__pillars nav a:hover { border-color: var(--brand); }
.fxo__group + .fxo__group { margin-top: 30px; }
.fxo__group h3 { margin-bottom: 14px; font-size: .84rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.fxo__cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 16px; }
.fxo__cards a { display: flex; flex-direction: column; border-radius: 16px; background: var(--card); border: 1px solid var(--line); overflow: hidden; text-decoration: none; color: var(--text); transition: transform .15s ease, border-color .15s ease; }
.fxo__cards a:hover { border-color: var(--brand); transform: translateY(-2px); }
.fxo__cards img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; border-bottom: 1px solid var(--line); background: #0b1410; }
.fxo__cards span { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 18px; }
.fxo__cards b { font-family: var(--font-head); font-size: 1.2rem; color: var(--head); }
.fxo__cards small { color: var(--muted); font-size: .9rem; line-height: 1.45; }

@media (max-width: 900px) {
  .fxh--split, .fxh--title, .fxh--band { grid-template-columns: 1fr; }
  .dt-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dt-bento .s2, .dt-bento .s3 { grid-column: span 1; }
  .dt-bento .s4, .dt-bento .s6 { grid-column: span 2; }
}
@media (max-width: 760px) {
  .fxo__side { max-width: none; flex-basis: 100%; }
  .fxo__side nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .dt-progress { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 16px; }
  .dt-toc > div { grid-template-columns: 54px minmax(0, 1fr); }
  .dt-toc img, .dt-toc .dt__tag { display: none; }
  .fl--pairs > div { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .dt-bento { grid-template-columns: minmax(0, 1fr); }
  .dt-bento .s2, .dt-bento .s3, .dt-bento .s4, .dt-bento .s6 { grid-column: span 1; }
  .dt-strip { gap: 3px; padding: 10px; }
  .dt-hub { grid-template-columns: 1fr; gap: 20px; justify-items: center; }
  .dt-hub__side i { display: none; }
  .dt-hub__side { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .fxo__cards a { transition: none; }
  .fxo__cards a:hover { transform: none; }
}
