/* ============================================================================
   Caerus Digital — alternate design 06 "bochords-style"

   Layout, typography and ornament modeled on bochords.com:
     · serif body (Georgia) + inscriptional display face (Cinzel)
     · sticky dark bar, uppercase micro-letterspaced nav, outlined CTA
     · full-bleed hero inside a thin inset gold frame
     · dark 4-up "band" strip with gold headings and vertical rules
     · alternating paper-light sections with a fine engraved texture
     · split layout with a dropcap origin story
     · circle-icon card trio, dark photo/copy panel, roman-numeral ledger
     · gradient dark CTA, three-column footer
   Recolored from bochords' forest-green to the Caerus navy + gold identity.
   Shared by every page in this folder.
   ========================================================================== */

:root {
  --wordmark: "Cinzel", Georgia, "Times New Roman", serif;

  --deep:      #070C16;   /* deepest ground — hero, panels, footer */
  --navy:      #0A0F1A;   /* Caerus bg-dark */
  --mid:       #11182A;   /* Caerus bg-mid — band strip */
  --steel:     #4A6FA5;   /* Caerus blue accent */
  --gold:      #FFB400;   /* Caerus gold */
  --gold-soft: rgba(255, 180, 0, .42);
  --gold-dark: #9A6E00;   /* gold that survives on paper */

  --paper: #FBF9F3;
  --ivory: #F4F0E4;
  --cream: #E7E0CD;
  --ink:   #14171A;
  --muted: #5C636A;
  --line:  rgba(154, 110, 0, .34);

  --on-dark:       #F3EFE3;
  --on-dark-muted: #D5CFC0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 60;
  background: var(--gold); color: var(--deep);
  padding: 10px 16px; text-decoration: none; font-weight: bold;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ── Header ───────────────────────────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 30;
  color: var(--on-dark);
  background: rgba(7, 12, 22, .96);
  border-bottom: 1px solid var(--gold);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .35);
}
.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: auto;
  display: flex; align-items: center; gap: 28px;
}
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none;
  font-family: var(--wordmark);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .82rem;
  color: var(--on-dark);
  white-space: nowrap;
}
.brand img { height: 1.7em; width: auto; display: block; }

nav.nav-links {
  display: flex; align-items: center; gap: 26px;
  margin-left: 34px; margin-right: auto;
}
nav.nav-links a, .nav-cta, .nav-toggle {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .68rem;
  font-family: Georgia, serif;
}
nav.nav-links a { padding-bottom: 3px; border-bottom: 1px solid transparent; }
nav.nav-links a:hover { color: var(--gold); border-bottom-color: var(--gold-soft); }
nav.nav-links a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }

.nav-cta {
  margin-left: auto;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 9px 14px; border-radius: 3px;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav-cta:hover { background: var(--gold); color: var(--deep); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none; color: var(--gold);
  border: 1px solid var(--gold);
  padding: 9px 14px; border-radius: 3px;
  cursor: pointer;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 720px;
  display: grid; align-items: center;
  color: var(--on-dark);
  overflow: hidden;
  border-bottom: 3px double var(--gold);
  background-color: var(--deep);
  background-image:
    linear-gradient(90deg,
      rgba(7, 12, 22, .96) 0%,
      rgba(7, 12, 22, .88) 36%,
      rgba(7, 12, 22, .58) 66%,
      rgba(7, 12, 22, .84) 100%),
    radial-gradient(ellipse 62% 68% at 76% 32%, rgba(255, 180, 0, .22), transparent 62%),
    radial-gradient(ellipse 58% 66% at 10% 84%, rgba(74, 111, 165, .34), transparent 62%),
    repeating-linear-gradient(90deg, rgba(243, 239, 227, .035) 0 1px, transparent 1px 7px);
}
/* Ghosted CD medallion standing in for bochords' hero photograph. */
.hero-mark {
  position: absolute;
  right: -4%; top: 50%;
  transform: translateY(-50%);
  width: min(620px, 52vw);
  opacity: .07;
  pointer-events: none;
  filter: drop-shadow(0 0 60px rgba(255, 180, 0, .3));
}
.hero::after {
  content: "";
  position: absolute; inset: 22px;
  border: 1px solid rgba(255, 180, 0, .5);
  pointer-events: none;
}
.hero-inner {
  /* wider side margins than plain sections: content must stay inside the
     inset gold frame (22px) with breathing room */
  width: min(1180px, calc(100% - 96px));
  margin: auto; position: relative; z-index: 1;
}
.hero-copy { max-width: 640px; padding: 76px 0 84px; }

.eyebrow, .kicker {
  margin: 0 0 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: bold;
}
section.light .kicker, section.light .eyebrow { color: var(--gold-dark); }

.hero h1 {
  margin: 0;
  font-family: var(--wordmark);
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: .98;
}
.hero h1 span { display: block; }
.tagline {
  margin: 14px 0 0;
  color: var(--gold);
  font-size: clamp(1.3rem, 2.4vw, 1.95rem);
  letter-spacing: .015em;
}
.gold-rule {
  width: min(450px, 85%);
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 12px;
  margin: 18px 0 32px;
  color: var(--gold);
}
.gold-rule::before, .gold-rule::after {
  content: ""; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.gold-rule::after { background: linear-gradient(90deg, var(--gold), transparent); }

.hero h2 { margin: 0; max-width: 580px; font-weight: normal; }
.hero h2, .panel-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  line-height: 1.2;
}
.hero p.lead { font-size: 1.2rem; max-width: 600px; color: var(--on-dark-muted); }

.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 20px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .72rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: Georgia, serif;
  transition: background .2s, color .2s, transform .2s;
}
.button-primary { background: var(--gold); color: var(--deep); font-weight: bold; }
.button-primary:hover { transform: translateY(-2px); }
.button-secondary { border-color: var(--gold); color: var(--gold); }
.button-secondary:hover { background: rgba(255, 180, 0, .12); }
section.light .button-secondary { border-color: var(--gold-dark); color: var(--gold-dark); }

