/* RHotel marketing site — self-hosted, no external requests.
   Identity: Night Indigo (the hotel at night) · Lantern amber (one light, the status dot) · Marble paper (the Haram floor) · Zamzam teal (connected).
   Type: Readex Pro for display (wide, geometric, Arabic+Latin), IBM Plex Sans Arabic for reading. */
@font-face { font-family: 'Readex'; font-weight: 300 700; font-display: swap; src: url(fonts/readex-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Readex'; font-weight: 300 700; font-display: swap; src: url(fonts/readex-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2013-2014, U+2018-201D, U+2022, U+2026, U+20AC; }
@font-face { font-family: 'Plex'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/plex-ar-400.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Plex'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/plex-ar-500.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Plex'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/plex-ar-600.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Plex'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/plex-ar-700.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Plex'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/plex-latin-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plex'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/plex-latin-500.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plex'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/plex-latin-600.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plex'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/plex-latin-700.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --night: #1C2B5A;       /* Night Indigo — the brand */
  --night-2: #131E42;
  --night-3: #2A3C78;
  --lantern: #E0A232;     /* one light in the dark: the status dot, focus, the single accent */
  --lantern-2: #B9811F;
  --marble: #F7F5F0;      /* paper */
  --marble-2: #ECE9E1;
  --marble-3: #DDD9CF;
  --zamzam: #1E7F7A;      /* connected / compliant */
  --ink: #171C2B;
  --ink-2: #515B6E;
  --ink-3: #8690A3;
  --line: #DDD9CF;
  --red: #B42318;
  --st-vacant: #DDF3E4; --st-occ: #DCE5FA; --st-clean: #FBEBCB; --st-dnd: #F7DEDD; --st-off: #E6E4DE;
  --r: 12px; --r-lg: 20px;
  --max: 1160px;
  --display: 'Readex', 'Plex', system-ui, sans-serif;
  --body: 'Plex', 'Segoe UI', Tahoma, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--marble); line-height: 1.75; font-size: 17px; overflow-x: clip; }
[dir=rtl] body { font-size: 17.5px; }
a { color: var(--night); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--lantern); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.6rem); font-weight: 600; line-height: 1.15; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.15rem; font-weight: 600; font-family: var(--body); }
p { margin: 0 0 1em; max-width: 64ch; }
.lead { font-size: 1.18rem; color: var(--ink-2); line-height: 1.7; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; }
.muted { color: var(--ink-2); }
.num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.display { font-family: var(--display); }
.kicker { font-family: var(--display); color: var(--night); font-weight: 500; margin: 0 0 .4em; font-size: 1rem; }

