/* iHeart InfoSec – styles.css */

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

/* ===== DESIGN TOKENS ===== */
:root {
  --navy:        #0b1628;
  --navy-2:      #13233d;
  --slate:       #475569;
  --muted:       #64748b;
  --border:      #dbe3ee;
  --bg-soft:     #f4f7fb;
  --accent:      #2f6feb;
  --accent-dark: #1a4abf;
  --white:       #ffffff;

  --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 4px rgba(11,22,40,.07), 0 1px 2px rgba(11,22,40,.05);
  --shadow-md: 0 4px 24px rgba(11,22,40,.09), 0 2px 8px rgba(11,22,40,.05);

  --max-w: 1120px;
}

/* ===== BASE ===== */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); }

:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 14px 24px;
  max-width: var(--max-w);
  margin-inline: auto;
}

.brand {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -.015em;
  flex-shrink: 0;
  margin-right: auto;
}
.brand:hover { color: var(--accent); }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  align-items: center;
}

.site-nav a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--navy); background: var(--bg-soft); }
.site-nav a[aria-current="page"] {
  color: var(--accent);
  background: rgba(47,111,235,.09);
  font-weight: 600;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background .15s, color .15s, box-shadow .15s, transform .1s;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(47,111,235,.28);
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(47,111,235,.38);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: var(--bg-soft);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* ===== HERO ===== */
.hero {
  background: var(--bg-soft);
  padding: 88px 24px 80px;
  text-align: center;
}

.hero-inner {
  max-width: 660px;
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.03em;
  line-height: 1.12;
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.70;
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 36px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ===== PRINCIPLES CARD ===== */
.principles-section {
  padding: 48px 24px;
  background: var(--white);
}

.principles-card {
  max-width: var(--max-w);
  margin-inline: auto;
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 52px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.principles-left h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.02em;
  line-height: 1.30;
  margin-bottom: 14px;
}

.principles-left p {
  color: rgba(255,255,255,.65);
  font-size: .95rem;
  line-height: 1.70;
}

.principles-checklist {
  list-style: none;
  display: grid;
  gap: 14px;
  align-content: start;
}

.principles-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,.82);
  font-size: .925rem;
  line-height: 1.55;
}

.check-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===== SERVICES SECTION ===== */
.services-section {
  padding: 80px 24px;
  background: var(--bg-soft);
}

.section-header {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.025em;
  line-height: 1.20;
  margin-bottom: 14px;
}

.section-header p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
}

.services-grid {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .15s;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card h3 {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.service-card p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.60;
}

/* ===== TRUST STRIP ===== */
.trust-section {
  padding: 72px 24px;
  background: var(--white);
}

.trust-grid {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.trust-item { display: flex; flex-direction: column; gap: 8px; }

.trust-label {
  font-size: .875rem;
  font-weight: 700;
  color: var(--navy);
}

.trust-item p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.60;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 80px 24px;
  background: var(--bg-soft);
  text-align: center;
}

.cta-inner {
  max-width: 500px;
  margin-inline: auto;
}

.cta-inner h2 {
  font-size: clamp(1.5rem, 3.5vw, 1.9rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.02em;
  margin-bottom: 12px;
}

.cta-inner p {
  color: var(--muted);
  font-size: .975rem;
  line-height: 1.65;
  margin-bottom: 28px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy);
  padding: 32px 24px;
}

.footer-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-copy {
  font-size: .8125rem;
  color: rgba(255,255,255,.45);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.footer-nav a {
  font-size: .8125rem;
  color: rgba(255,255,255,.50);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 4px;
  transition: color .15s;
}
.footer-nav a:hover { color: var(--white); }
.footer-nav a[aria-current="page"] { color: rgba(255,255,255,.75); }

.footer-sep {
  color: rgba(255,255,255,.20);
  font-size: .75rem;
  user-select: none;
  pointer-events: none;
}

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 56px 24px 48px;
}

.page-header-inner {
  max-width: var(--max-w);
  margin-inline: auto;
}

.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.025em;
  margin-bottom: 10px;
}

.page-subtitle {
  font-size: 1rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.65;
}

.effective-date {
  display: block;
  margin-top: 14px;
  font-size: .8125rem;
  color: var(--muted);
}

/* ===== NOTICE BOX ===== */
.notice-box {
  background: #fefce8;
  border: 1px solid #fde047;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 36px;
  font-size: .875rem;
  color: #713f12;
  line-height: 1.55;
}