/* Sub-page header — the hero, compressed. */
.page-hero {
  position: relative;
  color: var(--on-dark);
  overflow: hidden;
  border-bottom: 3px double var(--gold);
  background-color: var(--deep);
  background-image:
    linear-gradient(90deg, rgba(7, 12, 22, .95) 0%, rgba(7, 12, 22, .72) 60%, rgba(7, 12, 22, .9) 100%),
    radial-gradient(ellipse 60% 70% at 78% 30%, rgba(255, 180, 0, .2), transparent 60%),
    radial-gradient(ellipse 55% 65% at 12% 86%, rgba(74, 111, 165, .3), transparent 62%),
    repeating-linear-gradient(90deg, rgba(243, 239, 227, .035) 0 1px, transparent 1px 7px);
}
.page-hero::after {
  content: ""; position: absolute; inset: 18px;
  border: 1px solid rgba(255, 180, 0, .45);
  pointer-events: none;
}
.page-hero-inner {
  width: min(1180px, calc(100% - 96px));
  margin: auto; position: relative; z-index: 1;
  padding: 74px 0 78px;
  text-align: center;
}
.page-hero h1 {
  margin: 0;
  font-family: var(--wordmark);
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: .075em;
  font-size: clamp(2.2rem, 5.6vw, 4.2rem);
  line-height: 1;
}
.page-hero .gold-rule { margin: 20px auto 26px; }
.page-hero p.lead {
  margin: 0 auto;
  max-width: 660px;
  font-size: 1.14rem;
  color: var(--on-dark-muted);
}
.page-hero .actions { justify-content: center; }
.page-hero .app-icon {
  width: 132px; height: 132px;
  border-radius: 26px;
  display: block; margin: 0 auto 24px;
  border: 1px solid var(--gold-soft);
  box-shadow: 0 22px 52px rgba(0, 0, 0, .55);
}

/* ── Band strip ───────────────────────────────────────────────────────── */
.band { background: var(--mid); color: var(--on-dark); border-bottom: 1px solid var(--gold); }
.band-inner, .section {
  width: min(1180px, calc(100% - 32px));
  margin: auto;
}
/* auto-fit so the strip reads evenly whether a page runs three or four items */
.band-inner { padding: 28px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.band article { padding: 10px 24px; border-right: 1px solid rgba(255, 180, 0, .3); }
.band article:last-child { border-right: 0; }
.band h3 { margin: 0 0 7px; color: var(--gold); font-size: 1.05rem; font-weight: normal; }
.band p { margin: 0; color: var(--on-dark-muted); font-size: .9rem; }

/* ── Sections ─────────────────────────────────────────────────────────── */
section.light {
  background:
    linear-gradient(rgba(251, 249, 243, .93), rgba(244, 240, 228, .95)),
    repeating-linear-gradient(90deg, rgba(20, 23, 26, .03) 0 1px, transparent 1px 6px);
}
section.dark {
  background: var(--deep);
  color: var(--on-dark);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}
section.dark p { color: var(--on-dark-muted); }
.section { padding: 92px 0; scroll-margin-top: 90px; }

.center { max-width: 800px; margin: 0 auto 48px; text-align: center; }
.center h2, .split h2, .panel-copy h2, .cta h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.45vw, 3.15rem);
  line-height: 1.18;
  font-weight: normal;
}
.center p, .split p { font-size: 1.05rem; color: var(--muted); }
section.dark .center p { color: var(--on-dark-muted); }

