*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1B3A6B;
  --navy-deep: #0E1E2E;
  --teal: #2A9D8F;
  --teal-lt: #3BB8A8;
  --gold: #E9C46A;
  --cream: #F9F6F0;
  --text: #1A2B3C;
  --muted: #4A5F70;
  --line: rgba(27, 58, 107, 0.12);
  --white: #fff;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --shadow: 0 8px 32px rgba(14, 30, 46, 0.1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--navy); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 14px;
  z-index: 100;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.container-narrow { width: min(760px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
}
.brand img { width: 36px; height: 36px; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.35);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-nav a {
  color: rgba(255,255,255,.88);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--gold); }

.hero {
  background: linear-gradient(160deg, #0E1E2E 0%, #1B3A6B 55%, #164E63 100%);
  color: var(--white);
  padding: clamp(48px, 8vw, 96px) 0;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 18px;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}
.geo-lead {
  font-size: 1.12rem;
  line-height: 1.7;
  color: rgba(255,255,255,.88);
  max-width: 720px;
  margin-bottom: 28px;
}
.page-main .geo-lead {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0 0 28px;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-lt); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { filter: brightness(1.05); color: var(--navy); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn-outline-dark { color: var(--navy); border-color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

.section { padding: clamp(48px, 7vw, 88px) 0; }
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--navy);
  margin-bottom: 12px;
}
.section-intro { color: var(--muted); max-width: 640px; margin-bottom: 32px; }
.section-alt { background: var(--white); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: start;
}
.product-suite {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(27, 58, 107, 0.04);
}
.product-suite-header {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #F8FAFC 0%, #fff 100%);
}
.product-suite-header p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}
.product-suite-cards {
  display: flex;
  flex-direction: column;
}
.card-suite-item {
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.card-suite-item::before { display: none; }
.card-suite-item + .card-suite-item {
  border-top: 1px solid var(--line);
}
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--navy);
}
.product-card p { color: var(--muted); flex: 1; }
.product-card .logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  object-position: left;
}
.product-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
}

.geo-section {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 16px;
}
.geo-section h2 { font-size: 1.35rem; margin-bottom: 10px; }
.geo-section ul { margin: 8px 0 0 1.2em; color: var(--muted); }
.geo-section li { margin-bottom: 6px; }
.geo-section p + p { margin-top: 10px; }

.fact-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 8px 0 0;
}
.fact-table th,
.fact-table td {
  text-align: left;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--muted);
}
.fact-table th { color: var(--navy); font-weight: 600; }
.fact-table td:first-child,
.fact-table th:first-child { width: 34%; color: var(--navy); font-weight: 600; }

.fact-links { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 8px; }
.fact-links a { font-weight: 600; }

.theme-editorial .page-hero {
  padding: 56px 0 8px;
}
.theme-editorial .page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--navy);
  margin: 12px 0 16px;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
}
.faq details p { margin-top: 10px; color: var(--muted); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 40px;
  align-items: start;
}
.photo-card {
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
}
.photo-card img { width: 100%; object-fit: cover; }
.cred-list { list-style: none; margin: 20px 0; }
.cred-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--muted);
}
.cred-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  margin-top: 10px;
  flex-shrink: 0;
}

.contact-list { list-style: none; }
.contact-list li { margin-bottom: 14px; }

.legal h2 { margin: 28px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { margin: 8px 0 16px 1.2em; }

.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.75);
  padding: 48px 0 28px;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}
.site-footer h2 {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
}

.site-header--product {
  background: var(--cream);
  color: var(--text);
}
.site-header--product .nav-inner {
  border-bottom: 3px solid var(--navy);
  padding-bottom: 18px;
}
.site-header--product .brand-product {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}
.site-header--product .brand-product-logo {
  display: block;
  height: clamp(48px, 10vw, 72px);
  width: auto;
  max-width: min(420px, 78vw);
  object-fit: contain;
}
.site-header--product .site-nav a {
  color: var(--navy);
}
.site-header--product .site-nav a:hover,
.site-header--product .site-nav a[aria-current="page"] {
  color: var(--teal);
}
.site-header--product .nav-toggle {
  color: var(--navy);
  border-color: rgba(27, 58, 107, 0.35);
}

