/* MyThesisCheck — single stylesheet, no frameworks. Rename-safe: brand
   colours live in the :root variables only. */
:root {
  --ink: #14213d;
  --ink-soft: #44506b;
  --accent: #1d6fb8;
  --accent-dark: #155a96;
  --accent-soft: #e8f2fa;
  --ok: #177245;
  --warn: #b7791f;
  --bad: #b3362b;
  --line: #d9e0ea;
  --bg: #f7f9fc;
  --card: #ffffff;
  --radius: 12px;
}
* { box-sizing: border-box; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55; font-size: 16px;
}
.wrap { max-width: 1020px; margin: 0 auto; padding: 0 20px; }
a { color: var(--accent); }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: 1.45rem; margin: 1.6em 0 .5em; }
h3 { font-size: 1.1rem; margin: 1.2em 0 .4em; }
p { margin: 0 0 1em; }
.small { font-size: .875rem; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }

/* header */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.brand-name { font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; }
.brand-name em { font-style: normal; color: var(--accent); }
.brand-tag { font-size: .78rem; color: var(--ink-soft); }
.main-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.main-nav a:hover { color: var(--accent); }

/* buttons */
.btn { display: inline-block; border: 0; cursor: pointer; text-decoration: none; font-weight: 700;
  padding: 12px 22px; border-radius: 999px; font-size: 1rem; text-align: center; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { background: var(--accent-soft); color: var(--accent-dark); }
.btn-block { display: block; width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* hero + cards */
.hero { padding: 44px 0 10px; text-align: center; }
.hero h1 { font-size: 2.5rem; max-width: 720px; margin-left: auto; margin-right: auto; }
.hero .lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 640px; margin: 0 auto 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 18px 0; }
.upload-card { max-width: 640px; margin: 0 auto; text-align: left; box-shadow: 0 8px 30px rgba(20,33,61,.08); }
.drop-hint { border: 2px dashed var(--line); border-radius: var(--radius); padding: 18px; text-align: center; color: var(--ink-soft); margin-bottom: 14px; }
input[type="file"], input[type="email"], input[type="text"], input[type="password"], input[type="number"], select, textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 1rem; background: #fff; color: var(--ink);
}
label { display: block; font-weight: 600; margin-bottom: 12px; }
label .hint { display: block; font-weight: 400; font-size: .85rem; color: var(--ink-soft); margin-top: 3px; }

/* layout helpers */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 760px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } .hero h1 { font-size: 1.9rem; } }
.step-num { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 8px; }
section { padding: 10px 0; }

/* pricing */
.price-card { text-align: center; }
.price-card .price { font-size: 2rem; font-weight: 800; margin: .2em 0; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 8px 30px rgba(29,111,184,.15); }

/* tables */
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .95rem; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink-soft); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.table-scroll { overflow-x: auto; }

/* report */
.score-hero { text-align: center; padding: 10px 0; }
.score-big { font-size: 4rem; font-weight: 800; line-height: 1; }
.score-band { font-weight: 700; }
.band-low { color: var(--ok); } .band-mid { color: var(--warn); } .band-high { color: var(--bad); }
.sample-banner { background: #fff4d6; border: 1px solid #ecd28a; color: #6d5410; border-radius: 8px; padding: 10px 14px; font-weight: 700; text-align: center; margin: 14px 0; }
.notice { border-radius: 8px; padding: 12px 16px; margin: 14px 0; }
.notice-info { background: var(--accent-soft); }
.notice-error { background: #fdecea; border: 1px solid #f2b8b2; }
.notice-ok { background: #e7f6ee; border: 1px solid #a9dcc0; }

/* guides / articles */
article.prose { max-width: 720px; margin: 0 auto; }
article.prose p, article.prose li { font-size: 1.05rem; }

/* faq */
details { border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; margin: 10px 0; background: var(--card); }
summary { font-weight: 700; cursor: pointer; }

/* forms */
.stack-form { max-width: 560px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--ink-soft); } .kv dd { margin: 0; font-weight: 700; text-align: right; }

/* footer */
.site-footer { margin-top: 48px; background: var(--ink); color: #cfd8e6; }
.site-footer a { color: #fff; }
.footer-inner { padding: 28px 20px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cite-out { background: #0f1626; color: #eaf6ff; border-radius: 8px; padding: 16px; font-family: Georgia, serif; white-space: pre-wrap; word-break: break-word; }
