:root {
  --navy:          #1B3D7A;
  --navy-deep:     #0F2550;
  --navy-mid:      #2A4E8F;
  --teal:          #2AB5B5;
  --teal-dark:     #1E9A9A;
  --white:         #FFFFFF;
  --off-white:     #F9FAFB;
  --border:        #E4E9F0;
  --border-light:  #EEF2F7;
  --text-primary:  #0F1F38;
  --text-body:     #3D526B;
  --text-muted:    #7A90AA;
  --shadow-xs:     0 1px 2px rgba(15,31,56,0.06);
  --shadow-sm:     0 2px 8px rgba(15,31,56,0.08);
  --shadow-md:     0 4px 20px rgba(15,31,56,0.10);
  --radius-sm:     4px;
  --radius:        6px;
  --radius-md:     8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               sans-serif;
  background: var(--white);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
}

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

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

/* ─── UTILITY ─── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.6rem 1.35rem;
  cursor: pointer;
  transition: all 0.18s ease;
  border: 1.5px solid transparent;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}
.btn-teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-teal:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}
.btn-ghost {
  background: transparent;
  color: var(--text-body);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--off-white);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
.btn-lg { padding: 0.78rem 1.75rem; font-size: 0.9375rem; }
.btn-sm { padding: 0.42rem 0.9rem; font-size: 0.8125rem; }

/* ─── NAV (mobile-first hamburger-ready) ─── */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top:10px;
  margin-bottom: 10px;
}
.nav-logo svg { width: 36px; height: 40px; flex-shrink: 0; }
.nav-wordmark {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.25px;
}
.nav-wordmark span { color: var(--teal); }
.nav-wordmark small {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.9em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover {
  color: var(--navy);
  background: var(--off-white);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
  margin: 0 0.35rem;
}

/* ─── HERO ─── */
.hero {
  padding: 6rem 0 5rem;
  border-bottom: 1px solid var(--border-light);
  background: url('../images/bg7.png') no-repeat;
  background-size: cover;
  background-position: 0px 0px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 1.35rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}
.hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.75px;
  margin-bottom: 1.4rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--teal);
}
.hero-body {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 2.25rem;
  max-width: 460px;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
}
.trust-num {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.trust-label {
  font-size: 0.73rem;
  color: var(--text-muted);
  font-weight: 500;
}
.trust-sep {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* Profile card mock */
.profile-mock {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  width: 100%;
  max-width: 360px;
  margin-left: auto;
}
.mock-banner {
  height: 72px;
  background: linear-gradient(
    105deg, var(--navy-deep) 0%, var(--navy) 60%, #1A6B8A 100%
  );
}
.mock-header {
  padding: 0 1.4rem 1rem;
  margin-top: -28px;
}
.mock-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid var(--white);
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.7rem;
}
.mock-name {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}
.mock-role {
  font-size: 0.8rem;
  color: var(--text-body);
  margin-bottom: 0.9rem;
}
.mock-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.mock-tag {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 3px;
  border: 1px solid var(--border);
  color: var(--text-body);
  background: var(--off-white);
}
.mock-tag-teal {
  border-color: #B2E5E5;
  background: #F0FBFB;
  color: var(--teal-dark);
}
.mock-divider {
  height: 1px;
  background: var(--border-light);
  margin: 0 1.4rem;
}
.mock-section {
  padding: 0.9rem 1.4rem;
}
.mock-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}
.mock-entry {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.mock-entry-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  margin-top: 6px;
  flex-shrink: 0;
}
.mock-entry-text {
  font-size: 0.8rem;
  color: var(--text-body);
  line-height: 1.5;
}
.mock-entry-title {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.82rem;
}
.mock-url {
  padding: 0.65rem 1.4rem;
  background: var(--off-white);
  border-top: 1px solid var(--border-light);
  font-size: 0.72rem;
  color: var(--teal-dark);
  font-weight: 500;
}