.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.split .origin { font-size: 1.12rem; }
.dropcap::first-letter {
  float: left; margin: 8px 10px 0 0;
  font-family: var(--wordmark);
  font-size: 4.2rem; line-height: .72;
  color: var(--gold-dark);
}

/* Pull-quote — the Steve Jobs line. */
.pullquote {
  margin: 34px 0 0;
  padding: 22px 26px;
  border-left: 3px solid var(--gold-dark);
  background: rgba(255, 180, 0, .07);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink);
}
.pullquote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .68rem;
  color: var(--gold-dark);
}
section.dark .pullquote { color: var(--on-dark); border-left-color: var(--gold); }
section.dark .pullquote cite { color: var(--gold); }

/* Circle-icon card trio. */
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  display: flex; flex-direction: column;
  background: rgba(255, 255, 255, .62);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px 28px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 18px 42px rgba(7, 12, 22, .07);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
a.card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-dark);
  box-shadow: 0 24px 52px rgba(7, 12, 22, .13);
}
.icon {
  width: 70px; height: 70px; margin: 0 auto 20px;
  border: 1px solid var(--gold-dark); border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-dark);
  font-family: var(--wordmark);
  font-size: 1.7rem;
}
.icon img { width: 40px; height: 40px; border-radius: 9px; }
.card h3 { margin: 0 0 8px; font-size: 1.4rem; font-weight: normal; }
.card p { margin: 0; color: var(--muted); }
/* margin-top:auto pins the link to the bottom so it lines up across cards
   of unequal content length */
.card .more {
  margin-top: auto;
  padding-top: 20px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .66rem;
  color: var(--gold-dark);
}

/* Checklist used inside cards and panels. */
.ticks { list-style: none; margin: 16px 0 0; padding: 0; text-align: left; }
.ticks li { position: relative; padding: 5px 0 5px 24px; font-size: .95rem; color: var(--muted); }
.ticks li::before {
  content: "✦"; position: absolute; left: 0; top: 5px;
  color: var(--gold-dark); font-size: .8rem;
}
section.dark .ticks li { color: var(--on-dark-muted); }
section.dark .ticks li::before { color: var(--gold); }

