:root {
  --navy: #0A3262;
  --navy-deep: #061e3d;
  --ink: #1a2332;
  --muted: #3d4a5c;
  --paper: #e8ecf1;
  --card: #ffffff;
  --line: #d5dbe3;
  --accent: #2b6cb0;
  --gold: #EBA838;
  --gold-hot: #e0b85a;
  --gold-ink: #7a5c14;
  --radius: 1.15rem;
  --max: 70rem;
  --gutter: 1.15rem;
}

*,
*::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.125rem;
  line-height: 1.55;
}

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;
  overflow-wrap: anywhere;
}

.mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
  border-radius: 0.65rem;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: "Bricolage Grotesque", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 800;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  font-size: 1rem;
}

.nav a {
  color: rgba(244, 247, 251, 0.86);
  text-decoration: none;
}

.nav a:hover {
  color: #fff;
}

.hero {
  background:
    radial-gradient(900px 380px at 12% 110%, rgba(212, 168, 75, 0.12), transparent 58%),
    radial-gradient(1200px 420px at 80% -10%, rgba(212, 168, 75, 0.2), transparent 55%),
    linear-gradient(165deg, var(--navy-deep), var(--navy) 55%, #0c3d73);
  color: #f4f7fb;
  padding: 2.5rem 0 3.75rem;
  padding-top: max(2.5rem, env(safe-area-inset-top));
  border-bottom: 3px solid var(--gold);
}

.hero .brand {
  color: #f4f7fb;
}

.hero-copy {
  padding: 1.75rem 0 0.35rem;
  max-width: 40rem;
}

.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 1.05rem;
  font-size: clamp(2.05rem, 6.4vw, 3.35rem);
  font-weight: 800;
}

h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  color: var(--navy);
}

h3 {
  margin: 0 0 0.55rem;
  font-size: 1.7rem;
  color: var(--navy);
}

.gold-rule {
  width: 2.85rem;
  height: 3px;
  margin: 0 0 1.15rem;
  border: 0;
  background: var(--gold);
}

.lede,
.section-lead {
  margin: 0;
  max-width: 40rem;
  font-size: 1.15rem;
}

.lede {
  color: rgba(244, 247, 251, 0.92);
}

.section-lead {
  color: var(--ink);
  margin-bottom: 1.85rem;
}

.section {
  padding: 3.4rem 0;
}

.product-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
    align-items: stretch;
  }
}

.product {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(10, 50, 98, 0.07);
}

.product-cover {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--navy-deep);
}

.product-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem 1.55rem 1.65rem;
}

/* Product names (esp. Portfolio Journey "rtf") — Figtree + open tracking beats crushed Bricolage */
.product-body h3 {
  font-family: Figtree, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-kerning: normal;
  font-feature-settings: "kern" 1;
}

.product .eyebrow {
  color: var(--gold-ink);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.product-pitch {
  margin: 0 0 0.95rem;
  color: var(--navy);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.35;
}

.product-facts {
  margin: 0 0 1.4rem;
  padding: 0 0 0 1.2rem;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.5;
}

.product-facts li + li {
  margin-top: 0.5rem;
}

.product-facts li::marker {
  color: var(--gold);
}

.product-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.9rem;
  margin-top: auto;
}

.btn-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.1rem;
  padding: 0.8rem 1.45rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-deep);
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  box-shadow: 0 1px 0 rgba(6, 30, 61, 0.1);
}

.btn-open:hover {
  color: var(--navy-deep);
  background: var(--gold-hot);
}

.btn-open:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin: 0;
  padding: 0 0.15rem;
  list-style: none;
}

.product-links a {
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1.5px;
}

.product-links a:hover {
  color: var(--accent);
}

.product-soon {
  background: #f7f8fa;
}

.product-soon .product-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 30, 61, 0.12), rgba(6, 30, 61, 0.38));
  pointer-events: none;
}

.product-soon img {
  filter: saturate(0.55) brightness(0.92);
}

.soon-flag {
  position: absolute;
  z-index: 1;
  top: 0.85rem;
  left: 0.85rem;
  margin: 0;
  padding: 0.38rem 0.78rem;
  border-radius: 999px;
  background: rgba(6, 30, 61, 0.86);
  color: #f4f7fb;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.85rem 0 calc(2.1rem + env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: 1rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.75rem;
}

.site-footer a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer p {
  margin: 0;
  max-width: 42rem;
}

@media (max-width: 719px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 0.7rem;
  }

  .brand {
    font-size: 0.95rem;
    line-height: 1.3;
  }

  .nav {
    width: 100%;
    gap: 0.25rem 1.25rem;
  }

  .nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
  }

  .hero-copy {
    padding-top: 1.15rem;
  }

  .section {
    padding: 2.55rem 0;
  }

  .product-body {
    padding: 1.35rem 1.3rem 1.45rem;
  }

  .product-facts {
    overflow-wrap: break-word;
  }

  .product-links {
    gap: 0.55rem 1.15rem;
  }

  .site-footer nav {
    flex-direction: column;
    gap: 0.35rem;
  }

  .site-footer a {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
  }
}

/* Legal / long-form pages */
.page-main {
  padding: 2.25rem 0 3rem;
}

.prose {
  max-width: 42rem;
}

.prose h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 5vw, 2.55rem);
  color: var(--navy);
}

.prose h2 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.25rem;
  font-family: Figtree, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--navy);
}

.prose p,
.prose li {
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.55;
}

.prose p {
  margin: 0 0 1rem;
}

.prose ul {
  margin: 0 0 1.15rem;
  padding: 0 0 0 1.25rem;
}

.prose li + li {
  margin-top: 0.45rem;
}

.prose a {
  color: var(--navy);
  font-weight: 600;
  text-underline-offset: 0.18em;
}

.page-hero {
  padding-bottom: 0.35rem;
}

.page-hero .site-header {
  margin-bottom: 0.5rem;
}

/* SMS opt-in (Dial 10DLC consent page) */
.sms-optin {
  margin: 1.5rem 0 1.75rem;
  padding: 1.35rem 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1px 0 rgba(6, 30, 61, 0.04);
}

.sms-optin label.consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0 0 1.1rem;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.45;
  cursor: pointer;
}

.sms-optin input[type="checkbox"] {
  margin-top: 0.28rem;
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  accent-color: var(--navy);
}

.sms-optin .phone-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 0 0 0.85rem;
}

.sms-optin label.phone-label {
  display: block;
  width: 100%;
  margin: 0 0 0.35rem;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
}

.sms-optin input[type="tel"] {
  flex: 1 1 14rem;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  font: inherit;
  font-size: 1.08rem;
  color: var(--ink);
  background: #fff;
}

.sms-optin .btn-sms {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.75rem 1.35rem;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-deep);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.sms-optin .btn-sms[aria-disabled="true"],
.sms-optin .btn-sms:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.sms-optin .sms-number {
  margin: 0.35rem 0 0;
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 700;
}

.sms-optin .fine {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}
