/* ============================================================
   Privacy Chick — Design System v2
   Font: Source Sans 3 (Source Sans Pro successor)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,300;0,400;0,600;0,700;0,900;1,300&display=swap');

:root {
  --teal:          #2D7D6F;
  --teal-dark:     #1E5C52;
  --teal-light:    #4AA090;
  --teal-pale:     #E8F4F2;
  --charcoal:      #2C3440;
  --charcoal-mid:  #4A5568;
  --amber:         #E8A020;
  --amber-pale:    #FEF3DC;
  --cream:         #F5F2ED;
  --warm-white:    #FDFBF8;
  --card-bg:       #FFFFFF;
  --border:        #E2DDD6;
  --text-body:     #3D3D3D;
  --text-light:    #6B7280;
  --shadow-sm:     0 2px 8px rgba(44,52,64,0.08);
  --shadow-md:     0 4px 20px rgba(44,52,64,0.13);
  --shadow-lg:     0 8px 40px rgba(44,52,64,0.18);
  --radius:        10px;
  --radius-lg:     16px;
  --nav-height:    72px;
  --font:          'Source Sans 3', 'Source Sans Pro', Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-body);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal-dark); text-decoration: underline; }
ul, ol { padding-left: 1.5rem; }

h1, h2, h3, h4, h5 {
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.25;
  color: var(--charcoal);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.05rem; font-weight: 600; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 0.6rem;
}

p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section--sm { padding: 3rem 0; }

/* NAV */
.site-nav {
  position: sticky; top: 0; z-index: 1000;
  background: var(--charcoal);
  height: var(--nav-height);
  display: flex; align-items: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.22);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
}
.nav-left { display: flex; align-items: center; gap: 0; flex: 1; }
.nav-logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 52px; width: auto; max-width: 220px; }
.nav-logo svg { flex-shrink: 0; }
.nav-logo-text { display: block; font-family: var(--font); font-size: 1.15rem; font-weight: 600; letter-spacing: 0.02em; color: #FFFFFF; white-space: nowrap; }
.nav-tagline { display: none; font-family: var(--font); font-size: 0.95rem; font-weight: 300; letter-spacing: 0.03em; color: rgba(255,255,255,0.60); white-space: nowrap; padding-left: 1rem; border-left: 1px solid rgba(255,255,255,0.2); margin-left: 0.4rem; }
@media (min-width: 640px) { .nav-tagline { display: block; } }
.nav-links { display: none; }
.nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.4rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #FFFFFF; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-drawer {
  display: none; position: fixed; top: var(--nav-height); right: 0; left: auto;
  background: var(--charcoal); z-index: 999; padding: 1rem 1.5rem 2rem;
  box-shadow: 0 12px 32px rgba(0,0,0,0.3); max-height: calc(100vh - var(--nav-height)); overflow-y: auto;
}
.nav-drawer.open { display: block; }
.nav-drawer a {
  display: block; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  color: rgba(255,255,255,0.8); padding: 0.7rem 0; border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s; text-decoration: none;
}
.nav-drawer a:hover { color: #FFFFFF; text-decoration: none; }
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.35); padding: 1.25rem 0 0.4rem; }

