/* garyfromthehallway.com - the "Field notes" look (DECISIONS.md 2026-11-03). Palette from GaryKit. */
:root {
  --asphalt: #141416;
  --chalk: #F4F1EA;
  --paper: #FBF9F4;
  --paper-2: #EAE5DA;
  --sepia: #F1E6CF;
  --hivis: #FF5B1F;
  --flame: #FFB21F;
  --ink-2: #3A3A42;
  --ink-3: #5E5E66;
  --rule: #C9C3B6;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--chalk); color: var(--asphalt); font-family: var(--sans); line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--asphalt); text-underline-offset: 3px; }
a:hover { color: var(--ink-3); }
:focus-visible { outline: 3px solid var(--hivis); outline-offset: 3px; }

.wrap { max-width: 1136px; margin: 0 auto; padding: 0 var(--gutter); }
.rule { height: 2px; background: var(--asphalt); border: 0; margin: 0; }
.say { font-family: var(--rounded); font-weight: 600; }
.muted { color: var(--ink-3); }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--ink-3); margin: 0; }
.label { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin: 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
.section-head span { font-size: 15px; color: var(--ink-3); }

/* Nav */
.nav { min-height: 84px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding: 14px 0; }
.brand { text-decoration: none; display: flex; align-items: baseline; gap: 10px; }
.brand b { font-size: 26px; }
.brand span { font-family: var(--rounded); font-size: 15px; color: var(--ink-3); }
.nav-links { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; font-size: 15px; }
.nav-links a { text-decoration: none; }

/* Buttons */
.btn { display: inline-block; text-decoration: none; background: var(--asphalt); color: var(--chalk); font-weight: 600; border-radius: 14px; padding: 16px 26px; font-size: 17px; }
.btn:hover { color: var(--chalk); background: #2A2A31; }
.btn-pill { border-radius: 999px; padding: 12px 20px; font-size: 15px; }

/* Panels: the one-frame cartoon */
.panel { position: relative; overflow: hidden; border: 2px solid var(--asphalt); background: var(--paper); }
.panel.sepia { background: var(--sepia); }
.panel img { position: absolute; }
.door { position: absolute; right: 7%; bottom: 0; width: 22%; height: 84%; border: 2px solid var(--asphalt); border-bottom: 0; background: #EDE6D6; }
.door::after { content: ""; position: absolute; left: 12px; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--asphalt); }
figure { margin: 0; }
figcaption { font-family: var(--rounded); text-align: center; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; padding: 52px 0 64px; }
.hero-text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { margin: 0; font-size: clamp(40px, 5.6vw, 64px); line-height: 1.03; letter-spacing: -0.02em; }
.hero p { margin: 0; font-size: 19px; color: var(--ink-2); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 6px; }
.cta a:not(.btn) { font-weight: 600; }
.hero figure { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.hero .panel { height: clamp(300px, 36vw, 440px); }
.hero .panel::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--asphalt); z-index: 1; }
.hero .panel img { width: 66%; left: -5%; bottom: -8%; }
.hero figcaption { font-size: 17px; }

/* How it works */
.how { padding: 40px 0 72px; display: flex; flex-direction: column; gap: 32px; }
.steps { display: flex; flex-wrap: wrap; gap: 40px; }
.step { flex: 1 1 260px; display: flex; flex-direction: column; gap: 10px; }
.step .n { font-size: 44px; font-weight: 700; line-height: 1; color: var(--hivis); }
.step h3 { margin: 0; font-size: 22px; }
.step p { margin: 0; font-size: 16px; color: var(--ink-2); }
.step p.say { color: var(--asphalt); margin-top: 4px; }

/* Widgets band */
.band { background: var(--paper-2); border-top: 2px solid var(--asphalt); border-bottom: 2px solid var(--asphalt); }
.band .wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; }
.band-text { flex: 1 1 300px; display: flex; flex-direction: column; gap: 16px; }
.band h2 { margin: 0; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.08; letter-spacing: -0.01em; }
.band p { margin: 0; font-size: 17px; color: var(--ink-2); }
.band p.say { color: var(--asphalt); font-size: 16px; }
.widgets { flex: 1 1 540px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; }
.widgets img { border-radius: 24px; box-shadow: 0 1px 0 rgba(20,20,22,0.06), 0 10px 30px rgba(20,20,22,0.10); }

