/* ========================================
   Opt-Me-In Design V2 — Rebuilt from Figma
   Colors: Teal #0c6478, Green #8dbb44, Light #ddecef
   Fonts: Poppins (headings), Roboto (body)
   ======================================== */

:root {
  --teal: #0c6478;
  --teal-dark: #094e5d;
  --green: #8dbb44;
  --green-hover: #7aa93a;
  --light-bg: #ddecef;
  --white: #ffffff;
  --dark: #111213;
  --body-text: #292929;
  --grey: #666666;
  --font-heading: 'Roboto', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --container: 1280px;
  --container-wide: 1520px;
  --transition: all 0.3s ease;
  --radius: 12px;
  --radius-lg: 40px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --coral: #ee6364;
  --navy: #161249;
  --mid-grey: #999999;
  --off-white: #f7f7f7;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--body-text);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--dark); }
h1 { font-size: 3.5rem; }
h2 { font-size: 3rem; }
h3 { font-size: 2.5rem; line-height: 1.2; }
h4 { font-size: 2rem; line-height: 1.3; }

p { font-size: 1rem; line-height: 1.5; color: var(--body-text); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 24px; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  gap: 8px;
}

.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-green:hover {
  background: var(--green-hover);
  border-color: var(--green-hover);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn-outline-dark:hover {
  background: #8dbb44;
  color: var(--white);
  border-color: #8dbb44;
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--teal);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
}
.btn-teal:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  transition: var(--transition);
}

.navbar .container-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-logo img { height: 36px; width: auto; }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navbar-menu > li { display: flex; align-items: center; }

.navbar-menu a {
  font-size: 1rem;
  color: var(--body-text);
  font-weight: 400;
  text-decoration: none;
}
.navbar-menu a:hover { color: var(--teal); }
.navbar-menu .current-menu-item > a { color: var(--teal); }

.navbar-menu .btn { font-size: 0.875rem; padding: 10px 24px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--dark);
  transition: var(--transition);
  transform-origin: center;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === Hero === */
.hero {
  position: relative;
  height: 760px;
  margin-top: 72px;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-bottom: 80px;
  text-align: center;
}

.hero-card {
  background: transparent;
  padding: 48px;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.hero-card h1 {
  font-size: 3.5rem;
  margin-bottom: 16px;
  color: var(--white);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-card p {
  font-size: 1.125rem;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.hero-curve img {
  width: 100%;
  display: block;
}

/* === Section Curved Divider === */
.curve-divider {
  width: 100%;
  display: block;
  margin-top: -3px;
  margin-bottom: -3px;
  position: relative;
  z-index: 2;
}

/* === Brands Strip === */
.brands-strip {
  background: var(--light-bg);
  padding: 40px 0 60px;
}

.brands-strip-header {
  text-align: center;
  margin-bottom: 24px;
}

.brands-strip-header h4 {
  font-size: 1.5rem;
  color: var(--dark);
}

.brands-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.brand-card {
  width: 180px;
  height: 90px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  flex: 0 0 auto;
  transition: var(--transition);
}

.brand-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.brand-card img {
  display: block;
  max-height: 50px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.brands-strip-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* === About Section === */
.about-section {
  padding: 80px 0;
  background: var(--white);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content .tagline {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.about-content h2 { margin-bottom: 20px; }
.about-content p { margin-bottom: 16px; }
.about-content .btn { margin-top: 8px; }

.about-buttons {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.about-image img {
  width: 100%;
  max-width: 760px;
}

/* === Transparency Section (teal bg) === */
.transparency-section {
  background: var(--teal);
  color: var(--white);
  padding: 80px 0;
  position: relative;
}

.transparency-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.transparency-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.transparency-content h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.transparency-content p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}

/* === Your Data Section === */
.data-section {
  padding: 80px 0;
  background: var(--white);
  position: relative;
}

.data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.data-content h2 { margin-bottom: 20px; }
.data-content p { margin-bottom: 16px; }

.data-image img {
  width: 100%;
  max-width: 760px;
}

/* === Your Rights Section === */
.rights-section {
  background: var(--light-bg);
  padding: 80px 0;
  position: relative;
}

.rights-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 48px;
}

.rights-header h2 { margin-bottom: 0; }
.rights-header p { font-size: 1rem; }

.rights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.rights-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.rights-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.rights-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: none;
}

.rights-card h4 ~ .rights-card-body { margin-top: 0; }

.rights-expand {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  line-height: 1;
}

.rights-expand:hover {
  background: var(--green-hover);
}

.rights-card.expanded .rights-expand {
  transform: rotate(180deg);
}

.rights-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0;
}

.rights-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-top: 0;
}

.rights-card.expanded .rights-card-body {
  max-height: 300px;
  margin-top: 12px;
}

.rights-card-body p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--body-text);
  margin-bottom: 8px;
}

