/* Shared stylesheet for the blog hub and posts added on 2026-09-13 (the landing page, privacy page
   and /identify-watch-from-photo still inline their own copy). Same palette and type as the
   landing page: Direction A — dark ground, coral, Nunito (design/watchid/landing-page/). Loupe's
   site is dark by design, so there is no light variant. Served from 'self', which _headers
   allows. English-only hand-written pages, not build.mjs templates. */
:root {
  --bg: #170803; --surface: #1B0A04; --card: #1F0D07; --card-raised: #22100A;
  --line: #2E1A12; --line-soft: #3A231A; --line-strong: #52372E;
  --text: #FFEDE8; --text-2: #E7BDB1; --text-3: #B49087; --text-4: #9C7F75;
  --coral: #FFB4A4; --coral-hover: #FFD5CA; --brand: #E8664A; --on-coral: #5F1600;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Nunito', 'Nunito Sans', 'Trebuchet MS', system-ui, sans-serif; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--coral); text-underline-offset: 3px; }
a:hover { color: var(--coral-hover); }
a:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 820px; margin: 0 auto; padding-inline: clamp(20px, 5vw, 40px); }
h1, h2, h3, .brand-name { margin: 0; text-wrap: balance; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.12; margin-bottom: 18px; }
h2 { font-size: clamp(23px, 2.8vw, 31px); line-height: 1.2; margin: 48px 0 16px; }
h3 { font-size: clamp(18px, 2vw, 21px); margin: 30px 0 10px; }
p { margin: 0 0 18px; text-wrap: pretty; color: var(--text-2); }
ul, ol { margin: 0 0 18px; padding-left: 22px; color: var(--text-2); }
li { margin-bottom: 9px; }
strong, b { color: var(--text); }
.muted { color: var(--text-3); }
.note { border-left: 3px solid var(--line-strong); padding: 2px 0 2px 16px; color: var(--text-3); font-size: 16px; }
code { font-size: 0.9em; background: var(--card-raised); border: 1px solid var(--line-soft); border-radius: 5px; padding: 1px 6px; color: var(--text); }

.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { max-width: 1040px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand-name { font-size: 20px; }
.head-nav { display: flex; align-items: center; gap: 20px; }
.navlink { font-size: 15px; font-weight: 700; color: var(--text-2); text-decoration: none; }
.navlink:hover { color: var(--text); }
.head-cta { display: inline-flex; align-items: center; height: 42px; padding: 0 20px; border-radius: 21px; background: var(--coral); color: var(--on-coral); font-size: 15px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.head-cta:hover { background: var(--coral-hover); color: var(--on-coral); }

main { padding-block: clamp(40px, 6vw, 68px) clamp(48px, 7vw, 90px); }
.crumbs { font-size: 14px; color: var(--text-4); margin-bottom: 20px; }
.crumbs a { color: var(--text-3); }
.standfirst { font-size: clamp(17px, 1.6vw, 19px); color: var(--text-2); margin-bottom: 10px; }
.byline { font-size: 14px; color: var(--text-4); margin-bottom: 32px; }
.answer { border: 1px solid var(--line-strong); border-left: 4px solid var(--brand); background: var(--card-raised); border-radius: 14px; padding: 22px clamp(20px, 3vw, 28px); }
.answer h2 { font-size: 13px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--brand); margin: 0 0 10px; }
.answer p { color: var(--text); margin: 0; }
.inline-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 18px 0 8px; font-size: 15px; color: var(--text-3); }
.inline-cta a { display: inline-flex; align-items: center; height: 46px; padding: 0 24px; border-radius: 23px; background: var(--coral); color: var(--on-coral); font-weight: 800; text-decoration: none; }
.inline-cta a:hover { background: var(--coral-hover); color: var(--on-coral); }

.tablewrap { overflow-x: auto; margin: 8px 0 12px; border: 1px solid var(--line); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; line-height: 1.5; }
th, td { text-align: left; padding: 12px 15px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
thead th { background: var(--surface); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); font-weight: 700; }
tbody tr:last-child td { border-bottom: 0; }
.tablenote { font-size: 14px; color: var(--text-4); }

.callout { border: 1px solid var(--line-soft); background: var(--card); border-radius: 14px; padding: 18px clamp(18px, 2.5vw, 24px); margin: 0 0 24px; }
.callout p:last-child { margin-bottom: 0; }

.cta { border: 1px solid var(--line-strong); background: var(--card-raised); border-radius: 22px; padding: clamp(24px, 3.5vw, 34px); margin-top: 56px; }
.cta-top { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
.cta-top img { width: 56px; height: 56px; border-radius: 14px; }
.cta h2 { margin: 0; font-size: clamp(21px, 2.4vw, 27px); }
.cta .badge img { width: 188px; }

.related { margin-top: 48px; }
.related h2 { font-size: 22px; margin: 0 0 12px; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.related li { margin: 0; }
.related a { display: block; padding: 14px 18px; border: 1px solid var(--line-soft); border-radius: 14px; background: var(--card); text-decoration: none; color: var(--text); font-weight: 700; }
.related a:hover { border-color: var(--brand); color: var(--text); }

.post-group { margin-top: 44px; }
.post-group h2 { font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--text-3); margin: 0 0 12px; }
.posts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.posts li { margin: 0; }
.posts a { display: block; padding: 18px 20px; border: 1px solid var(--line-soft); border-radius: 16px; background: var(--card); text-decoration: none; color: var(--text); }
.posts a:hover { border-color: var(--brand); color: var(--text); }
.posts strong { display: block; font-size: 20px; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 4px; }
.posts span { color: var(--text-3); font-size: 15px; line-height: 1.55; display: block; }

.site-foot { border-top: 1px solid var(--line); padding-block: 34px 46px; font-size: 14px; color: var(--text-4); }
.site-foot .wrap { max-width: 1040px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.site-foot a { color: var(--text-3); }
.site-foot a:hover { color: var(--text); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.site-foot small { flex-basis: 100%; font-size: 13px; line-height: 1.55; }
@media (max-width: 520px) { body { font-size: 16px; } .head-cta { height: 38px; padding: 0 14px; font-size: 14px; } }
