/* jordyfilbert.com. Tokens match video/src/brand.ts. One phone-width column. */
:root {
  color-scheme: dark;
  --ink: #101011;
  --panel: #1a1a1c;
  --line: #303034;
  --fg: #ffffff;
  --muted: #a8a8ad;
  --gold: #e8b64f;
  --warn: #ff8a7a;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}
* { box-sizing: border-box; }
html { background: var(--ink); }
body {
  margin: 0;
  color: var(--fg);
  font: 500 17px/1.6 var(--sans);
  -webkit-text-size-adjust: 100%;
}
/* The brand backdrop: one big JF shadow on a grey-black glow. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    url("/jf-mark.svg") center / min(92vw, 720px) no-repeat,
    radial-gradient(circle at center, #2e2e32 0%, #1a1a1c 45%, var(--ink) 80%);
}
img { max-width: 100%; }
.wrap {
  max-width: 620px;
  margin: 0 auto;
  padding-block: 32px 64px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  display: flex;
  flex-direction: column;
  gap: 44px;
}
h1 {
  font-size: clamp(38px, 11vw, 56px);
  line-height: 1.05;
  font-weight: 800;
  margin: 0 0 14px;
  text-wrap: balance;
}
h1 em, h2 em { font-family: var(--serif); font-weight: 400; color: var(--gold); }
h2 { font-size: 27px; line-height: 1.2; font-weight: 800; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.lead { color: var(--muted); }
section { display: flex; flex-direction: column; gap: 14px; }
.small { font-size: 14px; color: var(--muted); }
footer {
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Home */
.mark { display: block; width: 72px; height: 72px; margin-bottom: 22px; }
.guide-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s;
}
.guide-card:hover { border-color: var(--gold); }
.guide-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 10px;
}
.guide-card h3 { font-size: 21px; line-height: 1.2; font-weight: 800; margin: 0 0 6px; }
.guide-card p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.guide-card .go { display: block; margin-top: 8px; font-size: 15px; font-weight: 700; color: var(--gold); }

/* Guides */
.back { font-size: 14px; font-weight: 700; text-decoration: none; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.compare figure { margin: 0; position: relative; min-width: 0; }
.compare img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 16px; }
.compare figcaption {
  position: absolute; top: 10px; left: 10px;
  background: var(--fg); color: var(--ink);
  font-size: 13px; font-weight: 800; padding: 3px 10px; border-radius: 8px;
}
.compare figure + figure figcaption { background: var(--gold); }
.num { color: var(--gold); font-size: 14px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.table-scroll { overflow-x: auto; }
.plans { width: 100%; border-collapse: collapse; font-size: 15px; }
.plans th, .plans td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.plans th { color: var(--muted); font-weight: 700; }
.plans td:first-child { color: var(--muted); }
.note {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--muted);
}
.note strong { color: var(--warn); }
.tool { background: var(--panel); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; color: var(--muted); }
input, select {
  font: 500 17px var(--sans);
  color: var(--fg);
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  width: 100%;
}
pre {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 500 14px/1.55 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px;
}
button {
  font: 800 16px var(--sans);
  color: var(--ink);
  background: var(--gold);
  border: 0;
  border-radius: 12px;
  padding: 13px 16px;
  cursor: pointer;
}
