/* myResearchQuill site: one stylesheet for every page. Colours follow the app's purple-pink home screen. */
:root {
  --bg: #faf7fd;
  --surface: #ffffff;
  --text: #1d1a24;
  --muted: #5f5a6b;
  --border: #e6e0ee;
  --accent: #6b4ce6;
  --accent-2: #e0559c;
  --link: #5a3ad6;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15131a;
    --surface: #1f1c26;
    --text: #f1eef6;
    --muted: #a9a3b6;
    --border: #312c3b;
    --link: #a996ff;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--link); }
img { max-width: 100%; height: auto; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }

header.site {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; flex-wrap: wrap; }
header.site .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; font-size: 18px; }
header.site .brand img { width: 36px; height: 36px; border-radius: 9px; }
header.site nav { display: flex; gap: 18px; font-size: 15px; }
header.site nav a { text-decoration: none; color: var(--muted); }
header.site nav a:hover, header.site nav a[aria-current="page"] { color: var(--text); }

.hero {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  padding: 56px 0 64px;
}
.hero .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(32px, 6vw, 48px); line-height: 1.1; margin: 0 0 12px; }
.hero p { font-size: 19px; margin: 0 0 20px; opacity: 0.95; }
.hero .shots { display: flex; gap: 12px; justify-content: center; }
.hero .shots img { width: 46%; border-radius: 22px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25); }
.badge { display: inline-block; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); font-weight: 600; font-size: 15px; }

main { padding: 40px 0 56px; }
main h1 { font-size: 34px; line-height: 1.2; margin: 0 0 4px; }
main h2 { font-size: 22px; margin: 36px 0 8px; }
main h3 { font-size: 18px; margin: 24px 0 4px; }
.updated { color: var(--muted); margin: 0 0 24px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 8px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); }

.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.contact .card a { font-weight: 600; word-break: break-all; }

table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--border); }
.table-scroll { overflow-x: auto; }

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

@media (max-width: 720px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 48px; }
}
