@font-face {
  font-family: "Libre Baskerville";
  src: url("assets/libre-baskerville-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-deep: #0b1a2b;
  --navy: #102436;
  --paper: #f5f1e7;
  --paper-alt: #ede6d6;
  --paper-card: #faf7f0;
  --ink: #102639;
  --ink-soft: #435563;
  --cream: #f9f4e8;
  --cream-soft: #d9e3ea;
  --gold: #efd199;
  --gold-bright: #f6dfb1;
  --line-dark: rgba(239, 209, 153, 0.22);
  --line-light: rgba(16, 38, 57, 0.14);
  --side: clamp(20px, 4.5vw, 76px);
  --body: "DM Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --display: "Instrument Serif", Baskerville, Georgia, serif;
  --brand-font: "Libre Baskerville", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--navy-deep); scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--cream);
  background: var(--navy-deep);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid #d89232; outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap {
  width: min(calc(100% - 2 * var(--side)), 1340px);
  margin-inline: auto;
}
.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 700;
}
.skip:focus { top: 12px; }

/* Header */
.mast {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 26, 43, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(161, 139, 90, 0.35);
}
.mast-inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  min-height: 82px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand span {
  font-family: var(--brand-font);
  font-size: clamp(28px, 2.5vw, 38px);
  color: #f5dbab;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
  color: #e4eaf0;
}
nav a:hover, nav a[aria-current="page"] {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 6px;
}
.trial-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(239, 209, 153, 0.55);
  border-radius: 6px;
  padding: 10px 18px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.trial-link:hover, .trial-link[aria-current="page"] {
  background: rgba(239, 209, 153, 0.14);
  border-color: var(--gold);
}
.mobile-menu {
  display: none;
  background: transparent;
  border: 1px solid rgba(239, 209, 153, 0.35);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--gold);
}
.menu-pricing { display: none; }

/* Shared Hero / Page Header */
.page-hero {
  background:
    radial-gradient(ellipse at 82% 30%, rgba(44, 88, 120, 0.55) 0%, transparent 56%),
    linear-gradient(112deg, #0d2031 0%, #142c42 56%, #132c44 100%);
  padding-block: clamp(46px, 5vw, 78px) clamp(44px, 4.5vw, 68px);
  border-bottom: 3px solid #cfb37b;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
}
.page-hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(46px, 4.8vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin: 0 0 18px;
  max-width: 18ch;
}
.page-hero h1 em { color: var(--gold); font-style: italic; }
.lede {
  font-size: clamp(16.5px, 1.25vw, 19px);
  line-height: 1.58;
  color: var(--cream-soft);
  margin: 0;
  max-width: 42em;
}
.lede strong { color: #fff8ea; }

/* Buttons */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 26px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 6px;
  border: 1px solid #f4dda9;
  background: #ebcd96;
  color: #0e2234;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(5, 16, 28, 0.35);
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-primary:hover { background: var(--gold-bright); transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  color: #f5eddd;
  border-bottom: 1px solid rgba(239, 209, 153, 0.45);
  padding-bottom: 2px;
}
.btn-ghost:hover { color: var(--gold); border-bottom-color: var(--gold); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1c445c;
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: rgba(28, 68, 92, 0.45);
}
.text-link:hover { color: var(--ink); text-decoration-color: var(--ink); }

/* Bands */
.band-paper {
  background: var(--paper);
  color: var(--ink);
  padding-block: clamp(50px, 5vw, 84px);
}
.band-paper-alt {
  background: var(--paper-alt);
  color: var(--ink);
  padding-block: clamp(50px, 5vw, 84px);
  border-top: 1px solid var(--line-light);
}
.band-navy {
  background: linear-gradient(180deg, #0d2031 0%, #11273b 100%);
  color: var(--cream);
  padding-block: clamp(50px, 5vw, 84px);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.band-paper .eyebrow, .band-paper-alt .eyebrow { color: #7e6130; }
.band-paper .eyebrow::before, .band-paper-alt .eyebrow::before { background: #a88a52; }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(26px, 3vw, 40px);
}
.section-head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}
.section-head p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.56;
  color: var(--ink-soft);
}
.band-navy .section-head p { color: var(--cream-soft); }

/* Zoomable shot */
.shot-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(16, 38, 57, 0.16);
  border-radius: 10px;
  overflow: hidden;
  background: #0d2031;
  position: relative;
  cursor: zoom-in;
  text-align: left;
}
.band-navy .shot-btn { border-color: rgba(239, 209, 153, 0.28); }
.shot-btn img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.22s ease;
}
.shot-btn:hover img { transform: scale(1.012); }
.zoom-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(11, 26, 43, 0.86);
  border: 1px solid rgba(239, 209, 153, 0.45);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
}

