/* 914 Studio Group: site styles. Plain CSS, no build step. Bump ?v= in the HTML when this changes. */

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;
  --ink: #16294a;            /* brand navy */
  --brass: #c8a24c;          /* brand brass (decorative / fills only on light) */
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #eef1f5;
  --text: #111c2b;
  --muted: #4a5668;
  --border: #d5dbe3;
  --link: #1a4d8f;
  --link-hover: #0f3566;
  --accent-text: #7a5a10;    /* brass, dark enough for text on light backgrounds */
  --btn-bg: #16294a;
  --btn-text: #ffffff;
  --btn-bg-hover: #0e1c35;
  --btn2-bg: #c8a24c;
  --btn2-text: #111c2b;
  --btn2-bg-hover: #b8913a;
  --hero-bg: #16294a;
  --hero-bg-2: #0e1c35;
  --hero-text: #ffffff;
  --hero-muted: #c3cedd;
  --hero-accent: #d4b061;
  --ok: #1d6b3a;
  --warn-bg: #fff6e0;
  --warn-border: #e2c47a;
  --code-bg: #0f1826;
  --code-text: #dfe7f2;
  --focus: #1f6feb;
  --shadow: 0 1px 2px rgba(17, 28, 43, .06), 0 6px 20px rgba(17, 28, 43, .07);
  --radius: 12px;
  --maxw: 1140px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, "Liberation Mono", Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b131f;
    --surface: #121d2e;
    --surface-2: #18263b;
    --text: #e7edf5;
    --muted: #a9b6c8;
    --border: #2a3a54;
    --link: #8fbaf0;
    --link-hover: #b9d4f7;
    --accent-text: #dcbc6e;
    --btn-bg: #d4b061;
    --btn-text: #0b131f;
    --btn-bg-hover: #e2c47a;
    --btn2-bg: transparent;
    --btn2-text: #e7edf5;
    --btn2-bg-hover: #1d2d46;
    --hero-bg: #0f1a2c;
    --hero-bg-2: #08101b;
    --ok: #6fd39a;
    --warn-bg: #2a2412;
    --warn-border: #6b5a2a;
    --code-bg: #08101b;
    --focus: #8fbaf0;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .25);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 1.25rem + 1.3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
code, kbd, .mono { font-family: var(--mono); font-size: .92em; }
kbd { border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 5px; padding: 0 .35em; background: var(--surface); }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--surface); color: var(--text); padding: .6rem 1rem; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.section { padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: .75rem; }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--muted); max-width: 46em; }
.section-head { max-width: 720px; margin-bottom: 2.25rem; }
.section-head p { color: var(--muted); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 92%, transparent); border-bottom: 1px solid var(--border); backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px); }
@supports not (background: color-mix(in srgb, red 50%, blue)) { .site-header { background: var(--surface); } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; }
.brand:hover { color: var(--text); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand .wm-n { color: inherit; }   /* whole wordmark one colour (Mike 2026-10-16) */
.brand small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: .02em; }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .5rem; margin: 0; padding: 0; align-items: center; }
.site-nav a { display: inline-block; padding: .45rem .7rem; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .96rem; }
.site-nav a:hover { background: var(--surface-2); }
.site-nav a[aria-current="page"] { color: var(--link); background: var(--surface-2); }
.site-nav .nav-cta { background: var(--btn-bg); color: var(--btn-text); }
.site-nav .nav-cta:hover { background: var(--btn-bg-hover); color: var(--btn-text); }
@media (max-width: 560px) {
  .header-inner { justify-content: center; }
  .site-nav ul { justify-content: center; }
  .site-nav a { padding: .4rem .55rem; font-size: .92rem; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.35rem; border-radius: 10px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center; transition: background-color .15s, border-color .15s, color .15s; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--btn-bg); color: var(--btn-text); }