.store-badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; }
.store-badges a { display: inline-flex; }
.store-badges img { height: 44px; width: auto; }
.hero .store-cta {
  margin-top: 22px;
  margin-bottom: 0;
  font-weight: 600;
  color: var(--gold);
}
.store-badges-hero { margin-top: 10px; margin-bottom: 18px; }
.store-badges-hero img { height: 52px; }

.note {
  font-size: 15px;
  color: var(--muted);
  background: rgba(233, 196, 106, 0.18);
  border: 1px solid rgba(233, 196, 106, 0.45);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 16px;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px 20px;
    gap: 14px;
  }
  .site-nav.is-open { display: flex; }
  .site-header--product .site-nav {
    background: var(--cream);
    border-bottom: 1px solid var(--line);
  }
  .site-header--product .site-nav a {
    color: var(--navy);
  }
  .product-grid,
  .about-grid,
  .footer-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Homepage: Executive Coastal & Editorial
   -------------------------------------------------------------------------- */
.theme-editorial {
  --bg-page: #FAF8F5;
  --bg-card: #FFFFFF;
  --bg-sand: #F3EDE2;
  --bg-navy: #1B3A6B;
  --text-main: #1E293B;
  --text-muted: #475569;
  --color-gold: #E9C46A;
  --color-gold-warm: #D4A373;
  --color-teal: #2A9D8F;
  --color-teal-dark: #1F766C;
  --color-teal-light: #E6F4F2;
  --border-light: #E7DFD5;
  --border-gold: #F3DEAC;
  --border-teal: #B2DCD7;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  background: var(--bg-page);
  color: var(--text-main);
}