/* ===== LEGAL CONTENT ===== */
.legal-main {
  padding: 52px 24px 88px;
}

.legal-inner {
  max-width: 740px;
  margin-inline: auto;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.01em;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.legal-section p {
  font-size: .9375rem;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 10px;
}
.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: grid;
  gap: 8px;
}

.legal-section ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9375rem;
  color: var(--slate);
  line-height: 1.65;
}

.legal-section ul li::before {
  content: '–';
  color: var(--accent);
  flex-shrink: 0;
  font-weight: 700;
  margin-top: 1px;
}

.address-block {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: .9375rem;
  color: var(--slate);
  line-height: 2.1;
  font-style: normal;
}
.address-block a { color: var(--accent); text-decoration: none; }
.address-block a:hover { text-decoration: underline; }

/* ===== CONTACT PAGE ===== */
.contact-main {
  padding: 52px 24px 88px;
}

.contact-main-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.info-card-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--muted);
  margin-bottom: 24px;
}

.contact-row {
  display: grid;
  gap: 20px;
}

.contact-item {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; padding-bottom: 0; }

.ci-label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  margin-bottom: 4px;
}

.ci-value {
  font-size: .9375rem;
  color: var(--navy);
  font-weight: 500;
}
.ci-value a { color: var(--accent); text-decoration: none; }
.ci-value a:hover { text-decoration: underline; }

.sms-assist-card {
  background: var(--navy-2);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.sms-assist-card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.015em;
  margin-bottom: 12px;
}

.sms-assist-card > p {
  color: rgba(255,255,255,.68);
  font-size: .9375rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.sms-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.sms-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,.78);
  font-size: .875rem;
  line-height: 1.55;
}

.sms-list li::before {
  content: '→';
  color: rgba(47,111,235,.9);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== 404 PAGE ===== */
.error-page {
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
}

.error-inner { max-width: 480px; }

.error-code {
  font-size: clamp(5rem, 15vw, 8rem);
  font-weight: 900;
  color: var(--border);
  letter-spacing: -.05em;
  line-height: 1;
  margin-bottom: 12px;
}

.error-page h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.error-page p {
  color: var(--muted);
  font-size: .975rem;
  margin-bottom: 28px;
}

/* ===== SMS OPT-IN FORM ===== */
.optin-intro {
  margin-bottom: 2.5rem;
}

.optin-intro > p:first-child {
  font-size: .9375rem;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: .85rem;
}

.optin-category-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: grid;
  gap: 6px;
}

.optin-category-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9375rem;
  color: var(--slate);
  line-height: 1.55;
}

.optin-category-list li::before {
  content: '→';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.form-disclosure-note {
  font-size: .8125rem;
  color: var(--muted);
  line-height: 1.70;
  padding: 14px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.form-disclosure-note a { color: var(--accent); }

.optin-form { max-width: 500px; margin-top: 2.5rem; }

.form-group { margin-bottom: 1.5rem; }

.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .4rem;
}

.form-label .req {
  color: var(--accent);
  margin-left: .15rem;
}

.form-input {
  display: block;
  width: 100%;
  padding: .65rem .875rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: .9375rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47,111,235,.13);
}

.form-note {
  font-size: .775rem;
  color: var(--muted);
  margin-top: .35rem;
}

.form-check {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.form-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: .25rem;
  accent-color: var(--accent);
  cursor: pointer;
}

.form-check-label {
  font-size: .8375rem;
  color: var(--slate);
  line-height: 1.65;
  cursor: pointer;
}

.form-check-label a { color: var(--accent); }
.form-check-label strong { color: var(--navy); }

/* ===== CLIENT COMMUNICATIONS SECTION ===== */
.comms-section {
  padding: 72px 24px;
  background: var(--white);
}

.comms-inner {
  max-width: 800px;
  margin-inline: auto;
}

.comms-inner h2 {
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.02em;
  line-height: 1.25;
  margin-bottom: 14px;
}

.comms-body {
  font-size: .9375rem;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.comms-identity {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* ===== FOOTER LEFT BLOCK ===== */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-tagline {
  font-size: .75rem;
  color: rgba(255,255,255,.30);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .principles-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 28px;
  }

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

  .contact-main-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  h1 { font-size: 1.9rem; }
  .hero { padding: 56px 20px 48px; }
  .services-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .principles-card { padding: 28px 20px; }
  .comms-section { padding: 48px 20px; }
}

@media (max-width: 480px) {
  .header-inner { padding-inline: 16px; }
  .site-nav a { padding: 5px 8px; }
}
