:root {
  color-scheme: light;
  --bg: #fcfdfc;
  --panel: #ffffff;
  --panel-soft: #f1f4f2;
  --ink: #12211d;
  --muted: #5d6b66;
  --line: #e3e8e5;
  --accent: #0e5c4a;
  --accent-soft: #e9f4f0;
  --amber: #8a6a16;
  --amber-soft: #fdf4da;
  --blue: #5b3baf;
  --blue-soft: #f3eefe;
  --miss: #8a2a2a;
  --miss-soft: #fbeded;
  --radius: 10px;
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-serif: "Newsreader", Georgia, serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 20px; }

/* ---------- Nav ---------- */
.topbar { border-bottom: 1px solid var(--line); background: var(--panel); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { display: flex; flex-direction: column; justify-content: center; gap: 3px; width: 20px; }
.brand-mark-bar { display: block; height: 4px; border-radius: 99px; }
.brand-name { font-family: var(--font-sans); font-size: 19px; font-weight: 800; letter-spacing: -0.015em; color: var(--ink); white-space: nowrap; }
.brand-name-s { font-family: var(--font-mono); font-weight: 600; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--muted); }
.nav-links a { color: inherit; text-decoration: none; }
.nav-links a.current { color: var(--ink); font-weight: 600; }
.nav-cta {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  background: #2f3e3b;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 9px 16px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}
@media (max-width: 720px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */
.hero { padding-block: 24px; border-bottom: 1px solid var(--line); }
.hero-title { margin: 0 0 14px; }
.hero-title h1 {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.hero-title p { font-size: 13px; color: var(--muted); margin: 3px 0 0; }
/* What Corpusense is, for the visitor who arrived from a search and has never heard
   of us. Sized between the page title and the controls so it reads as context, not
   as an advertisement wedged into the page. */
.hero-pitch {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 16px;
  max-width: 78ch;
}
.hero-pitch a { color: var(--accent); font-weight: 600; text-decoration: none; white-space: nowrap; }
.hero-pitch a:hover { text-decoration: underline; }
.nav-arrow { font-family: var(--font-mono); font-size: 12px; }

/* Same voice as .hero-pitch: a muted aside with one accent link, not a banner.
   It sits under the cards because that is where someone realises the company they
   came for is not in the window. */
.browse-all p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 78ch;
}
.browse-all a { color: var(--accent); font-weight: 600; text-decoration: none; }
.browse-all a:hover { text-decoration: underline; }

/* ---------- Disclaimer and footer ---------- */
.disclaimer { margin-top: 28px; }
/* Deliberately not amber: amber-soft is the "mixed" value on the tone scale
   (positive green / neutral grey / mixed amber / negative red), and a legal notice
   borrowing from that scale makes the same colour mean two things on one page. The
   emphasis lives in the bold lead-in instead of the background. */
.disclaimer p {
  margin: 0;
  padding: 14px 16px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}
.disclaimer strong { color: var(--ink); }
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin-top: 24px;
  padding-block: 20px 36px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }

/* The calendar grid, the controls and the cards live in calendar-cards.css,
   which this page loads next and the signed-in app loads too. */
