/* trackmyfuel.app — tokens from the app (src/theme/tokens.ts): warm paper, the diary's green masthead, Georgia for headings, the system sans for the rest. */
/* Layout: a thin mockup bar (follows the viewer's theme) above the site itself, which commits to Fuel's own look: warm paper, the diary's green masthead, Georgia for the numbers and headings, the system sans for everything else */
  :root {
    --rule: rgba(0,0,0,0.10);
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    /* The site's own tokens (single look, from src/theme/tokens.ts) */
    --paper: #F5F3EE; --card: #FBFAF7; --ink: #171717; --ink2: #4A4A46; --ink3: #8A8A84; --line: rgba(0,0,0,0.06); --line2: #D6D2C7;
    --green: #295F3A; --deep: #1F3D2A;
    --mast: radial-gradient(ellipse 90% 80% at 15% 15%, rgba(94,138,82,.36) 0%, rgba(94,138,82,0) 70%), radial-gradient(ellipse 90% 80% at 95% 90%, rgba(28,74,56,.5) 0%, rgba(28,74,56,0) 70%), linear-gradient(#2B4C39, #224232 60%, #173124);
    --serif: Georgia, "Times New Roman", serif;
  }
  html { height: 100%; }
body { background: var(--paper); color: var(--ink); font-family: var(--font); margin: 0; min-height: 100%; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
  .site { flex: 1; }
  img { max-width: 100%; }

  /* Mockup chrome */

  /* The site */
  .site a:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
  .mast a:focus-visible { outline-color: #fff; }
  .prose a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 2px; }
  .inner { max-width: 760px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .mast { background: var(--mast); color: #fff; }
  .nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
  .brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
  .mark { width: 30px; height: 30px; border-radius: 9px; background: #fff; color: var(--deep); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 17px; line-height: 1; }
  .nav .links { display: flex; gap: 6px; font-size: 14px; }
  .nav .links a { color: rgba(255,255,255,.82); text-decoration: none; padding: 7px 10px; border-radius: 8px; transition: background .15s, color .15s; }
  .nav .links a:hover { color: #fff; background: rgba(255,255,255,.1); }
  .nav .links a[aria-current="page"] { color: #fff; font-weight: 600; }
  .pagehead { padding-block: 44px 52px; border-top: 1px solid rgba(255,255,255,.1); }
  .pagehead .eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); margin: 0 0 12px; }
  .pagehead h1 { font-family: var(--serif); font-weight: 400; font-size: 44px; margin: 0 0 10px; letter-spacing: -0.015em; line-height: 1.08; text-wrap: balance; }
  .pagehead .sub { color: rgba(255,255,255,.75); font-size: 16px; margin: 0; max-width: 56ch; line-height: 1.45; }
  .body { padding-block: 40px 56px; }
  .body.cols { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; align-items: start; }
  .inner.inner-wide { max-width: 980px; }
  .prose { max-width: 66ch; font-size: 16px; line-height: 1.6; color: var(--ink2); min-width: 0; }
  .prose h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--ink); margin: 40px 0 12px; letter-spacing: -0.01em; text-wrap: balance; scroll-margin-top: 24px; }
  .prose h2:first-child { margin-top: 0; }
  .prose .lead { font-size: 17px; color: var(--ink); }
  .prose h3 { font-size: 15px; font-weight: 700; color: var(--ink); margin: 22px 0 6px; }
  .prose p { margin: 0 0 12px; }
  .prose ul { margin: 0 0 12px; padding-left: 20px; }
  .prose li { margin-bottom: 6px; }
  .prose b { color: var(--ink); font-weight: 600; }
  .prose .small { font-size: 13.5px; color: var(--ink3); }
  .addr { display: inline-block; font-weight: 600; color: var(--ink); background: var(--card); border: 1px solid var(--line2); border-radius: 8px; padding: 6px 12px; user-select: all; }
  .toc { position: sticky; top: 24px; font-size: 13.5px; }
  .toc .t { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink3); font-weight: 600; margin-bottom: 10px; }
  .toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line2); }
  .toc li { margin: 0; }
  .toc a { display: block; color: var(--ink2); text-decoration: none; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 1px solid transparent; line-height: 1.35; }
  .toc a:hover { color: var(--ink); border-left-color: var(--ink3); }
  .foot { border-top: 1px solid var(--line2); padding-block: 18px 26px; font-size: 13px; color: var(--ink3); display: flex; gap: 8px 18px; flex-wrap: wrap; }
  .foot a { color: var(--ink3); text-decoration: none; }

  /* Home: one quiet statement */
  .hero { padding-block: 72px 96px; text-align: center; }
  .hero .mark { width: 60px; height: 60px; border-radius: 18px; font-size: 32px; margin: 0 auto 28px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
  .hero h1 { font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 1.08; margin: 0 0 16px; letter-spacing: -0.015em; text-wrap: balance; }
  .hero .lede { font-size: 18px; line-height: 1.5; color: rgba(255,255,255,.8); margin: 0 auto 30px; max-width: 34ch; }
  .cta { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--deep); font-weight: 700; font-size: 15px; border-radius: 999px; padding: 12px 22px; text-decoration: none; }

  @media (max-width: 720px) {
    .hero { padding-block: 52px 68px; }
    .hero h1 { font-size: 34px; }
    .pagehead { padding-block: 32px 40px; }
    .pagehead h1 { font-size: 32px; }
    .nav .links { gap: 0; }
    .nav .links a { padding: 7px 8px; }
  }
  @media (max-width: 900px) {
    .body.cols { grid-template-columns: 1fr; gap: 28px; }
    .toc { position: static; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
    .toc ol { border-left: 0; columns: 2; column-gap: 20px; }
    .toc a { padding-left: 0; border-left: 0; margin-left: 0; break-inside: avoid; }
  }
  @media (max-width: 560px) { .toc ol { columns: 1; } }
  @media (prefers-reduced-motion: reduce) { .nav .links a { transition: none; } }
