/* Companion public site. Product imagery and real measurements lead;
   the public introduction stays distinct from the authenticated application. */
:root {
  color-scheme: dark;
  --bg: #121214;
  --card: #1c1c1f;
  --text: #f4f4f5;
  --muted: #b0b0b8;
  --line: #36363c;
  --line-strong: #62626c;
  --accent: #d64179;
  --ring: #eabb70;
  --ui: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: ui-monospace, monospace;
  /* Shared tokens consumed by the existing legal documents. */
  --ink: var(--text);
  --ink-2: var(--muted);
  --ink-3: var(--muted);
  --panel: var(--card);
  --amber: var(--ring);
  --radius: 8px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; scrollbar-color: #62626c var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--ui); -webkit-font-smoothing: antialiased; }
::selection { background: #b11b5d; color: #fff; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
button, input, select { font: inherit; color: inherit; caret-color: var(--ring); }
button, select, summary { cursor: pointer; }
button { border: 0; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; flex-shrink: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 5px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(44px, 5.5vw, 76px); line-height: 1.06; letter-spacing: -.04em; font-weight: 550; }
h2 { font-size: clamp(32px, 3.5vw, 46px); line-height: 1.15; letter-spacing: -.035em; font-weight: 500; }
h3 { font-size: 21px; line-height: 1.35; letter-spacing: -.02em; font-weight: 550; }
p { max-width: 70ch; }
.wrap { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.section { padding: 112px 0; }
.skip-link, .skip { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; background: var(--text); color: var(--bg); border-radius: 6px; font-weight: 550; z-index: 1000; text-decoration: none; }
.skip-link:focus, .skip:focus { position: fixed; top: 16px; left: 20px; width: auto; height: auto; padding: 10px 18px; overflow: visible; clip-path: none; white-space: normal; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 90px; }
.brand-link { display: inline-flex; text-decoration: none; flex-shrink: 0; }
.brand-lockup { width: 162px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a, .sign-in { font-size: 14px; text-decoration: none; }
.nav-links a { color: var(--muted); }
.nav-links a:hover, .text-link:hover, .footer-links a:hover { color: #fff; text-decoration: underline; }
.sign-in { display: inline-flex; align-items: center; gap: 10px; }
.sign-in svg, .button svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 90px; padding: 72px 0 90px; }
.hero-copy { padding: 28px 0; }
.hero-lead { margin-top: 28px; max-width: 420px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 34px; }
.button { min-height: 48px; padding: 12px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid var(--line-strong); border-radius: 7px; font-size: 14px; font-weight: 550; line-height: 1.5; text-decoration: none; background: var(--card); }
.button-primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.button-primary:hover { background: #dcdce1; border-color: #dcdce1; }
.button-secondary { background: var(--card); color: var(--text); border-color: var(--line-strong); }
.button-secondary:hover { background: #26262b; border-color: var(--text); color: #fff; }
.button-small { min-height: 38px; padding: 7px 13px; }
.text-link { font-size: 14px; text-decoration: none; }
.access-note { font-size: 13px; color: var(--muted); margin-top: 16px; }
.hero-context { display: flex; align-items: center; gap: 14px; margin-top: 62px; font-size: 13px; line-height: 1.6; }
.hero-context span:not(.city-mark) { color: var(--muted); }
.city-mark { display: block; width: 22px; height: 22px; border: 1px solid var(--accent); border-radius: 50%; position: relative; }
.city-mark::after { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: var(--accent); }
.app-figure { min-width: 0; }
.hero-figure { width: min(100%, 350px); justify-self: center; }
.app-image { padding: 9px; background: #222226; border: 1px solid #414147; border-radius: 25px; }
.app-image img { width: 100%; border-radius: 17px; height: auto; }
.app-figure figcaption { color: var(--text); font-size: 12px; line-height: 1.6; margin-top: 14px; }
.app-figure figcaption span { display: block; color: var(--muted); }
.section-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 62px; }
.section-intro > p, .section-intro > div > p { max-width: 380px; color: var(--muted); font-size: 16px; }
.product-section { border-top: 1px solid var(--line); }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 120px; align-items: center; }
.history-figure { width: min(100%, 340px); justify-self: center; }
.feature-list article + article { margin-top: 35px; }
.feature-list article p { color: var(--muted); margin-top: 10px; font-size: 15px; max-width: 42ch; }
.product-boundary { font-size: 13px; line-height: 1.7; color: var(--muted); margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.data-section { background: #18181b; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 112px 16px; }
.data-intro { margin-bottom: 40px; }
.data-intro > div > p { margin-top: 20px; max-width: 460px; }
.data-definition { font-size: 13px !important; line-height: 1.7; }
.data-panel { min-width: 0; }
.data-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; border-block: 1px solid var(--line); }
.day-picker { display: flex; align-items: center; gap: 15px; flex-shrink: 0; }
.day-picker label { font-size: 13px; color: var(--muted); }
.day-picker select { min-height: 42px; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 5px; padding: 8px 34px 8px 12px; max-width: 100%; font-size: 14px; }
.data-feedback { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); text-align: right; }
.data-panel[data-state="error"] #data-status, .data-panel[data-state="stale"] #data-status { color: #ffd1a3; }
.data-summary { display: flex; gap: 70px; padding-block: 32px 36px; font-variant-numeric: tabular-nums; }
.data-summary dt { color: var(--muted); font-size: 12px; }
.data-summary dd { font-size: 27px; letter-spacing: -.025em; line-height: 1.4; margin-top: 7px; }
.chart-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.chart-heading h3 { font-size: 15px; letter-spacing: 0; }
.chart-heading span { font-size: 12px; color: var(--muted); }
.chart-scroll { overflow-x: auto; padding: 14px 4px 8px; margin-inline: -4px; scrollbar-width: thin; scrollbar-color: #777780 #18181b; }
.scroll-hint { display: none; color: var(--muted); font-size: 12px; margin: 8px 0 16px; }
.hour-chart { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(28px, 1fr); gap: 7px; min-width: 840px; height: 236px; }
.hour-cell { display: grid; grid-template-rows: 24px 170px 32px; justify-items: center; align-items: end; min-width: 0; padding: 0; border-radius: 3px; background: transparent; position: relative; font-variant-numeric: tabular-nums; }
.hour-value { font-size: 10px; align-self: start; color: var(--muted); white-space: nowrap; }
.hour-bar { display: block; width: min(100%, 23px); height: var(--bar-height, 0%); min-height: 3px; background: var(--ring); border-radius: 3px 3px 0 0; }
.hour-label { font-size: 10px; color: var(--muted); align-self: end; text-align: center; line-height: 1.4; white-space: pre-line; }
.hour-cell:hover .hour-bar, .hour-cell:focus-visible .hour-bar, .hour-cell.is-selected .hour-bar { background: #f5d39c; }
.hour-cell.is-selected .hour-label { color: var(--text); }
.hour-cell.is-missing .hour-bar { background: transparent; border-bottom: 1px dashed #777780; border-radius: 0; min-height: 1px; }
.hour-cell.is-calm .hour-bar { background: #92929c; height: 3px; }
.data-reading { min-height: 48px; margin-top: 13px; font-size: 13px; color: var(--muted); }
.data-details { border-block: 1px solid var(--line); }
.data-details summary { padding-block: 16px; font-size: 13px; }
.table-scroll { overflow-x: auto; max-width: 100%; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: #777780 #18181b; }
.table-scroll table { width: 100%; min-width: 570px; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.table-scroll th, .table-scroll td { text-align: right; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table-scroll th { font-weight: 500; color: var(--muted); }
.table-scroll th:first-child, .table-scroll td:first-child { text-align: left; padding-left: 0; }
.data-note, .data-updated { color: var(--muted); font-size: 12px; line-height: 1.7; margin-top: 18px; max-width: 85ch; }
.faq-section { display: grid; grid-template-columns: 1fr 1.25fr; gap: 100px; }
.faq-section .section-intro { display: block; margin-bottom: 0; }
.faq-section .section-intro p { margin-top: 24px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { padding: 21px 28px 21px 0; font-size: 15px; line-height: 1.5; }
.faq-list details p { padding: 0 16px 24px 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.access-section { display: flex; justify-content: space-between; align-items: center; gap: 40px; border-top: 1px solid var(--line); padding: 76px 0 88px; }
.access-section > div > p { color: var(--muted); font-size: 15px; margin-top: 24px; max-width: 40ch; }
.access-actions { flex-shrink: 0; }
.access-actions p { font-size: 12px !important; }
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; }
.footer-main, .footer-fine { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.footer-links a { text-decoration: none; }
.footer-fine { margin-top: 24px; color: var(--muted); font-size: 11px; }
/* The existing legal pages share this base, but own their content typography. */
.head { border-bottom: 1px solid var(--line); }
.head-in, .foot-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.nav, .foot-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--muted); }
.cta { padding: 9px 16px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; font-size: 13px; }
.foot { border-top: 1px solid var(--line); padding: 15px 0 30px; color: var(--muted); font-size: 13px; }
@media (min-width: 1600px) { .hero { padding: 90px 0 110px; } }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 56px); }
  .hero { gap: 40px; }
  .hero-actions { gap: 18px; }
  .product-layout { gap: 70px; }
  .faq-section { gap: 54px; }
  .section { padding: 84px 0; }
  .data-section { padding: 84px 16px; }
  .chart-hint { display: block; }
  .footer-main { align-items: flex-start; }
  .footer-links { max-width: 440px; gap: 12px 20px; justify-content: flex-end; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 76px; gap: 18px; }
  .brand-lockup { width: 142px; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; gap: 38px; padding: 48px 0 64px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(43px, 10vw, 64px); }
  .hero-lead { margin-top: 23px; font-size: 17px; max-width: 34ch; }
  .hero-actions { margin-top: 27px; gap: 12px; }
  .hero-actions .button { width: 100%; justify-content: center; }
  .hero-context { margin-top: 30px; }
  .hero-figure { width: min(100%, 330px); }
  .section { padding: 64px 0; }
  .data-section { padding: 64px 12px; }
  .section-intro { display: block; margin-bottom: 36px; }
  .section-intro > p, .section-intro > div > p { margin-top: 20px; font-size: 15px; }
  .product-layout { grid-template-columns: 1fr; gap: 42px; }
  .history-figure { order: 2; width: min(100%, 320px); }
  .feature-list article + article { margin-top: 28px; }
  .data-definition { margin-top: 22px !important; }
  .data-toolbar { align-items: stretch; flex-direction: column; gap: 14px; }
  .day-picker { width: 100%; flex-wrap: wrap; }
  .day-picker select { width: 100%; min-width: 0; }
  .data-feedback { text-align: left; }
  .table-hint { display: block; }
  .data-summary { gap: 20px; justify-content: space-between; padding-block: 26px; }
  .data-summary dt { max-width: 100px; font-size: 11px; line-height: 1.5; }
  .data-summary dd { font-size: 23px; }
  .chart-heading span { font-size: 11px; }
  .faq-section { display: block; }
  .faq-section .section-intro { margin-bottom: 32px; }
  .access-section { align-items: flex-start; flex-direction: column; gap: 28px; }
  .access-section > div > p { margin-top: 18px; }
  .footer-main, .footer-fine { align-items: flex-start; flex-direction: column; gap: 20px; }
  .footer-links { justify-content: flex-start; }
  .footer-fine { gap: 9px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