/* icons: one stroke weight everywhere */
.ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); flex: none; color: var(--night); }
.ic svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ic.night { background: var(--night); border-color: var(--night); color: #fff; }

/* header */
header { position: sticky; top: 0; z-index: 20; background: rgba(247,245,240,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: var(--ink); letter-spacing: -.01em; direction: ltr; }
.brand:hover { text-decoration: none; }
.brand img, .brand svg { width: 32px; height: 32px; border-radius: 8px; }
.nav nav { display: flex; gap: 2px; flex-wrap: wrap; margin-inline-start: auto; }
.nav nav a { padding: 8px 11px; border-radius: 8px; color: var(--ink-2); font-size: .95rem; font-weight: 500; }
.nav nav a:hover { background: var(--marble-2); text-decoration: none; color: var(--ink); }
.nav .actions { display: flex; gap: 8px; align-items: center; }
.nav .lang { color: var(--ink-2); font-size: .95rem; padding: 8px 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 600; border: 1px solid transparent; cursor: pointer; font: inherit; font-weight: 600; line-height: 1.2; transition: background .15s, border-color .15s; }
.btn-primary { background: var(--night); color: #fff; }
.btn-primary:hover { background: var(--night-2); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--marble-3); }
.btn-ghost:hover { background: var(--marble-2); text-decoration: none; }
.btn-light { background: #fff; color: var(--night); }
.btn-light:hover { background: var(--marble); text-decoration: none; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { background: rgba(255,255,255,.08); text-decoration: none; }
.btn-sm { padding: 8px 13px; font-size: .92rem; }
.menu-btn { display: none; }
@media (max-width: 960px) {
  .nav nav { display: none; }
  .nav nav.open { display: flex; position: absolute; inset-inline: 0; top: 66px; background: var(--marble); border-bottom: 1px solid var(--line); padding: 10px 16px 16px; flex-direction: column; }
  .nav .actions .hide-m { display: none; }
  .menu-btn { display: inline-flex; }
}

/* hero: the hotel at night, and the system lit on the desk */
.hero { background: var(--night); color: #fff; padding: 84px 0 0; position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(900px 420px at 15% 0%, rgba(224,162,50,.14), transparent 60%),
  radial-gradient(700px 380px at 95% 100%, rgba(42,60,120,.8), transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { color: rgba(255,255,255,.78); max-width: 58ch; }
.hero .cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.hero .top { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
.hero .facts { display: grid; grid-template-columns: repeat(3, auto); gap: 26px; justify-content: start; color: rgba(255,255,255,.72); font-size: .95rem; padding-bottom: 6px; }
.hero .facts b { display: block; color: #fff; font-family: var(--display); font-size: 1.9rem; font-weight: 600; line-height: 1.1; }
.hero .facts b::after { content: ""; display: block; width: 22px; height: 3px; background: var(--lantern); margin: 8px 0 6px; border-radius: 2px; }
.hero-shot { margin: 44px 0 0; transform: translateY(72px); }
.hero-shot img { border-radius: 14px; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 10px rgba(255,255,255,.06); background: #fff; }
.hero-shot figcaption { color: var(--ink-2); font-size: .92rem; margin-top: 14px; text-align: center; }
.after-hero { padding-top: 150px; }
@media (max-width: 960px) { .hero .top { grid-template-columns: 1fr; } .hero .facts { grid-template-columns: repeat(3, 1fr); gap: 14px; } .hero-shot { transform: translateY(48px); } .after-hero { padding-top: 110px; } .hero { padding-top: 56px; } }
@media (max-width: 560px) { .hero .facts b { font-size: 1.5rem; } }

/* claims: three statements, no cards */
.claims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.claims h3 { font-family: var(--display); font-size: 1.25rem; margin-bottom: .35em; }
.claims h3::before { content: ""; display: block; width: 36px; height: 3px; background: var(--lantern); margin-bottom: 14px; border-radius: 2px; }
.claims p { color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .claims { grid-template-columns: 1fr; gap: 28px; } }

/* tasks: the six screens */
.tasks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.task { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 22px 18px; display: grid; gap: 12px; align-content: start; }
.task h3 { margin: 6px 0 2px; }
.task ul { margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-size: .97rem; }
.task li { padding: 5px 0; border-top: 1px solid var(--marble-2); }
.task li:first-child { border-top: 0; }
.task .req { font-size: .85rem; color: var(--lantern-2); margin-top: 4px; }
@media (max-width: 900px) { .tasks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tasks { grid-template-columns: 1fr; } }

/* screenshots: real screens, shown big */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; margin-top: 26px; }
.shot img { border-radius: var(--r); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(23,28,43,.45); background: #fff; }
.shot { margin: 0; }
.shot figcaption { font-size: .95rem; color: var(--ink-2); margin-top: 12px; line-height: 1.5; }
.shots .wide { grid-column: 1 / -1; }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; } }

/* roles */
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.roles > div { padding: 24px 22px; border-inline-start: 1px solid var(--line); }
.roles > div:first-child { border-inline-start: 0; }
.roles h3 { font-family: var(--display); color: var(--night); }
.roles p { color: var(--ink-2); font-size: .97rem; margin: 0; }
@media (max-width: 900px) { .roles { grid-template-columns: 1fr 1fr; } .roles > div:nth-child(odd) { border-inline-start: 0; } .roles > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .roles { grid-template-columns: 1fr; } .roles > div { border-inline-start: 0; border-top: 1px solid var(--line); } .roles > div:first-child { border-top: 0; } }

/* rooms: dark band again, the board's own colours as the legend */
.rooms { background: var(--night); color: #fff; }
.rooms h2, .rooms h3 { color: #fff; }
.rooms .lead { color: rgba(255,255,255,.78); }
.rooms .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; font-size: .95rem; color: rgba(255,255,255,.85); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 16px; height: 16px; border-radius: 5px; display: inline-block; }
.size { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 10px; }
.size b { display: block; font-family: var(--display); font-size: 2rem; font-weight: 600; line-height: 1; margin-bottom: 8px; }
.size span { color: rgba(255,255,255,.72); font-size: .92rem; line-height: 1.4; display: block; }
@media (max-width: 900px) { .rooms .grid { grid-template-columns: 1fr; } .size { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .size { grid-template-columns: 1fr 1fr; } }

/* why / compliance rows */
.rows { display: grid; gap: 0; margin-top: 22px; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.row b { display: block; font-family: var(--display); font-weight: 600; margin-bottom: 4px; color: var(--night); }
.row span { color: var(--ink-2); }
.ok { width: 44px; height: 44px; border-radius: 12px; background: var(--zamzam); color: #fff; display: grid; place-items: center; }
.ok svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }
.checklist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--ink-2); }
.checklist li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--night) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; margin-top: 3px; }
.cities { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.cities span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-weight: 500; }

/* faq */
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; align-items: center; gap: 14px; font-family: var(--display); font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--marble-3); display: grid; place-items: center; color: var(--night); flex: none; font-family: var(--body); font-weight: 500; transition: transform .2s; }
.faq details[open] summary::before { content: "–"; background: var(--night); color: #fff; border-color: var(--night); }
.faq p { color: var(--ink-2); padding: 0 42px 16px; margin: 0; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; }
.plan h3 { font-family: var(--display); margin: 0; font-size: 1.2rem; }
.plan .for { color: var(--ink-2); font-size: .95rem; min-height: 3.2em; }
.plan ul { margin: 6px 0 14px; padding: 0; list-style: none; color: var(--ink-2); font-size: .95rem; flex: 1; }
.plan li { padding: 6px 0; border-top: 1px solid var(--marble-2); display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: start; }
.plan li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--night); margin-top: 11px; }
.plan.featured { background: var(--night); color: #fff; border-color: var(--night); position: relative; }
.plan.featured .for, .plan.featured ul { color: rgba(255,255,255,.8); }
.plan.featured li { border-top-color: rgba(255,255,255,.12); }
.plan.featured li::before { background: var(--lantern); }
.plan.featured .tag { position: absolute; top: -12px; inset-inline-start: 22px; background: var(--lantern); color: var(--night-2); font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.plan.featured .btn { background: #fff; color: var(--night); border-color: #fff; }
.terms { color: var(--ink-2); font-size: .95rem; margin-top: 18px; }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

/* contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 36px; } }
.ways { display: grid; gap: 8px; margin-top: 12px; }
.ways a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); font-weight: 500; }
.ways a:hover { text-decoration: none; border-color: var(--night); }
.ways .ic { width: 36px; height: 36px; border-radius: 9px; }
.ways .ic svg { width: 20px; height: 20px; }
form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
input, textarea { font: inherit; padding: 11px 13px; border: 1px solid var(--marble-3); border-radius: 10px; background: var(--marble); color: var(--ink); width: 100%; }
input:focus, textarea:focus { outline: 2px solid var(--night); outline-offset: 0; border-color: var(--night); background: #fff; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.status { min-height: 1.5em; font-size: .95rem; }
.status.ok { color: var(--zamzam); font-weight: 600; }
.status.err { color: var(--red); }

/* footer */
footer { background: var(--night-2); color: rgba(255,255,255,.75); padding: 56px 0 28px; margin-top: 0; }
footer a { color: #fff; }
footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
footer h3 { color: #fff; margin: 0 0 10px; font-size: 1rem; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .95rem; }
footer .brand { color: #fff; }
footer .fine { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .9rem; }
@media (max-width: 800px) { footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { footer .cols { grid-template-columns: 1fr; } }

/* brand page */
.brand-page h1 { color: var(--night); }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 20px; }
.swatch { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.swatch .c { height: 110px; }
.swatch .t { padding: 12px 14px; font-size: .92rem; }
.swatch .t b { display: block; font-family: var(--display); }
.swatch .t code { color: var(--ink-2); font-family: ui-monospace, Consolas, monospace; direction: ltr; unicode-bidi: isolate; }
@media (max-width: 800px) { .swatches { grid-template-columns: 1fr 1fr; } }
.lockups { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.lockup { border-radius: var(--r-lg); border: 1px solid var(--line); padding: 44px 24px; display: grid; place-items: center; gap: 18px; text-align: center; }
.lockup.dark { background: var(--night); color: #fff; border-color: var(--night); }
.lockup .brand { font-size: 2rem; gap: 14px; }
.lockup .brand img { width: 52px; height: 52px; border-radius: 13px; }
.lockup small { font-size: .9rem; opacity: .75; }
.lockup .dl { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 700px) { .lockups { grid-template-columns: 1fr; } }
.type-sample { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; margin-top: 20px; display: grid; gap: 18px; }
.type-sample .d { font-family: var(--display); font-size: 2.4rem; font-weight: 600; line-height: 1.15; }
.type-sample .b { max-width: 60ch; color: var(--ink-2); }
.type-sample small { color: var(--ink-3); display: block; }
.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.dos > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.dos h3 { font-family: var(--display); }
.dos ul { margin: 0; padding-inline-start: 1.2em; color: var(--ink-2); }
@media (max-width: 700px) { .dos { grid-template-columns: 1fr; } }
.clear-space { position: relative; display: inline-block; padding: 32px; border: 1px dashed var(--marble-3); border-radius: 16px; margin-top: 20px; background: #fff; }
.clear-space img { width: 96px; height: 96px; }
.clear-space::after { content: attr(data-note); position: absolute; bottom: 6px; inset-inline-end: 10px; font-size: .78rem; color: var(--ink-3); }

/* topic pages */
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--night); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { inset-inline-start: 8px; }
.topic-hero { background: var(--night); color: #fff; padding: 48px 0 56px; }
.topic-hero h1 { color: #fff; max-width: 20ch; }
.topic-hero .lead { color: rgba(255,255,255,.8); }
.topic-hero .cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.topic-hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.topic-hero .btn-ghost:hover { background: rgba(255,255,255,.08); }
.topic-hero .btn-primary { background: #fff; color: var(--night); }
.topic-hero .btn-primary:hover { background: var(--marble); }
.crumbs { font-size: .9rem; color: rgba(255,255,255,.65); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.crumbs a { color: rgba(255,255,255,.85); }
.topic-body .two-col { grid-template-columns: 1.15fr .85fr; }
.prose h2 { font-size: 1.45rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); }
.prose .checklist { margin: 8px 0 20px; }
.prose .faq { margin-top: 10px; }
aside .shot { position: sticky; top: 86px; }
.related { margin-top: 28px; display: grid; gap: 10px; }
.related h3 { margin: 0 0 4px; font-family: var(--display); }
.rel { display: grid; gap: 2px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); }
.rel:hover { text-decoration: none; border-color: var(--night); }
.rel b { font-family: var(--display); font-weight: 600; }
.rel span { font-size: .9rem; color: var(--ink-2); }
.topic-cta { background: var(--night); color: #fff; text-align: center; }
.topic-cta h2 { color: #fff; margin-inline: auto; }
.topic-cta .lead { color: rgba(255,255,255,.8); margin: 0 auto 20px; }
.topic-cta .cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
footer .cols-6 { grid-template-columns: 1.4fr repeat(6, 1fr); gap: 24px; }
@media (max-width: 1100px) { footer .cols-6 { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 600px) { footer .cols-6 { grid-template-columns: 1fr 1fr; } }
.posts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.post { display: grid; gap: 8px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--ink); align-content: start; }
.post:hover { text-decoration: none; border-color: var(--night); }
.post time, .meta { color: var(--ink-3); font-size: .9rem; }
.topic-hero .meta { color: rgba(255,255,255,.6); }
.post h2 { font-size: 1.25rem; margin: 0; }
.post p { color: var(--ink-2); margin: 0; font-size: .97rem; }
@media (max-width: 760px) { .posts { grid-template-columns: 1fr; } }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
