/* CyberSafeCheck — theme-scoped styles (auto-generated). All selectors under .csc-root */
.csc-root {
  --navy: #0b1f3a;
  --navy-2: #12325c;
  --teal: #14b8a6;
  --teal-dark: #0f9488;
  --cyan: #38bdf8;
  --bg: #f5f7fa;
  --card: #ffffff;
  --ink: #1a2433;
  --muted: #5b6b80;
  --line: #e2e8f0;
  --green: #16a34a;
  --amber: #f59e0b;
  --red: #dc2626;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 31, 58, 0.14);
  --radius: 16px;
  --maxw: 1100px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}


.csc-root * { box-sizing: border-box; }


.csc-root { scroll-behavior: smooth; }


.csc-root {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}


.csc-root a { color: var(--teal-dark); text-decoration: none; }

.csc-root a:hover { text-decoration: underline; }


.csc-root .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }



.csc-root .site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.csc-root .site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.csc-root .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: #fff; }

.csc-root .brand:hover { text-decoration: none; }

.csc-root .brand .logo { width: 30px; height: 30px; }

.csc-root .site-header nav { display: flex; gap: 22px; align-items: center; }

.csc-root .site-header nav a { color: #cdd9ea; font-size: 15px; }

.csc-root .site-header nav a:hover { color: #fff; text-decoration: none; }

.csc-root .header-cta {
  background: var(--teal);
  color: #fff !important;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
}

.csc-root .header-cta:hover { background: var(--teal-dark); }



.csc-root .hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 70%, #16407a 100%);
  color: #fff;
  padding: 72px 0 84px;
  position: relative;
  overflow: hidden;
}

.csc-root .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(56,189,248,0.16), transparent 40%),
                    radial-gradient(circle at 85% 60%, rgba(20,184,166,0.18), transparent 45%);
  pointer-events: none;
}

.csc-root .hero .wrap { position: relative; z-index: 1; }

.csc-root .hero .pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: #d8e6f7; margin-bottom: 20px;
}

.csc-root .hero h1 { font-size: 44px; line-height: 1.12; margin: 0 0 16px; font-weight: 800; letter-spacing: -0.5px; }

.csc-root .hero p.lead { font-size: 20px; color: #c7d6ea; max-width: 660px; margin: 0 0 30px; }

.csc-root .hero .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }


.csc-root .btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: none; cursor: pointer;
  padding: 14px 26px; border-radius: 999px;
  font-size: 16px; font-weight: 600; font-family: var(--font);
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
  text-decoration: none;
}

.csc-root .btn:hover { text-decoration: none; transform: translateY(-1px); }

.csc-root .btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(20,184,166,0.35); }

.csc-root .btn-primary:hover { background: var(--teal-dark); }

.csc-root .btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.25); }

.csc-root .btn-ghost:hover { background: rgba(255,255,255,0.2); }

.csc-root .btn-light { background: #fff; color: var(--navy); }

.csc-root .btn-outline { background: transparent; color: var(--teal-dark); border: 2px solid var(--teal); }

.csc-root .btn-lg { padding: 16px 32px; font-size: 17px; }

.csc-root .btn-block { width: 100%; justify-content: center; }

.csc-root .btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }



.csc-root .trust-row {
  display: flex; gap: 28px; flex-wrap: wrap;
  margin-top: 40px; color: #9fb4d0; font-size: 14px;
}

.csc-root .trust-row span { display: inline-flex; align-items: center; gap: 8px; }



.csc-root section.block { padding: 64px 0; }

.csc-root .section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }

.csc-root .section-head h2 { font-size: 32px; margin: 0 0 12px; font-weight: 800; letter-spacing: -0.4px; }

.csc-root .section-head p { font-size: 18px; color: var(--muted); margin: 0; }

.csc-root .eyebrow { color: var(--teal-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 13px; }



.csc-root .grid { display: grid; gap: 22px; }

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

.csc-root .grid-3 { grid-template-columns: repeat(3, 1fr); }

.csc-root .grid-4 { grid-template-columns: repeat(4, 1fr); }


.csc-root .card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.csc-root .card.hoverable:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }


.csc-root .test-card { display: flex; flex-direction: column; }

.csc-root .test-card .icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center; font-size: 26px;
  background: linear-gradient(135deg, #e7fbf7, #d3f4ee);
  margin-bottom: 16px;
}

.csc-root .test-card h3 { margin: 0 0 6px; font-size: 20px; }

.csc-root .test-card p { color: var(--muted); margin: 0 0 18px; flex: 1; font-size: 15px; }

.csc-root .test-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }

