:root {
  --navy: #093162;
  --navy-deep: #061e3d;
  --ink: #1a2332;
  --muted: #5a6577;
  --paper: #eef1f5;
  --card: #ffffff;
  --line: #dde2e8;
  --accent: #2b6cb0;
  --gold: #d4a84b;
  --gold-ink: #7a5c14;
  --radius: 1rem;
  --max: 68rem;
  --gutter: 1rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Figtree, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--navy);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: max(1rem, env(safe-area-inset-left));
  top: max(1rem, env(safe-area-inset-top));
  z-index: 20;
  background: var(--card);
  padding: 0.5rem 0.75rem;
}

.wrap {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
  padding-inline: env(safe-area-inset-left) env(safe-area-inset-right);
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.55rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle-bars {
  display: block;
  width: 1.1rem;
  height: 0.75rem;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  height: 0.85rem;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: calc(0.425rem - 1px);
  background: currentColor;
  transform: rotate(90deg);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--navy);
}

.hero {
  background:
    radial-gradient(1200px 420px at 80% -10%, rgba(212, 168, 75, 0.18), transparent 55%),
    linear-gradient(165deg, var(--navy-deep), var(--navy) 55%, #0c3d73);
  color: #f4f7fb;
  padding: 2.5rem 0 3.5rem;
  padding-top: max(2.5rem, env(safe-area-inset-top));
}

.hero .site-header,
.hero .nav a,
.hero .brand {
  color: #f4f7fb;
}

.hero .nav a {
  color: rgba(244, 247, 251, 0.78);
}

.hero .nav a:hover,
.hero .nav a[aria-current="page"] {
  color: #fff;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem 0 0.5rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Bricolage Grotesque", Georgia, serif;
  letter-spacing: -0.035em;
  line-height: 1.12;
  overflow-wrap: break-word;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 7vw, 4.1rem);
  font-weight: 800;
}

.lede {
  margin: 0;
  max-width: 40rem;
  color: rgba(244, 247, 251, 0.9);
  font-size: 1.15rem;
}

.hero-simple {
  padding: 1.5rem 0 0.5rem;
  max-width: 42rem;
}

.compare {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .compare {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.compare-card {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: #121417;
}

a.js-lightbox {
  display: block;
  cursor: zoom-in;
  color: inherit;
  text-decoration: none;
}

a.js-lightbox:focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 2px;
}

.compare-card figcaption {
  padding: 0.9rem 1rem 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.compare-card figcaption strong {
  display: block;
  color: var(--ink);
  font-family: "Bricolage Grotesque", Georgia, serif;
  font-size: 1.1rem;
  margin: 0.25rem 0 0.35rem;
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.tag-gold {
  color: var(--gold-ink);
}

.ui-row {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

@media (min-width: 720px) {
  .ui-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .ui-row-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 36rem;
    margin-inline: auto;
  }
}

.subsection {
  margin: 2.25rem 0 0.5rem;
  font-family: "Bricolage Grotesque", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
}

.ui-shot {
  margin: 0;
  text-align: center;
}

.ui-shot img {
  display: block;
  width: min(16rem, 92%);
  margin-inline: auto;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
  background: #121417;
  box-shadow: 0 10px 28px rgba(26, 35, 50, 0.12);
}

.ui-shot figcaption {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.shot-lightbox {
  border: none;
  padding: 0.75rem;
  background: transparent;
  max-width: none;
  max-height: none;
}

.shot-lightbox::backdrop {
  background: rgba(10, 14, 20, 0.86);
}

.shot-lightbox img {
  display: block;
  max-width: min(96vw, 44rem);
  max-height: calc(90vh - 3rem);
  width: auto;
  height: auto;
  margin: 2.5rem auto 0;
  border-radius: 0.6rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.shot-lightbox-close {
  position: fixed;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 1;
  margin: 0;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(10, 14, 20, 0.7);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-gold:hover {
  color: var(--navy-deep);
  filter: brightness(1.05);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}

.btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: 3.2rem 0;
}

.section h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.55rem, 4.2vw, 2.3rem);
}

.section-lead {
  margin: 0 0 1.6rem;
  color: var(--muted);
  max-width: 40rem;
}

.steps {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step,
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.25rem;
}

.step {
  border-top: 4px solid var(--gold);
}

.num {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--gold-ink);
  font-family: "Bricolage Grotesque", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.step h3,
.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.step p,
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

.band {
  background: var(--navy);
  color: #f4f7fb;
}

.band .section-lead,
.band p {
  color: rgba(244, 247, 251, 0.82);
}

.band a {
  color: var(--gold);
}

.prose {
  max-width: 44rem;
}

.prose h2 {
  margin-top: 2rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul {
  padding-left: 1.2rem;
}

.prose a {
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 1.5rem 0 max(2.4rem, env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  margin-bottom: 0.7rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer a:hover {
  color: var(--navy);
}

/* Phone / narrow viewports */
@media (max-width: 719px) {
  :root {
    --gutter: 1.15rem;
  }

  body {
    font-size: 1rem;
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 0.75rem;
    row-gap: 0.75rem;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    flex-shrink: 0;
  }

  header:not(.hero) .nav-toggle {
    border-color: var(--line);
    color: var(--navy);
  }

  .nav {
    display: none !important;
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: calc(var(--radius) - 0.15rem);
    background: rgba(6, 30, 61, 0.55);
  }

  header:not(.hero) .nav {
    border-color: var(--line);
    background: var(--card);
  }

  .site-header.nav-open .nav {
    display: flex !important;
  }

  .nav a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.55rem 0.85rem;
    border-radius: 0.65rem;
    font-size: 1rem;
    font-weight: 500;
  }

  .hero .nav a:hover,
  .hero .nav a:focus-visible,
  .hero .nav a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }

  header:not(.hero) .nav a:hover,
  header:not(.hero) .nav a:focus-visible,
  header:not(.hero) .nav a[aria-current="page"] {
    background: var(--paper);
    color: var(--navy);
  }

  .hero {
    padding: 1.15rem 0 2.4rem;
    padding-top: max(1.15rem, env(safe-area-inset-top));
  }

  .hero-simple {
    padding-top: 1.1rem;
  }

  .lede {
    font-size: 1.05rem;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 2.4rem 0;
  }

  .ui-row {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.35rem;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch;
  }

  .ui-shot {
    flex: 0 0 auto;
    width: min(16rem, 78vw);
    scroll-snap-align: start;
  }

  .ui-shot img {
    width: 100%;
  }

  .site-footer nav {
    flex-direction: column;
    gap: 0.35rem;
  }

  .site-footer a {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
  }
}

@media (min-width: 480px) and (max-width: 719px) {
  .actions {
    flex-direction: row;
  }

  .btn {
    width: auto;
  }
}