/* ─── LOGOS / TRUST STRIP ─── */
.trust-strip {
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--border-light);
  background: var(--off-white);
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.strip-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
}
.strip-sep {
  width: 1px;
  height: 24px;
  background: var(--border);
  flex-shrink: 0;
}
.strip-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.strip-role {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--white);
}

/* ─── SECTION LAYOUT ─── */
section { padding: 5.5rem 0; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 0.9rem;
}
.section-body {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.78;
  max-width: 520px;
}
.section-header { margin-bottom: 3.5rem; }

/* ─── FEATURES (3-COL) ─── */
.features-section { background: var(--white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.feature-cell {
  padding: 2.25rem 2rem;
  background: #fff;
  border-right: 1px solid var(--border);
}
.feature-cell:last-child { border-right: none; }
.feature-cell:hover { background: var(--off-white); }
.feature-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 1.25rem;
  color: var(--teal);
  z-index: 99;
}
.feature-cell h3 {
  font-size: 1.0rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.55rem;
  letter-spacing: -0.2px;
}
.feature-cell p {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.72;
}

/* ─── WHO IT'S FOR ─── */
.who-section { background: var(--off-white); }
.who-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}
.roles-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
}
.role-item {
  padding: 1.1rem 1.3rem;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  transition: background 0.15s, color 0.15s;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.role-item:hover { background: #F0FBFB; color: var(--teal-dark); }
.role-item:nth-child(2n) { border-right: none; }
.role-item:nth-last-child(-n+2) { border-bottom: none; }
.role-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* ─── PROFILE FEATURES ─── */
.profile-section { background: var(--white); }
.profile-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.checklist { list-style: none; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--border-light);
}
.checklist li:first-child { padding-top: 0; }
.checklist li:last-child { border-bottom: none; }
.check-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.check-icon svg {
  width: 10px;
  height: 10px;
  stroke: var(--white);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.check-content h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}
.check-content p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.profile-preview {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.preview-topbar {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.topbar-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.topbar-url {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
}
.preview-body { padding: 1.5rem; background: var(--white); }
.preview-row {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.preview-block {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  background: var(--off-white);
}
.pb-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}
.pb-line {
  height: 8px;
  border-radius: 2px;
  background: var(--border);
  margin-bottom: 0.35rem;
}
.pb-line-short { width: 55%; }
.pb-line-med { width: 75%; }
.pb-line-full { width: 100%; }
.pb-tags-row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.45rem;
}
.pb-tag {
  height: 18px;
  width: 64px;
  background: var(--border);
  border-radius: 2px;
}
.pb-tag-teal {
  background: #C8EEEE;
}

/* ─── CTA ─── */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(42,181,181,0.32), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(42,78,143,0.55), transparent 60%),
    linear-gradient(118deg, var(--navy-deep) 0%, var(--navy) 58%, #15507A 100%);
}

/* Subtle dot grid texture from profile.css hero */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 26px 26px;
}

/* Optional decorative blur element for depth */
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -120px;
  right: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,181,181,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-inner .section-label {
  color: var(--teal);
  justify-content: center;
}

.cta-inner .section-label::before {
  background: var(--teal);
}

.cta-inner .section-title {
  color: var(--white);
}

