/* FTB Capital - self-hosted styles. System fonts only, no external assets. */
:root {
  --text: #1a1d21;
  --muted: #4a4f57;
  --bg: #ffffff;
  --soft: #f3f4f6;
  --line: #d4d7dc;
  --accent: #0b5cad;      /* 6.5:1 on white */
  --accent-dark: #084783;
  --focus: #b35c00;
  --ph-bg: #fff4d6;
  --ph-text: #5c4400;
  --ph-line: #c89a1e;
  --max: 68rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--text); color: #fff; padding: .6rem 1rem; z-index: 10; }
.skip-link:focus { left: 1rem; top: 1rem; color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-top: .9rem; padding-bottom: .9rem; }
.brand { font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; letter-spacing: .01em; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.site-nav a { color: var(--text); text-decoration: none; padding: .35rem 0; display: inline-block; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; }

main { display: block; }
section { padding: 2.5rem 0; }
section + section { border-top: 1px solid var(--line); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .75rem; }
h1 { font-size: clamp(2rem, 7vw, 3.25rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.4rem, 4.5vw, 1.9rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; max-width: 42rem; }
.lead { font-size: 1.2rem; color: var(--muted); }
.eyebrow { font-weight: 700; margin-bottom: .5rem; }
.eyebrow em { font-weight: 400; color: var(--muted); }
ul.plain { padding-left: 1.2rem; max-width: 42rem; }
ul.plain li { margin-bottom: .5rem; }

.btn { display: inline-block; padding: .75rem 1.25rem; border-radius: 6px; border: 2px solid var(--accent); background: var(--accent); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; min-height: 44px; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--accent); }
.btn-secondary:hover { background: var(--soft); color: var(--accent-dark); }
.btn:focus-visible { outline-color: var(--focus); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0; }

/* Clearly marked placeholders (not final copy) */
.placeholder { background: var(--ph-bg); color: var(--ph-text); border: 1px dashed var(--ph-line); padding: 0 .3rem; border-radius: 3px; font-style: italic; }

/* Screenshot slots */
.shot { margin: 0; }
.shot img { background: #dde0e4; border: 1px solid var(--line); border-radius: 12px; width: 100%; max-width: 270px; aspect-ratio: 540 / 1170; object-fit: cover; }
.shot figcaption { font-size: .95rem; color: var(--muted); margin-top: .5rem; max-width: 270px; }
.shot-pair { display: flex; gap: .75rem; }
.shot-pair img { max-width: 130px; }
.gallery { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.25rem; }
.gallery .wide { grid-column: span 2; }
.gallery .shot-pair img { max-width: 100%; min-width: 0; flex: 1 1 0; }
.gallery .solo-mobile { grid-column: span 2; }
.gallery .solo-mobile .shot { width: calc(50% - .625rem); }

.hero { display: grid; gap: 1.75rem; }
.hero .shot img { max-width: 240px; }

.card { border: 1px solid var(--line); border-radius: 10px; padding: 1.25rem; display: grid; gap: 1.25rem; background: var(--soft); max-width: 44rem; }
.card h3 { margin-top: 0; }
.card .shot img { max-width: 160px; }

/* Form */
.signup { background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 1.25rem; max-width: 36rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.field input[type="email"] { width: 100%; font: inherit; padding: .65rem .75rem; border: 2px solid #6b717a; border-radius: 6px; background: #fff; color: var(--text); min-height: 44px; }
.check { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: 1rem; }
.check input { width: 1.35rem; height: 1.35rem; margin-top: .2rem; flex: none; accent-color: var(--accent); }
.check label { font-weight: 400; }
.req { color: #9b1c1c; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 1rem 0 0; font-weight: 600; min-height: 1.6em; }
.form-status.ok { color: #1d6b32; }
.form-status.err { color: #9b1c1c; }
.small-print { font-size: .95rem; color: var(--muted); margin-top: 1rem; }

.site-footer { border-top: 1px solid var(--line); background: var(--soft); padding: 2rem 0 2.5rem; margin-top: 2rem; font-size: .95rem; color: var(--muted); }
.site-footer p { max-width: 50rem; }
.site-footer nav ul { list-style: none; padding: 0; margin: 1rem 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }

.notice h2 { font-size: 1.15rem; margin-top: 1.5rem; }

@media (min-width: 48rem) {
  section { padding: 3.5rem 0; }
  .hero { grid-template-columns: 1.4fr 1fr; align-items: center; }
  .card { grid-template-columns: 1fr auto; align-items: center; }
  .gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .gallery .solo-mobile { grid-column: auto; }
  .gallery .solo-mobile .shot { width: auto; }
}
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