/* ── Dark photo/copy panel ────────────────────────────────────────────── */
.panel-section {
  background: var(--deep); color: var(--on-dark);
  border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
}
.panel-layout {
  width: min(1180px, calc(100% - 32px));
  margin: auto; padding: 90px 0;
  display: grid; grid-template-columns: .95fr 1.05fr;
  gap: 58px; align-items: center;
}
.panel-photo {
  position: relative;
  min-height: 580px;
  border: 1px solid var(--gold);
  background-color: #05080F;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.panel-photo::after {
  content: attr(data-caption);
  position: absolute; right: 12px; bottom: 10px;
  padding: 5px 8px;
  background: rgba(7, 12, 22, .82);
  color: var(--on-dark-muted);
  font-size: .65rem; letter-spacing: .04em;
}
.panel-copy { max-width: 560px; }
.panel-copy p { color: var(--on-dark-muted); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags span {
  border: 1px solid var(--gold-soft);
  padding: 7px 11px; border-radius: 999px;
  color: #F0DDB0;
  text-transform: uppercase; letter-spacing: .08em; font-size: .64rem;
}

.feature-list {
  width: 100%;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr; align-items: stretch;
  gap: 14px; margin-top: 26px;
}
.feature-list article,
.feature-list .feature-item {
  display: block;
  margin: 0; padding: 18px 18px 16px;
  border: 1px solid rgba(255, 180, 0, .32);
  border-radius: 14px;
  background: rgba(243, 239, 227, .04);
  text-decoration: none; color: inherit;
  transition: background .2s, border-color .2s;
}
a.feature-item:hover { background: rgba(255, 180, 0, .1); border-color: var(--gold); }
.feature-list h3 { margin: 0 0 6px; color: #F0DDB0; font-size: 1rem; font-weight: normal; }
.feature-list p { margin: 0; color: var(--on-dark-muted); font-size: .92rem; line-height: 1.5; }

/* ── Roman-numeral ledger ─────────────────────────────────────────────── */
.ledger { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ledger article { border-top: 1px solid var(--gold-dark); padding: 28px 20px; }
section.dark .ledger article { border-top-color: var(--gold); }
.ledger .roman { color: var(--gold-dark); font-family: var(--wordmark); font-size: 2rem; }
section.dark .ledger .roman { color: var(--gold); }
.ledger h3 { font-size: 1.35rem; font-weight: normal; margin: 8px 0; }
.ledger p { color: var(--muted); }
section.dark .ledger p { color: var(--on-dark-muted); }

/* ── QR plate ─────────────────────────────────────────────────────────── */
.qr-plate {
  margin: 0; text-align: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .62);
  border-radius: 12px;
  padding: 18px;
  display: inline-block;
  box-shadow: 0 18px 42px rgba(7, 12, 22, .07);
}
.qr-plate img { display: block; width: 168px; height: 168px; background: #fff; }
.qr-plate figcaption {
  margin-top: 12px;
  text-transform: uppercase; letter-spacing: .12em;
  font-size: .62rem; color: var(--gold-dark);
}

/* ── CTA ──────────────────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--deep), var(--mid));
  color: var(--on-dark);
  text-align: center;
  border-top: 1px solid var(--gold);
}
.cta { width: min(760px, calc(100% - 32px)); margin: auto; padding: 90px 0; scroll-margin-top: 90px; }
.cta p { font-size: 1.05rem; color: var(--on-dark-muted); }
.cta-action { display: flex; justify-content: center; margin-top: 28px; }
.cta-mail { min-width: 260px; text-align: center; }

/* ── Footer ───────────────────────────────────────────────────────────── */
footer { background: #04070D; color: var(--on-dark-muted); border-top: 1px solid var(--gold); }
.footer {
  width: min(1180px, calc(100% - 32px)); margin: auto;
  padding: 34px 0;
  display: grid; grid-template-columns: 1fr 1.2fr .9fr;
  gap: 30px; align-items: center; font-size: .8rem;
}
.footer-wordmark {
  font-family: var(--wordmark);
  text-transform: uppercase; letter-spacing: .1em; font-size: .92rem;
  color: var(--on-dark);
}
.footer-tagline { color: var(--gold); }
.footer .origin-note {
  text-align: center; max-width: 380px; justify-self: center; line-height: 1.5;
}
.footer .origin-note span { display: block; }
.footer .copyright { text-align: right; }

/* ============================================================================
   Page-specific blocks — all built from the same primitives
   ========================================================================== */

/* ── Software index: app cards ────────────────────────────────────────── */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.app-card { text-align: left; }
.app-card .app-mark {
  width: 84px; height: 84px; border-radius: 18px;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  overflow: hidden; display: block;
}
.app-card .app-mark img, .app-card .app-mark svg { width: 100%; height: 100%; display: block; }
.badge {
  display: inline-block;
  border: 1px solid var(--gold-dark);
  color: var(--gold-dark);
  padding: 5px 10px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .1em;
  font-size: .6rem;
  margin-bottom: 12px;
}
section.dark .badge { border-color: var(--gold); color: var(--gold); }

/* ── Stellaris tour ───────────────────────────────────────────────────── */
.tour-header { text-align: center; max-width: 820px; margin: 0 auto 48px; }
.tour-header h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: normal; line-height: 1.15;
}
.tour-header p { margin: 0; font-size: 1.05rem; color: var(--muted); }
section.dark .tour-header p { color: var(--on-dark-muted); }
.tour-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
  gap: 46px 24px; max-width: 1180px; margin: 0 auto;
}
.tour-grid.single { grid-template-columns: minmax(0, 300px); justify-content: center; }
.tour-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.tour-phone {
  width: 100%; max-width: 232px;
  border: 1px solid var(--line);
  border-radius: 22px; overflow: hidden;
  background: #05080F;
  margin-bottom: 18px;
  box-shadow: 0 16px 38px rgba(7, 12, 22, .22);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
section.dark .tour-phone { border-color: var(--gold-soft); box-shadow: 0 18px 44px rgba(0, 0, 0, .6); }
.tour-phone:hover { transform: translateY(-5px); border-color: var(--gold-dark); }
section.dark .tour-phone:hover { border-color: var(--gold); }
.tour-phone img { display: block; width: 100%; height: auto; }
.tour-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem; font-weight: normal;
  color: var(--gold-dark);
}
section.dark .tour-card h3 { color: var(--gold); }
.tour-card p { margin: 0; max-width: 280px; font-size: .92rem; color: var(--muted); }
section.dark .tour-card p { color: var(--on-dark-muted); }

/* ── Legal / prose blocks ─────────────────────────────────────────────── */
.prose-wrap {
  max-width: 1000px; margin: 0 auto;
  background: rgba(255, 255, 255, .6);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 40px 42px 36px;
}
section.dark .prose-wrap { background: rgba(243, 239, 227, .04); border-color: var(--gold-soft); }
.prose-head { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.prose-head h2 { margin: 0 0 6px; font-size: 1.5rem; font-weight: normal; }
.prose-updated {
  text-transform: uppercase; letter-spacing: .1em;
  font-size: .6rem; color: var(--muted);
}
section.dark .prose-updated { color: var(--on-dark-muted); }
.prose { font-size: .92rem; line-height: 1.68; }
.prose p { margin: 0 0 .85rem; }
.prose h3 {
  margin: 1.6rem 0 .45rem;
  font-size: 1.02rem; font-weight: normal;
  color: var(--gold-dark);
}
section.dark .prose h3 { color: var(--gold); }
.prose h4 {
  margin: 1.5rem 0 .5rem;
  font-size: .78rem; font-weight: bold;
  text-transform: uppercase; letter-spacing: .1em;
}
.prose ul { margin: 0 0 1rem; padding-left: 1.3rem; }
.prose li { margin-bottom: .3rem; }
.prose .lead { font-size: 1rem; color: var(--muted); margin-bottom: 1.1rem; }
section.dark .prose .lead { color: var(--on-dark-muted); }
.prose a { color: var(--gold-dark); text-decoration: none; border-bottom: 1px solid var(--line); }
section.dark .prose a { color: var(--gold); border-bottom-color: var(--gold-soft); }
.prose .tldr {
  margin: .5rem 0 1.2rem;
  padding: 14px 18px;
  border-left: 3px solid var(--gold-dark);
  background: rgba(255, 180, 0, .08);
  font-size: .9rem;
}
section.dark .prose .tldr { border-left-color: var(--gold); }
.prose .legalese { font-size: .82rem; color: var(--muted); }
section.dark .prose .legalese { color: var(--on-dark-muted); }
.prose code {
  font-family: "SF Mono", Menlo, monospace;
  font-size: .85em;
  background: rgba(20, 23, 26, .07);
  padding: .1em .4em; border-radius: 4px;
}
section.dark .prose code { background: rgba(243, 239, 227, .1); }
.prose-divider { border: 0; height: 1px; background: var(--line); margin: 2rem 0 1.4rem; }

/* ── Numbered steps (DiscoTime) ───────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { text-align: center; padding: 0 10px; }
.step .num {
  width: 62px; height: 62px; margin: 0 auto 18px;
  border: 1px solid var(--gold-dark); border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--wordmark); font-size: 1.4rem;
  color: var(--gold-dark);
}
section.dark .step .num { border-color: var(--gold); color: var(--gold); }
.step h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: normal; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
section.dark .step p { color: var(--on-dark-muted); }

/* ── Screenshot plates (DiscoTime) ────────────────────────────────────── */
.plates { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.plate {
  border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; background: rgba(255, 255, 255, .6);
  transition: transform .25s, border-color .25s;
}
section.dark .plate { background: rgba(243, 239, 227, .04); border-color: var(--gold-soft); }
.plate:hover { transform: translateY(-4px); border-color: var(--gold-dark); }
.plate img { display: block; width: 100%; }
.plate figcaption {
  padding: 12px 14px; text-align: center;
  border-top: 1px solid var(--line);
  text-transform: uppercase; letter-spacing: .1em;
  font-size: .62rem; color: var(--muted);
}
section.dark .plate figcaption { border-top-color: var(--gold-soft); color: var(--on-dark-muted); }

.store-badge { display: flex; justify-content: center; margin-top: 26px; }
.store-badge img { height: 58px; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .45)); }

/* ── Shop ─────────────────────────────────────────────────────────────── */
.shop-note {
  max-width: 720px; margin: 0 auto;
  padding-top: 20px; border-top: 1px solid var(--line);
  color: var(--on-dark-muted); font-size: 1rem;
}
.shop-note a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold-soft); }

