/* Shared look for reubenncharles.com: blue and yellow, condensed headlines, mono labels. Matches the Vietnam guide. */
:root {
  --blue: #1746a2;
  --blue-deep: #0f3278;
  --yellow: #f7c948;
  --cream: #fbf3e0;
  --paper: #f5f5f6;
  --surface: #ffffff;
  --ink: #171612;
  --muted: #555044;
  --line: #e3dccb;
  --on-blue: #ffffff;
  --on-blue-muted: #c7d4f0;
  --accent-text: var(--blue);
  --bg: var(--paper);
  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1100px;
  --radius: 4px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --blue: #1d4fb5; --blue-deep: #0b2459;
    --cream: #1d1b16; --paper: #121317; --surface: #1a1c22; --ink: #f1efe9; --muted: #b3ad9f; --line: #2e2f36;
    --accent-text: var(--yellow);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --blue: #1d4fb5; --blue-deep: #0b2459;
  --cream: #1d1b16; --paper: #121317; --surface: #1a1c22; --ink: #f1efe9; --muted: #b3ad9f; --line: #2e2f36;
  --accent-text: var(--yellow);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1; text-transform: uppercase; letter-spacing: .005em; text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.label { font-family: var(--font-mono); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.on-blue .label { color: var(--yellow); }
section { padding-block: clamp(56px, 9vw, 100px); }
.section-head { display: grid; gap: 10px; max-width: 42rem; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.section-head p { color: var(--muted); font-size: 1.15rem; }

/* Top bar */
.top { background: var(--blue); color: var(--on-blue); border-bottom: 1px solid rgba(255,255,255,.14); }
.top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 14px; }
.brand { font-family: var(--font-mono); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.top nav { display: flex; gap: 22px; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.top nav a { text-decoration: none; color: var(--on-blue-muted); white-space: nowrap; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--on-blue); }
.top nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (max-width: 560px) { .top .wrap { flex-wrap: wrap; row-gap: 8px; } .top nav { gap: 16px; font-size: .7rem; } }

/* Page hero */
.hero { background: var(--blue); color: var(--on-blue); padding-block: clamp(44px, 8vw, 96px); overflow: hidden; }
.hero h1 { font-size: clamp(3.2rem, 9vw, 6.6rem); font-weight: 800; color: #fff; margin: 16px 0 20px; line-height: .9; max-width: 14ch; }
.hero .lede { font-size: 1.25rem; max-width: 36rem; }
.strip { display: inline-block; margin-top: 30px; background: var(--yellow); color: #171612; font-family: var(--font-mono); font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 8px 14px; }

/* Buttons */
.buy {
  display: inline-flex; align-items: stretch; text-decoration: none; border-radius: var(--radius); overflow: hidden;
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; letter-spacing: .02em;
  box-shadow: 4px 4px 0 var(--ink); transition: transform .12s ease, box-shadow .12s ease;
}
.on-blue .buy { box-shadow: 4px 4px 0 var(--blue-deep); }
.buy:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.on-blue .buy:hover { box-shadow: 6px 6px 0 var(--blue-deep); }
.buy .go { background: var(--yellow); color: #171612; padding: 11px 18px; display: flex; align-items: center; line-height: 1.05; }
.buy .price { background: #171612; color: var(--yellow); padding: 11px 14px; display: flex; align-items: center; line-height: 1.05; font-variant-numeric: tabular-nums; }
@media (max-width: 420px) { .buy { font-size: 1.2rem; } .buy .go { padding: 11px 13px; } .buy .price { padding: 11px; } }
.note-mono { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .04em; color: var(--muted); }
.on-blue .note-mono { color: var(--on-blue-muted); }
.code { font-family: var(--font-mono); font-weight: 600; background: var(--yellow); color: #171612; padding: 1px 6px; }

/* Footer */
footer { background: var(--blue-deep); color: var(--on-blue-muted); font-family: var(--font-mono); font-size: .75rem; letter-spacing: .03em; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 22px; }
footer a { color: #fff; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
