/* gubernos.app — the public pages. Plain HTML, no scripts, no trackers. One width for everything; long text pages keep a readable column on its left edge. */
:root {
  --bg: #fffdfb; --ink: #23201d; --muted: #6f6861; --line: #ece6e0; --accent: #dc4c3e; --card: #fff;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #181614; --ink: #ece7e2; --muted: #a39b93; --line: #2e2a26; --accent: #ef6a5c; --card: #201d1a; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; }
main { max-width: 1012px; margin: 0 auto; padding: 32px 16px 64px; }
.text > :not(header):not(footer) { max-width: 720px; }
header { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
header img { width: 44px; height: 44px; border-radius: 11px; }
header a { color: inherit; text-decoration: none; font-weight: 700; font-size: 20px; }
h1 { font-size: 34px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.01em; }
h2 { font-size: 21px; margin: 36px 0 8px; }
p, li { color: var(--ink); }
.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; }
.muted { color: var(--muted); font-size: 15px; }
a { color: var(--accent); }
ul { padding-left: 22px; }
li { margin: 6px 0; overflow-wrap: anywhere; }
/* home: laid out like an App Store page. The gallery scrolls sideways, with no script. */
.app { align-items: flex-start; gap: 20px; margin-bottom: 24px; }
header .app-icon { width: 112px; height: 112px; border-radius: 25px; flex: none; }
.app h1 { margin: 0; font-size: 34px; }
.tagline { margin: 2px 0 12px; color: var(--muted); font-size: 18px; line-height: 1.35; }
.app-get { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--muted); font-size: 14px; }
header a.get { background: var(--accent); color: #fff; border-radius: 999px; padding: 6px 16px; font-size: 15px; font-weight: 600; }
.gallery { display: flex; align-items: center; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 0 12px; scrollbar-width: thin; }
.gallery img { flex: none; width: auto; height: 440px; border: 1px solid var(--line); border-radius: 22px; scroll-snap-align: start; }
.gallery .watch { width: 208px; height: auto; border-radius: 36px; }
.gallery .mac { width: min(704px, calc(100vw - 32px)); height: auto; border-radius: 12px; }
.gallery-note { margin: 0 0 24px; color: var(--muted); font-size: 13px; }
@media (max-width: 1012px) { .gallery { margin: 0 -16px; padding-inline: 16px; scroll-padding-inline: 16px; } }
@media (max-width: 520px) { header .app-icon { width: 88px; height: 88px; border-radius: 20px; } .app { gap: 14px; } .app h1 { font-size: 28px; } .tagline { font-size: 16px; } }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 48px; }
.cols h2 { margin-top: 0; }
@media (max-width: 820px) { .cols { grid-template-columns: minmax(0, 1fr); gap: 0; } .cols h2 { margin-top: 36px; } }
.beta { color: var(--muted); font-size: 15px; margin: -16px 0 20px; }
pre { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 8px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
code { font: 14px/1.5 ui-monospace, "SF Mono", Menlo, monospace; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 20px 0; }
.card p:first-child { margin-top: 0; } .card p:last-child { margin-bottom: 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
footer { margin-top: 56px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
@media (max-width: 520px) { h1 { font-size: 28px; } table { font-size: 14px; } }
/* the "What is a personal OS" section (concept.css, written by scripts/build-concept.mjs) */
.concept { margin: 48px 0; display: grid; gap: 12px; }
.concept > h2 { margin: 0; }
.concept .cpt { display: grid; gap: 48px; margin-top: 24px; }
.cpt-sec { display: grid; gap: 18px; }
.cpt-head { display: grid; gap: 6px; max-width: 66ch; }
.cpt-head h3 { margin: 0; font-size: 21px; line-height: 1.3; }
.cpt-head p { margin: 0; color: var(--muted); font-size: 15.5px; }
.cpt-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
/* on a phone: the loops' side labels may run into the card's padding, and the agent examples wrap instead of being cut */
.concept .cpt-loop svg { overflow: visible; }
.concept .cpt-term { white-space: pre-wrap; overflow-wrap: anywhere; }