.theme-editorial .btn {
  border-radius: 10px;
}
.theme-editorial .btn-primary-navy {
  background: var(--bg-navy);
  color: #fff;
  border-color: var(--bg-navy);
}
.theme-editorial .btn-primary-navy:hover {
  background: #142C52;
  color: #fff;
}
.theme-editorial .btn-teal {
  background: var(--color-teal);
  color: #fff;
  border-color: var(--color-teal);
}
.theme-editorial .btn-teal:hover {
  background: var(--color-teal-dark);
  color: #fff;
}
.theme-editorial .btn-gold {
  background: var(--color-gold);
  color: var(--bg-navy);
  border-color: var(--color-gold);
}
.theme-editorial .btn-gold:hover {
  background: #F4D382;
  color: #0F172A;
}
.theme-editorial .btn-secondary {
  background: #fff;
  color: var(--bg-navy);
  border-color: var(--border-light);
}
.theme-editorial .btn-secondary:hover {
  background: #fff;
  color: var(--bg-navy);
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 999px;
}
.tag-saas { background: #E0F2FE; color: #0369A1; }
.tag-mobile { background: #E0F2FE; color: #0369A1; }
.tag-ai { background: #FEF3C7; color: #B45309; border: 1px solid #FDE68A; }

.editorial-topbar {
  background: linear-gradient(90deg, #1B3A6B 0%, #17385E 40%, #1D536B 75%, #2A9D8F 100%);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid var(--gold);
}
.editorial-topbar a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}
.editorial-topbar a:hover { text-decoration: underline; }
.editorial-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.editorial-nav {
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.editorial-nav .nav-inner {
  min-height: 52px;
  position: relative;
}
.theme-editorial .nav-toggle {
  border-color: rgba(27, 58, 107, 0.25);
  color: var(--navy);
}
.theme-editorial .site-nav a {
  color: var(--text);
  font-weight: 600;
}
.theme-editorial .site-nav a:hover,
.theme-editorial .site-nav a[aria-current="page"] { color: var(--teal); }
.theme-editorial .site-nav a.btn-primary-navy {
  background: var(--bg-navy);
  color: #fff;
  border-color: var(--bg-navy);
}
.theme-editorial .site-nav a.btn-primary-navy:hover {
  background: #142C52;
  color: #fff;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand-mustache { height: 42px; width: auto; }
.brand-titles { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.brand-tagline {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.hero-section {
  padding: 68px 0 80px;
  background:
    radial-gradient(circle at 85% 20%, rgba(42, 157, 143, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(233, 196, 106, 0.14) 0%, transparent 50%),
    linear-gradient(180deg, #FAF8F5 0%, #F5EDE0 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E6F4F2;
  border: 1px solid #B2DCD7;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1F766C;
  margin-bottom: 18px;
}
.hero-kicker {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 14px;
  font-weight: 600;
  font-style: italic;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
  line-height: 1.18;
  color: var(--navy);
  margin-bottom: 20px;
  font-weight: 700;
}
.highlight-teal { color: var(--teal); }
.highlight-gold { color: #D4A373; }
.hero-lead,
.theme-editorial .geo-lead {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 34px;
}
.hero-portrait-frame { position: relative; }
.hero-portrait-img {
  width: 100%;
  border-radius: 20px;
  border: 4px solid #fff;
  box-shadow: 0 24px 50px rgba(27, 58, 107, 0.16);
}
.mustache-seal {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: linear-gradient(135deg, #fff 0%, #FEF9EE 100%);
  border: 2px solid var(--gold);
  padding: 12px 18px;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(27, 58, 107, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
}
.mustache-seal img { height: 36px; width: auto; }
.mustache-seal-text { font-size: 0.8rem; font-weight: 700; color: var(--navy); line-height: 1.25; }
.mustache-seal-sub { font-size: 0.72rem; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: 0.05em; }

.stats-ribbon {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-number.teal { color: var(--teal); }
.stat-number.gold { color: #D9981E; }
.stat-bar {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  margin: 6px auto;
}
.stat-label { font-size: 0.85rem; color: var(--muted); font-weight: 600; }

.catalog-intro { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.editorial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(27, 58, 107, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.editorial-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
}
.card-ccm::before { background: linear-gradient(90deg, #1B3A6B, #2A9D8F); }
.card-ssmp::before { background: linear-gradient(90deg, #2A9D8F, #E9C46A); }
.card-retirees::before { background: linear-gradient(90deg, #E9C46A, #2A9D8F); }
.card-rankings::before { background: linear-gradient(90deg, #1B3A6B, #E9C46A); }
.card-logo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  min-height: 42px;
  gap: 12px;
}
.editorial-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--navy);
  margin: 0 0 10px;
}
.card-product-icon {
  width: 52px;
  flex-shrink: 0;
}
.card-product-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(27, 58, 107, 0.12);
}
.card-header-mark {
  height: 42px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  flex-shrink: 0;
}
.card-actions {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.card-actions a:not(.btn) {
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
}

.consult-banner {
  background: linear-gradient(135deg, #1B3A6B 0%, #16365C 60%, #1F6B62 100%);
  color: #fff;
  padding: 64px 0;
  border-top: 3px solid var(--gold);
  text-align: center;
}
.consult-banner h2 { color: #fff; }
.consult-banner p { color: #E2E8F0; font-size: 1.05rem; line-height: 1.65; margin-bottom: 28px; }
.consult-banner .btn-outline { color: #fff; }

.faq-block {
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 12px;
  padding: 22px;
  background: #fff;
  margin-bottom: 20px;
}
.faq-block.gold { border-left-color: var(--gold); }
.faq-block.navy { border-left-color: var(--navy); }
.faq-block h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 8px; }
.faq-block p { color: var(--muted); font-size: 0.96rem; line-height: 1.6; }

.editorial-footer {
  background: var(--navy);
  color: #CBD5E1;
  padding: 48px 0;
  border-top: 3px solid var(--gold);
}
.editorial-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.editorial-footer a { color: #CBD5E1; text-decoration: none; font-size: 0.88rem; }
.editorial-footer a:hover { color: var(--gold); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .mustache-seal { left: 12px; bottom: -16px; }
  .theme-editorial .site-nav {
    top: 100%;
    background: #FAF8F5;
    border-bottom: 1px solid var(--line);
  }
  .product-suite { grid-row: auto; }
}

@media (max-width: 640px) {
  .card-header-mark {
    height: auto;
    max-height: 36px;
    max-width: 120px;
    width: auto;
    object-fit: contain;
  }
}