/* Who's who */
.cast { padding: 64px 0; display: flex; flex-direction: column; gap: 28px; }
.cast-cols { display: flex; flex-wrap: wrap; gap: 0 56px; }
.cast dl { flex: 1 1 380px; margin: 0; }
.cast dl div { padding: 18px 0; border-top: 1px solid var(--rule); }
.cast dt { font-size: 18px; font-weight: 700; }
.cast dd { margin: 4px 0 0; font-size: 16px; color: var(--ink-2); }

/* Privacy box */
.privacy { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; padding: 40px clamp(20px, 4vw, 48px); border: 2px solid var(--asphalt); background: var(--paper); margin-bottom: 72px; }
.privacy img { width: 180px; flex-shrink: 0; }
.privacy div { flex: 1 1 360px; display: flex; flex-direction: column; gap: 12px; }
.privacy h2 { margin: 0; font-size: 28px; }
.privacy p { margin: 0; font-size: 16px; color: var(--ink-2); }
.privacy p.say { color: var(--asphalt); }

/* Club */
.club { padding: 40px 0 72px; display: flex; flex-direction: column; gap: 28px; }
.club h2 { margin: 0; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.08; }
.club .say { margin: 8px 0 0; font-size: 17px; font-weight: 400; }
.plans { display: flex; flex-wrap: wrap; gap: 24px; }
.plan { flex: 1 1 320px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.plan.free { background: var(--paper); border: 2px solid var(--asphalt); }
.plan.paid { background: var(--asphalt); color: var(--chalk); }
.plan h3 { margin: 0; font-size: 22px; }
.plan ul { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.8; }
.plan.free ul { color: var(--ink-2); }
.plan.paid ul { color: #D6D3CC; }
.plan-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.plan-head span { font-size: 14px; font-weight: 600; color: var(--flame); }
.plan .price { margin-top: auto; font-size: 15px; color: #A8A8B0; }

/* Field notes */
.notes { padding: 40px 0 72px; display: flex; flex-direction: column; gap: 24px; }
.note-row { display: flex; flex-wrap: wrap; gap: 28px; }
.note-row figure { flex: 1 1 240px; display: flex; flex-direction: column; gap: 10px; }
.note-row .panel { height: 180px; }
.note-row .panel img { height: 120%; width: auto; left: 50%; transform: translateX(-50%); bottom: -14%; }
.note-row figcaption { font-size: 15px; }

/* The letter */
.letter { background: var(--hivis); border-top: 2px solid var(--asphalt); }
.letter .wrap { max-width: 720px; padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 16px; font-family: var(--rounded); }
.letter h2 { margin: 0; font-size: 26px; }
.letter p { margin: 0; font-size: 19px; }
.letter .btn { font-family: var(--sans); }

/* Footer */
.footer { background: var(--asphalt); color: #D6D3CC; }
.footer .wrap { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; font-size: 14px; }
.footer a { color: #D6D3CC; }
.footer a:hover { color: #FFFFFF; }
.footer b { color: var(--chalk); }
.footer .end { margin-left: auto; color: #A8A8B0; }

/* Text pages (privacy, support) */
.page { max-width: 720px; padding: 48px 0 80px; }
.page h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 12px; }
.page .lede { font-family: var(--rounded); font-size: 19px; margin: 0 0 32px; }
.page h2 { font-size: 22px; margin: 40px 0 8px; }
.page p, .page li { font-size: 17px; color: var(--ink-2); }
.page ul { padding-left: 22px; }
.page .say { color: var(--asphalt); }
.page details { border-top: 1px solid var(--rule); padding: 16px 0; }
.page details:last-of-type { border-bottom: 1px solid var(--rule); }
.page summary { font-size: 18px; font-weight: 700; cursor: pointer; }
.page details p { margin: 10px 0 0; }
.page .sign { font-family: var(--rounded); color: var(--asphalt); margin-top: 40px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Phones: the nav keeps the name and the button */
@media (max-width: 560px) {
  .nav { flex-wrap: nowrap; }
  .nav-links a:not(.btn) { display: none; }
  .brand span { display: none; }
}