/* 260px min lets all four cards share one row; auto-fit folds them to 3-, 2-
   then 1-up as the viewport narrows. The shop section runs wider than the
   standard 1180px column so the four-up cards get real width on big screens. */
#shop .section { width: min(1460px, calc(100% - 32px)); }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.product-card.is-shop {
  display: flex; flex-direction: column;
  background: rgba(255, 255, 255, .66);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  scroll-margin-top: 96px;
  box-shadow: 0 18px 42px rgba(7, 12, 22, .08);
}
.product-card.is-shop .card-title {
  margin: 0; padding: 18px 20px 16px;
  font-family: var(--wordmark);
  font-size: 1.15rem; font-weight: normal;
  letter-spacing: .06em; text-transform: uppercase;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: rgba(231, 224, 205, .5);
  /* Reserve two lines whether the name wraps or not, so every card's image
     starts at the same height across the row — and pin the text to the TOP of
     the bar so every title's first line sits on the same baseline. */
  min-height: 90px;
  display: flex; align-items: flex-start; justify-content: center;
  line-height: 1.45;
}
.product-card.is-shop .image-wrapper {
  position: relative; width: 100%; aspect-ratio: 1;
  background: linear-gradient(160deg, #FFFFFF 0%, var(--ivory) 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.image-wrapper .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(34px) saturate(1.2) brightness(1.05);
  transform: scale(1.18);
  opacity: .55; z-index: 0; pointer-events: none;
}
.image-wrapper .hero-fg {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(7, 12, 22, .2));
}
.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(7, 12, 22, .7);
  color: var(--gold);
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  cursor: pointer; font-size: 1.3rem; line-height: 1; padding: 0;
  transition: background .15s, transform .15s;
}
.hero-nav:hover { background: var(--deep); transform: translateY(-50%) scale(1.06); }
.hero-nav:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--gold); }
.hero-nav.prev { left: .75rem; }
.hero-nav.next { right: .75rem; }