.rights-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: underline;
}

/* === Mailing Brands === */
.mailing-section {
  padding: 80px 0;
  background: var(--white);
}

.mailing-section h3 {
  text-align: center;
  margin-bottom: 40px;
}

.mailing-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.mailing-logos img {
  display: block;
  height: 80px;
  width: auto;
  max-width: 200px;
  max-height: 80px;
  object-fit: contain;
  flex: 0 0 auto;
}

/* === Footer === */
.footer {
  background: var(--light-bg);
  padding: 72px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  margin-bottom: 40px;
  align-items: start;
}

.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo img { height: 36px; }
.footer-tagline { font-size: 0.875rem; color: var(--grey); margin: 0; max-width: 240px; line-height: 1.5; }

.footer-cols {
  display: flex;
  justify-content: flex-end;
  gap: 72px;
}
.footer-cols > .footer-col { min-width: 150px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
  margin: 0 0 4px;
}
.footer-col a {
  font-size: 0.875rem;
  color: var(--grey);
  text-decoration: none;
}
.footer-col a:hover { color: var(--teal); }

/* kept for any legacy pages still using .footer-links (none after 20260418e) */
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
}
.footer-links a:hover { color: var(--teal); }

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 32px;
  height: 32px;
  background: var(--teal);
  color: var(--white);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--teal-dark); transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { font-size: 0.8rem; color: var(--grey); text-decoration: none; }
.footer-legal a:hover { color: var(--teal); }

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--grey);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  font-size: 0.875rem;
  color: var(--grey);
}
.footer-bottom-links a:hover { color: var(--teal); }

/* === Forms === */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}
.form-control:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(12, 100, 120, 0.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-legend {
  font-size: 0.85rem;
  color: var(--grey);
  margin-bottom: 24px;
}
.form-legend span { color: var(--coral); }

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--teal);
}
.checkbox-group label {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--body-text);
  cursor: pointer;
}
.checkbox-group label a { color: var(--teal); text-decoration: underline; }

/* === Section (generic subpage section) === */
.section { padding: 112px 0; }
.section-light { background: var(--light-bg); }

/* === Form Card (white card on light bg) === */
/* Inline links inside form cards + sidebar content must be visibly linked.
   The theme's global a{color:inherit;text-decoration:none} would otherwise make
   every "here" / "Privacy Policy" / "brands we work with" blend into surrounding text. */