.csc-root .tag {
  font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 6px;
  background: #eef2f7; color: #46566b; letter-spacing: .2px;
}

.csc-root .tag.e8 { background: #e7f0ff; color: #1e4fb0; }

.csc-root .tag.iso { background: #f3e8ff; color: #7e3bc4; }

.csc-root .tag.priv { background: #e7fbf7; color: #0f7e72; }

.csc-root .tag.smb { background: #fff3e0; color: #b9731a; }

.csc-root .tag.pci { background: #fde8e8; color: #b91c1c; }


.csc-root .test-card .depth-row { display: flex; gap: 10px; }

.csc-root .depth-row .btn { flex: 1; padding: 11px 14px; font-size: 14px; justify-content: center; }



.csc-root .industry-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }

.csc-root .industry-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 20px; display: flex; align-items: center; gap: 14px;
  cursor: pointer; transition: all .14s ease;
  color: var(--ink);
}

.csc-root .industry-card:hover { border-color: var(--teal); box-shadow: var(--shadow); text-decoration: none; transform: translateY(-2px); }

.csc-root .industry-card .ico { font-size: 28px; }

.csc-root .industry-card .meta strong { display: block; font-size: 16px; }

.csc-root .industry-card .meta small { color: var(--muted); font-size: 13px; }



.csc-root .steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }

.csc-root .step { text-align: center; }

.csc-root .step .num {
  width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 18px;
}

.csc-root .step h4 { margin: 0 0 6px; font-size: 18px; }

.csc-root .step p { color: var(--muted); margin: 0; font-size: 15px; }



.csc-root .site-footer { background: var(--navy); color: #9fb4d0; padding: 40px 0; margin-top: 40px; font-size: 14px; }

.csc-root .site-footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }

.csc-root .site-footer a { color: #cdd9ea; }



.csc-root .assess-shell { max-width: 820px; margin: 0 auto; padding: 32px 20px 80px; }


.csc-root .assess-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px; flex-wrap: wrap; gap: 12px;
}

.csc-root .assess-top .back { color: var(--muted); font-size: 14px; }

.csc-root .assess-title h1 { font-size: 26px; margin: 4px 0 4px; }

.csc-root .assess-title .sub { color: var(--muted); font-size: 15px; }


.csc-root .progress-wrap { margin: 18px 0 28px; }

.csc-root .progress-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 8px; }

.csc-root .progress-bar { height: 8px; background: #e3e9f1; border-radius: 999px; overflow: hidden; }

.csc-root .progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--teal), var(--cyan)); border-radius: 999px; transition: width .3s ease; }


.csc-root .panel {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px;
}



.csc-root .intro-cats { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin: 22px 0 26px; }

.csc-root .intro-cat { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfe; }

.csc-root .intro-cat .ci { font-size: 22px; }

.csc-root .intro-cat strong { display: block; font-size: 15px; }

.csc-root .intro-cat small { color: var(--muted); font-size: 13px; }


.csc-root .field { margin-bottom: 16px; }

.csc-root .field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }

.csc-root .field label .req { color: var(--red); }

.csc-root .field input, .csc-root .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; font-size: 15px; font-family: var(--font); background: #fff;
}

.csc-root .field input:focus, .csc-root .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20,184,166,0.15); }

.csc-root .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }



.csc-root .q-category {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--teal-dark);
  text-transform: uppercase; letter-spacing: .6px; margin-bottom: 10px;
}

.csc-root .q-framework {
  display: inline-block; font-size: 12px; color: var(--muted);
  background: #f1f5f9; padding: 3px 9px; border-radius: 6px; margin-bottom: 14px;
}

.csc-root .q-text { font-size: 21px; font-weight: 700; line-height: 1.35; margin: 0 0 6px; }

.csc-root .q-help { color: var(--muted); font-size: 15px; margin: 0 0 22px; }


.csc-root .options { display: flex; flex-direction: column; gap: 12px; }

.csc-root .option {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border: 2px solid var(--line); border-radius: 12px;
  cursor: pointer; transition: all .12s ease; background: #fff;
}

