:root {
  --navy: #11284f;
  --navy-deep: #091936;
  --navy-soft: #2c4d82;
  --accent: #5f8ec7;
  --accent-strong: #3e72af;
  --accent-soft: #dbe7f4;
  --gold: #e1b45c;
  --gold-soft: #f5dfb1;
  --cream: #f7fafc;
  --sand: #edf3f8;
  --ink: #1e2a35;
  --muted: #617084;
  --line: rgba(17, 40, 79, 0.12);
  --card: rgba(255, 255, 255, 0.92);
  --shadow: 0 24px 60px rgba(17, 40, 79, 0.12);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --content-width: 1320px;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(95, 142, 199, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(17, 40, 79, 0.08), transparent 22%),
    linear-gradient(180deg, #f8fbfe 0%, #f4f8fc 45%, #edf3f8 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  border: 1px solid rgba(95, 142, 199, 0.2);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

body::before {
  width: 32rem;
  height: 32rem;
  left: -14rem;
  bottom: -14rem;
}

body::after {
  width: 24rem;
  height: 24rem;
  right: -10rem;
  top: 6rem;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--navy-soft);
}

button,
input {
  font: inherit;
}

h1,
h2,
h3,
h4,
p,
ul {
  margin: 0;
}

ul {
  padding-left: 1.2rem;
}

.demo-banner,
.site-header,
main,
footer {
  position: relative;
  z-index: 1;
}

.demo-banner {
  padding: 0.85rem 1rem;
  background: var(--gold);
  color: var(--navy-deep);
  text-align: center;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(17, 40, 79, 0.08);
  background: rgb(247, 246, 244);
  backdrop-filter: blur(16px);
}

.nav-shell {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}


/* Neutralize Salesforce-injected div in nav flex layout */
.nav-shell > [id^="evg"] {
  display: none;
}

/* Mobile hamburger — hidden on desktop */
.mobile-nav {
  display: none;
}

.hamburger {
  list-style: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
}

.hamburger::-webkit-details-marker {
  display: none;
}

.hamburger-icon,
.hamburger-icon::before,
.hamburger-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger-icon {
  position: relative;
}

.hamburger-icon::before,
.hamburger-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger-icon::before {
  top: -6px;
}

.hamburger-icon::after {
  top: 6px;
}

/* Animate to X when open */
.mobile-nav[open] .hamburger-icon {
  background: transparent;
}

.mobile-nav[open] .hamburger-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-nav[open] .hamburger-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem 1rem;
  background: rgb(247, 246, 244);
  border-bottom: 1px solid rgba(17, 40, 79, 0.08);
  box-shadow: 0 8px 24px rgba(17, 40, 79, 0.1);
}

.mobile-nav-panel a {
  padding: 0.5rem 0;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
}

.brand img {
  width: auto;
  height: 54px;
  mix-blend-mode: multiply;
  opacity: 0.98;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1.15rem;
  margin-left: auto;
}

.site-nav a {
  position: relative;
  padding: 0.3rem 0;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
  background: var(--accent);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

main {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(320px, 0.92fr);
  gap: 1.75rem;
  align-items: start;
}

.hero-panel,
.loyalty-panel,
.product-details,
.signup-panel,
.support-panel {
  grid-column: 1 / -1;
}

.main-column,
.side-column {
  display: grid;
  gap: 1.75rem;
}

.section-surface {
  overflow: hidden;
  border: 1px solid rgba(17, 40, 79, 0.1);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.section-heading {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.section-heading h2,
.hero-copy h1,
.product-card h3,
.tier-card h3,
.detail-card h3,
.side-callout h2,
.support-copy h2 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.06;
}

.section-heading h2 {
  font-size: clamp(2rem, 2.8vw, 2.8rem);
}

.section-heading p,
.about-panel p,
.highlight-card,
.product-card p,
.faq-content,
.detail-card p,
.detail-card ul,
.support-copy p,
.side-callout p,
.signup-copy p {
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #fff;
  box-shadow: 0 14px 30px rgba(62, 114, 175, 0.28);
}

.button-primary:hover {
  color: #fff;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(17, 40, 79, 0.16);
  color: var(--navy);
}

.button-secondary:hover {
  color: var(--navy);
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  min-height: 540px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 240, 228, 0.92));
}

