/* Shared by the user guide and FAQ pages (the home page keeps its own styles) */
:root {
  --blue: #3b82f6; --teal: #14b8a6; --green: #10b981; --coral: #ff5a5f;
  --text: #0f172a; --muted: #475569; --bg: #f8f9fa; --card: #ffffff; --line: #e5e7eb;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
a { color: var(--blue); }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
header { position: sticky; top: 0; z-index: 10; background: rgba(248, 249, 250, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--text); text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; margin-left: 18px; }
nav a:hover, nav a[aria-current] { color: var(--text); }

/* Page title band */
.intro { background: linear-gradient(135deg, var(--blue), var(--teal) 55%, var(--green)); color: #fff; padding: 44px 0 40px; }
.intro h1 { font-size: clamp(30px, 4.5vw, 44px); line-height: 1.15; margin: 0 0 10px; letter-spacing: -0.02em; }
.intro p { font-size: 18px; margin: 0; opacity: 0.95; max-width: 38em; }

/* Contents */
.toc { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px 22px; margin: 32px 0 8px; }
.toc h2 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 0 0 10px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { margin: 3px 0; break-inside: avoid; }
.toc a { text-decoration: none; font-weight: 600; }

/* Guide sections: text beside a phone screenshot */
.step { display: grid; grid-template-columns: 1fr 260px; gap: 36px; align-items: start; padding: 40px 0; border-bottom: 1px solid var(--line); }
.step:last-of-type { border-bottom: 0; }
.step h2 { font-size: clamp(22px, 3vw, 28px); margin: 0 0 10px; letter-spacing: -0.01em; }
.step h3 { font-size: 17px; margin: 22px 0 6px; }
.step p, .step li { color: var(--muted); font-size: 16px; }
.step ul, .step ol { padding-left: 22px; }
.step li { margin: 4px 0; }
.step strong { color: var(--text); }
.shots { display: grid; gap: 16px; }
.shots figure { margin: 0; }
.shots img { display: block; width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); background: #fff; box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08); }
.shots figcaption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 6px; }
.tip { background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 14px; padding: 12px 16px; color: #065f46; font-size: 15px; margin: 16px 0 0; }
.tip strong { color: #065f46; }
.top { display: inline-block; margin-top: 14px; font-size: 14px; text-decoration: none; }

/* FAQ */
.faq h2 { font-size: clamp(22px, 3vw, 26px); margin: 40px 0 14px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; }
details p, details li { color: var(--muted); }
details p { margin: 10px 0 0; }
details ol, details ul { margin: 8px 0 0; padding-left: 22px; }
.ask { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; margin: 40px 0 64px; }
.ask h2 { margin: 0 0 6px; font-size: 20px; }
.ask p { margin: 0; color: var(--muted); }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

@media (max-width: 820px) {
  /* Links move under the name on phones, scrolling sideways if they don't fit */
  header .wrap { height: auto; flex-wrap: wrap; padding-top: 10px; }
  nav { width: 100%; display: flex; overflow-x: auto; white-space: nowrap; padding: 6px 0 10px; }
  nav a { margin: 0 18px 0 0; }
  .step { grid-template-columns: 1fr; gap: 20px; }
  .shots { grid-template-columns: repeat(auto-fit, minmax(180px, 240px)); justify-content: center; }
}
@media (max-width: 560px) { .toc ol { columns: 1; } }
