:root {
  --bg: #f6f7f9; --panel: #ffffff; --ink: #18212b; --ink-2: #4a5561; --ink-3: #6b7682;
  --line: #e2e6eb; --line-2: #cfd6de; --brand: #1f4e79; --link: #2a78d6;
  --good: #1a7f4b; --good-soft: #e7f5ec; --warn: #9a5b00; --warn-soft: #fff3df; --bad: #b42318; --bad-soft: #fdecea;
  --c-swarm: #2a78d6; --c-rule: #eb6834; --c-today: #9aa4ae; --c-best: #1baf7a; --c-extra: #eda100;
  --grid: #eef1f4; --axis: #b8c0c9; --radius: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .04);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-feature-settings: "tnum" 1; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
main { max-width: 1180px; margin: 0 auto; padding: 28px 16px 48px; }
h1 { font-size: 30px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -.01em; }
.lead { font-size: 17px; color: var(--ink-2); max-width: 62rem; margin: 0; }
.tabs { position: sticky; top: 0; z-index: 5; background: var(--bg); display: flex; gap: 2px; overflow-x: auto; border-bottom: 1px solid var(--line); margin: 24px 0 20px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { font: inherit; font-size: 15px; white-space: nowrap; background: none; border: 0; border-bottom: 3px solid transparent; color: var(--ink-3); padding: 10px 14px; cursor: pointer; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--brand); font-weight: 600; }
.page { display: flex; flex-direction: column; gap: 18px; }
.page[hidden] { display: none; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.grid2 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; min-width: 0; }
.card h2 { font-size: 18px; margin: 0 0 4px; }
.card h3 { font-size: 15px; margin: 16px 0 4px; }
.card p { margin: 6px 0; }
.sub { color: var(--ink-3); font-size: 13.5px; margin: 0 0 12px !important; }
.muted { color: var(--ink-3); }
.kpi { display: flex; flex-direction: column; gap: 4px; }
.kpi .label { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); font-weight: 600; }
.kpi .big { font-size: 32px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.kpi .vs { font-size: 13.5px; color: var(--ink-2); }
.kpi .so { font-size: 14px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; color: var(--ink-2); }
.kpi a.more { font-size: 13.5px; margin-top: 4px; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 99px; vertical-align: 1px; }
.pill.good { background: var(--good-soft); color: var(--good); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.callout { border-left: 4px solid var(--brand); background: #eaf2fc; padding: 12px 16px; border-radius: 0 var(--radius) var(--radius) 0; }
.callout.warn { border-left-color: var(--warn); background: var(--warn-soft); }
.callout p { margin: 4px 0; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.steps li { counter-increment: s; background: var(--bg); border-radius: 8px; padding: 12px 14px 12px 46px; position: relative; font-size: 14px; }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.steps b { display: block; }
ul.tight { margin: 6px 0; padding-left: 20px; }
ul.tight li { margin: 3px 0; }
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: top; }
th { font-size: 12.5px; color: var(--ink-3); font-weight: 600; text-align: right; }
th:first-child, td:first-child { text-align: left; }
td.l, th.l { text-align: left; }
tr.hi td { background: #f3f8fe; font-weight: 600; }
tr.ref td { color: var(--ink-3); font-style: italic; }
td small { display: block; color: var(--ink-3); font-weight: 400; font-style: normal; font-size: 12.5px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--ink-2); margin: 4px 0 8px; }
.legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -2px; background: var(--c); }
.legend span.ln::before { height: 3px; border-radius: 2px; vertical-align: 3px; }
.legend span.band::before { background: #fdecea; border: 1px solid #f3b8b2; }
.chart { position: relative; width: 100%; }
.chart svg { display: block; overflow: visible; }
.chart text { font-size: 12px; fill: var(--ink-3); }
.chart .lbl { fill: var(--ink); font-size: 13px; }
.chart .val { fill: var(--ink); font-size: 12.5px; font-weight: 600; }
.tip { position: absolute; pointer-events: none; background: #fff; border: 1px solid var(--line-2); border-radius: 8px; box-shadow: 0 4px 16px rgba(16,24,40,.12); padding: 8px 10px; font-size: 13px; white-space: nowrap; z-index: 3; display: none; }
.tip b { display: block; margin-bottom: 2px; }
.tip i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
dl.gl { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 8px 16px; margin: 8px 0 0; }
dl.gl dt { font-weight: 600; }
dl.gl dd { margin: 0; color: var(--ink-2); }
@media (max-width: 640px) { dl.gl { grid-template-columns: 1fr; } dl.gl dd { margin-bottom: 8px; } h1 { font-size: 25px; } .kpi .big { font-size: 28px; } }

/* =====================================================================
   Shared look for nihalunfc.github.io and /hotel-business/ (2026-10-21).
   Light by default; <html data-theme="dark"> switches to the dark palette.
   The header and footer come from /assets/header.js.
   ===================================================================== */
:root {
  --bg: #f6f7f9; --panel: #ffffff; --surface: #ffffff; --surface-2: #f3f4f6;
  --ink: #111827; --ink-2: #4b5563; --ink-3: #6b7280; --line: #e5e7eb; --line-2: #d1d5db;
  --brand: #1d4ed8; --brand-2: #2563eb; --link: #1d4ed8; --brand-soft: #eef3fe; --on-brand: #ffffff;
  --hotel: #0f766e; --hotel-soft: #e6f4f1;
  --good: #15803d; --good-soft: #e8f5ec; --warn: #a15c00; --warn-soft: #fff4e0; --bad: #b42318; --bad-soft: #fdecea;
  --grid: #eef0f3; --axis: #c3c9d1; --hi-row: #f3f7fe; --tip-bg: #ffffff;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(17, 24, 39, .05);
  --shadow-lg: 0 8px 24px rgba(17, 24, 39, .08);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0f1318; --panel: #161b22; --surface: #161b22; --surface-2: #1d232c;
  --ink: #e6e9ee; --ink-2: #b4bdc9; --ink-3: #8b95a3; --line: #2a313c; --line-2: #3a4350;
  --brand: #7aa7ff; --brand-2: #7aa7ff; --link: #8db4ff; --brand-soft: rgba(122, 167, 255, .14); --on-brand: #0b1220;
  --hotel: #3cc9b5; --hotel-soft: rgba(60, 201, 181, .14);
  --good: #4cc38a; --good-soft: rgba(76, 195, 138, .14); --warn: #e3a94f; --warn-soft: rgba(227, 169, 79, .14); --bad: #f07167; --bad-soft: rgba(240, 113, 103, .14);
  --grid: #242b35; --axis: #4a5361; --hi-row: rgba(122, 167, 255, .08); --tip-bg: #1d232c;
  --shadow: none; --shadow-lg: 0 8px 24px rgba(0, 0, 0, .35);
  color-scheme: dark;
}
body { overflow-x: clip; }
::selection { background: #bfdbfe; color: #111827; }
.callout { background: var(--brand-soft); }
tr.hi td { background: var(--hi-row); }
.tip { background: var(--tip-bg); color: var(--ink); }
.legend span.band::before { background: var(--bad-soft); border-color: var(--bad); }
.steps li::before { color: var(--on-brand); }

/* page banner */
.phero { background: var(--surface); border-bottom: 1px solid var(--line); }
.phero .in { max-width: 1180px; margin: 0 auto; padding: 36px 16px 34px; }
.phero h1 { font-size: clamp(28px, 3.6vw, 38px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 10px; }
.phero .lead { font-size: 17px; max-width: 52rem; }
.phero .btns { margin-top: 20px; }
.crumbs { font-size: 13.5px; color: var(--ink-3); margin: 0 0 12px; }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--link); }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--brand); margin: 0 0 6px; }
main { padding-top: 32px; }

/* buttons */
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 8px; font-weight: 600; font-size: 15px; border: 1px solid transparent; }
.btn:hover { text-decoration: none; }
.btn.primary { background: var(--brand-2); color: var(--on-brand); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { color: var(--ink); background: var(--surface); border-color: var(--line-2); }
.btn.ghost:hover { background: var(--surface-2); }

/* sections and cards */
h2.section { font-size: clamp(21px, 2.4vw, 26px); letter-spacing: -.015em; margin: 48px 0 6px; }
p.section-sub { color: var(--ink-3); margin: 0 0 18px; max-width: 46rem; }
.card { border-radius: var(--radius); border-color: var(--line); background: var(--surface); }
.proj { display: flex; flex-direction: column; gap: 8px; transition: border-color .15s, box-shadow .15s; color: inherit; }
a.proj:hover { text-decoration: none; border-color: var(--brand-2); box-shadow: var(--shadow-lg); }
.proj .tags, .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.tag { font-size: 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 99px; padding: 2px 10px; color: var(--ink-2); }
.proj.featured { border-top: 3px solid var(--brand-2); }
.proj.empty, .soon div { border: 1.5px dashed var(--line-2); box-shadow: none; background: transparent; color: var(--ink-3); }
.proj.empty { align-items: center; justify-content: center; text-align: center; min-height: 150px; }
.stat-row { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 4px; }
.stat-row div { font-size: 13px; color: var(--ink-3); }
.stat-row b { display: block; font-size: 21px; color: var(--ink); letter-spacing: -.01em; }
.diagram svg { width: 100%; height: auto; display: block; }
.diagram text { font-family: inherit; }
.tabs { top: 64px; z-index: 20; }
@media (max-width: 900px) { .tabs { top: 0; position: static; } }

/* home page */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.hero .in { max-width: 1180px; margin: 0 auto; padding: 64px 16px 56px; display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.hero .hello { font-size: 15px; font-weight: 600; color: var(--brand); margin: 0 0 12px; }
.hero h1 { font-size: clamp(32px, 4.6vw, 50px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 16px; }
.hero .lead { font-size: 18px; max-width: 38rem; }
.hero .btns { margin-top: 26px; }
.facts { border: 1px solid var(--line); border-radius: 12px; background: var(--bg); display: grid; grid-template-columns: 1fr 1fr; }
.facts div { padding: 20px 22px; border-top: 1px solid var(--line); }
.facts div:nth-child(-n+2) { border-top: 0; }
.facts div:nth-child(even) { border-left: 1px solid var(--line); }
.facts b { display: block; font-size: 28px; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
.facts span { font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 860px) { .hero .in { grid-template-columns: 1fr; gap: 32px; padding: 40px 16px 36px; } }
.home main { padding-top: 8px; }
.work { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.work-card { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 26px 28px; color: inherit; box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s; }
.work-card h3 { font-size: 22px; letter-spacing: -.015em; margin: 0; color: var(--ink); }
.work-card h3 a { color: inherit; }
.work-card p { margin: 0; color: var(--ink-2); }
.work-card .links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 600; }
.work-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-lg); }
@media (max-width: 860px) { .work { grid-template-columns: 1fr; } .work-card { padding: 22px 20px; } }
.toolgrid { display: grid; gap: 18px; grid-template-columns: 1fr 2fr; }
.toolgrid .tg { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.toolgrid h3 { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 10px 12px 6px; }
.toolgrid h3 i { width: 9px; height: 9px; border-radius: 2px; background: var(--brand-2); }
.toolgrid .hotel h3 i { background: var(--hotel); }
.toolgrid .cols { display: grid; grid-template-columns: 1fr 1fr; }
.toolgrid a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.toolgrid a span { display: block; font-weight: 400; font-size: 13px; color: var(--ink-3); }
.toolgrid a:hover { background: var(--surface-2); text-decoration: none; }
.toolgrid .more { color: var(--link); font-size: 14px; }
.toolgrid .hotel .more { color: var(--hotel); }
@media (max-width: 860px) { .toolgrid, .toolgrid .cols { grid-template-columns: 1fr; } }
.does { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.does .card { padding: 22px; }
.does .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 12px; }
.does .ic svg { width: 20px; height: 20px; }
.does h3 { margin: 0 0 6px; font-size: 17px; }
.does p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 860px) { .does { grid-template-columns: 1fr; } }
.stack { display: grid; gap: 14px 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.stack h4 { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 5px 11px; font-size: 14px; font-weight: 500; }
.soon { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.soon div { border-radius: var(--radius); padding: 20px; font-size: 14px; min-height: 100px; display: flex; flex-direction: column; justify-content: flex-end; }
.soon b { color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) { .soon { grid-template-columns: 1fr; } }
.cta { margin-top: 56px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); padding: 30px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.cta h2 { margin: 0 0 6px; font-size: 22px; letter-spacing: -.015em; }
.cta p { margin: 0; color: var(--ink-2); max-width: 36rem; }
.cta .btns { margin: 0; }
.hotel-tag { color: var(--hotel) !important; }
.work-card .eyebrow { color: var(--brand); }
.work-card .eyebrow.hotel-tag { color: var(--hotel); }
.facts span { display: block; line-height: 1.4; margin-top: 2px; }
.toolgrid { align-items: start; }
[hidden] { display: none !important; }
