/* Same palette as the report pages (../ai-seo/templates/base.css) so both look like one brand.
   Warm stone by default; dark slate when the device asks for dark mode. */
:root { color-scheme: light dark;
        --ink: #1f1d1a; --muted: #5c5650; --line: #d9d2c7; --bg: #ebe5dc; --card: #f6f2ec;
        --good: #17703a;
        --accent: #e8a33d; --accent-ink: #1f1d1a; --head: #24303f; --head-ink: #f3efe8;
        --link: #1d4f91; }
@media (prefers-color-scheme: dark) {
  :root { --ink: #e9e6e0; --muted: #a8a299; --line: #364050; --bg: #161b23; --card: #212937;
          --good: #7ddc9a;
          --accent: #e8a33d; --accent-ink: #161b23; --head: #0f1319; --head-ink: #e9e6e0;
          --link: #8fb8ff; }
}
* { box-sizing: border-box; }
body { font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink);
       background: var(--bg); margin: 0; }
a { color: var(--link); }
main { max-width: 680px; margin: 0 auto; padding: 24px 16px 40px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 10; padding: 8px 12px; background: var(--card); }

/* header + nav */
header.top { background: var(--head); color: var(--head-ink); }
header.top > div { max-width: 680px; margin: 0 auto; padding: 8px 16px; display: flex;
                   flex-wrap: wrap; justify-content: space-between; align-items: center;
                   gap: 4px 16px; }
header.top .brand { font-weight: 700; letter-spacing: .01em; color: inherit; text-decoration: none;
                    padding: 6px 0; }
header.top nav { display: flex; flex-wrap: wrap; gap: 0 14px; }
header.top nav a { color: inherit; text-decoration: none; font-size: .92rem; opacity: .85;
                   padding: 8px 0; }
header.top nav a:hover, header.top nav a[aria-current] { opacity: 1; text-decoration: underline;
                   text-decoration-color: var(--accent); text-underline-offset: 5px;
                   text-decoration-thickness: 2px; }

/* type */
h1 { font-size: 1.7rem; line-height: 1.2; margin: 0 0 14px; }
h2 { font-size: 1.2rem; line-height: 1.3; margin: 36px 0 8px; }
.lead { font-size: 1.1rem; }
.note { color: var(--muted); font-size: .95rem; }
.tools { color: var(--muted); font-size: .95rem; }
.crumbs { margin: 0 0 4px; font-size: .9rem; }
li { margin: 0 0 6px; }

.banner { margin: 0 0 18px; }
.banner a { display: block; padding: 10px 14px; border-radius: 10px; background: var(--card);
            border: 1px solid var(--line); border-left: 4px solid var(--accent);
            color: var(--ink); text-decoration: none; font-weight: 600; }

/* cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px;
        padding: 14px 16px; margin: 0 0 12px; }
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
section.card h2 { margin: 0 0 6px; font-size: 1.12rem; }
section.card h2 a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 4px; }
.card .more { font-size: .92rem; }
.card .more a { text-decoration: none; }
.price { color: var(--muted); }
.price strong { color: var(--ink); font-size: 1.1rem; }

/* numbered steps */
ol.steps { list-style: none; padding: 0; counter-reset: step; }
ol.steps li { counter-increment: step; position: relative; padding-left: 44px; margin: 0 0 14px; }
ol.steps li::before { content: counter(step); position: absolute; left: 0; top: 0;
                      width: 30px; height: 30px; border-radius: 50%; background: var(--accent);
                      color: var(--accent-ink); font-weight: 700; text-align: center;
                      line-height: 30px; }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.btn { display: inline-block; padding: 11px 18px; min-height: 44px; border-radius: 999px;
       background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; }
.btn.alt { background: none; color: var(--ink); border: 2px solid var(--accent); padding: 9px 16px; }

footer { max-width: 680px; margin: 0 auto; padding: 16px 16px 40px; font-size: .88rem;
         color: var(--muted); border-top: 1px solid var(--line); }
footer p { margin: 0 0 6px; }
footer a { color: inherit; }

/* call button pinned to the bottom on phones, like the report pages */
.call { display: none; }
@media (max-width: 640px) {
  .call { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 5;
          padding: 13px; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
          font-weight: 700; text-align: center; text-decoration: none;
          box-shadow: 0 4px 16px rgba(0,0,0,.25); }
  footer { padding-bottom: 90px; }
}
@media print { .call, header.top nav { display: none; } }
