/* Guide pages in the app's look: chocolate hero like the App Store screenshots, the app's orange screen behind
   white rounded cards, dark pill buttons, numbered steps. Loaded after style.css only on generated pages (body.g). */
body.g {
  --cream: #f6ece2; --choc: #2b160b; --choc2: #6a3214; --org1: #f0b285; --org2: #df7c43; --card: #fff; --ink: #1e1814;
  --muted: #6d5d52; --accent: #c2581c; --hot: #ff9a55; --line: #efe5db; --pill: #1e1814; --pill-ink: #fff; --soft: #f7efe8;
  background: linear-gradient(180deg, var(--org1) 0, var(--org2) 900px, var(--org2) 100%) fixed; color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  body.g { --org1: #4a2611; --org2: #241208; --card: #241a14; --ink: #f6ece2; --muted: #b7a597; --line: #3a2c22; --soft: #2e221a;
           --accent: #ff9a55; --pill: #ff9a55; --pill-ink: #1e1208; }
}
body.g .hero { background: radial-gradient(120% 90% at 50% 0, var(--choc2) 0, var(--choc) 70%); color: var(--cream); padding: 92px 0 44px; text-align: center; }
body.g .hero .wrap, body.g main { max-width: 760px; margin: 0 auto; padding: 0 16px; }
body.g .brandline { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font-weight: 600; font-size: 15px; opacity: .9; }
body.g .brandline img { width: 34px; height: 34px; border-radius: 9px; }
body.g .hero h1 { font-size: clamp(30px, 6.4vw, 50px); line-height: 1.08; letter-spacing: -0.02em; margin: 18px 0 12px; font-weight: 800; color: #fff; }
body.g .hero h1 em { font-style: normal; color: var(--hot); }
body.g .hero .lead { font-size: 18px; color: #e9d8c8; margin: 0 auto 24px; max-width: 560px; }
body.g .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
body.g .btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 650; text-decoration: none; font-size: 16px; }
body.g .btn.primary { background: var(--hot); color: #24120a; }
body.g .btn.ghost { border: 1.5px solid rgba(246, 236, 226, .45); color: var(--cream); }
body.g .chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
body.g .chips span { font-size: 13px; color: #e9d8c8; background: rgba(255, 255, 255, .08); border-radius: 999px; padding: 5px 12px; }
body.g main { padding-top: 22px; padding-bottom: 40px; }
body.g main section { background: var(--card); border: 0; border-radius: 22px; padding: 22px 22px 18px; margin: 0 0 14px; box-shadow: 0 8px 24px rgba(60, 25, 5, .10); }
body.g main h2 { font-size: 21px; line-height: 1.25; margin: 0 0 10px; letter-spacing: -0.01em; }
body.g main h3 { font-size: 17px; margin: 0; }
body.g main p, body.g main li { color: var(--ink); }
body.g .muted { color: var(--muted); font-size: 14px; }
body.g a { color: var(--accent); }
/* Lists: check marks; ordered lists: dark numbered circles like the app's steps */
body.g main section ul { list-style: none; padding-left: 0; }
body.g main section ul li { position: relative; padding-left: 28px; margin: 8px 0; }
body.g main section ul li::before { content: "✓"; position: absolute; left: 4px; top: 0; color: var(--accent); font-weight: 800; }
body.g main section ol { list-style: none; counter-reset: s; padding-left: 0; }
body.g main section ol li { counter-increment: s; position: relative; padding-left: 38px; margin: 10px 0; min-height: 26px; }
body.g main section ol li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: var(--pill); color: var(--pill-ink);
  font-size: 13px; font-weight: 700; display: grid; place-items: center; }
/* Download card */
body.g .dl { display: flex; align-items: center; gap: 14px; background: var(--soft); border-radius: 16px; padding: 12px 14px; text-decoration: none; color: var(--ink); margin-top: 6px; }
body.g .dl .ic { width: 42px; height: 52px; border-radius: 8px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--accent); flex: none; }
body.g .dl b { display: block; }
body.g .dl span { font-size: 13px; color: var(--muted); }
body.g .dl .go { margin-left: auto; background: var(--pill); color: var(--pill-ink); border-radius: 999px; padding: 8px 14px; font-weight: 650; font-size: 14px; white-space: nowrap; }
/* Example estimate = the app's "Recognized items" card */
body.g .calc .rows { border-radius: 16px; background: var(--soft); padding: 4px 14px; }
body.g .calc .li { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
body.g .calc .li:last-child { border-bottom: 0; }
body.g .calc .li .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--card); display: grid; place-items: center; flex: none; color: var(--accent); }
body.g .calc .li .dot svg { width: 16px; height: 16px; fill: currentColor; }
body.g .calc .tx { flex: 1; min-width: 0; }
body.g .calc .d { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
body.g .calc .sub { font-size: 13px; color: var(--muted); }
body.g .calc .t { font-weight: 700; font-size: 15px; white-space: nowrap; }
body.g .calc .edit { border-bottom: 1px dashed var(--accent); outline: none; padding: 0 2px; border-radius: 3px; }
body.g .calc .edit:focus { background: var(--card); }
body.g .calc .totline { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 4px 2px; font-size: 20px; font-weight: 800; }
body.g .calc .totline small { font-size: 13px; font-weight: 500; color: var(--muted); }
body.g .calc-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; font-size: 14px; color: var(--muted); }
body.g .calc-foot label { background: var(--soft); border-radius: 999px; padding: 6px 6px 6px 14px; display: inline-flex; gap: 8px; align-items: center; }
body.g .calc-foot input { width: 56px; font: inherit; padding: 5px 8px; border: 0; border-radius: 999px; background: var(--card); color: var(--ink); text-align: right; }
body.g .calc-foot .add { margin-left: auto; font: inherit; font-weight: 650; padding: 9px 16px; border-radius: 999px; border: 0; background: var(--pill); color: var(--pill-ink); cursor: pointer; }
body.g .calc-foot .sum { flex-basis: 100%; margin: 2px 4px 0; }
/* FAQ accordions */
body.g details { border-top: 1px solid var(--line); padding: 12px 0; }
body.g details:first-of-type { border-top: 0; }
body.g summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
body.g summary::after { content: "+"; color: var(--accent); font-weight: 700; font-size: 20px; line-height: 1; }
body.g details[open] summary::after { content: "–"; }
body.g details p { margin: 8px 0 0; color: var(--muted); }
/* App card: dark like the estimate cards in the app */
body.g section.app { background: radial-gradient(120% 120% at 100% 0, var(--choc2) 0, var(--choc) 65%); color: var(--cream); display: grid; grid-template-columns: 1fr 170px; gap: 18px; align-items: center; }
body.g section.app h2, body.g section.app li { color: #fff; }
body.g section.app ol li::before { background: var(--hot); color: #24120a; }
body.g section.app img { width: 170px; border-radius: 18px; }
body.g section.app .btn { margin-top: 6px; }
@media (max-width: 600px) { body.g section.app { grid-template-columns: 1fr; } body.g section.app img { display: none; } body.g .hero { padding-top: 84px; } }
body.g .related { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; list-style: none; padding: 0; }
body.g .related li { margin: 0; padding: 0; }
body.g .related li::before { display: none; }
body.g .related a { display: block; background: var(--soft); border-radius: 14px; padding: 10px 14px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; height: 100%; box-sizing: border-box; }
body.g footer { text-align: center; color: rgba(255, 255, 255, .85); font-size: 14px; padding: 0 16px 40px; }
body.g footer a { color: #fff; }
/* Quick answer: the short passage AI search quotes */
body.g main section.answer { border: 1.5px solid color-mix(in srgb, var(--accent) 55%, transparent); }
body.g main section.answer h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: var(--accent); margin-bottom: 6px; }
body.g main section.answer p { font-size: 17px; margin: 0; }