.cta-inner .section-body {
  color: rgba(255,255,255,0.62);
  margin: 0 auto 2.5rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cta-note {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* ─── FOOTER ─── */
footer {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.footer-brand-name span { color: var(--teal); }
.footer-brand p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 240px;
}
.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  font-size: 0.83rem;
  color: var(--text-muted);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--navy); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.footer-tagline {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: 0.04em;
}

/* ─── TRUST STRIP (new) ─── */
.trust-strip {
  border-bottom: 1px solid var(--border);
  background: var(--off-white);
}
.trust-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.trust-col {
  padding: 2.5rem 2.25rem;
  border-right: 1px solid var(--border);
}
.trust-col:last-child { border-right: none; }
.tc-bar {
  width: 28px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  margin-bottom: 1rem;
}
.tc-heading {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  letter-spacing: -0.15px;
  line-height: 1.3;
}
.tc-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── WHO IT'S FOR (new) ─── */
.who-section { background: var(--off-white); }
.who-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 3.5rem;
}
.who-header .section-label {
  display: flex;
  justify-content: center;
}
.who-header .section-label::before { display: none; }
.who-header .section-body {
  margin: 0 auto;
  text-align: center;
}
.roles-new {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.role-card {
  background: var(--white);
  padding: 1.75rem 1.5rem;
  transition: background 0.15s;
}
.role-card:hover { background: #F4FBFB; }
.role-icon-wrap {
  display: block;
  width: 26px;
  height: 26px;
  color: var(--teal);
  margin-bottom: 0.9rem;
}
.role-card h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}
.role-card p {
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Color hierarchy corrections ── */

/* Hover states: navy tint instead of teal tint */
.role-item:hover  { background: #EEF3FB; color: var(--navy); }
.role-card:hover  { background: #EEF3FB; }

/* Feature icons: navy instead of teal */
.feature-icon     { color: var(--navy); }

/* Role icons: navy instead of teal */
.role-icon-wrap   { color: var(--navy); }

/* Checklist check icons: navy fill */
.check-icon       { background: var(--navy); }

/* Footer tagline: navy instead of teal-dark */
.footer-tagline   { color: var(--navy); }

/* ─── RESPONSIVE (COMPLETE REWORK) ─── */

/* Tablets and below */
@media (max-width: 1000px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .profile-mock {
    max-width: 420px;
    margin: 0 auto;
  }
  .hero-body {
    max-width: 100%;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-cell {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .feature-cell:last-child { border-bottom: none; }

  .who-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .profile-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .trust-cols {
    grid-template-columns: repeat(3, 1fr);
  }
  .trust-col {
    padding: 2rem 1.5rem;
  }

  .roles-new {
    grid-template-columns: repeat(2, 1fr);
  }

  section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 1.85rem;
  }
}

/* Mobile devices - nav links hidden, BUTTONS REMAIN VISIBLE */
@media (max-width: 700px) {
  .container {
    padding: 0 1.25rem;
  }

  /* Navigation - hide nav links ONLY, keep all buttons visible */
  .nav-links {
    display: none;
  }

  /* IMPORTANT: Do NOT hide nav-actions buttons */
  .nav-actions {
    display: flex !important;
  }

  .nav-actions .btn,
  .nav-actions .btn-ghost,
  .nav-actions .btn-primary {
    display: inline-flex !important;
  }

  .nav-inner {
    justify-content: space-between;
  }

  /* Hero section */
  .hero {
    padding: 3rem 0 3rem;
  }
  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
  }
  .hero-body {
    font-size: 0.9375rem;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn {
    justify-content: center;
    width: 100%;
  }

  /* Improved hero-trust section - more appealing break */
  .hero-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: start;
    padding-top: 1.5rem;
  }
  .trust-sep {
    display: none;
  }
  .trust-item {
    text-align: center;
    background: var(--off-white);
    padding: 0.75rem 0.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
  }
  .trust-num {
    font-size: 1.1rem;
  }
  .trust-label {
    font-size: 0.7rem;
  }

  /* Section titles */
  .section-title {
    font-size: 1.65rem;
  }
  .section-header {
    margin-bottom: 2rem;
  }

  /* Trust strip */
  .trust-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .strip-sep {
    display: none;
  }
  .strip-label {
    white-space: normal;
  }

  /* Trust columns (3-col to 1-col) */
  .trust-cols {
    grid-template-columns: 1fr;
  }
  .trust-col {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 1.75rem;
  }
  .trust-col:last-child {
    border-bottom: none;
  }

  /* Who it's for roles grid */
  .roles-new {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .role-card {
    padding: 1.25rem;
  }

  /* Features section */
  .feature-cell {
    padding: 1.5rem;
  }
  .feature-icon {
    width: 32px;
    height: 32px;
  }
  .feature-cell h3 {
    font-size: 1rem;
  }

  /* Profile preview */
  .preview-topbar {
    flex-wrap: wrap;
  }
  .topbar-url {
    margin-left: 0;
    flex: 1;
    min-width: 120px;
  }
  .preview-body {
    padding: 1rem;
  }

  /* Checklist items */
  .checklist li {
    gap: 0.75rem;
  }
  .check-content p {
    font-size: 0.8rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .footer-brand p {
    max-width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  /* CTA section */
  .cta-section {
    padding: 3.5rem 0;
  }
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .cta-actions .btn {
    justify-content: center;
    width: 100%;
  }

  /* Section spacing */
  section {
    padding: 3rem 0;
  }

  /* Role list (original who section) */
  .roles-list {
    grid-template-columns: 1fr;
  }
  .role-item {
    border-right: none;
  }
  .role-item:nth-child(2n) {
    border-right: none;
  }
  .role-item:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }
  .role-item:last-child {
    border-bottom: none;
  }

  /* General tweaks */
  .btn {
    white-space: normal;
    text-align: center;
    justify-content: center;
  }
  .btn-sm, .btn-lg {
    white-space: normal;
  }

  .mock-header {
    padding: 0 1rem 1rem;
  }
  .mock-section {
    padding: 0.75rem 1rem;
  }
  .mock-divider {
    margin: 0 1rem;
  }
  .mock-url {
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
  }

  /* Profile mock card on mobile */
  .profile-mock {
    max-width: 100%;
  }
}

/* Very small mobile devices */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .trust-col {
    padding: 1.5rem;
  }

  .role-card {
    padding: 1rem;
  }

  .mock-tags {
    gap: 0.25rem;
  }
  .mock-tag {
    font-size: 0.65rem;
    padding: 2px 6px;
  }

  .preview-block {
    padding: 0.75rem;
  }

  /* Make nav buttons more compact on very small screens */
  .nav-actions {
    gap: 0.35rem;
  }
  .nav-actions .btn-ghost,
  .nav-actions .btn-primary {
    padding: 0.4rem 0.7rem;
    font-size: 0.75rem;
  }
}

/* Small mobile devices - further hero-trust improvements */

@media (max-width: 550px) {
  .hero-trust {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .trust-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1rem;
  }
  .trust-num {
    font-size: 1rem;
    margin-bottom: 0;
  }
  .trust-label {
    font-size: 0.75rem;
  }
}


/* Landscape orientation adjustments */
@media (max-width: 700px) and (orientation: landscape) {
  .hero {
    padding: 2rem 0;
  }
  section {
    padding: 2rem 0;
  }
  .trust-col {
    padding: 1.25rem;
  }
  .role-card {
    padding: 1rem;
  }
  .hero-trust {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Ensure images and media are responsive */
img, svg, video, iframe {
  max-width: 100%;
  height: auto;
}

/* Touch-friendly tap targets */
@media (max-width: 700px) {
  .btn,
  .nav-links a,
  .footer-col a,
  .role-card,
  .feature-cell,
  .trust-col {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .btn {
    min-height: 44px;
  }

  .nav-links a,
  .footer-col a {
    display: inline-block;
    padding: 0.5rem 0.75rem;
  }
}

/* Ensure login button ALWAYS visible at 860px and below */
@media (max-width: 870px) {
  .nav-actions {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .nav-actions .btn,
  .nav-actions .btn-ghost,
  .nav-actions .btn-primary,
  .nav-actions .btn-teal,
  .nav-actions .btn-sm {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .nav-links {
    display: none;
  }
}
@media (max-width: 547px) {
  .nav-actions .btn-primary{
    display: none !important;
    visibility:hidden !important;
  }
}
