/* PicTrade legal / support site. One stylesheet, no web fonts, no scripts. */
:root {
  --charcoal: #0a0b0f;
  --slate: #1e2433;
  --electric: #3ea6ff;
  --violet: #a855ff;
  --bg: #ffffff;
  --surface: #f4f6ff;
  --text: #1e2433;
  --muted: #5a6275;
  --line: #e2e6f2;
  --link: #1a6fd6;
  --mark-bg: #fff3c4;
  --mark-text: #6b4e00;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0b0f;
    --surface: #141824;
    --text: #e8ebf7;
    --muted: #a3abc2;
    --line: #262c3d;
    --link: #7fc4ff;
    --mark-bg: #3d3210;
    --mark-text: #ffe08a;
  }
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-wrap: break-word;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; width: 100%; }

a { color: var(--link); }
a:focus-visible { outline: 2px solid var(--electric); outline-offset: 2px; border-radius: 3px; }

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

/* Header */
.site-header {
  background: var(--charcoal);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--electric), var(--violet)) 1;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f4f6ff;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--electric), var(--violet));
  flex: none;
}
.site-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-nav a { color: #c9d0e6; text-decoration: none; font-size: 15px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #ffffff; }

/* Content */
main.wrap { padding-top: 36px; padding-bottom: 56px; }
h1 { font-size: 34px; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 8px; }
h2 { font-size: 23px; line-height: 1.3; margin: 40px 0 10px; padding-top: 8px; border-top: 1px solid var(--line); }
h3 { font-size: 18px; margin: 26px 0 6px; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 24px; }
li { margin: 4px 0; }
.meta { color: var(--muted); margin-bottom: 26px; }
.path { white-space: nowrap; }

.placeholder {
  background: var(--mark-bg);
  color: var(--mark-text);
  font-weight: 600;
  padding: 0 4px;
  border-radius: 4px;
}

/* Landing */
.hero { padding: 8px 0 12px; }
.hero p { color: var(--muted); font-size: 19px; max-width: 34em; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 26px; }
.card {
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
}
.card:hover { border-color: var(--electric); }
.card strong { display: block; font-size: 19px; margin-bottom: 4px; }
.card span { color: var(--muted); font-size: 15px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.site-footer .wrap { padding-top: 22px; padding-bottom: 28px; font-size: 15px; color: var(--muted); }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 8px; }
.site-footer p { margin: 0; }

@media (max-width: 520px) {
  body { font-size: 16px; }
  h1 { font-size: 28px; }
  h2 { font-size: 21px; }
  main.wrap { padding-top: 26px; }
}