.thumb-strip {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(66px, 1fr));
  gap: .45rem; padding: .8rem 1rem;
  background: rgba(231, 224, 205, .45);
  border-bottom: 1px solid var(--line);
}
.thumb {
  padding: 0; margin: 0; aspect-ratio: 1;
  border: 1px solid var(--line); border-radius: 6px;
  background: #fff; cursor: pointer; overflow: hidden;
  transition: border-color .15s, transform .15s;
}
.thumb:hover { transform: translateY(-2px); border-color: var(--gold-dark); }
.thumb.is-active { border-color: var(--gold-dark); box-shadow: 0 0 0 2px rgba(255, 180, 0, .35); }
.thumb:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--gold-dark); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Full-width caption rows inside the thumb grid: split the per-color shots
   from the every-angle example shots so the groups read as separate things. */
.thumb-strip .strip-label {
  grid-column: 1 / -1;
  text-transform: uppercase; letter-spacing: .12em;
  font-size: .62rem; color: var(--gold-dark); font-weight: bold;
}
.thumb-strip .strip-label span {
  display: block; text-transform: none; letter-spacing: 0;
  font-size: .74rem; color: var(--muted); font-weight: normal;
  margin-top: .18rem;
}
.thumb-strip .strip-label.angles {
  margin-top: .4rem; padding-top: .6rem;
  border-top: 1px solid var(--line);
}

.color-picker {
  margin: 18px 20px 0;
  padding: 16px 18px 14px;
  background: rgba(231, 224, 205, .4);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.color-picker-header {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: .75rem; margin-bottom: .8rem;
}
.color-picker-label {
  text-transform: uppercase; letter-spacing: .12em;
  font-size: .62rem; color: var(--gold-dark); font-weight: bold;
}
.color-picker-selected { font-size: .82rem; color: var(--muted); text-align: right; }
.color-picker-selected.is-chosen { color: var(--ink); font-weight: bold; }
.color-picker-note { font-size: .78rem; color: var(--muted); margin: -.3rem 0 .8rem; }
.swatches { display: flex; flex-wrap: wrap; gap: .45rem; }
.swatch {
  width: 42px; height: 28px; padding: 0;
  border-radius: 5px;
  border: 1px solid rgba(20, 23, 26, .25);
  box-shadow: 0 1px 3px rgba(7, 12, 22, .2);
  cursor: pointer; position: relative;
  transition: transform .15s, box-shadow .15s;
}
.swatch:hover { transform: translateY(-2px); }
.swatch:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--gold-dark); }
.swatch.is-selected { box-shadow: 0 0 0 2px var(--gold-dark), 0 3px 10px rgba(7, 12, 22, .25); }
.swatch.is-selected::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 13px; height: 7px;
  border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, .8));
  transform: translate(-50%, -65%) rotate(-45deg);
}