.csc-root .option:hover { border-color: var(--teal); background: #f7fdfc; }

.csc-root .option.selected { border-color: var(--teal); background: #ecfbf8; box-shadow: 0 0 0 3px rgba(20,184,166,0.12); }

.csc-root .option .dot {
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cbd5e1;
  flex-shrink: 0; display: grid; place-items: center; transition: all .12s ease;
}

.csc-root .option.selected .dot { border-color: var(--teal); background: var(--teal); }

.csc-root .option.selected .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }

.csc-root .option .otext { font-size: 16px; font-weight: 500; }

.csc-root .option .ohint { font-size: 13px; color: var(--muted); display: block; }


.csc-root .q-nav { display: flex; justify-content: space-between; margin-top: 28px; gap: 12px; }



.csc-root .score-hero { text-align: center; padding: 10px 0 6px; }

.csc-root .gauge { position: relative; width: 220px; height: 220px; margin: 0 auto 10px; }

.csc-root .gauge svg { transform: rotate(-90deg); }

.csc-root .gauge .score-num { position: absolute; inset: 0; display: grid; place-items: center; flex-direction: column; }

.csc-root .gauge .score-num .n { font-size: 56px; font-weight: 800; line-height: 1; }

.csc-root .gauge .score-num .l { font-size: 14px; color: var(--muted); }

.csc-root .rating-badge {
  display: inline-block; padding: 8px 22px; border-radius: 999px;
  font-weight: 700; font-size: 18px; margin-top: 8px;
}

.csc-root .rating-strong { background: #dcfce7; color: #15803d; }

.csc-root .rating-good { background: #d1fae5; color: #047857; }

.csc-root .rating-fair { background: #fef3c7; color: #b45309; }

.csc-root .rating-weak { background: #fee2e2; color: #b91c1c; }


.csc-root .cat-breakdown { margin: 30px 0; }

.csc-root .cat-row { margin-bottom: 16px; }

.csc-root .cat-row .cat-label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; margin-bottom: 6px; }

.csc-root .cat-row .cat-label .pct { color: var(--muted); font-weight: 600; }

.csc-root .cat-bar { height: 10px; background: #e9eef5; border-radius: 999px; overflow: hidden; }

.csc-root .cat-bar .fill { height: 100%; border-radius: 999px; transition: width .6s ease; }

.csc-root .fill-green { background: var(--green); }

.csc-root .fill-amber { background: var(--amber); }

.csc-root .fill-red { background: var(--red); }


.csc-root .recs { margin-top: 10px; }

.csc-root .rec {
  display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line);
  border-radius: 12px; margin-bottom: 12px; background: #fff;
}

.csc-root .rec .pri {
  flex-shrink: 0; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 6px;
  height: fit-content; text-transform: uppercase; letter-spacing: .3px;
}

.csc-root .pri-high { background: #fee2e2; color: #b91c1c; }

.csc-root .pri-med { background: #fef3c7; color: #b45309; }

.csc-root .pri-low { background: #e0f2fe; color: #0369a1; }

.csc-root .rec h4 { margin: 0 0 4px; font-size: 16px; }

.csc-root .rec p { margin: 0; color: var(--muted); font-size: 14px; }

.csc-root .rec .rec-fw { font-size: 12px; color: var(--teal-dark); font-weight: 600; margin-top: 6px; display: inline-block; }


.csc-root .results-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0; }


.csc-root .lead-box {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff; border-radius: var(--radius); padding: 30px; margin-top: 26px;
}

.csc-root .lead-box h3 { margin: 0 0 6px; font-size: 22px; }

.csc-root .lead-box p { color: #c7d6ea; margin: 0 0 20px; }

.csc-root .lead-box .field label { color: #dfe9f5; }

.csc-root .lead-box .field input, .csc-root .lead-box .field select { background: rgba(255,255,255,0.96); }

.csc-root .lead-note { font-size: 13px; color: #9fb4d0; margin-top: 12px; display: flex; align-items: center; gap: 8px; }


.csc-root .callout {
  background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af;
  padding: 14px 18px; border-radius: 10px; font-size: 14px; margin: 18px 0;
}

.csc-root .hidden { display: none !important; }



@media (max-width: 860px) {

    .csc-root .grid-3, .csc-root .grid-4, .csc-root .industry-grid, .csc-root .steps { grid-template-columns: 1fr 1fr; }

    .csc-root .hero h1 { font-size: 34px; }

    .csc-root .site-header nav { gap: 14px; }

}

@media (max-width: 600px) {

    .csc-root .grid-2, .csc-root .grid-3, .csc-root .grid-4, .csc-root .industry-grid, .csc-root .steps, .csc-root .intro-cats, .csc-root .field-row { grid-template-columns: 1fr; }

    .csc-root .hero { padding: 52px 0 60px; }

    .csc-root .hero h1 { font-size: 28px; }

    .csc-root .hero p.lead { font-size: 17px; }

    .csc-root .panel { padding: 22px; }

    .csc-root .site-header nav a:not(.header-cta) { display: none; }

    .csc-root .q-text { font-size: 19px; }

    .csc-root .depth-row { flex-direction: column; }

}


/* Hide the theme's redundant page title on the homepage (the tool provides its own hero) */
body.home .wp-block-post-title { display: none; }
