﻿/* Design tokens. Calm, exact, courteous: a reception desk in daylight.
   One grey-neutral ramp for every surface, one cobalt accent used sparingly, near-black main buttons.
   Type is Inter where installed, otherwise the system's own face: no web fonts, so no visitor IPs go to a font host.
   Spacing is on a 4px grid. Restyled with the unslop skill by Damir Sokolovsky (@heydamir), CC BY 4.0. */
/* Apple-style base with Liquid Glass on the floating layer only (top bar, phone menu, floating action bar).
   Content stays on solid surfaces so it reads in a bright lobby. The device's own system font (San Francisco on
   iPhone and iPad), no web fonts. */
:root {
  --page: #f5f5f7;            /* soft off-white canvas */
  --card: #ffffff;
  --raised: #e8e8ed;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);
  --text: #1d1d1f;
  --text-2: #424245;
  --text-3: #6e6e73;
  --accent: #0066cc;          /* action blue: buttons, links, selection, today's figure; 5.6:1 on white */
  --accent-ink: #0066cc;
  --accent-hover: #0071e3;
  --accent-soft: #e8f1fb;
  --good: #1a7f37;
  --warn: #b25000;
  --bad: #d70015;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Consolas, monospace;
  /* Liquid Glass: translucent, blurs and lifts what is behind it, with a light edge on top. */
  --glass-bg: rgba(255, 255, 255, 0.62);
  --glass-blur: saturate(180%) blur(24px);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 -1px 0 rgba(0, 0, 0, 0.04);
  --glass-border: rgba(255, 255, 255, 0.55);

  /* Bootstrap follows the same tokens. */
  --bs-body-font-family: var(--font);
  --bs-body-bg: var(--page);
  --bs-body-color: var(--text);
  --bs-secondary-color: var(--text-2);
  --bs-tertiary-color: var(--text-3);
  --bs-border-color: var(--line-strong);
  --bs-link-color: var(--accent-ink);
  --bs-link-color-rgb: 26, 79, 159;
  --bs-link-hover-color: var(--text);
  --bs-link-hover-color-rgb: 23, 23, 23;
  --bs-border-radius: 12px;
  --bs-border-radius-sm: 6px;
  --bs-border-radius-lg: 18px;
  --bs-focus-ring-color: rgba(0, 102, 204, 0.3);
}

html { font-size: 15px; position: relative; min-height: 100%; }
body { margin-bottom: 72px; font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; }

/* Type: two weights, hierarchy from size and colour. */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5 { font-family: var(--font-display); font-weight: 600; color: var(--text); letter-spacing: 0; }
h1, .h3 { font-size: 1.75rem; line-height: 1.12; letter-spacing: -0.01em; }
h2.h5, .h5 { font-size: 1.0667rem; line-height: 1.4; }
.text-muted { color: var(--text-3) !important; }
.small, small { font-size: 0.8667rem; }
.num, td.text-end, .table td { font-variant-numeric: tabular-nums; }
code { color: var(--text-2); font-family: var(--mono); font-size: 0.8667em; background: var(--raised); padding: 2px 6px; border-radius: 4px; }
b, strong { font-weight: 500; }

