/* Shared stylesheet for the guide pages under /extension/guides/.
   Tokens, fonts, header and footer mirror templates/home.html; the article
   column mirrors extension/privacy/index.html. */

:root {
  --ink: #14110f;
  --bg: #fbf7f0;
  --card: #ffffff;
  --accent: #f47b20;
  --accent-deep: #d8620c;
  --accent-soft: #ffeede;
  --line: #ece6db;
  --muted: #6b6258;
  --faint: #a39a8f;
  --max: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background:
    radial-gradient(1200px 600px at 80% -10%, var(--accent-soft), transparent 60%),
    var(--bg);
  color: var(--ink);
  line-height: 1.65;
  min-height: 100vh;
}

a { color: var(--accent); }
img { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* header, same as the home page */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  padding: 14px 24px; border-radius: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 14px 30px -12px var(--accent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -12px var(--accent); }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 11px; }

.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); background: rgba(251,247,240,0.85); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 20px; text-decoration: none; color: var(--ink); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav-links a { text-decoration: none; color: inherit; }
.nav-links a:hover { color: var(--ink); }
.nav .btn { margin-left: auto; }
.nav-links + .btn { margin-left: 0; }

/* article column */
main { width: 100%; max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; }

.crumb { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.crumb a { color: var(--accent); text-decoration: none; font-weight: 600; }
.crumb a:hover { text-decoration: underline; }

h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }

.answer { font-size: 19px; line-height: 1.55; margin-bottom: 20px; }
.answer strong { font-weight: 600; }

h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 44px 0 12px;
}

p, li { font-size: 16px; }
p { margin-bottom: 14px; }
strong { font-weight: 600; }

ul, ol { padding-left: 24px; margin-bottom: 14px; }
li { margin-bottom: 8px; }
li::marker { color: var(--accent); font-weight: 600; }

.kbd {
  display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em; background: var(--card); border: 1px solid var(--line); border-bottom-width: 2px;
  padding: 1px 7px; border-radius: 6px; color: var(--ink); white-space: nowrap;
}
.ui { font-weight: 600; color: var(--ink); }

.table-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow-x: auto;
  margin: 18px 0 22px;
}
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
th { font-weight: 600; font-size: 13px; letter-spacing: 0.02em; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 500; min-width: 140px; }
.table-wrap.cols-4 th, .table-wrap.cols-4 td { min-width: 150px; }

/* install card */
.cta {
  margin: 44px 0 0;
  background: var(--ink);
  color: #fff;
  border-radius: 22px;
  padding: 32px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.cta h2 { color: #fff; margin: 0 0 6px; font-size: 24px; }
.cta p { color: rgba(255,255,255,0.72); margin: 0; font-size: 15px; }
.cta .btn svg { width: 20px; height: 20px; flex: none; }

/* related guides */
.related { margin-top: 44px; border-top: 1px solid var(--line); padding-top: 24px; }
.related h2 { font-size: 15px; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); margin: 0 0 12px; font-family: 'Outfit', sans-serif; }
.related ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.related a { text-decoration: none; font-weight: 600; }
.related a:hover { text-decoration: underline; }

/* footer, same as the home page */
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
footer a { text-decoration: none; color: inherit; }
footer a:hover { color: var(--ink); }
footer .copy { margin-left: auto; }

@media (max-width: 900px) {
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  main { padding: 32px 16px 64px; }
  h2 { font-size: 22px; }
  .answer { font-size: 17px; }
  .cta { padding: 24px; }
  .cta .btn { width: 100%; justify-content: center; }
}