.product-body { display: flex; flex-direction: column; flex-grow: 1; padding: 20px; }
.title-row { display: flex; align-items: flex-start; gap: 1rem; justify-content: space-between; }
.title-row h3 { flex: 1 1 auto; margin: 0; }
.product-card h3 { margin: 0 0 6px; font-size: 1.25rem; font-weight: normal; line-height: 1.25; }
.product-qr {
  flex: 0 0 auto; display: inline-block;
  width: 76px; height: 76px; padding: 5px;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
}
.product-qr img { display: block; width: 100%; height: 100%; }
.product-price {
  font-family: var(--wordmark);
  font-size: 1.4rem; color: var(--gold-dark);
  margin: 6px 0 12px;
}
.product-price small { font-family: Georgia, serif; font-size: .72rem; color: var(--muted); margin-left: .4rem; }
.product-card p { color: var(--muted); font-size: .93rem; margin: 0 0 1rem; }
.product-card p a { color: var(--gold-dark); text-decoration: none; border-bottom: 1px solid var(--line); }
.product-card .ticks { margin-bottom: 1.1rem; }
.product-card .spacer { flex-grow: 1; }

.buy-form { margin: 0; }
/* Cards that carry both a Portals hand-off link and our own Stripe form toggle
   between them with [hidden]; .btn-buy is display:block, so beat it explicitly. */
.buy-form[hidden], .btn-buy[hidden] { display: none; }
.btn-buy {
  display: block; width: 100%;
  padding: 14px 20px;
  background: var(--gold); color: var(--deep);
  border: 1px solid var(--gold);
  border-radius: 8px;
  text-align: center; text-decoration: none;
  text-transform: uppercase; letter-spacing: .09em;
  font-size: .72rem; font-weight: bold;
  font-family: Georgia, serif;
  /* Explicit so <button> (form checkout) and <a> (Portals link) render the
     exact same height — anchors otherwise inherit the body's 1.55 */
  line-height: 1.25;
  cursor: pointer;
  transition: transform .2s, background .2s;
}
.btn-buy:hover { transform: translateY(-2px); }
.btn-buy:disabled {
  background: transparent; color: var(--muted);
  border-color: var(--line); cursor: not-allowed; transform: none;
}
.btn-buy-link { text-decoration: none; }
.cross-sell {
  display: block; margin-top: .9rem; text-align: center;
  color: var(--muted); text-decoration: none;
  text-transform: uppercase; letter-spacing: .09em; font-size: .62rem;
  /* Two short fixed lines on every card — identical footprint under each Buy
     button at every viewport width, and nothing ever clips. */
  line-height: 1.7;
}
.cross-sell span { display: block; }
.cross-sell:hover { color: var(--gold-dark); }

/* ── Scan-to-shop section ─────────────────────────────────────────────────
   Its own navy strip, built like .panel-section: the QR sits in a paper tile
   on the left, copy on the right. The code is navy-on-paper for contrast —
   keep the tile at 190px or larger so phone cameras lock on quickly. */
.qr-section {
  background: var(--deep); color: var(--on-dark);
  border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
}
.qr-layout {
  width: min(1180px, calc(100% - 32px));
  margin: auto; padding: 76px 0;
  display: grid; grid-template-columns: auto 1fr;
  gap: 54px; align-items: center;
}
.qr-tile {
  margin: 0; padding: 18px;
  background: var(--paper);
  border: 1px solid var(--gold);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.qr-tile img { width: 190px; height: 190px; display: block; }
.qr-copy { max-width: 560px; }
.qr-copy h2 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.2; font-weight: normal; }
.qr-copy p { color: var(--on-dark-muted); }
.qr-copy .qr-url {
  display: inline-block; margin-top: 6px;
  color: var(--gold); font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid var(--gold-soft);
}
@media (max-width: 720px) {
  .qr-layout { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 30px; padding: 60px 0; }
  .qr-tile img { width: 168px; height: 168px; }
}

.fineprint {
  margin: 44px auto 0; max-width: 660px; text-align: center;
  color: var(--muted); font-size: .88rem;
}
.fineprint + .fineprint { margin-top: .85rem; font-size: .78rem; opacity: .75; }
.fineprint a { color: var(--gold-dark); text-decoration: none; border-bottom: 1px solid var(--line); }