.form-card a,
.form-card label a,
.split-content p a,
.split-content ul a,
.privacy-body a {
    color: var(--teal);
    text-decoration: underline;
}
.form-card a:hover,
.form-card label a:hover,
.split-content p a:hover,
.split-content ul a:hover,
.privacy-body a:hover {
    color: var(--teal-dark, #094e5e);
    text-decoration: none;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

/* === Signup page (full-width form, channels in 2 cols, data block below) === */
.signup-channels {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  column-gap: 64px;
  row-gap: 12px;
  margin-top: 8px;
}
.signup-data-block {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.1);
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--mid-grey, #555);
}
.signup-data-block .signup-data-heading {
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: var(--dark);
}
.signup-data-block p { margin-bottom: 10px; }
@media (max-width: 600px) {
  .signup-channels { grid-template-columns: 1fr; }
}

/* === Accordion (your-data page) === */
.accordion { margin-top: 24px; }
.accordion-item {
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  transition: var(--transition);
}
.accordion-trigger:hover { background: var(--light-bg); }
.accordion-trigger .icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.accordion-item.active .accordion-trigger .icon { transform: rotate(180deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-item.active .accordion-body { max-height: 500px; }
.accordion-body-inner {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--body-text);
}

/* === Take Action Section === */
.take-action {
  background: var(--teal);
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}
.take-action h2 { color: var(--white); margin-bottom: 12px; }
.take-action p { color: rgba(255,255,255,0.85); margin-bottom: 24px; }
.action-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.action-buttons .btn {
  min-width: 200px;
}

/* === Privacy Page === */
.privacy-content { padding: 60px 0; }
.privacy-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
.privacy-nav {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: sticky;
  top: 96px;
  /* If the TOC is taller than the viewport, let the nav itself scroll so all
     items remain reachable without detaching from the sticky position. */
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
/* Account for the WP admin bar when logged in — matches the navbar offset. */
body.admin-bar .privacy-nav { top: 128px; max-height: calc(100vh - 152px); }
@media screen and (max-width: 782px) {
  body.admin-bar .privacy-nav { top: 142px; max-height: calc(100vh - 166px); }
}
.privacy-nav a {
  display: block;
  padding: 10px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--body-text);
  margin-bottom: 4px;
  transition: var(--transition);
}
.privacy-nav a:hover { background: rgba(0,0,0,0.05); }
.privacy-nav a.active {
  background: var(--teal);
  color: var(--white);
}
.privacy-body h3 {
  font-size: 1.5rem;
  color: var(--teal);
  margin-top: 40px;
  margin-bottom: 16px;
  padding-top: 16px;
}
.privacy-body h3:first-child { margin-top: 0; }
.privacy-body p { margin-bottom: 12px; }
.privacy-body ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
.privacy-body ul li {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--body-text);
  margin-bottom: 4px;
}

/* === Brands Directory Page === */
.brands-directory { padding: 60px 0; }

.brands-cat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--green);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  margin-bottom: 48px;
  justify-content: center;
}
.brands-cat-bar a {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-heading);
  padding: 6px 12px;
  border-radius: 50px;
  transition: var(--transition);
  white-space: nowrap;
}
.brands-cat-bar a:hover { background: rgba(255,255,255,0.2); }

.brands-page-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--light-bg);
}
.brands-page-section:last-child { border-bottom: none; }
.brands-page-section h3 {
  font-size: 1.5rem;
  color: var(--teal);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--light-bg);
}
.brands-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}
.brand-page-logo {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.brand-page-logo:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  border-color: var(--teal);
}
.brand-page-logo img {
  max-height: 70%;
  max-width: 80%;
  object-fit: contain;
}
.brand-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--body-text);
  text-align: center;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.brand-name::before {
  content: '';
  display: block;
  width: 48px;
  height: 48px;
  background: var(--light-bg);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230c6478' stroke-width='1.5'%3E%3Crect x='2' y='3' width='20' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px;
  flex-shrink: 0;
}

/* === Split Layout (signup, unsubscribe, subject-access) === */
.split-section { padding: 112px 0; }
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}
.split-content h2 { margin-bottom: 16px; font-size: 2rem; }
.split-content h3 { font-size: 1.5rem; }
.split-content p { margin-bottom: 16px; font-size: 1rem; line-height: 1.5; }
.split-image img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  background: var(--light-bg);
  object-fit: cover;
}

/* === Steps List (Optivo page) === */
.steps-list { display: flex; flex-direction: column; gap: 24px; }
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-content p { margin: 0; }

