/* DIY Tour Guide — playbook article pages.
   Shares the brand tokens with index.html, which carries its own inline CSS. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand: #FF5C1A;
  --brand-dk: #D94400;
  --dark: #111827;
  --mid: #374151;
  --muted: #6B7280;
  --border: #E5E7EB;
  --bg-soft: #F9FAFB;
  --radius: 14px;
}

html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--dark); background: #fff; font-size: 17px; line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }

.skip { position: absolute; left: -9999px; background: var(--dark); color: #fff; padding: 12px 20px; z-index: 99; }
.skip:focus { left: 0; top: 0; }

nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-in {
  max-width: 1080px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 62px; gap: 14px;
}
.nav-logo { font-weight: 900; font-size: 1.05rem; color: var(--brand); text-decoration: none; letter-spacing: -.4px; white-space: nowrap; }
.nav-logo span { color: var(--dark); }
.nav-cta {
  background: var(--brand); color: #fff; border-radius: 8px;
  padding: 11px 18px; min-height: 44px; display: inline-flex; align-items: center;
  font-size: .875rem; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.nav-cta:hover { background: var(--brand-dk); }

.wrap { max-width: 740px; margin: 0 auto; padding: 0 20px; }

.crumb { font-size: .85rem; color: var(--muted); padding: 22px 0 0; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--brand); text-decoration: underline; }

header.art { padding: 26px 0 8px; }
.art-cat {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .09em; color: var(--brand); margin-bottom: 10px;
}
h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 900; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 14px; }
.art-sub { font-size: 1.1rem; color: var(--mid); margin-bottom: 8px; }
.art-hero { border-radius: var(--radius); overflow: hidden; margin: 26px 0 6px; }

article { padding: 10px 0 40px; }
article h2 {
  font-size: clamp(1.25rem, 3.4vw, 1.6rem); font-weight: 800;
  line-height: 1.3; margin: 40px 0 12px; letter-spacing: -.01em;
}
article p { margin-bottom: 18px; }
article ul { margin: 0 0 20px 22px; }
article li { margin-bottom: 9px; }
article strong { font-weight: 650; }
article a { color: var(--brand-dk); }

/* Tables carried over from the source docs. They must scroll inside their own
   container so a wide price table never makes the page scroll sideways. */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 22px; }
.table-scroll table { border-collapse: collapse; width: 100%; min-width: 420px; font-size: .95rem; }
.table-scroll th, .table-scroll td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table-scroll thead th {
  background: var(--bg-soft); font-weight: 700; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .05em; color: var(--mid);
}

.cta {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px; margin: 44px 0 0; text-align: center;
}
.cta h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; }
.cta p { color: var(--mid); font-size: .95rem; margin-bottom: 18px; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand); color: #fff; border-radius: 10px;
  padding: 14px 28px; min-height: 48px;
  font-size: 1rem; font-weight: 700; text-decoration: none;
}
.btn-primary:hover { background: var(--brand-dk); }

.more { border-top: 1px solid var(--border); margin-top: 40px; padding-top: 28px; }
.more h4 { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; font-weight: 700; }
.more ul { list-style: none; margin: 0; }
.more li { margin-bottom: 10px; }
.more a { color: var(--mid); text-decoration: none; font-weight: 500; }
.more a:hover { color: var(--brand); }

footer { background: #0F172A; color: rgba(255,255,255,.6); padding: 40px 24px; margin-top: 48px; text-align: center; font-size: .9rem; }
footer a { color: rgba(255,255,255,.85); text-decoration: none; }
footer a:hover { color: var(--brand); }
.foot-brand { font-weight: 900; font-size: 1.05rem; color: #fff; letter-spacing: -.4px; display: block; margin-bottom: 8px; }
.foot-brand span { color: var(--brand); }
