/* Phineus site. Tokens match app/ui/style.css; gold is the one accent. No external resources. */
:root {
  --bg: #0e1117; --panel: #161b24; --panel2: #1d2430; --line: #2a3240;
  --text: #d8dee9; --muted: #8b95a7; --gold: #d6aa52;
  --gutter: 16px;
  color-scheme: dark;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--text); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1080px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 1;
  padding: 8px 14px; border-radius: 6px; background: var(--panel2); text-decoration: none;
}
.skip:focus { top: 12px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 16px; padding-block: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 650; text-decoration: none; }
.brand:hover { color: var(--text); }
.brand img { width: 30px; height: 30px; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 2px; margin: 0 -8px 0 0; padding: 0; list-style: none; }
.site-nav a { display: block; padding: 6px 8px; border-radius: 6px; color: var(--muted); font-size: 15px; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); background: var(--panel); }

/* Hero: text, then the companion screenshots (beside it on wide screens, like the panel beside the client) */
.hero { display: grid; gap: 48px 56px; align-items: center; padding-block: 56px 72px; }
.hero h1 {
  margin: 0 0 24px; max-width: 14ch;
  font-size: clamp(2.5rem, 1.5rem + 4vw, 4rem); line-height: 1.04; letter-spacing: -0.025em; font-weight: 700;
  text-wrap: balance;
}
.lead { margin: 0 0 28px; max-width: 34em; font-size: 1.1875rem; line-height: 1.55; }
.badge {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0;
  padding: 6px 16px 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel);
  font-size: 15px;
}
.badge .state { display: inline-flex; align-items: center; gap: 9px; }
.badge .state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.badge .os { color: var(--muted); }
.note { margin: 12px 0 0; max-width: 34em; color: var(--muted); font-size: 15px; }

.shots { display: grid; grid-template-columns: minmax(0, 340px); gap: 40px 24px; }
@media (min-width: 640px) { .shots { grid-template-columns: repeat(2, minmax(0, 340px)); } }
@media (min-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr) auto; }
  .hero h1 { font-size: 3.25rem; }
  .shots { grid-template-columns: repeat(2, 300px); }
}
.shot { margin: 0; }
.shot img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.shot figcaption { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.45; }

/* Sections: heading on the left, content on the right on wide screens */
.section { display: grid; gap: 20px 48px; padding-block: 56px; border-top: 1px solid var(--line); }
@media (min-width: 880px) { .section { grid-template-columns: 15rem minmax(0, 1fr); } }
.section h2 { margin: 0; font-size: 1.625rem; line-height: 1.2; letter-spacing: -0.01em; font-weight: 650; text-wrap: balance; }
.items { display: grid; gap: 28px 40px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .items { grid-template-columns: 1fr 1fr; } }
.items h3 { margin: 0 0 6px; font-size: 1.0625rem; line-height: 1.35; font-weight: 650; }
.items p { margin: 0; color: var(--muted); }
.prose p { margin: 0; max-width: 62ch; }
.prose p + p { margin-top: 1em; }

/* Privacy page */
.policy { max-width: 44rem; padding-block: 56px 72px; }
.policy h1 { margin: 0 0 8px; font-size: clamp(2.25rem, 1.75rem + 2vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
.updated { margin: 0 0 32px; color: var(--muted); font-size: 15px; }
.policy h2 { margin: 48px 0 12px; font-size: 1.375rem; line-height: 1.3; font-weight: 650; }
.policy p { margin: 0 0 1em; }
.policy ul { margin: 0 0 1em; padding-left: 1.25em; }
.policy li { margin-bottom: 8px; }
.policy li::marker { color: var(--muted); }

/* Footer */
.site-footer { padding-block: 40px 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.55; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0 0 20px; padding: 0; list-style: none; font-size: 15px; }
.site-footer p { margin: 0; max-width: 70ch; }
.site-footer p + p { margin-top: 12px; }
.site-footer .legal { font-size: 13px; }
