/* BlueThroat — shared site styles. Product pages set --accent via .product.casement / .product.forecourt. */
:root {
  --bg: #fbfaf7;
  --bg-alt: #f3f1ec;
  --surface: #ffffff;
  --ink: #16161a;
  --ink-2: #3b3b44;
  --muted: #676772;
  --line: #e4e1d9;
  --brand: #3b3bd6;
  --accent: var(--brand);
  --accent-ink: #ffffff;
  --accent-soft: color-mix(in srgb, var(--accent) 10%, transparent);
  --casement: #0f8a7a;
  --casement-bright: #1bbea8;
  --forecourt: #b3124a;
  --clockgauge: #4338ca;
  --forecourt-bright: #ff6b9a;
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1160px;
  --shadow: 0 1px 2px rgb(20 20 30 / 0.05), 0 12px 32px -12px rgb(20 20 30 / 0.18);
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f0f12; --bg-alt: #16161b; --surface: #1b1b21; --ink: #f2f1ed; --ink-2: #d4d3cf;
    --muted: #a0a0aa; --line: #2b2b33; --brand: #8b8bff; --accent-ink: #0d0d10;
    --casement: #3fd6c1; --forecourt: #ff7aa5; --clockgauge: #8d8cff;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 16px 40px -12px rgb(0 0 0 / 0.6);
  }
}
:root[data-theme="dark"] {
  --bg: #0f0f12; --bg-alt: #16161b; --surface: #1b1b21; --ink: #f2f1ed; --ink-2: #d4d3cf;
  --muted: #a0a0aa; --line: #2b2b33; --brand: #8b8bff; --accent-ink: #0d0d10;
  --casement: #3fd6c1; --forecourt: #ff7aa5; --clockgauge: #8d8cff;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 16px 40px -12px rgb(0 0 0 / 0.6);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16.5px/1.65 var(--sans); }
a { color: var(--accent); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand { gap: 12px; }
.brand .bi { width: 34px; height: 34px; display: block; }
.brand .wm { height: 22px; width: auto; display: block; }
.brand .wm-dark { display: none; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav .btn { color: var(--accent-ink); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; color: var(--ink); font: inherit; font-size: 14px; }
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav a { padding: 10px 0; font-size: 16px; }
  .top[data-open] .nav { display: flex; }
}

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
h1 { font-size: clamp(42px, 7vw, 76px); line-height: 1.02; margin: 0 0 22px; }
h2 { font-size: clamp(32px, 4.6vw, 50px); line-height: 1.06; margin: 0 0 16px; }
h3 { font-size: 18px; line-height: 1.35; margin: 0 0 6px; letter-spacing: -0.005em; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 58ch; margin: 0 0 30px; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 18px; margin: 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 15.5px;
  text-decoration: none; border: 1px solid var(--line); color: var(--ink); background: var(--surface); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.small { padding: 8px 14px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }
.note { font-size: 14px; color: var(--muted); margin-top: 16px; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero { padding: 84px 0 72px; overflow: hidden; }
@media (max-width: 760px) { .section { padding: 64px 0; } .hero { padding: 48px 0 40px; } }

/* ---------- home ---------- */
.home-hero h1 { max-width: 14ch; }
.product-showcase { display: grid; gap: 24px; }
.showcase { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.showcase .copy { padding: 48px; display: flex; flex-direction: column; gap: 14px; }
.showcase .copy p { color: var(--muted); margin: 0; }
.showcase .copy .app-id { display: flex; align-items: center; gap: 14px; }
.showcase .copy .app-id img { width: 64px; height: 64px; }
.showcase .copy .app-id strong { display: block; font-size: 24px; letter-spacing: -0.01em; }
.showcase .copy .app-id span { color: var(--muted); font-size: 14px; }
.showcase .copy ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.showcase .copy li { padding-left: 24px; position: relative; color: var(--ink-2); }
.showcase .copy li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg) translateY(-50%); }
.showcase .copy .more { margin-top: auto; padding-top: 12px; font-weight: 600; color: var(--accent); }
.showcase .visual { position: relative; min-height: 340px; display: grid; place-items: center; padding: 32px; overflow: hidden; }
.showcase.casement { --accent: var(--casement); }
.showcase.forecourt { --accent: var(--forecourt); }
.showcase.clockgauge { --accent: var(--clockgauge); }
.showcase.casement .visual { background: radial-gradient(120% 90% at 70% 30%, #1f5b54 0%, #111618 70%); }
.showcase.forecourt .visual { background: radial-gradient(120% 90% at 30% 20%, #ff6b9a 0%, #b3124a 75%); }
.showcase:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
@media (max-width: 860px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase .copy { padding: 28px; }
  .showcase .visual { min-height: 260px; order: -1; }
}

.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.principle { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.principle .num { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--brand); margin-bottom: 14px; }
.principle p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .principles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .principles { grid-template-columns: 1fr; } }

.soon-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 36px 40px; border-radius: 24px; border: 1px dashed var(--line); }
.soon-band h3 { font-size: 22px; }
.soon-band p { margin: 0; color: var(--muted); }

/* ---------- product pages ---------- */
.product.casement { --accent: var(--casement); }
.product.forecourt { --accent: var(--forecourt); }
.product.clockgauge { --accent: var(--clockgauge); }
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.product-hero .app-badge { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.product-hero .app-badge img { width: 56px; height: 56px; }
.product-hero .app-badge strong { font-size: 18px; display: block; }
.product-hero .app-badge span { color: var(--muted); font-size: 14px; }
.hero-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; font-size: 14px; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (max-width: 960px) { .product-hero { grid-template-columns: 1fr; gap: 40px; } }

.stage { position: relative; border-radius: 24px; padding: 28px; min-height: 420px; display: grid; place-items: center; overflow: hidden; }
.casement .stage { background: radial-gradient(110% 90% at 75% 20%, #235f57 0%, #0f1416 72%); }
.forecourt .stage { background: linear-gradient(160deg, #eaf8f0 0%, #bfe8d2 100%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .forecourt .stage { background: linear-gradient(160deg, #0d241a 0%, #11402b 100%); } }

.feature-rows { display: grid; gap: 96px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-row:nth-child(even) .feature-copy { order: 2; }
.feature-copy p:not(.eyebrow) { color: var(--muted); font-size: 17px; margin: 0 0 14px; }
.feature-copy h2 { font-size: clamp(28px, 3.6vw, 40px); }
.feature-copy .points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.feature-copy .points li { display: flex; gap: 10px; color: var(--ink-2); font-size: 15.5px; }
.feature-copy .points li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
@media (max-width: 860px) {
  .feature-rows { gap: 64px; }
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row:nth-child(even) .feature-copy { order: 0; }
}

.grid-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gf { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.gf .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 14px;
  background: var(--accent-soft); color: var(--accent); }
.gf .ico svg { width: 22px; height: 22px; }
.gf p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .grid-features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-features { grid-template-columns: 1fr; } }

.group-label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 40px 0 14px; }
.group-label:first-child { margin-top: 0; }

/* pricing */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tiers.two { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.tier { position: relative; padding: 32px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; }
.tier.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.tier .badge { position: absolute; top: -13px; left: 32px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; }
.tier .name { font-weight: 700; font-size: 18px; }
.tier .desc { color: var(--muted); font-size: 15px; margin: 4px 0 18px; }
.tier .price { font-family: var(--serif); font-size: 56px; line-height: 1; }
.tier .price small { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-left: 6px; }
.tier ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 9px; font-size: 15px; }
.tier li { padding-left: 26px; position: relative; }
.tier li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.tier .btn { margin-top: auto; justify-content: center; }
@media (max-width: 960px) { .tiers, .tiers.two { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; margin-bottom: 16px; }
.steps li p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* shortcuts */
.keys { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.keys div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
kbd { font: 600 13px ui-monospace, SFMono-Regular, Menlo, monospace; padding: 3px 8px; border-radius: 6px;
  border: 1px solid var(--line); border-bottom-width: 2px; background: var(--surface); white-space: nowrap; }
@media (max-width: 700px) { .keys { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; padding: 18px 36px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; font-weight: 400; color: var(--muted); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* cta band */
.cta-band { text-align: center; padding: 72px 24px; border-radius: 28px; background: var(--ink); color: var(--bg); }
.cta-band h2 { color: var(--bg); }
.cta-band p { color: color-mix(in srgb, var(--bg) 70%, transparent); max-width: 52ch; margin: 0 auto 28px; font-size: 18px; }
.cta-band .actions { justify-content: center; }
.cta-band .btn:not(.primary) { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 30%, transparent); }
.cta-band img { width: 72px; height: 72px; margin: 0 auto 20px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 96px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 12px; font-weight: 600; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot p { color: var(--muted); margin: 12px 0 0; max-width: 34ch; }
.foot-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- plain pages ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 30px; margin-top: 44px; }
.prose p, .prose li { color: var(--ink-2); }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }

/* =====================================================================
   Product mock-ups (pure HTML/CSS, so they stay sharp and theme-proof)
   ===================================================================== */

/* Casement — graphite panels, teal accent */
.cm { --t: #1bbea8; --g: rgba(24,28,31,.92); font: 13px/1.4 -apple-system, "SF Pro Text", var(--sans); color: #eef2f1; }
.cm-panel { background: var(--g); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.cm-control { width: 320px; max-width: 100%; overflow: hidden; }
.cm-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px 10px; }
.cm-head .mk { width: 22px; height: 22px; color: var(--t); }
.cm-head b { display: block; font-size: 14px; }
.cm-head small { color: var(--t); font-size: 11px; }
.cm-head .login { margin-left: auto; font-size: 11px; color: rgba(255,255,255,.6); display: flex; gap: 6px; align-items: center; }
.cm-head .login i { width: 12px; height: 12px; border-radius: 3px; background: var(--t); display: inline-block; }
.cm-sec { padding: 8px 12px 2px; }
.cm-sec > span { display: block; font-size: 10px; letter-spacing: .08em; font-weight: 600; color: rgba(255,255,255,.45); padding: 0 4px 6px; }
.cm-row { display: flex; align-items: center; gap: 10px; padding: 6px 4px; }
.cm-row .ic { width: 30px; height: 30px; border-radius: 7px; display: grid; place-items: center; background: rgba(27,190,168,.16); color: var(--t); flex: none; }
.cm-row .ic.off { background: rgba(255,255,255,.06); color: rgba(255,255,255,.5); }
.cm-row .ic svg { width: 16px; height: 16px; }
.cm-row b { font-weight: 500; display: block; }
.cm-row small { color: rgba(255,255,255,.5); font-size: 11px; }
.cm-sw { margin-left: auto; width: 30px; height: 18px; border-radius: 9px; background: var(--t); position: relative; flex: none; }
.cm-sw::after { content: ""; position: absolute; right: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.cm-sw.off { background: rgba(255,255,255,.18); }
.cm-sw.off::after { right: auto; left: 2px; }
.cm-seg { display: flex; margin: 2px 0 6px 44px; background: rgba(255,255,255,.08); border-radius: 7px; padding: 2px; font-size: 11px; }
.cm-seg span { flex: 1; text-align: center; padding: 3px 0; border-radius: 5px; color: rgba(255,255,255,.7); }
.cm-seg span.on { background: rgba(255,255,255,.18); color: #fff; }
.cm-card { margin: 10px 12px; padding: 12px; border: 1px solid rgba(27,190,168,.45); border-radius: 12px; display: flex; gap: 12px; align-items: center; }
.cm-card .ic { width: 34px; height: 34px; border-radius: 8px; background: var(--t); display: grid; place-items: center; color: #062; }
.cm-card .ic svg { width: 18px; height: 18px; color: #04201c; }
.cm-foot { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: rgba(255,255,255,.04); }
.cm-foot .buy { background: var(--t); color: #04201c; font-weight: 600; font-size: 11px; padding: 4px 10px; border-radius: 6px; }
.cm-foot .v { margin-left: auto; color: rgba(255,255,255,.45); font-size: 10px; }
.cm-foot .dot { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.07); }

.cm-layouts { display: flex; gap: 12px; padding: 12px; }
.cm-lay { width: 88px; }
.cm-lay .card { height: 54px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.03); border-radius: 7px; padding: 7px; display: grid; gap: 4px; }
.cm-lay .card i { background: rgba(255,255,255,.18); border-radius: 2.5px; display: block; }
.cm-lay.hot .card { border-color: var(--t); border-width: 1.5px; background: rgba(255,255,255,.08); }
.cm-lay.hot .card i.on { background: var(--t); }
.cm-lay em { display: block; font-style: normal; text-align: center; font-size: 10.5px; color: rgba(255,255,255,.6); margin-top: 5px; }
.cm-lay.hot em { color: var(--t); font-weight: 600; }

.cm-switch { width: 380px; max-width: 100%; padding: 10px; }
.cm-switch > span { display: block; font-size: 10px; letter-spacing: .08em; font-weight: 600; color: rgba(255,255,255,.45); padding: 4px 10px 8px; }
.cm-win { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 7px; position: relative; }
.cm-win .app { width: 28px; height: 28px; border-radius: 7px; flex: none; }
.cm-win b { font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-win small { color: rgba(255,255,255,.5); font-size: 11px; }
.cm-win .n { margin-left: auto; color: rgba(255,255,255,.3); font: 500 11px ui-monospace, monospace; }
.cm-win.sel { background: rgba(27,190,168,.22); }
.cm-win.sel::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: var(--t); }

.cm-desk { width: 100%; max-width: 520px; aspect-ratio: 16/10; border-radius: 14px; background: linear-gradient(135deg, #2c4e57, #1a2629);
  border: 1px solid rgba(255,255,255,.08); position: relative; padding: 38px 10px 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cm-desk .bar { position: absolute; top: 0; left: 0; right: 0; height: 22px; background: rgba(0,0,0,.35); border-radius: 14px 14px 0 0; }
.cm-desk .w { border-radius: 8px; background: rgba(255,255,255,.9); position: relative; overflow: hidden; }
.cm-desk .w::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: #e7ebea; }
.cm-desk .w.drop { background: rgba(27,190,168,.18); border: 3px solid #1bbea8; border-radius: 4px; }
.cm-desk .chooser { position: absolute; top: 28px; left: 50%; transform: translateX(-50%) scale(.72); transform-origin: top center; }

.cm-dockhover { width: 250px; padding: 8px; }
.cm-dockhover > span { display: block; font-size: 10px; letter-spacing: .08em; font-weight: 600; color: rgba(255,255,255,.45); padding: 4px 8px 6px; }
.cm-dockhover .r { padding: 7px 10px; border-radius: 7px; display: flex; gap: 8px; align-items: center; }
.cm-dockhover .r.hot { background: rgba(27,190,168,.2); color: var(--t); }
.cm-dockhover .r svg { width: 14px; height: 14px; opacity: .7; }
.cm-dockhover hr { border: 0; border-top: 1px solid rgba(255,255,255,.1); margin: 6px 4px; }
.cm-dock { display: flex; gap: 10px; padding: 8px 12px; border-radius: 18px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); margin-top: 16px; justify-content: center; }
.cm-dock i { width: 42px; height: 42px; border-radius: 10px; display: block; position: relative; }
.cm-dock i.on::after { content: ""; position: absolute; bottom: -6px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #fff; }
.cm-dock i.face { border-radius: 50%; border: 3px solid #fff; }

.cm-shelf { display: flex; gap: 6px; padding: 12px; }
.cm-shelf div { width: 74px; text-align: center; padding: 8px 4px; border-radius: 7px; font-size: 11px; }
.cm-shelf div i { display: block; width: 36px; height: 36px; border-radius: 9px; margin: 0 auto 6px; }
.cm-shelf div.hot { background: var(--t); color: #04201c; font-weight: 600; }
.cm-toast { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; margin-top: 14px; }
.cm-toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--t); }

/* Dealer Garage — a light desktop app window */
.fc { font: 12.5px/1.4 var(--sans); color: #1f2328; width: 100%; max-width: 620px; }
.fc-win { background: #fff; border-radius: 12px; box-shadow: 0 30px 70px -24px rgba(120,50,0,.45), 0 0 0 1px rgba(0,0,0,.06); overflow: hidden; }
.fc-title { height: 30px; background: #f5f3f0; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid #ebe7e1; }
.fc-title i { width: 10px; height: 10px; border-radius: 50%; background: #e0dcd6; }
.fc-title span { margin-left: 10px; color: #8a8580; font-size: 11px; }
.fc-body { display: grid; grid-template-columns: 136px 1fr; min-height: 320px; }
.fc-side { background: #1f1a17; color: #d9d2cb; padding: 12px 8px; font-size: 11.5px; }
.fc-side .logo { display: flex; align-items: center; gap: 8px; padding: 4px 6px 12px; color: #fff; font-weight: 700; }
.fc-side .logo img { width: 20px; height: 20px; }
.fc-side div.it { padding: 6px 8px; border-radius: 6px; }
.fc-side div.it.on { background: rgba(255,107,154,.18); color: #ffb3cb; }
.fc-main { padding: 14px 16px; background: #fbfaf8; }
.fc-main h5 { margin: 0 0 10px; font-size: 14px; }
.fc-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.fc-kpis div { background: #fff; border: 1px solid #efe9e2; border-radius: 8px; padding: 8px 10px; }
.fc-kpis small { color: #8a8580; display: block; font-size: 10.5px; }
.fc-kpis b { font-size: 16px; }
.fc-table { background: #fff; border: 1px solid #efe9e2; border-radius: 8px; overflow: hidden; }
.fc-table div { display: grid; grid-template-columns: 1.6fr 1fr .8fr .9fr; gap: 6px; padding: 7px 10px; border-top: 1px solid #f3eee8; align-items: center; }
.fc-table div:first-child { border-top: 0; color: #8a8580; font-size: 10.5px; background: #fcfaf7; }
.fc-pill { font-size: 10px; padding: 2px 7px; border-radius: 999px; background: #e6f6ec; color: #1b7a43; justify-self: start; }
.fc-pill.warn { background: #fff0e0; color: #b3510c; }
.fc-pill.blue { background: #e8efff; color: #2f55c7; }
@media (max-width: 520px) { .fc-body { grid-template-columns: 1fr; } .fc-side { display: none; } }

.fc-doc { background: #fff; border-radius: 10px; box-shadow: 0 20px 50px -20px rgba(120,50,0,.35), 0 0 0 1px rgba(0,0,0,.06); padding: 20px; width: 300px; max-width: 100%; font: 11px/1.5 var(--sans); color: #333; }
.fc-doc b { display: block; font-size: 13px; margin-bottom: 10px; }
.fc-doc .ln { height: 7px; border-radius: 4px; background: #eee9e3; margin: 7px 0; }
.fc-doc .sig { margin-top: 16px; border-top: 1px dashed #ccc; padding-top: 6px; color: #999; font-size: 10px; }
.fc-kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; max-width: 520px; font: 11px/1.4 var(--sans); color: #333; }
.fc-kanban .col { background: rgba(255,255,255,.6); border-radius: 10px; padding: 8px; }
.fc-kanban .col > span { font-weight: 600; font-size: 11px; display: block; margin-bottom: 6px; color: #7a4a1f; }
.fc-kanban .cardk { background: #fff; border-radius: 7px; padding: 8px; margin-bottom: 6px; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.fc-kanban .cardk small { color: #999; display: block; }

/* --accent-soft must be re-declared where --accent changes, or it keeps the root colour. */
.product, .showcase { --accent-soft: color-mix(in srgb, var(--accent) 12%, transparent); }
.fc-table div > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-table div { grid-template-columns: 2fr .8fr .9fr 1fr; }

/* Product photography */
.photo img { width: 100%; height: auto; border-radius: 24px; }
.showcase.forecourt .visual { background: #fff; padding: 0; }
.showcase.forecourt .visual img { width: 100%; height: 100%; object-fit: cover; }
.showcase.casement .visual { background: #0e1a1a; padding: 0; min-height: 0; }
.showcase.casement .visual img { width: 100%; height: auto; }
.showcase.casement .visual { align-items: center; }

.showcase.clockgauge .visual { background: #eceafc; padding: 0; min-height: 0; align-items: center; }
.showcase.clockgauge .visual img { width: 100%; height: auto; }
.clockgauge .photo img, .product.clockgauge .feature-row .photo img { border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); border-radius: 18px; }

/* ---------- app strip under the main menu ---------- */
.subnav { position: sticky; top: 64px; z-index: 19; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; align-items: center; gap: 22px; height: 52px; }
.sub-id { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15.5px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.sub-id img { width: 26px; height: 26px; border-radius: 7px; }
.subnav nav { display: flex; gap: 20px; margin-left: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav nav::-webkit-scrollbar { display: none; }
.subnav nav a { color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.subnav nav a:hover { color: var(--ink); }
.subnav .btn { margin-left: auto; flex: none; }
@media (max-width: 560px) { .subnav .wrap { gap: 14px; } .sub-id span { display: none; } }
.steps.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .steps.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps.four { grid-template-columns: 1fr; } }
html { scroll-padding-top: 124px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand .wm { display: none; } :root:not([data-theme="light"]) .brand .wm-dark { display: block; } }
:root[data-theme="dark"] .brand .wm { display: none; } :root[data-theme="dark"] .brand .wm-dark { display: block; }
.photo img.shot { border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); background: var(--surface); width: 100%; height: auto; }
.group-label { margin-top: 44px; }