/* Segmented pills / toggles */
.jump-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.jump-pill {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(239, 209, 153, 0.35);
  background: rgba(255, 255, 255, 0.05);
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.15s ease;
}
.jump-pill:hover {
  border-color: var(--gold);
  background: rgba(239, 209, 153, 0.14);
  color: var(--gold);
}
.view-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 8px;
  background: var(--paper-alt);
  border: 1px solid rgba(16, 38, 57, 0.15);
}
.band-navy .view-toggle {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(239, 209, 153, 0.25);
}
.view-btn {
  padding: 7px 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 600;
}
.band-navy .view-btn { color: #c5d4df; }
.view-btn[aria-pressed="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(16, 38, 57, 0.16);
}
.band-navy .view-btn[aria-pressed="true"] {
  background: var(--gold);
  color: #0e2234;
}

/* Closing CTA & Footer */
.closing-cta {
  background: radial-gradient(ellipse at 50% 0%, rgba(36, 71, 98, 0.7) 0%, transparent 65%), var(--navy-deep);
  padding-block: clamp(48px, 5vw, 76px);
  text-align: center;
  border-top: 3px solid #cfb37b;
}
.closing-cta h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 3.8vw, 54px);
  line-height: 1.06;
  margin: 0 0 12px;
  color: var(--cream);
}
.closing-cta p {
  margin: 0 auto 24px;
  max-width: 36em;
  font-size: 16.5px;
  color: var(--cream-soft);
}
.closing-cta .cta-row { justify-content: center; margin-top: 0; }
.platform-line { margin-top: 22px; font-size: 13.5px; color: #adc0cd; }

footer {
  background: #081320;
  color: #9cb0be;
  font-size: 13.5px;
  border-top: 1px solid rgba(239, 209, 153, 0.16);
  padding-block: 36px;
}
.foot-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.foot-brand strong {
  font-family: var(--brand-font);
  font-size: 20px;
  color: var(--gold);
  font-weight: 400;
}
.foot-brand span {
  display: block;
  font-size: 13px;
  color: #8fa4b3;
  margin-top: 2px;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.foot-links a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 18px;
  font-size: 12.5px;
  color: #7c92a2;
}

/* Lightbox */
dialog {
  margin: auto;
  padding: 0;
  border: 1px solid rgba(239, 209, 153, 0.4);
  border-radius: 10px;
  background: #0d2031;
  color: var(--cream);
  max-width: 95vw;
  max-height: 94dvh;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}
dialog::backdrop { background: rgba(6, 15, 26, 0.88); }
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 10px 20px;
  border-bottom: 1px solid rgba(239, 209, 153, 0.2);
}
.dialog-head strong { font-size: 15px; color: var(--gold); }
.close-dialog {
  border: 0;
  background: transparent;
  color: var(--cream);
  font-size: 24px;
  line-height: 1;
  width: 38px;
  height: 38px;
  border-radius: 6px;
}
.close-dialog:hover { background: rgba(255, 255, 255, 0.1); }
.dialog-image {
  display: block;
  max-width: 94vw;
  max-height: calc(92dvh - 60px);
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 760px) {
  .mast-inner { min-height: 70px; gap: 12px; }
  .brand img { width: 40px; height: 40px; }
  .brand span { font-size: 28px; }
  .trial-link { margin-left: auto; padding: 8px 12px; font-size: 13px; }
  .mobile-menu { display: inline-flex; align-items: center; justify-content: center; }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    border-bottom: 1px solid rgba(239, 209, 153, 0.28);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px var(--side) 16px;
  }
  nav.open { display: flex; }
  nav a { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
}
@media (max-width: 390px) {
  .mast .trial-link { display: none; }
  .menu-pricing { display: block; color: var(--gold); }
  .mobile-menu { margin-left: auto; }
}

/* Archived guide and screenshot bookmarks retain their original destinations. */
.bookmark-section { padding-block: 48px; }
.bookmark-section figure { margin: 20px 0; max-width: 820px; }
.bookmark-section img { width: 100%; height: auto; }
.bookmark-section details { padding: 12px 0; }
.bookmark-section summary { cursor: pointer; font-weight: 700; }
