/* Public pages in the notebook design ("Field Notes", owner decision 2026-10-09): the paper grid, Karla in print and
   Caveat only for short margin notes, ink for actions, the highlighter for one phrase per section. Fonts are served by
   Ganymedus itself, never by Google. */

@font-face { font-family: "Karla"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/fonts/karla-latin-ext.woff2?v=1") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Karla"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/fonts/karla-latin.woff2?v=1") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/caveat-latin-ext.woff2?v=1") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/caveat-latin.woff2?v=1") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #1c2541; --ink-soft: #2b3557; --muted: #5e6680; --paper: #fbfbf7; --grid: #eff1f5; --line: #e3e6ec;
  --highlighter: #fff06a; --note: #fff9c9; --margin: #f2a3a3; --pencil: #c2311f; --success: #1e7a4c;
  --hand: Caveat, "Segoe Print", "Bradley Hand", cursive;
  --marker: linear-gradient(transparent 55%, var(--highlighter) 55%, var(--highlighter) 92%, transparent 92%);
  --paper-shadow: 0 18px 50px rgba(28, 37, 65, .12);
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0; min-height: 100vh; color: var(--ink); font: 17px/1.55 Karla, ui-sans-serif, -apple-system, "Segoe UI", sans-serif;
  background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
}
a { color: var(--ink); }
a:hover { color: var(--pencil); }
a:focus-visible, .button:focus-visible { outline: 3px solid rgba(28, 37, 65, .28); outline-offset: 3px; border-radius: 10px; }
.hand { font-family: var(--hand); font-weight: 600; font-size: 24px; line-height: 1.15; }
.muted { color: var(--muted); }
.pencil { color: var(--pencil); }
.marker { background: var(--marker); }

.site-header, main > section, .site-footer { width: min(1180px, 100%); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; }
.brand-face { width: 28px; height: 28px; background: var(--ink);
  -webkit-mask: url("/brand/ganymedus-face-gradient.png") center / contain no-repeat; mask: url("/brand/ganymedus-face-gradient.png") center / contain no-repeat; }
.site-header nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-weight: 700; }
.site-header nav a { text-decoration: none; }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 10px;
  font-weight: 800; text-decoration: none; }
.nav-cta, .button.primary { background: var(--ink); color: #fff !important; }
.nav-cta:hover, .button.primary:hover { background: var(--ink-soft); }
.button.highlight { background: var(--highlighter); color: var(--ink) !important; }
.button:active { transform: translateY(1px); }

.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 80px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.margin-note { color: var(--pencil); font-size: 28px; transform: rotate(-2deg); align-self: flex-start; }
h1 { margin: 0; font-size: clamp(46px, 5.6vw, 82px); line-height: .98; letter-spacing: -.04em; font-weight: 800; }
.lead { margin: 0; max-width: 540px; font-size: 20px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.paper { position: relative; margin: 0; background: #fff; border-radius: 6px; box-shadow: var(--paper-shadow); }
.hero-card { display: flex; flex-direction: column; gap: 12px; padding: 32px 30px 30px 58px; transform: rotate(1deg); }
.hero-card::before { content: ""; position: absolute; top: 0; bottom: 0; left: 40px; width: 2px; background: var(--margin); }
.tape { position: absolute; top: -18px; right: 30px; width: 110px; height: 34px; background: rgba(255, 240, 106, .75); transform: rotate(4deg); }
.card-title { font-size: 28px; line-height: 1.1; letter-spacing: -.02em; font-weight: 800; }
.card-words { font-size: 18px; }
.done { display: flex; align-items: center; gap: 8px; font-size: 18px; }
.done .tick { font-size: 32px; color: var(--success); }
.done s { text-decoration-color: var(--success); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 22px; padding-bottom: 88px; }
.note { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: #fff; border-radius: 6px; box-shadow: 0 10px 30px rgba(28, 37, 65, .08); }
.note strong { font-size: 21px; line-height: 1.2; }
.note p { margin: 0; color: var(--muted); }
.note .number { color: var(--pencil); font-size: 42px; line-height: 1; }
.tilt-left { transform: rotate(-1deg); }
.tilt-right { transform: rotate(.8deg); }
.tilt-flat { transform: rotate(-.4deg); }

.where { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; align-items: start; padding-bottom: 88px; }
h2 { margin: 6px 0 0; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
.where-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.where-list li { display: grid; gap: 4px; padding: 18px 20px; background: #fff; border-radius: 6px; box-shadow: 0 6px 18px rgba(28, 37, 65, .06); }
.where-list strong { font-size: 18px; }
.where-list span { color: var(--muted); }

.promise { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; align-items: center; padding-bottom: 88px; }
.promise ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; font-size: 19px; }
.promise li { display: flex; align-items: center; gap: 12px; }
.promise .no { color: var(--pencil); font-size: 28px; }
.promise .yes { color: var(--success); font-size: 28px; }

.cta { padding-bottom: 64px; }
.cta-band { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; padding: 52px 44px;
  background: var(--ink); color: #fff; border-radius: 14px; }
.cta-band > div { display: flex; flex-direction: column; gap: 6px; }
.cta-band strong { font-size: clamp(32px, 3.8vw, 52px); line-height: 1; letter-spacing: -.03em; }
.cta-band .hand { color: var(--highlighter); font-size: 26px; }

.site-footer { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 40px; font-size: 14px; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

@media (min-width: 1025px) {
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
}
@media (max-width: 700px) {
  body { background-size: 24px 24px; font-size: 16px; }
  .site-header, main > section, .site-footer { padding-left: 16px; padding-right: 16px; }
  .site-header nav { gap: 14px; }
  .hero { padding-top: 16px; gap: 36px; }
  .hero-card { padding: 26px 20px 24px 44px; }
  .hero-card::before { left: 28px; }
  .cta-band { padding: 36px 24px; }
}
@media (prefers-reduced-motion: reduce) { .button:active { transform: none; } }

/* Legal pages: a long sheet of paper on the notebook. */
.legal-page { min-height: 100vh; }
.legal-header .container { width: min(1180px, 100%); margin: 0 auto; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.legal-header .brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; }
.legal-header .brand-symbol { width: 28px; height: 28px; background: var(--ink);
  -webkit-mask: url("/brand/ganymedus-face-gradient.png") center / contain no-repeat; mask: url("/brand/ganymedus-face-gradient.png") center / contain no-repeat; }
.legal-header a:last-child { font-size: 14px; font-weight: 700; }
.legal { width: min(820px, calc(100% - 32px)); margin: 8px auto 64px; padding: 48px clamp(20px, 6vw, 64px) 64px; background: #fff; border-radius: 6px;
  box-shadow: var(--paper-shadow); }
.legal > p.eyebrow { margin: 0 0 6px; font-family: var(--hand); font-size: 26px; font-weight: 600; line-height: 1.1; color: var(--pencil); }
.legal h1 { margin: 0; font-size: clamp(38px, 6vw, 60px); line-height: 1; letter-spacing: -.035em; font-weight: 800; }
.legal > h1 + p { margin: 12px 0 36px; color: var(--muted); font-size: 14px; }
.legal h2 { margin: 36px 0 10px; font-size: 20px; letter-spacing: -.01em; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; }
.legal ul { padding-left: 20px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal th, .legal td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