/* === Learn More Cards (Optivo page) === */
.learn-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.learn-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.learn-card-icon {
  width: 64px;
  height: 64px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.learn-card p { font-size: 0.95rem; font-weight: 600; color: var(--dark); margin: 0; }

/* === Mailing Brands Strip (subpages) === */
.mailing-section { padding: 60px 0; background: var(--white); }
.mailing-section h3 { text-align: center; margin-bottom: 32px; font-size: 1.5rem; }
.mailing-conveyor {
  overflow: hidden;
  padding: 20px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.brands-conveyor {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 96px, #000 calc(100% - 96px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 96px, #000 calc(100% - 96px), transparent 100%);
}
.mailing-track {
  display: flex;
  gap: 80px;
  animation: scroll-mailing 25s linear infinite;
  width: max-content;
}
.mailing-track img { height: 60px; width: 140px; flex-shrink: 0; object-fit: contain; }
@keyframes scroll-mailing {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === Page Header (subpages) === */
.page-header {
  background: var(--teal);
  color: var(--white);
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
}
.page-header h1 { color: var(--white); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto; }
.page-header::after {
  content: "";
  display: block;
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  height: 70px;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0,0 Q720,140 1440,0 Z' fill='%230c6478'/%3E%3C/svg%3E") no-repeat center top / 100% 100%;
  pointer-events: none;
}
.page-header-curve { display: none; }

/* === Responsive === */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2.25rem; }

  .hero { height: auto; min-height: 500px; }
  .hero-content { padding: 60px 0 100px; justify-content: center; }
  .hero-card { max-width: 100%; }
  .hero-card h1 { font-size: 2.5rem; }

  .split-grid { gap: 40px; }
  .learn-card { padding: 24px 16px; }
  .about-grid, .transparency-grid, .data-grid { grid-template-columns: 1fr; }
  .rights-header { grid-template-columns: 1fr; }
  .rights-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 32px; text-align: left; }
  .footer-brand { align-items: flex-start; }
  .footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; justify-content: stretch; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .privacy-layout { grid-template-columns: 1fr; }
  .privacy-nav { position: static; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }

  /* Mobile navbar (hamburger drawer) lives in mobile.css to avoid rule
     duplication between s3.css and style.css fighting each other. */

  .split-grid { grid-template-columns: 1fr; }
  .split-image img { max-height: 400px; width: 100%; object-fit: cover; }

  .hero-card h1 { font-size: 1.75rem; }
  .hero-card { padding: 32px; }

  .rights-grid { grid-template-columns: 1fr 1fr; }
  .brands-logos { gap: 20px; }
  .brands-logos img { height: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .mailing-track img { height: 45px; width: 110px; }
  .mailing-logos { gap: 24px; }
  .mailing-logos img { height: 60px; }
  .footer-links { gap: 16px; }
  .footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .brands-cat-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius);
    padding: 12px 16px;
    gap: 4px;
  }
  .brands-cat-bar a { font-size: 0.75rem; padding: 4px 10px; }

  .brands-page-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .brand-page-logo { padding: 12px; }
  .brand-name { font-size: 0.7rem; }
  .brand-name::before { width: 36px; height: 36px; background-size: 18px; }

  .brands-logos {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }
  .brand-card { flex: 0 0 140px; height: 70px; }

  .action-buttons { flex-direction: column; align-items: center; }

  .split-section { padding: 60px 0; }
  .section { padding: 60px 0; }
  .mailing-section { padding: 40px 0; }
  .take-action { padding: 40px 0; }
  .brands-directory { padding: 40px 0; }
  .privacy-content { padding: 40px 0; }

  .split-image img { min-height: 200px; max-height: 350px; border-radius: 16px; }
}

@media (max-width: 480px) {
  .page-header { padding: 120px 0 40px; }
  .page-header h1 { font-size: 1.75rem; }
  .split-content h2 { font-size: 1.5rem; }
  .learn-card img { border-radius: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* === Rights Action Cards Grid === */
.rights-action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) { .rights-action-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .rights-action-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }

/* Utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
