/* GlanceTrust site styles. The only stylesheet: the CSP allows no inline styles. */
:root {
  --navy: #0b1b2b;
  --panel: #0b1b2b;
  --teal: #12a594;
  --page: #f6f8fa;
  --ink: #0b1b2b;
  --muted: #4b5d6d;
  --link: #0b7568;      /* 5.3:1 on --page (WCAG AA) */
  --on-panel: #eef3f7;
}
@media (prefers-color-scheme: dark) {
  :root {
    --panel: #07121d;
    --page: #0b1b2b;
    --ink: #eef3f7;
    --muted: #9fb3c4;
    --link: #5fd4c4;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--page);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--link); }
a:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; border-radius: 2px; }

.wordmark { margin: 0; font-size: 1.25rem; letter-spacing: -0.02em; }
.wordmark a { color: inherit; text-decoration: none; }
.wordmark b { font-weight: 700; }
.wordmark span { font-weight: 400; opacity: 0.7; }

/* Front page: layout B1 (split). */
.split { display: flex; min-height: 100vh; min-height: 100dvh; }
.split__words {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 6rem);
}
.split__mark {
  flex: 1;
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
}
.eye { width: min(40%, 220px); height: auto; }
.eye__outline { fill: none; stroke: var(--on-panel); stroke-width: 3; stroke-linejoin: round; }
.eye__pupil { fill: var(--teal); }
.eye__check { fill: none; stroke: #ffffff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.headline {
  margin: 0.6em 0 0;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.tm { font-size: 0.35em; font-weight: 400; letter-spacing: 0; vertical-align: super; margin-left: 0.05em; }
.sub { margin: 1rem 0 0; color: var(--muted); font-size: 1.125rem; }
.contact { margin: 2rem 0 0; font-size: 1.0625rem; }
.contact a { font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; }
.contact a:hover { border-bottom-color: currentColor; }
.foot { margin-top: 3rem; font-size: 0.8125rem; color: var(--muted); }

/* Simple one-column pages (404 and later). */
.page {
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 44rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 6rem);
}

@media (max-width: 760px) {
  .split { flex-direction: column-reverse; }
  .split__mark { flex: 0 0 34vh; }
  .eye { width: 28vw; max-width: 140px; }
  .split__words { justify-content: flex-start; padding: 2.5rem 1.5rem; }
}
