/* Guides: long-form pages in the landing page's visual system (fonts and
   palette as index.html / legal.css). Absolute paths, because guides live
   one directory down. */
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/instrument-sans.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/instrument-serif.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/instrument-serif-italic.woff2") format("woff2"); }

:root {
  --navy: #101D3D; --cream: #FAF8F3; --card: #FFFFFF; --border: #E9E4D8; --cream-deep: #F4F1E9;
  --secondary: #4C4A42; --muted: #8A8577; --hairline: #D8D2C4;
  --predicted-text: #7A5D00; --predicted-fill: #F9EDC0; --predicted-border: #E5C94F;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --gutter: 20px;
}
* { box-sizing: border-box; }
html { background: var(--cream); }
body { margin: 0; background: var(--cream); color: var(--navy); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--hairline); text-underline-offset: 2px; }
a:hover { color: var(--predicted-text); }
.serif { font-family: var(--serif); font-weight: 400; }
.italic { font-family: var(--serif); font-style: italic; font-weight: 400; }

.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--gutter); border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; display: block; }
.brand span { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; }
.nav .crumb { font-size: 13px; color: var(--muted); text-decoration: none; }

.article { max-width: 680px; padding: 36px var(--gutter) 48px; display: flex; flex-direction: column; gap: 16px; }
.article .kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0; }
.article h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1.08; letter-spacing: -0.01em; }
.article .lede { margin: 0; font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.4; color: var(--secondary); }
.article h2 { margin: 26px 0 0; font-size: 21px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.article h3 { margin: 8px 0 0; font-size: 16px; font-weight: 600; }
.article p { margin: 0; color: var(--secondary); }
.article ul, .article ol { margin: 0; padding-left: 22px; color: var(--secondary); display: flex; flex-direction: column; gap: 8px; }
.article strong { color: var(--navy); font-weight: 600; }
.article .updated { font-size: 13px; color: var(--muted); }

.answer { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 18px 20px; }
.answer p { color: var(--navy); }

table.plain { border-collapse: collapse; width: 100%; font-size: 15px; }
table.plain th, table.plain td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.plain th { font-weight: 600; color: var(--navy); }
table.plain td { color: var(--secondary); }
.table-wrap { overflow-x: auto; }

/* the single app mention per guide */
.app-note { background: var(--predicted-fill); border: 1px solid var(--predicted-border); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.app-note p { color: var(--navy); }
.app-note .stores { display: flex; flex-wrap: wrap; gap: 10px; }
.app-note .stores a { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--navy); font-size: 14px; font-weight: 600; text-decoration: none; }
.app-note .stores a:first-child { background: var(--navy); color: var(--cream); }

.related { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.related ul { list-style: none; padding: 0; }

.hub-list { list-style: none; padding: 0 !important; gap: 12px !important; }
.hub-list a { display: block; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 16px 20px; text-decoration: none; }
.hub-list a strong { display: block; font-size: 17px; }
.hub-list a span { display: block; color: var(--secondary); font-size: 15px; margin-top: 4px; }

.footer { padding: 24px var(--gutter) 40px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 12px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--predicted-text); }
.footer p { margin: 0; max-width: 760px; }

@media (min-width: 900px) {
  :root { --gutter: 64px; }
  .article h1 { font-size: 52px; }
}