.btn-primary:hover { background: var(--btn-bg-hover); color: var(--btn-text); }
.btn-secondary { background: var(--btn2-bg); color: var(--btn2-text); border-color: var(--btn2-bg); }
.btn-secondary:hover { background: var(--btn2-bg-hover); color: var(--btn2-text); }
@media (prefers-color-scheme: dark) { .btn-secondary { border-color: var(--border); } }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
/* hero (always dark) */
.hero .btn-primary { background: var(--hero-accent); color: #0b131f; }
.hero .btn-primary:hover { background: #e2c47a; color: #0b131f; }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.hero :focus-visible { outline-color: #ffd97a; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #2a4475 0%, transparent 60%), linear-gradient(180deg, var(--hero-bg), var(--hero-bg-2)); color: var(--hero-text); padding: clamp(3rem, 2rem + 5vw, 6rem) 0 clamp(3rem, 2rem + 4vw, 5rem); }
.hero a:not(.btn) { color: #cfe0f7; }
.hero .eyebrow { color: var(--hero-accent); }
.hero .lead { color: var(--hero-muted); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-note { margin-top: 1rem; font-size: .92rem; color: var(--hero-muted); }
.hero-points { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .45rem; color: var(--hero-muted); font-size: .98rem; }
.hero-points li { display: flex; gap: .55rem; align-items: flex-start; }
.hero-points svg { width: 1.2em; height: 1.2em; flex: none; margin-top: .2em; color: var(--hero-accent); }

/* viewfinder frame motif */
.viewfinder { position: relative; padding: 14px; }
.viewfinder::before, .viewfinder::after, .viewfinder > .vf-b::before, .viewfinder > .vf-b::after { content: ""; position: absolute; width: 34px; height: 34px; border-color: var(--hero-accent); border-style: solid; pointer-events: none; }
.viewfinder::before { top: 0; left: 0; border-width: 4px 0 0 4px; border-top-left-radius: 6px; }
.viewfinder::after { top: 0; right: 0; border-width: 4px 4px 0 0; border-top-right-radius: 6px; }
.viewfinder > .vf-b::before { bottom: 0; left: 0; border-width: 0 0 4px 4px; border-bottom-left-radius: 6px; }
.viewfinder > .vf-b::after { bottom: 0; right: 0; border-width: 0 4px 4px 0; border-bottom-right-radius: 6px; }
.viewfinder img { border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .45); }
.vf-caption { margin-top: .6rem; font-size: .85rem; color: var(--hero-muted); text-align: center; }
.live-clock { display: inline-block; font-family: var(--mono); background: rgba(0, 0, 0, .55); color: #fff; padding: .15rem .5rem; border-radius: 4px; font-size: .95rem; font-variant-numeric: tabular-nums; white-space: pre-line; text-align: left; vertical-align: middle; line-height: 1.25; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.2rem; box-shadow: var(--shadow); }
.section-alt .card { background: var(--bg); box-shadow: none; }
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink); margin-bottom: .9rem; }
@media (prefers-color-scheme: dark) { .icon { color: var(--accent-text); } }
.icon svg { width: 24px; height: 24px; }

/* steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps > li { counter-increment: step; position: relative; }
.steps > li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-text); font-weight: 800; margin-bottom: .9rem; }

/* product feature row (home) */
.feature-product { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: center; }
@media (max-width: 900px) { .feature-product { grid-template-columns: 1fr; } }
.shot { border-radius: 10px; border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--surface); }
figure { margin: 0; }
figcaption { font-size: .9rem; color: var(--muted); margin-top: .6rem; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .5rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; }
.check-list svg { width: 1.25em; height: 1.25em; flex: none; margin-top: .18em; color: var(--ok); }

/* integrity split + report */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 3rem); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.report { background: var(--code-bg); color: var(--code-text); border-radius: var(--radius); padding: 1.1rem 1.2rem; font-family: var(--mono); font-size: .8rem; line-height: 1.55; overflow-x: auto; white-space: pre; border: 1px solid #22324a; max-width: 100%; }
.report .k { color: #9fb3cc; }
.report .h { color: #e7c873; font-weight: 700; }
.report .y { color: #8ee0a8; }
.report-wrap figcaption { margin-top: .5rem; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.gallery figure:first-child { grid-column: 1 / -1; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }

/* formats */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: .3rem .85rem; font-weight: 600; font-size: .92rem; }
.section-alt .chips li { background: var(--bg); }

/* comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .97rem; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { background: var(--surface-2); font-size: .9rem; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 600; }
.yes { color: var(--ok); font-weight: 700; }
.no { color: var(--muted); }
td svg { display: inline-block; width: 1.1em; height: 1.1em; vertical-align: -0.18em; margin-right: .3em; }

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.price-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); position: relative; }
.price-card.featured { border: 2px solid var(--brass); }
.badge { position: absolute; top: -13px; left: 1.4rem; background: var(--brass); color: #111c2b; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .65rem; border-radius: 999px; }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: .4rem 0 .2rem; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-sub { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.price-card .check-list { flex: 1; font-size: .97rem; }
.price-card .btn { margin-top: auto; }
.checkout-note { margin-top: 1.25rem; }
.notice { border: 1px solid var(--warn-border); background: var(--warn-bg); border-radius: 10px; padding: .85rem 1rem; font-size: .95rem; }
.notice[hidden] { display: none; }
.fineprint { font-size: .88rem; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.section-alt .faq details { background: var(--bg); }
.faq summary { cursor: pointer; padding: 1rem 2.6rem 1rem 1.1rem; font-weight: 700; position: relative; list-style: none; border-radius: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 1.1rem; top: 50%; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq-body { padding: 0 1.1rem 1rem; color: var(--muted); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* disclaimer */
.disclaimer { border-left: 4px solid var(--brass); background: var(--surface); padding: 1.1rem 1.25rem; border-radius: 0 10px 10px 0; font-size: .97rem; }
.disclaimer h2, .disclaimer h3 { font-size: 1.1rem; }

/* prose (legal / support pages) */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.45rem; margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .35rem; }
.page-head { padding-top: clamp(2.5rem, 2rem + 3vw, 4rem); padding-bottom: 1.5rem; }
.page-head .lead { margin-bottom: 0; }
.draft-banner { border: 1px dashed var(--warn-border); background: var(--warn-bg); border-radius: 10px; padding: .75rem 1rem; font-size: .95rem; margin-bottom: 1.5rem; }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.25rem; margin: 0 0 2rem; }
.toc ol { margin: .3rem 0 0; }
.install-steps > li { margin-bottom: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 2.75rem 0 2rem; font-size: .95rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.site-footer h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text); margin-bottom: .6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.footer-bottom { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--border); font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }

@media print {
  .site-header, .site-footer, .btn, .skip-link { display: none !important; }
  .hero { background: none; color: #000; }
  body { background: #fff; color: #000; }
}
.footer-blurb { margin-top: .8rem; }
.chips-center { justify-content: center; }
.mt-lg { margin-top: 1.4rem; }
.h3-size { font-size: 1.35rem; }
.link-cards a.card { display: block; color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.link-cards a.card h3 { color: var(--link); }
.link-cards a.card:hover { border-color: var(--link); }
/* grid children may shrink below their content's min width (wide <pre>, long emails) */
.split > *, .hero-grid > *, .feature-product > *, .grid > *, .footer-grid > *, .pricing > * { min-width: 0; }
.btn { max-width: 100%; overflow-wrap: anywhere; }
/* the report needs ~95 monospace columns: give it the full width below the text on all but huge screens */
.split-wide-report { grid-template-columns: 1fr; }
.split-wide-report > div { max-width: 820px; }
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }

/* Formats section */
.fmt-list { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .45rem .9rem; }
.fmt-list code { font-family: var(--mono); font-variant-numeric: tabular-nums; background: rgba(0, 0, 0, .55); color: #fff; padding: .15rem .5rem; border-radius: 4px; font-size: .95rem; white-space: nowrap; }
.fmt-note { color: var(--muted); font-size: .9rem; }
.fmt-more { margin-top: 1.25rem; max-width: 70ch; }

/* Options section */
.opt-grid h3 { margin-bottom: .6rem; }
.opt-grid .fmt-list { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.opt-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.opt-chips li { border: 1px solid var(--border); border-radius: 999px; padding: .2rem .7rem; font-size: .92rem; }
.opt-sub { margin: .8rem 0 .4rem; color: var(--muted); font-size: .9rem; }
.opt-swatches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: .35rem .6rem; font-size: .9rem; }
.opt-swatches li { display: flex; align-items: center; gap: .45rem; }
.opt-swatches .sw { width: 16px; height: 16px; border-radius: 4px; border: 1px solid var(--border); flex: none; }
.opt-swatches .sw-any { background: conic-gradient(red, yellow, lime, aqua, blue, fuchsia, red); }
.opt-pos-wrap { display: flex; gap: 1rem; align-items: center; }
.opt-pos-wrap .opt-sub { margin: 0; }
.opt-pos { display: grid; grid-template-columns: repeat(3, 26px); gap: 6px; padding: 8px; border: 1px solid var(--border); border-radius: 8px; flex: none; }
.opt-pos span { height: 18px; border: 1px solid var(--border); border-radius: 4px; }
.opt-pos span.on { background: var(--accent-text); border-color: var(--accent-text); }

/* Ways to pay (Stripe checkout methods enabled for US buyers) */
.pay-methods { margin: 1.75rem auto 0; max-width: 720px; text-align: center; }
.pay-title { font-weight: 700; margin: 0 0 .6rem; }
.pay-list { list-style: none; margin: 0 0 .6rem; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.pay-list li { border: 1px solid var(--border); border-radius: 8px; padding: .3rem .75rem; font-size: .92rem; font-weight: 600; background: var(--surface, transparent); }
.pay-list li span { font-weight: 400; color: var(--muted); }

/* long hashes wrap instead of overflowing */
code.break { word-break: break-all; overflow-wrap: anywhere; }
