/* placeanew.com content pages and their hubs: /for/, /guides/, /compare/, /tools/ (site_look.py).
   Loaded only on those pages, after site.css. The home page's night look on top and at the end, real
   pictures from the app, the page body on light paper for reading. Same system font, blue #0F54F2 and
   buttons as the app and the home page. */

body {
  --night: #04060d;
  --night-2: #0a0f1d;
  --ink: #f4f6fb;
  --ink-2: rgba(236, 240, 250, 0.76);
  --ink-3: rgba(236, 240, 250, 0.58);
  --edge: rgba(255, 255, 255, 0.09);
  --sky: #8fb0ff;
  --paper: #ffffff;
  --read: #1d1d1f;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  background: var(--night);
}
main { background: var(--night); }

/* Header and footer over the night, as on the home page */
.site-header { background: rgba(4, 6, 13, 0.97); border-bottom-color: var(--edge); }
.brand { color: var(--ink); }
.site-nav a { color: var(--ink-2); }
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.site-nav a[aria-current="page"] { color: #fff; background: rgba(143, 176, 255, 0.16); }
.lang-menu summary { color: var(--ink-2); }
.lang-menu summary:hover, .lang-menu[open] summary { color: #fff; background: rgba(255, 255, 255, 0.08); }
.lang-menu-list { background: rgba(12, 16, 28, 0.97); border-color: var(--edge); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); }
.lang-menu-list a { color: var(--ink); }
.lang-menu-list a:hover { background: rgba(255, 255, 255, 0.08); }
.lang-menu-list a[aria-current] { color: var(--sky); background: rgba(143, 176, 255, 0.12); }
.site-footer { background: #03050b; border-top-color: var(--edge); margin-top: 0; }
.site-footer .brand { color: var(--ink); }
.footer-brand p, .footer-links a, .lang-switch a { color: var(--ink-3); }
.footer-brand a, .footer-links a:hover, .lang-switch a:hover { color: #fff; }
.lang-switch { border-top-color: var(--edge); }
.lang-switch a:hover { background: rgba(255, 255, 255, 0.06); }
.lang-switch a[aria-current] { color: var(--sky); background: rgba(143, 176, 255, 0.12); }
.footer-legal p { color: rgba(236, 240, 250, 0.6); }
.footer-social a { color: var(--ink-2); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16) inset; }
.footer-social a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

/* Buttons on the night (same shapes as the app's) */
.btn-glow { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 10px 40px rgba(15, 84, 242, 0.5); }
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: var(--ink); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16) inset; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* Nothing on these pages moves under the mouse (owner, 12 Nov: "resme gelince cok acayip oynuyor"):
   a hover only changes a colour or an edge. */
.arrow { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* The plan's grid, faintly, behind every night head: the same squares as the app's floor plan. */
.hub-head, .doc-head { position: relative; overflow: hidden; color: var(--ink); background: radial-gradient(110% 90% at 78% 0%, #0d1838 0%, #060a17 52%, var(--night) 100%); }
.hub-head::before, .doc-head::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(143, 176, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 176, 255, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(80% 90% at 75% 10%, #000 0%, transparent 75%);
  mask-image: radial-gradient(80% 90% at 75% 10%, #000 0%, transparent 75%);
}
.hub-head > .wrap, .doc-head > .wrap { position: relative; }
.hub-head .eyebrow, .doc-eyebrow { color: #7fa3ff; }

/* Pictures: real app renders, drawings and screens */
.pic { position: relative; margin: 0; overflow: hidden; border-radius: 18px; background: var(--night-2); border: 1px solid var(--edge); }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.pic-light { background: #eceef2; }
.pic-paper { background: #fbfaf7; }
.pic-plan-dark img { object-position: 50% 6%; }
.pic-paper img { object-fit: contain; padding: 6%; }
.pic-phone { background: radial-gradient(60% 70% at 50% 55%, rgba(15, 84, 242, 0.38), transparent 70%), #070b17; }
.mini-phone {
  position: absolute; top: 7%; bottom: 7%; left: 50%; transform: translateX(-50%);
  aspect-ratio: 600 / 1305; padding: 1.6%; border-radius: 9% / 4.2%;
  background: linear-gradient(150deg, #3a4150, #11141b 40%, #0b0d12 70%, #2a303c);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 24px 60px rgba(0, 0, 0, 0.6);
}
.mini-phone img { height: 100%; border-radius: 8% / 3.7%; }

/* ------------------------------------------------------------------ hubs */
.hub-head { padding: 64px 0 36px; }
.hub-head h1 { color: #fff; font-size: clamp(2.6rem, 8.4vw, 5rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.045em; margin: 4px 0 18px; }
.hub-head .lead { max-width: 640px; color: var(--ink-2); font-size: clamp(1.05rem, 2.4vw, 1.3rem); margin: 0; }
@media (min-width: 820px) { .hub-head { padding: 96px 0 48px; } }

/* The topic chips only where they fit in two or three lines; on a phone the topics follow right below. */
.chips { list-style: none; display: none; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; }
@media (min-width: 640px) { .chips { display: flex; } }
.chips a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 8px 13px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--ink); font-size: 0.9rem; font-weight: 600; }
.chips a:hover { text-decoration: none; background: rgba(255, 255, 255, 0.11); }
.chips a span { color: var(--ink-3); font-variant-numeric: tabular-nums; }
@media (min-width: 820px) { .chips { margin-top: 32px; } .chips a { padding: 9px 14px; font-size: 0.92rem; } }

.hub-body { padding: 16px 0 72px; background: var(--night); color: var(--ink); }
.hub-body h2 { color: #fff; }

/* One card on every hub: the picture on top, the words under it. Stacked on a phone, never a sideways row;
   the last odd card sits in the middle. */
.hub-cards { list-style: none; margin: 0; padding: 8px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.hub-cards > li { flex: 1 1 100%; min-width: 0; }
@media (min-width: 640px) { .hub-cards { gap: 18px; } .hub-cards > li { flex: 0 1 calc((100% - 18px) / 2); } }
@media (min-width: 1000px) { .hub-cards { gap: 20px; } .hub-cards > li { flex-basis: calc((100% - 40px) / 3); } }
.hub-card a { display: flex; flex-direction: column; height: 100%; border-radius: 22px; overflow: hidden; background: var(--night-2); border: 1px solid var(--edge); color: var(--ink); transition: border-color 200ms ease; }
.hub-card a:hover { text-decoration: none; border-color: rgba(143, 176, 255, 0.45); }
.hub-card-pic { flex: none; aspect-ratio: 16 / 10; border: 0; border-radius: 0; }
.hub-card-copy { display: flex; flex-direction: column; flex: 1; padding: 18px 22px 22px; }
.hub-card-copy .eyebrow { color: #9db8ff; margin-bottom: 6px; }
.hub-card-copy b { display: block; color: #fff; font-size: 1.2rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; }
.hub-card-line { margin-top: 8px; color: var(--ink-2); font-size: 0.97rem; line-height: 1.45; }
.hub-card-go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; color: var(--sky); font-weight: 600; font-size: 0.95rem; }
.hub-cards-feat { padding-bottom: 24px; }

/* Topic groups: the topic's name with a small picture, then one row per question (two columns when wide) */
.topic { padding: 36px 0 24px; border-top: 1px solid var(--edge); }
.topic-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.topic-pic { width: 64px; height: 64px; flex: none; border-radius: 14px; }
.topic-pic.pic-paper img { padding: 5%; }
.topic-name h2 { font-size: clamp(1.35rem, 4.2vw, 1.7rem); letter-spacing: -0.025em; margin: 0 0 2px; }
.topic-name p { margin: 0; color: var(--ink-3); font-size: 0.92rem; }
@media (min-width: 960px) {
  .topic { padding: 48px 0 32px; }
  .topic-pic { width: 72px; height: 72px; }
  .topic .rows { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .topic .rows > li { display: flex; }
  .topic .rows .row { flex: 1; }
}

.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--edge); }
.row { display: flex; align-items: center; gap: 16px; padding: 17px 6px; border-bottom: 1px solid var(--edge); color: var(--ink); transition: background-color 200ms ease; }
.row:hover { text-decoration: none; background: rgba(255, 255, 255, 0.035); }
.row-text { flex: 1; min-width: 0; }
.row-text b { display: block; color: #fff; font-size: 1.07rem; font-weight: 650; line-height: 1.3; letter-spacing: -0.01em; }
.row-text span { display: block; margin-top: 3px; color: var(--ink-2); font-size: 0.95rem; line-height: 1.45; }
.row .arrow { color: var(--sky); }
.rows li:last-child .row { border-bottom: 0; }
@media (min-width: 960px) { .rows { border-top: 0; } .row { padding: 18px 10px; border-radius: 12px; border-bottom-color: transparent; box-shadow: 0 1px 0 var(--edge); } .rows li:last-child .row { box-shadow: none; } }
.tile-go { display: inline-flex; align-items: center; gap: 6px; color: var(--sky); font-weight: 600; font-size: 0.95rem; }

/* Comparisons: the picks as rows, the rivals as a grid */
.rivals-block { padding: 48px 0 0; border-top: 1px solid var(--edge); }
.rivals-block h2 { font-size: clamp(1.4rem, 4.4vw, 1.75rem); letter-spacing: -0.025em; margin-bottom: 20px; }
.rivals { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr)); }
.rival { display: flex; flex-direction: column; height: 100%; padding: 20px 20px 22px; border-radius: 20px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--edge); color: var(--ink); transition: background-color 200ms ease, border-color 200ms ease; }
.rival:hover { text-decoration: none; background: rgba(255, 255, 255, 0.07); border-color: rgba(143, 176, 255, 0.3); }
.rival-vs { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sky); }
.rival b { color: #fff; font-size: 1.45rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; margin: 6px 0 8px; }
.rival-line { color: var(--ink-2); font-size: 0.93rem; line-height: 1.45; }

/* Calculators */
.tools { list-style: none; margin: 0; padding: 8px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.tool { display: flex; flex-direction: column; height: 100%; padding: 24px; border-radius: 22px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--edge); color: var(--ink); }
.tool:hover { text-decoration: none; background: rgba(255, 255, 255, 0.07); border-color: rgba(143, 176, 255, 0.3); }
.tool b { color: #fff; font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.2; margin: 18px 0 6px; }
.tool > span:not(.tool-icon):not(.tile-go) { color: var(--ink-2); font-size: 0.95rem; flex: 1; }
.tool .tile-go { margin-top: 16px; }
.tool-icon { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 15px; background: linear-gradient(160deg, #2a6bff, #0f54f2 60%, #0b43c4); box-shadow: 0 8px 24px rgba(15, 84, 242, 0.45); color: #fff; }
.tool-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* A calculator page's app card, right under the calculator (owner, 17 Nov: keep the calculator, and make it plain
   that a free App Store app measures the room itself). One night card like the rest of the site: a real picture
   from the app on top, the words under it, one blue button to the App Store. */
.doc-main .prose .calc-app { margin: 0 0 2.4em; border-radius: 24px; overflow: hidden; background: var(--night-2); color: var(--ink); box-shadow: 0 24px 60px rgba(4, 6, 13, 0.16); }
.doc-main .prose .calc-app-pic { margin: 0; border: 0; border-radius: 0; }
.doc-main .prose .calc-app img { margin: 0; border: 0; box-shadow: none; background: transparent; }
/* The picture rises from the card's foot: the top of the app's screen, or a page of the PDF report cut to the
   lines that matter for this job. */
.calc-app-phone, .calc-app-doc { display: flex; justify-content: center; overflow: hidden; padding: 22px 18px 0; background: radial-gradient(70% 90% at 50% 100%, rgba(15, 84, 242, 0.38), transparent 72%), #070b17; }
.calc-app-phone { height: 220px; }
.calc-app-screen { display: block; flex: none; width: 220px; height: max-content; padding: 7px 7px 0; border-radius: 36px 36px 0 0; background: linear-gradient(150deg, #3a4150, #11141b 40%, #0b0d12 70%, #2a303c); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 -10px 40px rgba(0, 0, 0, 0.35); }
.doc-main .prose .calc-app-screen img { display: block; width: 100%; height: auto; border-radius: 30px 30px 0 0; }
@media (min-width: 640px) { .calc-app-phone { height: 300px; } .calc-app-screen { width: 250px; } }
.doc-crop { position: relative; display: block; width: 100%; overflow: hidden; border-radius: 12px 12px 0 0; background: #fbfcfe; box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35); }
.doc-main .prose .doc-crop img { position: absolute; max-width: none; height: auto; border-radius: 0; }
.doc-crop-rooms { max-width: 430px; aspect-ratio: 478 / 262; }
.doc-main .prose .doc-crop-rooms img { width: calc(1600 / 478 * 100%); left: calc(-62 / 478 * 100%); top: calc(-400 / 262 * 100%); }
.doc-crop-summary { max-width: 440px; aspect-ratio: 448 / 205; }
.doc-main .prose .doc-crop-summary img { width: calc(1600 / 448 * 100%); left: calc(-62 / 448 * 100%); top: calc(-180 / 205 * 100%); }
.doc-main .prose .calc-app-copy { padding: 22px 20px 26px; }
.doc-main .prose .calc-app-kicker { margin: 0 0 8px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sky); }
.doc-main .prose .calc-app h2 { margin: 0 0 10px; color: #fff; font-size: clamp(1.4rem, 3.6vw, 1.8rem); }
.doc-main .prose .calc-app p { color: var(--ink-2); line-height: 1.55; }
.doc-main .prose .calc-app b { color: #fff; }
.doc-main .prose .calc-app-list { list-style: none; display: grid; gap: 10px; margin: 16px 0 24px; padding: 0; }
.doc-main .prose .calc-app-list li { display: flex; gap: 12px; align-items: flex-start; margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.45; }
.doc-main .prose .calc-app-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: rgba(143, 176, 255, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fb0ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.doc-main .prose .calc-app-get { margin: 0; }
.doc-main .prose .calc-app-fine { margin: 12px 0 0; font-size: 0.9rem; line-height: 1.5; color: var(--ink-3); }
@media (min-width: 640px) { .doc-main .prose .calc-app-copy { padding: 28px 32px 32px; } }

/* Who makes it, on the hubs */
.hub-maker { background: var(--night); padding: 0 0 72px; }
.maker-card { display: flex; gap: 18px; align-items: center; max-width: 780px; margin: 0 auto; padding: 22px 24px; border-radius: 24px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--edge); }
.maker-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.maker-card p { margin: 0; color: var(--ink-2); font-size: 0.95rem; line-height: 1.5; }
.maker-card b { color: #fff; }

/* ------------------------------------------------------------------ content pages */
.content-page { padding: 0; }
.doc-head { padding: 22px 0 64px; }
.doc-head-grid { display: grid; gap: 28px; }
.doc-head .crumbs { margin: 0 0 22px; color: var(--ink-3); }
.doc-head .crumbs a { color: var(--ink-2); }
.doc-eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.doc-head h1 { color: #fff; font-size: clamp(2rem, 5.4vw, 3.3rem); font-weight: 760; line-height: 1.05; letter-spacing: -0.035em; margin: 0 0 24px; max-width: 18em; }
.doc-head .answer-box { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-left: 0; border-radius: 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); padding: 20px 22px; margin: 0; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.doc-head .answer-box .answer-label { display: flex; align-items: center; gap: 8px; color: var(--sky); margin-bottom: 8px; }
.doc-head .answer-box .answer-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #0f54f2; box-shadow: 0 0 12px rgba(15, 84, 242, 0.9); }
.doc-head .answer-box p:last-child { color: var(--ink); font-size: 1.1rem; line-height: 1.55; }
.doc-head .answer-box a { color: var(--sky); }
.doc-head sup.ref a { color: var(--sky); }
.doc-facts span { white-space: nowrap; }
.doc-facts { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 18px 0 0; color: var(--ink-3); font-size: 0.88rem; }
.doc-art { aspect-ratio: 16 / 10; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5); }
@media (min-width: 960px) {
  .doc-head { padding: 28px 0 88px; }
  .doc-head.has-art .doc-head-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
  .doc-head.has-art .crumbs { margin-bottom: 30px; }
  .doc-art { aspect-ratio: 4 / 4.2; margin-top: 44px; }
}

/* The page itself: light paper over the night, for reading */
.doc-paper { position: relative; z-index: 1; margin-top: -28px; padding: 44px 0 40px; background: var(--paper); border-radius: 28px 28px 0 0; color: var(--read); }
.doc-grid { display: grid; gap: 40px; }
.doc-main { min-width: 0; }
.doc-rail { display: none; }
@media (min-width: 1100px) {
  .doc-paper { padding: 64px 0 56px; }
  .doc-grid { grid-template-columns: minmax(0, 720px) 250px; justify-content: space-between; gap: 64px; }
  .doc-rail { display: block; position: sticky; top: 104px; align-self: start; }
}
.toc-rail p { margin: 0 0 10px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.toc-rail ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--divider); }
.toc-rail a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--text-2); font-size: 0.9rem; line-height: 1.35; }
.toc-rail a:hover { color: var(--blue); border-left-color: var(--blue); text-decoration: none; }
.rail-cta { margin-top: 28px; padding: 18px; border-radius: 20px; background: var(--night); color: var(--ink); }
.rail-cta img { border-radius: 10px; margin-bottom: 12px; }
.rail-cta p { margin: 0 0 14px; font-size: 0.98rem; line-height: 1.35; }
.rail-cta b { color: #fff; }

.doc-main .prose { max-width: 720px; font-size: 1.06rem; line-height: 1.72; color: var(--read); }
.doc-main .prose > :first-child { margin-top: 0; }
.doc-main .prose h2 { font-size: clamp(1.45rem, 3.4vw, 1.9rem); line-height: 1.18; letter-spacing: -0.028em; margin: 2.1em 0 0.6em; }
.doc-main .prose h3 { font-size: 1.18rem; margin: 1.7em 0 0.5em; }
.doc-main .prose li { margin-bottom: 8px; }
.doc-main .prose ul li::marker, .doc-main .prose ol li::marker { color: var(--blue); font-weight: 700; }
.doc-main .prose b, .doc-main .prose strong { color: #000; font-weight: 650; }
.doc-main .prose table { font-size: 0.94rem; line-height: 1.5; border-radius: 16px; box-shadow: none; border: 1px solid var(--line); border-collapse: separate; border-spacing: 0; }
.doc-main .prose th { background: #f5f6f9; }
.doc-main .prose caption { background: transparent; padding: 10px 2px 0; }
.doc-main .prose img { border-radius: 16px; box-shadow: none; }
.doc-main .prose .media-wide, .doc-main .prose figure { margin: 28px 0; }
.doc-main .prose .media-wide img, .doc-main .prose figure img { border: 1px solid var(--line); background: #fff; }
.doc-main .prose td img { border: 0; margin: 6px 0 0; max-width: 140px; }
.doc-main .prose .phone { margin: 28px auto; background: #101218; padding: 7px; border-radius: 34px; box-shadow: 0 24px 60px rgba(16, 18, 24, 0.22); }
.doc-main .prose .phone img { border-radius: 28px; margin: 0; box-shadow: none; }
.doc-main .prose .faq details { background: #f7f7fa; border: 0; box-shadow: none; border-radius: 16px; }
.doc-main .prose .faq summary { font-weight: 650; }
.doc-main .prose .faq .answer { color: #3a3a3c; }
.doc-main sup.ref a { color: var(--blue); font-weight: 600; }

.doc-main .sources { margin-top: 48px; padding: 24px 24px 18px; border: 0; border-radius: 22px; background: #f7f7fa; }
.doc-main .sources h2 { font-size: 1.05rem; letter-spacing: 0; margin: 0 0 14px; }
.doc-main .sources ol { list-style: none; counter-reset: src; padding: 0; margin: 0; font-size: 0.9rem; line-height: 1.5; }
.doc-main .sources li { counter-increment: src; position: relative; padding-left: 36px; margin-bottom: 10px; color: var(--text-2); }
.doc-main .sources li::before { content: counter(src); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--blue); font-size: 0.75rem; font-weight: 700; display: grid; place-items: center; box-shadow: var(--shadow-soft); }
.doc-main .sources li:target { color: var(--read); }
.doc-main .sources li:target::before { background: var(--blue); color: #fff; }

.doc-foot { display: grid; gap: 10px; margin-top: 20px; }
.content-page aside.maker { display: flex; gap: 16px; align-items: center; margin: 0; padding: 18px 20px; border-radius: 22px; background: #f7f7fa; box-shadow: none; }
.content-page aside.maker img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.content-page aside.maker p { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--text-2); }
.content-page aside.maker b { color: var(--read); }
.doc-foot .reviewed { margin: 0; padding: 0 4px; font-size: 0.84rem; color: var(--text-3); }

/* Read next: plain rows on light, then the button to the whole list */
.related-band { padding: 56px 0 64px; background: #f4f5f8; color: var(--read); }
.related-band h2 { font-size: clamp(1.4rem, 3.6vw, 1.8rem); letter-spacing: -0.025em; margin-bottom: 20px; }
.rows-light { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); border: 0; }
.rows-light .row { height: 100%; padding: 16px 18px 16px 20px; border: 0; border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft); color: var(--read); }
.rows-light .row:hover { background: #fff; box-shadow: 0 6px 22px rgba(0, 0, 0, 0.1); }
.rows-light .row-text b { color: var(--read); font-size: 1rem; }
.rows-light .row-text span { color: var(--text-2); font-size: 0.9rem; }
.rows-light .row .arrow { color: var(--blue); }
.rows-light li:last-child .row { border-bottom: 0; }
@media (min-width: 960px) { .rows-light .row { box-shadow: var(--shadow-soft); } .rows-light li:last-child .row { box-shadow: var(--shadow-soft); } }
.more-rows { margin-top: 12px; }
.more-rows summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-soft); color: var(--blue); font-weight: 600; cursor: pointer; list-style: none; }
.more-rows summary::-webkit-details-marker { display: none; }
.more-rows summary::after { content: "+"; margin-left: 10px; font-size: 1.2rem; line-height: 1; }
.more-rows[open] summary { margin-bottom: 12px; }
.more-rows[open] summary::after { content: "\2212"; }
.all-link { margin: 28px 0 0; text-align: center; }
.all-link .btn { gap: 10px; }

/* The finale: the scan's light behind one line, and the company that makes PlaceAnew */
.finale-band { position: relative; overflow: hidden; padding: 104px 0 96px; text-align: center; background: var(--night); color: var(--ink); }
.finale-glow { position: absolute; left: 50%; top: 50%; width: min(1500px, 170vw); height: auto; max-width: none; transform: translate(-50%, -46%); opacity: 0.7; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 55%, #000 35%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 55%, #000 35%, transparent 100%); }
.finale-inner { position: relative; }
.finale-band h2 { color: #fff; font-size: clamp(2.2rem, 6.2vw, 4.2rem); line-height: 1.02; letter-spacing: -0.04em; margin-bottom: 16px; text-shadow: 0 2px 30px rgba(4, 6, 13, 0.8); }
.finale-band p { color: var(--ink-2); max-width: 560px; margin: 0 auto; }
.finale-band .btn-row { justify-content: center; margin-top: 28px; }
.finale-band .finale-maker { margin-top: 44px; font-size: 0.9rem; color: var(--ink-3); max-width: 640px; }
.finale-band .finale-maker a { color: var(--sky); }
@media (min-width: 820px) { .finale-band { padding: 140px 0 128px; } }

@media (prefers-reduced-motion: reduce) {
  .hub-card a, .row, .rival, .tool { transition: none !important; }
}