.hero-copy {
  padding: clamp(2rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
  border-right: 1px solid rgba(17, 40, 79, 0.08);
  background:
    radial-gradient(circle at top left, rgba(95, 142, 199, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(248, 251, 254, 0.98), rgba(239, 245, 250, 0.94));
}

.hero-copy h1 {
  font-size: clamp(2.7rem, 4.6vw, 4.25rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  max-width: none;
}

.hero-copy p {
  max-width: 30rem;
  font-size: 1.04rem;
}

.hero-actions,
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  background: rgba(17, 40, 79, 0.06);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  background: linear-gradient(180deg, #e8eff6 0%, #dbe6f0 100%);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-note {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  max-width: 18rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(17, 40, 79, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(17, 40, 79, 0.14);
}

.hero-note strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.about-panel,
.featured-panel,
.loyalty-panel,
.faq-panel,
.product-details,
.side-callout {
  padding: 1.7rem;
}

#about,
#loyalty,
#faqs,
#signup {
  scroll-margin-top: 90px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(260px, 0.82fr);
  gap: 1rem;
}

.about-copy {
  display: grid;
  gap: 0.45rem;
}

.about-highlights,
.details-grid {
  display: grid;
  gap: 1rem;
}

.highlight-card {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(245, 250, 255, 0.92);
}

.highlight-card strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--navy);
}

.featured-grid,
.loyalty-grid {
  display: grid;
  gap: 1rem;
}

.featured-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  padding: 0 0 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(250, 252, 255, 0.96);
  box-shadow: 0 18px 40px rgba(17, 40, 79, 0.08);
  overflow: hidden;
}

.product-image {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  background: transparent;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
}

.product-copy {
  display: grid;
  gap: 0.35rem;
  padding: 0 1.2rem;
}

.product-card h3 {
  font-size: 1.45rem;
}

.product-link {
  color: var(--accent-strong);
  font-weight: 700;
  padding: 0 1.2rem;
}

.product-reccos:empty {
  display: none;
}

.product-reccos:not(:empty) {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.loyalty-panel {
  background:
    radial-gradient(circle at top right, rgba(95, 142, 199, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 245, 250, 0.94));
}

.loyalty-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tier-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
}

.tier-badge {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  padding: 0.65rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(17, 40, 79, 0.12);
  color: var(--navy);
}

.tier-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bronze .tier-badge { background: #ead2c1; }
.silver .tier-badge { background: #dfe4ea; }
.gold .tier-badge { background: #e6d7aa; }
.platinum .tier-badge { background: #dce1f0; }

.tier-range {
  color: var(--navy-soft);
  font-weight: 600;
  font-size: 0.92rem;
}

.tier-card ul,
.detail-card ul,
.faq-content ul {
  display: grid;
  gap: 0.4rem;
}

.loyalty-note {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.loyalty-note p {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
}

.signup-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--navy-deep) 0%, #17325f 56%, #285487 100%);
  box-shadow: var(--shadow);
  color: #fff;
}

.signup-panel::before,
.signup-panel::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(150, 183, 223, 0.28);
  border-radius: 50%;
}

.signup-panel::before {
  width: 24rem;
  height: 24rem;
  left: -14rem;
  bottom: -14rem;
}

.signup-panel::after {
  width: 22rem;
  height: 22rem;
  top: -13rem;
  right: -11rem;
}

.signup-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(290px, 0.88fr);
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
}

.signup-copy h2 {
  margin: 0.45rem 0 0.75rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.signup-copy p,
.signup-form label {
  color: rgba(255, 255, 255, 0.8);
}

.signup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: end;
}

.signup-form label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.signup-form input {
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 1rem;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
}

.signup-form input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.signup-success {
  display: none;
  margin-top: 0.9rem;
  color: var(--gold-soft);
  font-weight: 700;
}

.support-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 245, 251, 0.92));
}

