@font-face {
  font-family: Manrope;
  src: url('/fonts/manrope-latin-wght.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --font: Manrope, system-ui, sans-serif;
  --bg: #0b1020;
  --card: #111827;
  --line: #1f2937;
  --fg: #e5e7eb;
  --muted: #9ca3af;
  --accent: #34d399;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
html[data-dxh] body {
  margin: 0;
  min-width: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
}
button, input { font: inherit; }
a { color: #a5b4fc; }
a:hover { color: #c7d2fe; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
#landing { width: 100%; }
.hero { padding: 80px 5% 100px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { margin: 0; font-size: clamp(40px, 5.5vw, 68px); line-height: 1.05; letter-spacing: -.03em; color: #fff; font-weight: 800; }
.subtitle { margin: 0; font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 520px; }
.signup-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; }
.signup-form input { flex: 1 1 240px; min-width: 0; width: 100%; font-size: 16px; padding: 16px 18px; border-radius: 12px; border: 1px solid #334155; background: var(--card); color: #fff; }
.signup-form input::placeholder { color: var(--muted); opacity: 1; }
.create-account { font-weight: 700; font-size: 16px; padding: 16px 24px; border-radius: 12px; border: 0; background: var(--accent); color: var(--bg); cursor: pointer; }
.create-account:hover { background: #6ee7b7; }
.google-note { margin: 0; font-size: 14px; color: var(--muted); }
.google-note button { margin: 0; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; text-align: left; line-height: 1.6; }
.google-note button:hover { color: var(--fg); text-decoration: underline; }
.panel-preview { flex: 1 1 460px; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.preview-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.preview-title { font-weight: 700; color: #fff; }
.example-badge { font-size: 12px; font-weight: 700; color: var(--accent); border: 1px solid #245548; border-radius: 999px; padding: 4px 10px; flex-shrink: 0; }
.preview-business { font-size: 13px; color: var(--muted); }
.preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.metric { min-width: 0; background: var(--bg); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.metric span { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.metric strong { font-size: 28px; font-weight: 800; color: #fff; overflow-wrap: anywhere; }
.next-appointment { background: var(--bg); border-radius: 14px; padding: 16px 18px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.view-calendar { font-size: 13px; color: var(--accent); }
.products { padding: 0 5% 110px; }
.products h2 { margin: 0 0 24px; font-size: 26px; color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.product-card { min-width: 0; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; color: var(--fg); display: flex; flex-direction: column; gap: 8px; overflow-wrap: anywhere; }
.product-card strong { color: #fff; font-size: 18px; }
.product-card span { color: var(--muted); line-height: 1.5; }
.product-card:hover { border-color: var(--accent); }

/* Local dark layer over signed shared chrome. Shared Header 2 has no dark
   theme or top-bar slot. Retain its brand, login, footer and cookie notice. */
html[data-dxh] { --dxh-h: 92px; --dxh-side-w: 0px; }
.top.dxh { position: relative; inset: auto; height: auto; min-height: 92px; padding: 22px 5%; gap: 16px; flex-wrap: wrap; background: var(--bg); border: 0; color: var(--fg); font-family: var(--font); }
.dxh-brand { color: #fff; gap: 10px; }
.dxh-name { font-weight: 800; font-size: 20px; letter-spacing: normal; }
.top.dxh .dxh-left, .top.dxh .dxh-help, .top.dxh .dxh-settings, .top.dxh .dxh-apps { display: none; }
.top.dxh .dxh-right { gap: 10px; }
.landing-explore { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--fg); font-weight: 600; padding: 12px 16px; }
.landing-explore:hover { color: #fff; }
.top.dxh .nav-login { width: auto; height: auto; min-height: 44px; padding: 12px 20px; border-radius: 999px; background: #fff; color: var(--bg); font-weight: 700; white-space: nowrap; }
.top.dxh .nav-login:hover { background: var(--fg); color: var(--bg); }
.top.dxh .nav-login:not(.is-signed-in) > svg { display: none; }
html[data-dxh][data-dxf] body { padding-bottom: 0; min-height: 100vh; }
html[data-dxh] body > .foot.dxf,
html[data-dxh][data-dxf] body > .foot.dxf,
html[data-dxh]:not([data-dxf]) body > .foot.dxf {
  position: static; margin: auto 0 0; padding: 32px 5%; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center;
  background: var(--bg); border-top: 1px solid var(--line); color: var(--muted); font: 14px var(--font);
}
.dxf .dxf-left, .dxf .dxf-right { gap: 0; }
.dxf .dxf-logo { display: none; }
.dxf .dxf-links { display: flex; flex-wrap: wrap; gap: 20px; }
.dxf .dxf-link, .dxf .dxf-copy, .dxf .dxf-lang-link { color: var(--muted); font-size: 14px; }
.dxf .dxf-link:hover, .dxf .dxf-lang-link:hover, .dxf .dxf-lang-link[aria-current] { color: var(--fg); }
.dxf .dxf-lang { display: flex; gap: 0; white-space: pre; }
.dxf .dxf-lang-link { display: inline-flex; align-items: center; min-height: 44px; }
/* Overlay surfaces must stay opaque over the page, including shared menus. */
.nav-user-menu, .lang-menu, .dxh-pop, .top.dxh .dxh-side, .dxl-card {
  background: var(--card); border-color: var(--line); color: var(--fg);
}
.dxk {
  background: var(--card); border: 1px solid var(--line); color: var(--fg); font-family: var(--font);
  z-index: 40; max-height: calc(100dvh - 16px); overflow-y: auto; overflow-wrap: anywhere; animation: none;
}
.dxk .dxk-title { color: var(--fg); }
.dxk .dxk-text { color: var(--muted); }
.dxk .dxk-accept { background: var(--accent); color: var(--bg); }
.dxk .dxk-accept:hover { background: #6ee7b7; }
.dxk .dxk-more { color: var(--fg); }
.dxl { color-scheme: light; }
@media (max-width: 800px) {
  .hero { padding: 48px 16px 64px; gap: 40px; flex-direction: column; align-items: stretch; }
  .hero-copy, .panel-preview { flex: auto; width: 100%; }
  .hero h1 { font-size: clamp(40px, 8vw, 60px); overflow-wrap: anywhere; }
  .panel-preview { padding: 20px; }
  .products { padding: 0 16px 64px; }
  .product-grid { grid-template-columns: 1fr; }
  .top.dxh { padding: 22px 16px; gap: 10px; }
  .top.dxh .dxh-right { gap: 0; }
  .landing-explore { padding: 12px; }
  .top.dxh .nav-login { padding: 12px 16px; }
  html[data-dxh] body > .foot.dxf,
  html[data-dxh][data-dxf] body > .foot.dxf,
  html[data-dxh]:not([data-dxf]) body > .foot.dxf { padding: 32px 16px; }
}
@media (max-width: 380px) {
  .top.dxh .dxh-right { margin-left: 0; }
  .signup-form > button { width: 100%; }
  .metric { padding: 14px; }
  .metric strong { font-size: 25px; }
}