/* HERO */
.hero { position: relative; min-height: 540px; display: flex; align-items: center; overflow: hidden; background: var(--charcoal); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.32; }
.hero-bg-support { position: absolute; inset: 0; background: var(--charcoal); opacity: 1; }
.hero-content { position: relative; z-index: 1; max-width: 660px; padding: 5rem 0; }
.hero-content .eyebrow { color: rgba(255,255,255,0.65); }
.hero-content h1 { color: #FFFFFF; font-weight: 700; margin-bottom: 1.25rem; }
.hero-content h1 em { font-style: normal; color: var(--teal-light); }
.hero-content p { color: rgba(255,255,255,0.78); font-size: 1.15rem; font-weight: 300; margin-bottom: 2rem; max-width: 520px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* BUTTONS */
.btn { display: inline-block; padding: 0.72rem 1.6rem; border-radius: 6px; font-family: var(--font); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; cursor: pointer; border: 2px solid transparent; transition: all 0.2s; text-decoration: none; }
.btn-primary { background: var(--teal); color: #FFFFFF; border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #FFFFFF; text-decoration: none; }
.btn-outline { background: transparent; color: #FFFFFF; border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.85); color: #FFFFFF; text-decoration: none; }
.btn-outline-teal { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline-teal:hover { background: var(--teal); color: #FFFFFF; text-decoration: none; }

/* CARDS */
.cards-section { background: var(--cream); padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--text-light); max-width: 540px; margin: 0 auto; font-size: 1.05rem; }
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.card { background: var(--card-bg); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); text-decoration: none; }
.card-image { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--charcoal); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card-image::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--card-overlay, rgba(45,125,111,0.72));
  transition: opacity 0.4s ease;
  opacity: 1;
}
.card:hover .card-image::after { opacity: 0; }
.card:hover .card-image img { transform: scale(1.06); }
.card-badge { position: absolute; top: 0.75rem; left: 0.75rem; font-size: 0.63rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.22rem 0.55rem; border-radius: 4px; color: #FFFFFF; z-index: 2; }
.badge-critical  { background: #C0392B; }   /* Critical — red */
.badge-important { background: #2D6FA8; }   /* Important — blue */
.badge-easy      { background: #27AE60; }   /* Easy Win — green */
.badge-advanced  { background: #5D6D7E; }   /* Advanced — slate grey */
.card-body { padding: 1rem 1.1rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 0.95rem; font-weight: 600; color: var(--charcoal); margin-bottom: 0.3rem; }
.card-body p { font-size: 0.85rem; color: var(--text-light); line-height: 1.55; flex: 1; margin-bottom: 0.75rem; }
.card-link { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--teal); display: flex; align-items: center; gap: 0.3rem; }
.card-link::after { content: '\2192'; transition: transform 0.2s; }
.card:hover .card-link::after { transform: translateX(3px); }

/* ABOUT STRIP */
.about-strip { background: var(--charcoal); color: #FFFFFF; padding: 5rem 0; }
.about-strip-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-strip h2 { color: #FFFFFF; margin-bottom: 1rem; }
.about-strip p { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 1.25rem; }
.about-strip-image { display: flex; align-items: center; justify-content: center; padding: 1rem; }
.about-strip-image img { width: 75%; height: auto; object-fit: contain; display: block; }
.about-strip-image svg { width: 220px; height: 220px; flex-shrink: 0; }

/* PAGE HERO */
.page-hero { position: relative; background: var(--charcoal); overflow: hidden; padding: 4rem 0 3.5rem; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.28; }
.page-hero-content { position: relative; z-index: 1; max-width: 700px; }
.page-hero-content .eyebrow { color: rgba(255,255,255,0.6); }
.page-hero-content h1 { color: #FFFFFF; font-size: clamp(1.8rem, 4vw, 2.75rem); margin-bottom: 0.75rem; }
.page-hero-content p { color: rgba(255,255,255,0.75); font-size: 1.1rem; font-weight: 300; margin-bottom: 0; }

/* ANCHOR NAV — removed */

/* REC BOX */
.rec-box { background: var(--teal-pale); border: 1px solid rgba(45,125,111,0.22); border-radius: var(--radius-lg); padding: 2.5rem; text-align: center; margin: 2.5rem 0; }
.rec-box .eyebrow { margin-bottom: 0.4rem; }
.rec-logo { width: 72px; height: 72px; object-fit: contain; border-radius: 16px; margin: 0.75rem auto 1rem; display: block; box-shadow: 0 2px 12px rgba(0,0,0,0.12); }
.rec-box h2 { font-size: 1.85rem; color: var(--charcoal); margin-bottom: 0.5rem; }
.rec-box p { color: var(--charcoal-mid); max-width: 500px; margin: 0 auto 1.5rem; font-size: 1rem; }

/* TABS */
.tabs-nav { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 0; }
.tab-btn { font-family: var(--font); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light); background: none; border: none; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: 0.85rem 1.4rem; cursor: pointer; transition: color 0.2s, border-color 0.2s; display: flex; align-items: center; gap: 0.4rem; }
.tab-btn:hover { color: var(--charcoal); }
.tab-btn.active { color: var(--teal); border-bottom-color: var(--teal); }
.tab-panel { display: none; padding-top: 2rem; }
.tab-panel.active { display: block; }

/* STEPS */
.steps-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.step { display: flex; gap: 1.25rem; align-items: flex-start; }
.step-num { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: #FFFFFF; font-size: 0.88rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 0.1rem; }
.step-content h4 { font-size: 1rem; font-weight: 600; color: var(--charcoal); margin-bottom: 0.25rem; }
.step-content p { font-size: 0.95rem; color: var(--text-body); margin-bottom: 0; }

/* CALLOUTS */
.callout { border-radius: var(--radius); padding: 1.2rem 1.4rem; margin: 1.5rem 0; display: flex; gap: 1rem; align-items: flex-start; }
.callout-icon { font-size: 1.15rem; flex-shrink: 0; margin-top: 0.1rem; }
.callout-body { flex: 1; }
.callout-body strong { display: block; margin-bottom: 0.2rem; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.callout-body p { font-size: 0.93rem; margin-bottom: 0; }
.callout-tip { background: var(--teal-pale); border-left: 4px solid var(--teal); }
.callout-tip .callout-body strong { color: var(--teal); }
.callout-warn { background: var(--amber-pale); border-left: 4px solid var(--amber); }
.callout-warn .callout-body strong { color: #9A6A10; }
.callout-danger { background: #FEE8E8; border-left: 4px solid #D94040; }
.callout-danger .callout-body strong { color: #B03030; }

/* SERVICE LINKS */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.65rem; margin: 1.5rem 0; }
.service-link { display: flex; align-items: center; justify-content: center; padding: 0.65rem 0.9rem; background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.86rem; font-weight: 600; color: var(--charcoal); text-align: center; transition: background 0.2s, border-color 0.2s, color 0.2s; text-decoration: none; }
.service-link:hover { background: var(--teal-pale); border-color: var(--teal); color: var(--teal-dark); text-decoration: none; }

/* FURTHER READING */
.further-reading { background: var(--cream); border-radius: var(--radius-lg); padding: 1.75rem 2rem; margin-top: 2.5rem; }
.further-reading h3 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-light); margin-bottom: 1rem; }
.further-reading ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.further-reading li { display: flex; flex-direction: column; gap: 0.1rem; }
.further-reading li a { font-size: 0.93rem; color: var(--teal); display: flex; align-items: baseline; gap: 0.4rem; }
.further-reading li a::before { content: '\2192'; font-size: 0.78rem; flex-shrink: 0; }
.further-reading li a:hover { color: var(--teal-dark); }
.further-reading .source { font-size: 0.78rem; color: var(--text-light); font-style: italic; padding-left: 1.1rem; }

/* PAGE CONTENT */
.page-content { padding: 3.5rem 0 5rem; }
.content-grid { display: grid; grid-template-columns: 1fr 270px; gap: 3rem; align-items: start; }
.content-main { min-width: 0; }
.content-sidebar { position: sticky; top: calc(var(--nav-height) + 2rem); }
.sidebar-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.4rem; margin-bottom: 1.25rem; }
.sidebar-card h4 { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-light); margin-bottom: 0.75rem; }
.sidebar-card ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.sidebar-card ul li a { font-size: 0.88rem; color: var(--charcoal-mid); transition: color 0.2s; }
.sidebar-card ul li a:hover { color: var(--teal); text-decoration: none; }
.content-section { margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border); }
.content-section:last-child { border-bottom: none; margin-bottom: 0; }
.content-section h2 { font-size: 1.45rem; margin-bottom: 1rem; }

/* FOOTER */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.65); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand-name { font-family: var(--font); font-size: 1.05rem; font-weight: 600; letter-spacing: 0.05em; color: #FFFFFF; display: block; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.65; color: rgba(255,255,255,0.55); max-width: 260px; }
.footer-col h4 { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.38); margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a { font-size: 0.86rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col ul li a:hover { color: #FFFFFF; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: #FFFFFF; text-decoration: none; }

/* RESPONSIVE */
@media (max-width: 1200px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .content-grid { grid-template-columns: 1fr; }
  .content-sidebar { position: static; }
  .about-strip-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .cards-grid { grid-template-columns: 1fr; }
  .hero { min-height: 420px; }
  .section { padding: 3.5rem 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-strip-image { height: 240px; }
  .rec-box { padding: 1.75rem 1.25rem; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { text-align: center; }
  .step { gap: 0.9rem; }
  .step-num { width: 30px; height: 30px; font-size: 0.8rem; }
  .tabs-nav { overflow-x: auto; scrollbar-width: none; }
  .tab-btn { padding: 0.75rem 1rem; font-size: 0.78rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