.support-media {
  padding: 1.2rem;
  background: linear-gradient(180deg, rgba(95, 142, 199, 0.12), rgba(17, 40, 79, 0.02));
}

.support-media img,
.side-callout img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 36px rgba(17, 40, 79, 0.12);
}

.support-copy,
.side-callout {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.support-copy {
  justify-content: center;
  padding: 1.9rem;
}

.support-copy h2,
.side-callout h2 {
  font-size: clamp(2rem, 2.6vw, 2.5rem);
}

.side-callout {
  background:
    radial-gradient(circle at top left, rgba(95, 142, 199, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 251, 0.94));
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.faq-item[open] {
  box-shadow: 0 12px 30px rgba(17, 40, 79, 0.08);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  color: var(--navy);
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  display: block;
  min-width: 1rem;
  color: var(--accent-strong);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
  text-align: right;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-content {
  display: grid;
  gap: 0.75rem;
  padding: 0 1.1rem 1.1rem;
  font-size: 0.96rem;
}

.faq-content p strong {
  color: var(--ink);
}

.faq-content a {
  color: var(--accent-strong);
  text-decoration: underline;
}

.detail-card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(249, 252, 255, 0.96);
}

.details-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-card-top {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.detail-thumb {
  width: 88px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
}

.detail-thumb img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

.detail-card h3 {
  font-size: 1.22rem;
  margin-bottom: 0.3rem;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
}

.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(95, 142, 199, 0.18);
  border-radius: 50%;
}

.site-footer::before {
  width: 28rem;
  height: 28rem;
  left: -18rem;
  bottom: -18rem;
}

.site-footer::after {
  width: 18rem;
  height: 18rem;
  right: -9rem;
  top: -9rem;
}

.footer-inner,
.footer-bottom {
  position: relative;
  z-index: 1;
  max-width: var(--content-width);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(180px, 0.7fr) minmax(180px, 0.7fr);
  gap: 1.5rem;
  padding-top: 2.4rem;
  padding-bottom: 1.8rem;
}

.logo-badge {
  display: inline-flex;
  padding: 0.7rem 0.85rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
}

.footer-brand img {
  width: auto;
  height: 48px;
}

.footer-brand p {
  max-width: 20rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-column h3 {
  margin-bottom: 0.7rem;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 800;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
}

#AgentForce {
  display: none;
}

@media (max-width: 1140px) {
  .page-grid,
  .hero-panel,
  .support-panel,
  .about-grid,
  .signup-inner {
    grid-template-columns: 1fr;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    border-right: none;
    border-bottom: 1px solid rgba(17, 40, 79, 0.08);
  }

  .loyalty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .loyalty-note,
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .demo-banner {
    font-size: 0.84rem;
  }

  .nav-shell {
    padding: 0.85rem 1rem;
    position: relative;
  }

  .site-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hamburger {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
  }

  main {
    padding: 1rem 1rem 3rem;
  }

  .about-panel,
  .featured-panel,
  .loyalty-panel,
  .faq-panel,
  .product-details,
  .side-callout {
    padding: 1.3rem;
  }

  .hero-copy {
    padding: 1.5rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 12vw, 3.5rem);
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-note {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }

  .featured-grid,
  .loyalty-grid,
  .details-grid,
  .signup-form,
  .loyalty-note,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .button,
  .signup-form .button-primary {
    width: 100%;
  }

  .detail-card-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
  }

  #about,
  #loyalty,
  #faqs,
  #signup {
    scroll-margin-top: 90px;
  }
}
