/* JoseLuisRodriguezJr.com — site.css (shared by every page)
 * Version: 2.1.0
 * 2.1.0: placeholder (disabled) button style.
 * 2.0.0: dark grey theme on every page (background #151515), buttons,
 *        breadcrumbs, app header and the shared footer.
 */

:root {
  color-scheme: dark;
  --bg: #151515;
  --surface: #1f1f1e;
  --surface-hover: #292928;
  --line: #323231;
  --heading: #f0efec;
  --text: #e6e5e2;
  --muted: #a3a29e;
  --accent: #5cbcd8;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  padding: 40px 20px 56px;
  -webkit-text-size-adjust: 100%;
}

main { max-width: 680px; margin: 0 auto; }

h1, h2 { color: var(--heading); }
h1 { font-size: clamp(26px, 7vw, 32px); line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 20px; margin: 36px 0 10px; }
p, li { margin: 0 0 12px; }
ul { padding-left: 22px; margin: 0 0 12px; }
a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.muted { color: var(--muted); }
.lede { color: var(--muted); margin-bottom: 28px; }

/* Breadcrumbs */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0 0 28px;
  font-size: 14px;
  color: var(--muted);
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.crumbs .sep { color: var(--line); }
.crumbs [aria-current="page"] { color: var(--text); }

/* Buttons */
.buttons { display: grid; gap: 12px; margin: 28px 0 0; }
@media (min-width: 560px) {
  .buttons.two { grid-template-columns: 1fr 1fr; }
}
.button {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--heading);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.button:hover { background: var(--surface-hover); }
.button::after { content: "\203A"; margin-left: auto; color: var(--muted); font-size: 24px; line-height: 1; }
.button .sub { display: block; color: var(--muted); font-size: 14px; font-weight: 400; }
.button img { width: 56px; height: 56px; flex: none; }
.button.disabled { color: var(--muted); cursor: default; }
.button.disabled:hover { background: var(--surface); }
.button.disabled::after { content: none; }

/* App page header */
.app-head { display: flex; align-items: center; gap: 18px; margin: 0 0 24px; }
.app-head img { width: 96px; height: 96px; flex: none; }
.app-head h1 { margin: 0 0 2px; }
.app-head p { margin: 0; color: var(--muted); }

/* Privacy policy */
.date { color: var(--muted); margin-bottom: 28px; }

/* Boxed notes (policy summary, referral disclosure) */
.summary,
.note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 0 0 8px;
}
.summary p,
.note p { margin: 0; }
.note { font-size: 16px; }
.note p + p { margin-top: 10px; }

/* Referral list */
.refs { list-style: none; padding: 0; }
.refs li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  margin: 0 0 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 2px 12px;
}
.refs .name { font-weight: 600; text-decoration: none; }
.refs .code { color: var(--muted); font-size: 15px; }
.refs .host {
  flex-basis: 100%;
  order: 3;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}
code {
  font: 15px ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--heading);
  -webkit-user-select: all;
  user-select: all;
}

/* Footer: copyright, contact, privacy */
footer {
  max-width: 680px;
  margin: 56px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
footer p { margin: 0 0 6px; }
footer a { color: var(--muted); }