/* ── Forms (custom software) ──────────────────────────────────────────── */
.form-wrap {
  max-width: 860px; margin: 0 auto;
  background: rgba(255, 255, 255, .62);
  border: 1px solid var(--line); border-radius: 14px;
  padding: 40px 42px 34px;
}
.form-group { margin-bottom: 40px; }
.form-group:last-of-type { margin-bottom: 20px; }
.form-legend {
  margin: 0 0 20px; padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--wordmark);
  text-transform: uppercase; letter-spacing: .12em;
  font-size: .82rem; font-weight: normal;
  color: var(--gold-dark);
}
.form-field { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field label {
  display: block; margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: .09em;
  font-size: .62rem; font-weight: bold; color: var(--muted);
}
.form-field input:not([type="checkbox"]), .form-field textarea, .form-field select {
  width: 100%; padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line); border-radius: 4px;
  color: var(--ink); font-family: Georgia, serif; font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-field textarea { resize: vertical; min-height: 92px; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(255, 180, 0, .18);
}
.form-field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1L6 6L11 1' stroke='%239A6E00' stroke-width='1.5' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 34px; cursor: pointer;
}
.checkbox-group { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px; }
.checkbox-label {
  position: relative; /* contains the visually-hidden checkbox */
  display: flex; align-items: center; gap: .6rem;
  padding: 11px 14px;
  background: #fff;
  border: 1px solid var(--line); border-radius: 4px;
  cursor: pointer; font-size: .9rem; color: var(--ink);
  transition: background .2s, border-color .2s;
}
.checkbox-label:hover { border-color: var(--gold-dark); }
.checkbox-label input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.checkmark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; flex-shrink: 0;
  border: 1px solid rgba(20, 23, 26, .35); border-radius: 3px;
  background: transparent; transition: all .2s;
}
.checkbox-label input:checked + .checkmark { background: var(--gold); border-color: var(--gold-dark); }
.checkbox-label input:checked + .checkmark::after {
  content: ""; width: 5px; height: 9px;
  border-right: 2px solid var(--deep); border-bottom: 2px solid var(--deep);
  transform: rotate(45deg); margin-bottom: 2px;
}
.checkbox-label:has(input:checked) { background: rgba(255, 180, 0, .1); border-color: var(--gold-dark); }
.form-submit {
  margin-top: 30px; padding-top: 24px;
  border-top: 1px solid var(--line); text-align: center;
}
.form-note { margin: 14px 0 0; font-size: .82rem; color: var(--muted); }

/* ============================================================================
   Responsive — mirrors bochords' breakpoints, plus a real mobile menu
   ========================================================================== */
@media (max-width: 980px) {
  nav.nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 18px;
    margin: 0; padding: 22px 24px;
    background: rgba(7, 12, 22, .99);
    border-bottom: 1px solid var(--gold);
  }
  nav.nav-links.is-open { display: flex; }
  .nav-toggle { display: inline-block; }
  .nav-cta { display: none; }
  header { position: relative; }
  .band-inner, .formats, .ledger, .app-grid { grid-template-columns: 1fr; }
  .band article { border-right: 0; border-bottom: 1px solid rgba(255, 180, 0, .22); }
  .band article:last-child { border-bottom: 0; }
  .split, .panel-layout { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer { grid-template-columns: 1fr; text-align: center; }
  .footer .copyright { text-align: center; }
}

@media (max-width: 720px) {
  .feature-list { grid-template-columns: 1fr; }
  .form-row, .checkbox-group { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero { min-height: 620px; }
  .hero::after, .page-hero::after { inset: 10px; }
  .hero-inner, .page-hero-inner { width: calc(100% - 64px); }
  .hero-mark { opacity: .05; right: -20%; }
  .section { padding: 66px 0; }
  .panel-photo { min-height: 420px; }
  .hero-copy { text-align: center; padding: 54px 0 60px; }
  .hero h2, .hero p.lead { margin-left: auto; margin-right: auto; }
  .gold-rule { margin: 18px auto 32px; }
  .actions { justify-content: center; }
  .steps { grid-template-columns: 1fr; }
  .prose-wrap, .form-wrap { padding: 26px 20px 22px; }
  .page-hero-inner { padding: 54px 0 58px; }
  .product-qr { width: 62px; height: 62px; }
}

@media (max-width: 460px) {
  .hero h1 { font-size: clamp(2.1rem, 11vw, 3rem); letter-spacing: .05em; }
}