/* Header and footer: quiet chrome. */
/* The top bar is Liquid Glass and stays at the top while the page scrolls under it. */
.site-nav .navbar-brand { font-weight: 600; font-size: 1.0667rem; color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.site-nav .brand-mark { width: 20px; height: 20px; border-radius: 7px; background: var(--text); position: relative; flex: none; }
.site-nav .brand-mark::after { content: ""; position: absolute; left: 6px; right: 6px; top: 4px; height: 3px; border-radius: 2px; background: var(--page); }
.site-nav .nav-link { color: var(--text-2) !important; font-size: 0.9333rem; padding: 6px 12px !important; border-radius: 980px; transition: color 150ms var(--ease), background-color 150ms var(--ease); }
.site-nav .nav-link:hover { color: var(--text) !important; background: rgba(0, 0, 0, 0.05); }
.site-nav .nav-link.active, .site-nav .nav-link[aria-current="page"] { color: var(--text) !important; background: rgba(0, 0, 0, 0.07); }
.site-nav .badge { font-weight: 500; font-size: 0.8rem; border-radius: 980px; background: rgba(0, 0, 0, 0.06) !important; color: var(--text-2) !important; border: 1px solid var(--line); }
.footer { position: absolute; bottom: 0; width: 100%; line-height: 72px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 0.8667rem; }
.footer a { color: var(--text-2); }

/* Buttons: near-black primary, quiet secondary. Colour and surface change on hover; a small press. */
.btn { font-weight: 500; border-radius: 980px; padding: 8px 20px; transition: color 150ms var(--ease), background-color 150ms var(--ease), border-color 150ms var(--ease), transform 120ms var(--ease); }
.btn:active { transform: scale(0.98); }
.btn-lg { padding: 12px 24px; font-size: 1.0667rem; border-radius: 980px; }
.btn-sm { padding: 4px 14px; font-size: 0.8667rem; border-radius: 980px; }
.btn-primary { --bs-btn-bg: var(--accent); --bs-btn-border-color: var(--accent); --bs-btn-hover-bg: var(--accent-hover); --bs-btn-hover-border-color: var(--accent-hover);
  --bs-btn-active-bg: var(--accent-active, #0058b0); --bs-btn-active-border-color: var(--accent-active, #0058b0); --bs-btn-disabled-bg: #a1c4ea; --bs-btn-disabled-border-color: #a1c4ea; }
.btn-outline-secondary, .btn-outline-primary { --bs-btn-color: var(--text); --bs-btn-bg: var(--raised); --bs-btn-border-color: transparent;
  --bs-btn-hover-color: var(--text); --bs-btn-hover-bg: #dcdce1; --bs-btn-hover-border-color: transparent;
  --bs-btn-active-color: var(--text); --bs-btn-active-bg: #d2d2d7; --bs-btn-active-border-color: transparent; }
.btn-link { --bs-btn-color: var(--accent-ink); --bs-btn-hover-color: var(--text); text-decoration: none; }
.btn-link.text-danger { color: var(--bad) !important; }
.btn:focus-visible, .form-control:focus, .form-select:focus, .form-check-input:focus, a:focus-visible, [tabindex]:focus-visible {
  outline: none; box-shadow: 0 0 0 2px var(--card), 0 0 0 4px rgba(0, 102, 204, 0.5); border-color: var(--accent); }

/* Forms. */
.form-label { font-weight: 500; font-size: 0.9333rem; color: var(--text); margin-bottom: 6px; }
.form-text { color: var(--text-3); font-size: 0.8667rem; }
.form-control, .form-select { border-color: var(--line-strong); border-radius: 12px; padding: 8px 14px; background-color: var(--card); color: var(--text); }
.form-control::placeholder { color: #a3a3a3; }
.form-check-input { border-color: rgba(23, 23, 23, 0.3); }
.form-check-input:checked { background-color: var(--accent); border-color: var(--accent); }

/* Cards, tables, alerts. */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.table { --bs-table-bg: transparent; --bs-table-border-color: var(--line); color: var(--text); }
.table > thead th { font-weight: 500; color: var(--text-3); font-size: 0.8667rem; border-bottom-color: var(--line-strong); }
.table > :not(caption) > * > * { padding: 10px 8px; }
.table-sm > :not(caption) > * > * { padding: 8px 8px; }
.alert { border-radius: 14px; border: 1px solid var(--line); font-size: 0.9333rem; }
.alert-success { background: #ecf8f0; color: #14532d; }
.alert-danger { background: #fdecec; color: #7f1d1d; }
.alert-warning { background: #fdf6e7; color: #713f12; }
.alert-secondary { background: var(--raised); color: var(--text-2); }

/* Stat tiles: a label and a number. */
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; height: 100%; }
.stat .n { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--text); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat .l { color: var(--text-2); font-size: 0.8667rem; margin-top: 4px; }
a .stat { transition: border-color 150ms var(--ease); }
a:hover .stat { border-color: var(--line-strong); }

/* Signature: a pass code as keycap digits. */
.passcode { display: inline-flex; gap: 6px; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.passcode span { display: inline-grid; place-items: center; min-width: 1.6em; height: 2em; padding: 0 4px; border: 1px solid var(--line-strong);
  border-bottom-width: 2px; border-radius: 6px; background: var(--card); color: var(--text); font-weight: 500; }
.passcode-lg span { font-size: 2rem; min-width: 1.5em; height: 1.9em; border-radius: 10px; }

/* Status: a dot and a word, never colour alone. */
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8667rem; color: var(--text-2); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #a3a3a3; }
.status-waiting::before { background: var(--warn); }
.status-in::before { background: var(--good); }

/* The visitor pass, as a real pass: the product's one rendered object. */
.pass-card { width: 300px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 16px 40px rgba(0, 0, 0, 0.08); }
.pass-card .slot { width: 56px; height: 8px; border-radius: 4px; background: var(--raised); border: 1px solid var(--line); margin: 12px auto 0; }
.pass-card .head { padding: 16px 20px 12px; border-bottom: 1px dashed var(--line-strong); }
.pass-card .kicker { font-size: 0.8rem; color: var(--text-3); }
.pass-card .site { font-weight: 500; font-size: 1.0667rem; }
.pass-card .body { padding: 16px 20px 20px; display: grid; justify-items: center; gap: 12px; }
.pass-card .qr { width: 168px; height: 168px; image-rendering: pixelated; }
.pass-card .meta { width: 100%; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 0.8667rem; }
.pass-card .meta dt { color: var(--text-3); font-weight: 400; }
.pass-card .meta dd { margin: 0; color: var(--text); text-align: right; }

/* Narrow single-column pages: sign in, sign up, visitor form. */
.narrow { max-width: 440px; margin: 0 auto; }
.narrow-form { max-width: 560px; margin: 0 auto; }

/* Site colour themes (Setup page): only a site's customer portal and visitor pages carry data-theme.
   --accent* is the main colour (buttons, brand mark, selection); --attn* marks what needs attention now
   (the waiting tile, today's bar, "Waiting"); --bar is the chart's other days. */
body[data-theme="teal"] { --page: #f1f6f5; --text: #14211f; --accent: #0f766e; --accent-hover: #0d6b63; --accent-active: #0b5a54;
  --accent-ink: #0b5a54; --accent-soft: #dcefec; --attn: #e8614a; --attn-on: #ffffff; --attn-ink: #9a3412; --attn-soft: #fde4de; --bar: #9ccfc8;
  --bs-link-color: #0b5a54; --bs-link-color-rgb: 11, 90, 84; --bs-body-bg: var(--page); --bs-body-color: var(--text); }
body[data-theme="dusk"] { --page: #f4f4fb; --text: #18183a; --accent: #3730a3; --accent-hover: #312e81; --accent-active: #2b2878;
  --accent-ink: #312e81; --accent-soft: #e4e3f7; --attn: #f5a524; --attn-on: #2a1a00; --attn-ink: #92400e; --attn-soft: #fdf0d5; --bar: #b9b6ea;
  --bs-link-color: #312e81; --bs-link-color-rgb: 49, 46, 129; --bs-body-bg: var(--page); --bs-body-color: var(--text); }
body[data-theme="pandan"] { --page: #f8f5ee; --text: #1d2a1f; --accent: #2f7d4f; --accent-hover: #27693f; --accent-active: #22603b;
  --accent-ink: #22603b; --accent-soft: #e1eedf; --attn: #c2552f; --attn-on: #ffffff; --attn-ink: #8a3417; --attn-soft: #f8e3da; --bar: #a9d0b4;
  --bs-link-color: #22603b; --bs-link-color-rgb: 34, 96, 59; --bs-body-bg: var(--page); --bs-body-color: var(--text); }
body[data-theme]:not([data-theme=""]) .site-nav .brand-mark { background: var(--accent); }
body[data-theme]:not([data-theme=""]) .site-nav .nav-link[aria-current="page"] { background: var(--accent-soft); color: var(--accent-ink) !important; }
body[data-theme]:not([data-theme=""]) .stat.attn { background: var(--attn); border-color: transparent; }
body[data-theme]:not([data-theme=""]) .stat.attn .n, body[data-theme]:not([data-theme=""]) .stat.attn .l { color: var(--attn-on); }
body[data-theme]:not([data-theme=""]) .status { padding: 2px 10px; border-radius: 980px; font-weight: 500; }
body[data-theme]:not([data-theme=""]) .status::before { display: none; }
body[data-theme]:not([data-theme=""]) .status-waiting { background: var(--attn-soft); color: var(--attn-ink); }
body[data-theme]:not([data-theme=""]) .status-in { background: var(--accent-soft); color: var(--accent-ink); }
/* The visitor form's company band. */
body[data-theme]:not([data-theme=""]) .brand-band { background: var(--accent); color: #ffffff; border-radius: 22px; padding: 20px 20px 48px; margin-bottom: -28px; }
body[data-theme]:not([data-theme=""]) .brand-band h1 { color: #ffffff; }
body[data-theme]:not([data-theme=""]) .brand-band .text-muted { color: rgba(255, 255, 255, 0.85) !important; }
body[data-theme]:not([data-theme=""]) .brand-band img { background: #ffffff; border-radius: 12px; padding: 6px; }
body[data-theme]:not([data-theme=""]) .brand-band + form { position: relative; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06); }

/* Sekuriti.ai's own public pages (home, sign-in, sign-up): "Product spotlight". A centred headline over a stage that
   shows the real product. Customer portals and visitor pages never use these classes. */
.ps-hero { text-align: center; padding: 40px 0 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.ps-hero .kicker { font-size: 1.0667rem; font-weight: 600; color: var(--accent); }
.ps-hero h1 { font-family: var(--font-display); font-size: 2.5rem; line-height: 1.05; font-weight: 700; letter-spacing: -0.025em; max-width: 15ch; margin: 0; }
.ps-hero .lead { font-size: 1.1333rem; line-height: 1.5; color: var(--text-3); max-width: 36em; margin: 0; }
.ps-hero .actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 20px; margin-top: 4px; }
.ps-hero .actions .more { color: var(--accent); font-size: 1.0667rem; text-decoration: none; }
.ps-hero .actions .more:hover { text-decoration: underline; }
.ps-stage { margin: 40px auto 0; max-width: 1120px; border-radius: 32px; background: #eaf1fb; padding: 36px 20px 0; overflow: hidden;
  display: flex; justify-content: center; align-items: flex-start; gap: 28px; height: 340px; }
.ps-phone { width: 190px; height: 380px; flex: none; border-radius: 34px; border: 7px solid var(--text); background: #fff; overflow: hidden; }
.ps-phone .band { background: #0f766e; color: #fff; padding: 18px 14px 28px; font-size: 0.9333rem; font-weight: 600; }
.ps-phone .band small { display: block; font-size: 0.6667rem; font-weight: 400; }
.ps-phone .sheet { margin: -14px 8px 0; background: #fff; border-radius: 12px; padding: 10px; display: grid; gap: 6px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); }
.ps-phone .sheet span { font-size: 0.6rem; color: var(--text-3); }
.ps-phone .sheet i { display: block; height: 22px; border-radius: 7px; border: 1px solid var(--line-strong); }
.ps-phone .sheet b { display: block; height: 26px; border-radius: 980px; background: #0f766e; margin-top: 4px; }
.ps-stage .pass-card { width: 230px; margin-top: 28px; flex: none; }
.ps-stage .pass-card .qr { width: 120px; height: 120px; }
.ps-tablet { width: 380px; height: 260px; flex: none; border-radius: 22px; border: 7px solid var(--text); background: var(--page); padding: 14px; display: grid; gap: 8px; align-content: start; }
.ps-tablet .t { font-size: 0.8667rem; font-weight: 600; }
.ps-tablet .tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ps-tablet .tiles div { background: #fff; border-radius: 12px; padding: 8px 10px; font-size: 0.6667rem; color: var(--text-3); }
.ps-tablet .tiles strong { display: block; font-size: 1.3333rem; font-weight: 600; color: var(--text); }
.ps-tablet .ps-row { background: #fff; border-radius: 12px; padding: 8px 10px; font-size: 0.7333rem; display: flex; justify-content: space-between; gap: 8px; }
.ps-tablet .ps-row code { background: none; padding: 0; font-size: inherit; }
/* Sign-in and sign-up: one centred card. */
.auth { max-width: 420px; margin: 24px auto 0; text-align: center; }
.auth-wide { max-width: 520px; }
.auth .mark { display: block; width: 40px; height: 40px; border-radius: 12px; background: var(--text); margin: 0 auto 16px; position: relative; }
.auth .mark::after { content: ""; position: absolute; left: 11px; right: 11px; top: 8px; height: 5px; border-radius: 3px; background: var(--page); }
.auth h1 { font-family: var(--font-display); font-size: 1.8667rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.auth .sub { color: var(--text-3); margin-bottom: 24px; }
.auth form { text-align: left; }
.auth .form-control { min-height: 48px; border-radius: 14px; padding: 10px 16px; }
@media (min-width: 768px) { .ps-hero { padding-top: 56px; } .ps-hero h1 { font-size: 4.25rem; } }
@media (max-width: 991.98px) { .ps-tablet { display: none; } }
@media (max-width: 575.98px) { .ps-stage { height: 300px; gap: 12px; padding-top: 24px; border-radius: 24px; } .ps-phone { width: 150px; height: 300px; } .ps-stage .pass-card { width: 170px; } .ps-stage .pass-card .qr { width: 90px; height: 90px; } }

/* Liquid Glass, for things that float over content only. */
.glass { background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); box-shadow: var(--glass-edge), 0 8px 24px rgba(0, 0, 0, 0.08); }
/* A floating action bar: the form's main button stays under the thumb while the form scrolls behind it. */
/* The phone menu opens as a glass sheet under the top bar. */
@media (max-width: 991.98px) {
  .site-nav .navbar-collapse.show, .site-nav .navbar-collapse.collapsing { margin-top: 8px; padding: 8px; border-radius: 18px;
    background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border); box-shadow: var(--glass-edge), 0 8px 24px rgba(0, 0, 0, 0.08); }
}
/* Browsers that cannot blur get a nearly solid bar; people who reduce transparency get a solid one. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { :root { --glass-bg: rgba(250, 250, 252, 0.96); } }
@media (prefers-reduced-transparency: reduce) { :root { --glass-bg: #fafafc; --glass-blur: none; } }
@media (prefers-contrast: more) { :root { --glass-bg: #ffffff; --glass-blur: none; --line: rgba(0, 0, 0, 0.25); } }

/* Phones and tablets first: most people use the portals on a handphone or tablet.
   Touch targets at least 44px; 16px text in fields so phones do not zoom when one is tapped. */
.btn, .form-control, .form-select { min-height: 44px; }
.btn-sm { min-height: 36px; }
.form-control, .form-select { font-size: 16px; }
.form-check-input { width: 1.25em; height: 1.25em; margin-top: 0.15em; }
.form-check-label { padding-left: 4px; }
.site-nav .navbar-toggler { border: 0; border-radius: 980px; padding: 8px 10px; background: rgba(0, 0, 0, 0.05); }
.site-nav .navbar-toggler:focus { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px rgba(0, 102, 204, 0.5); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -12px; padding: 0 12px; }
.table-scroll > .table { min-width: 560px; }
@media (max-width: 575.98px) {
  html { font-size: 16px; }
  h1, .h3 { font-size: 1.5rem; }
  .site-nav .navbar-collapse { padding: 8px 0 12px; }
  .site-nav .nav-link { padding: 10px 8px !important; }
  .stat { padding: 12px 16px; }
  .stat .n { font-size: 1.75rem; }
  .panel { padding: 20px 16px; }
  .footer { line-height: 1.5; padding: 20px 0; }
  body { margin-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } .btn:active { transform: none; } }

/* Back-to-top button: an accent-blue circle in the bottom-right corner, shown after scrolling (see _Layout). */
.to-top { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 1030; width: 56px; height: 56px;
    display: grid; place-items: center; border-radius: 50%; border: 0; color: #fff; background: #0066cc;
    box-shadow: 0 6px 20px rgba(0, 102, 204, .35); cursor: pointer; }
.to-top svg { width: 24px; height: 24px; stroke-width: 2.5; }
.to-top[hidden] { display: none; }
.to-top:hover { background: #0071e3; }
.to-top:focus-visible { outline: 2px solid #0066cc; outline-offset: 2px; }

/* Long brand names wrap instead of pushing the menu button off small screens. */
a.navbar-brand { white-space: normal; }

/* Sign-up journey: 3 steps across the top of each sign-up page (Pages/SignUp/_Steps.cshtml). */
.signup-steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 auto 24px; max-width: 520px; counter-reset: none; }
.signup-steps li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .8125rem; color: #6e6e73; text-align: center; position: relative; }
.signup-steps li + li::before { content: ""; position: absolute; top: 14px; right: calc(50% + 20px); width: calc(100% - 32px); height: 2px; background: rgba(0,0,0,.1); }
.signup-steps li.done + li::before { background: #0066cc; }
.signup-steps .dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: .8125rem;
    background: #fff; border: 2px solid rgba(0,0,0,.12); color: #6e6e73; position: relative; z-index: 1; }
.signup-steps li.current { color: #1d1d1f; font-weight: 600; }
.signup-steps li.current .dot { border-color: #0066cc; color: #0066cc; }
.signup-steps li.done .dot { background: #0066cc; border-color: #0066cc; color: #fff; }

/* Home page "Get started" checklist for a new site's admin. */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.checklist li { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.checklist .tick { width: 24px; height: 24px; flex: none; border-radius: 50%; border: 2px solid rgba(0,0,0,.15); display: grid; place-items: center;
    font-size: .75rem; font-weight: 700; color: #fff; }
.checklist li.done .tick { background: #1a7f37; border-color: #1a7f37; }
.checklist li.done > span:last-child { color: #6e6e73; text-decoration: line-through; }

/* ===== Home page "showroom" (Pages/Index.cshtml, layout flag Showroom): black bar, coloured mosaic, full-width
   panels and a 2-up tile grid. hp- prefix so nothing here touches other pages. ===== */
.hp-wrap { padding-left: max(5vw, 16px, env(safe-area-inset-left, 0px)); padding-right: max(5vw, 16px, env(safe-area-inset-right, 0px)); }
.hp-nav { position: sticky; top: 0; z-index: 1030; background: rgba(0, 0, 0, .86); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); color: #f5f5f7; }
.hp-nav-in { display: flex; align-items: center; gap: 22px; height: 48px; max-width: 1080px; margin: auto; }
.hp-mark { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: #f5f5f7; text-decoration: none; }
.hp-mark .brand-mark { background: #f5f5f7; }
.hp-mark .brand-mark::after { background: #000; }
.hp-links { display: flex; align-items: center; gap: 22px; margin-left: auto; font-size: 12px; }
.hp-links a { color: #d2d2d7; text-decoration: none; }
.hp-links a:hover { color: #fff; }
.hp-links .hp-signin { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px 6px 10px; border-radius: 980px; background: #f5f5f7; color: #1d1d1f; font-weight: 600; }
.hp-links .hp-signin:hover { background: #fff; color: #1d1d1f; }
.hp-signin svg { width: 15px; height: 15px; stroke: #1d1d1f; fill: none; stroke-width: 2; }
.hp-icons { display: none; margin-left: auto; gap: 8px; }
.hp-icons a, .hp-icons button { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; color: #f5f5f7; }
.hp-icons svg { width: 20px; height: 20px; stroke: #f5f5f7; fill: none; stroke-width: 1.6; }
.hp-menu { background: #000; }
.hp-menu a { display: block; padding: 14px max(5vw, 16px); color: #f5f5f7; text-decoration: none; font-size: 17px; border-top: 1px solid #1d1d1f; }
.hp-promo { background: #1d1d1f; color: #f5f5f7; text-align: center; font-size: 14px; padding: 12px 16px; }
.hp-promo a { color: #2997ff; }
.hp-mosaic { display: grid; grid-template-columns: 2fr 1fr 2fr; height: clamp(240px, 34vw, 460px); }
.hp-tile { position: relative; overflow: hidden; }
.hp-tile svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hp-split { display: grid; grid-template-rows: 1fr 1fr; }
.hp-band { background: #134e48; color: #fff; text-align: center; padding: clamp(40px, 6vw, 72px) 16px; }
.hp-band h1 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 700; letter-spacing: -.02em; line-height: 1.07; max-width: 18em; margin: 0 auto; color: #fff; }
.hp-band p { font-size: clamp(19px, 2.2vw, 24px); margin: 10px auto 0; color: #e6f2ef; max-width: 36em; }
.hp-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.hp-btn { display: inline-block; padding: 11px 22px; border-radius: 980px; font-size: 17px; font-weight: 500; border: 1px solid #0071e3; background: #0071e3; color: #fff; white-space: nowrap; text-decoration: none; }
.hp-btn:hover { background: #0077ed; color: #fff; }
.hp-ghost { background: transparent; color: #0066cc; border-color: #0066cc; }
.hp-ghost:hover { background: #0066cc; color: #fff; }
.hp-gap { height: 12px; background: #fff; }
.hp-panel { text-align: center; padding-top: clamp(44px, 6vw, 64px); overflow: hidden; }
.hp-panel h2, .hp-card h3 { font-weight: 700; letter-spacing: -.02em; line-height: 1.07; margin: 0; }
.hp-panel h2 { font-size: clamp(40px, 6vw, 56px); }
.hp-sub { font-size: clamp(19px, 2.4vw, 28px); margin: 6px 0 0; }
.hp-dark { background: #000; color: #f5f5f7; }
.hp-dark h2 { color: #f5f5f7; }
.hp-dark .hp-ghost { color: #2997ff; border-color: #2997ff; }
.hp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 12px; background: #fff; }
.hp-card { text-align: center; padding: 48px 20px 0; min-height: 520px; display: flex; flex-direction: column; overflow: hidden; scroll-margin-top: 60px; }
.hp-card h3 { font-size: clamp(30px, 3.6vw, 40px); }
.hp-card p { margin: 6px 0 0; font-size: 19px; }
.hp-art { position: relative; margin-top: auto; height: 260px; }
.hp-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hp-video { display: block; width: 100%; max-width: 560px; aspect-ratio: 16 / 9; margin: 24px auto 32px; border-radius: 18px; background: #134e48; }
.hp-c1 { background: #cdeee0; }
.hp-c2 { background: #fff7ed; }
.hp-c3 { background: #111; color: #f5f5f7; }
.hp-c3 h3 { color: #f5f5f7; }
.hp-c3 .hp-ghost { color: #2997ff; border-color: #2997ff; }
.hp-c4 { background: #f5f5f7; }
.hp-mosaic text, .hp-art text { font-family: inherit; }
@media (max-width: 734px) {
    .hp-links { display: none; }
    .hp-icons { display: flex; }
    .hp-grid { grid-template-columns: minmax(0, 1fr); }
    .hp-card { min-height: 440px; }
    .hp-mosaic { grid-template-columns: 1.25fr 1fr 1.6fr; }
}
@media (min-width: 735px) { .hp-menu { display: none !important; } }
/* Showroom polish: the brand mark at its size in the black bar; no underlined links; the reception record card. */
.hp-mark .brand-mark { width: 20px; height: 20px; border-radius: 7px; position: relative; flex: none; }
.hp-mark .brand-mark::after { content: ""; position: absolute; left: 6px; right: 6px; top: 4px; height: 3px; border-radius: 2px; }
.hp-promo a, .hp-footer a { text-decoration: none; }
.hp-promo a:hover, .hp-footer a:hover { text-decoration: underline; }
.hp-dark { padding-bottom: clamp(48px, 6vw, 80px); }
.hp-record { max-width: 520px; margin: 36px auto 0; padding: 8px 24px 12px; border-radius: 20px; background: #1d1d1f; text-align: left; }
.hp-record-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-weight: 600; font-size: 17px; }
.hp-record .passcode span { background: #2c2c2e; border-color: rgba(255, 255, 255, .16); color: #f5f5f7; }
.hp-record dl { margin: 0; }
.hp-record dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 16px; }
.hp-record dl > div:last-child { border-bottom: 0; }
.hp-record dt { font-weight: 400; color: #a1a1a6; }
.hp-record dd { margin: 0; color: #f5f5f7; font-variant-numeric: tabular-nums; text-align: right; }
.hp-record .hp-good { color: #86efac; font-weight: 600; }
.hp-panel { padding-left: max(5vw, 16px, env(safe-area-inset-left, 0px)); padding-right: max(5vw, 16px, env(safe-area-inset-right, 0px)); }
