/* useful-guide.com */

:root {
  --bg: #f4f3f8;
  --panel: #ffffff;
  --text: #1b1530;
  --muted: #5d5873;
  --line: #dcd9e6;
  --violet: #5b3fd1;
  --violet-soft: #ebe6fb;
  --amber: #f2b53a;
  --amber-text: #6b4a00;
  --red: #b73a3a;
  --head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --body: "Literata", Georgia, serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141120;
    --panel: #1d192c;
    --text: #ece9f5;
    --muted: #aaa4bf;
    --line: #322d45;
    --violet: #a993ff;
    --violet-soft: #2a2442;
    --amber: #f2b53a;
    --amber-text: #1b1530;
    --red: #ff8b8b;
  }
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
}

a { color: var(--violet); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

.container { width: min(1100px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(720px, 100% - 2.5rem); margin-inline: auto; }

/* header */
.top {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
  gap: 1rem;
  flex-wrap: wrap;
}
.logo {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.logo svg { width: 26px; height: 26px; }
.top nav a {
  font-family: var(--head);
  color: var(--text);
  text-decoration: none;
  margin-left: 1.4rem;
  font-size: .95rem;
}
.top nav a:hover, .top nav a.active { color: var(--violet); }
@media (max-width: 640px) {
  .top nav { width: 100%; padding-bottom: .75rem; }
  .top nav a { margin: 0 1.1rem 0 0; }
}

.disclose-strip {
  font-family: var(--head);
  font-size: .82rem;
  color: var(--muted);
  padding: .5rem 0;
  border-bottom: 1px solid var(--line);
}

/* hero */
.intro { padding: 3rem 0 1.5rem; }
.intro h1 {
  font-family: var(--head);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  max-width: 22ch;
}
.intro p { max-width: 60ch; color: var(--muted); margin: 0; font-size: 1.1rem; }
.stamp { font-family: var(--head); font-size: .85rem; color: var(--muted); margin-top: 1rem !important; }

/* finder */
.finder {
  background: var(--violet-soft);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  margin: 1.5rem 0 2rem;
}
.finder h2 { font-family: var(--head); font-size: 1.1rem; margin: 0 0 .75rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips button {
  font-family: var(--head);
  font-size: .92rem;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 999px;
  padding: .45rem 1rem;
  cursor: pointer;
}
.chips button[aria-pressed="true"] { background: var(--violet); border-color: var(--violet); color: #fff; }
.finder-answer { margin: .9rem 0 0; font-size: .98rem; min-height: 1.7em; }

/* manager cards */
.managers { display: grid; gap: 1rem; margin-bottom: 3rem; }
.manager {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 1.5rem 2rem;
  transition: border-color .2s, box-shadow .2s;
}
.manager.match { border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-soft); }
.manager h3 { font-family: var(--head); font-size: 1.45rem; margin: 0 0 .2rem; }
.manager .tagline { color: var(--muted); margin: 0 0 .8rem; font-size: .98rem; }
.manager ul { margin: 0; padding-left: 1.1rem; font-size: .97rem; }
.manager li { margin-bottom: .25rem; }
.manager .watch { color: var(--red); font-size: .95rem; margin: .7rem 0 0; }

.badge {
  display: inline-block;
  font-family: var(--head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .03em;
  background: var(--amber);
  color: var(--amber-text);
  border-radius: 4px;
  padding: .1rem .45rem;
  vertical-align: middle;
  margin-left: .4rem;
}

.prices { font-family: var(--head); font-size: .93rem; }
.prices dl { margin: 0 0 1rem; }
.prices div { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding: .35rem 0; gap: 1rem; }
.prices dt { color: var(--muted); }
.prices dd { margin: 0; font-weight: 700; text-align: right; }
.go {
  display: block;
  text-align: center;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  font-family: var(--head);
  font-weight: 700;
  padding: .65rem 1rem;
  border-radius: 8px;
}
.go:hover { background: var(--violet); color: #fff; }

@media (max-width: 760px) {
  .manager { grid-template-columns: 1fr; }
}

/* content sections */
.section { padding: 1rem 0 2.5rem; }
.section h2 { font-family: var(--head); font-size: 1.8rem; letter-spacing: -0.01em; margin: 0 0 .8rem; line-height: 1.2; }
.section h3 { font-family: var(--head); font-size: 1.2rem; margin: 1.8rem 0 .4rem; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cols h3 { margin-top: 0; }
@media (max-width: 820px) { .cols { grid-template-columns: 1fr; } }

.scroll { overflow-x: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; min-width: 680px; border-collapse: collapse; font-family: var(--head); font-size: .92rem; }
th, td { padding: .7rem .9rem; text-align: left; border-bottom: 1px solid var(--line); }
thead th { background: var(--violet-soft); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: none; }

.callout {
  border-left: 4px solid var(--amber);
  background: var(--panel);
  padding: 1rem 1.2rem;
  border-radius: 0 10px 10px 0;
  margin: 1.5rem 0;
}

/* text pages */
.doc { padding: 2.5rem 0 3rem; }
.doc h1 { font-family: var(--head); font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.1; margin: 0 0 .4rem; }
.doc .meta { font-family: var(--head); color: var(--muted); font-size: .9rem; margin: 0 0 2rem; }
.doc h2 { font-family: var(--head); font-size: 1.3rem; margin: 2.2rem 0 .5rem; }
.doc ol, .doc ul { padding-left: 1.3rem; }
.doc li { margin-bottom: .4rem; }

/* footer */
.bottom { background: var(--panel); border-top: 1px solid var(--line); margin-top: 2rem; font-family: var(--head); font-size: .9rem; color: var(--muted); }
.bottom .container { padding: 2rem 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.bottom nav a { color: var(--muted); margin-right: 1.2rem; }
.bottom p { margin: 0; max-width: 46ch; }

/* fill-in reminders — remove once real details are added */
mark.todo { background: var(--amber); color: var(--amber-text); padding: 0 .2em; border-radius: 3px; }
