/* ----------------------------------------------------------
   FONT: INTER (SELF-HOSTED)
---------------------------------------------------------- */
/* inter-100 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100;
  src: url('../fonts/inter-v20-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-100italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100;
  src: url('../fonts/inter-v20-latin-100italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/inter-v20-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-200italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 200;
  src: url('../fonts/inter-v20-latin-200italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/inter-v20-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/inter-v20-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/inter-v20-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/inter-v20-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/inter-v20-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/inter-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/inter-v20-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/inter-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/inter-v20-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/inter-v20-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-800italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 800;
  src: url('../fonts/inter-v20-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/inter-v20-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-900italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 900;
  src: url('../fonts/inter-v20-latin-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* ----------------------------------------------------------
   COLOUR SYSTEM — NEON MAGENTA-PURPLE
---------------------------------------------------------- */
:root {
  --accent: #bd32af;          /* neon magenta-purple */
  --accent-dark: #8a1f7f;     /* deeper shade */
  --accent-soft: #fde6fa;     /* pale tint */
}

/* ----------------------------------------------------------
   BASE
---------------------------------------------------------- */
body {
  margin: 0;
  background: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  color: #1f2933;
  line-height: 1.6;
}

.pw-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* ----------------------------------------------------------
   TOP BAR
---------------------------------------------------------- */
.pw-topbar {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.pw-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pw-brand {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #111111;
}

.pw-brand span {
  color: var(--accent);
}

.pw-logo {
  height: 96px;
  width: auto;
  display: block;
}

/* ----------------------------------------------------------
   HERO (SINGLE ROW)
---------------------------------------------------------- */
/* Hero row layout */
.pw-hero__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

/* Left side stays as-is */
.pw-hero__left {
  flex: 1;
}

/* Right side logo */
.pw-hero__right {
  flex-shrink: 0;
}

/* Full-size hero logo */
.pw-hero-logo {
  height: auto;
  width: 260px; /* adjust if needed */
  display: block;
}

.pw-hero__badge {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

/* ----------------------------------------------------------
   SIX-CARD GRID

.pw-grid--six {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  padding-bottom: 3rem;
}
---------------------------------------------------------- */
.pw-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}



/* ----------------------------------------------------------
   CARDS
---------------------------------------------------------- */

.pw-card {
  background: #fff;
  padding: 1.8rem 1.9rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08),
              0 4px 12px rgba(0,0,0,0.06);
}

.pw-card--feature {
  border-top: 4px solid var(--accent);
}

.pw-card--feature h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  color: #111111;
}

.pw-card--feature p {
  margin: 0 0 0.6rem 0;
  color: #4b5563;
}

.pw-tip {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: #6b7280;
}

.pw-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.pw-card-header {
  display: flex;
  align-items: center;   /* vertical alignment */
  gap: 8px;
  margin-bottom: 8px;
}

.pw-card-header h3 {
  margin: 0;             /* remove default h3 top/bottom margin */
  line-height: 1.2;      /* keeps text vertically centred */
}

/* Icon mappings */
.pw-icon--level       { background-image: url('../icons/outline/exclamation-triangle.svg'); }
.pw-icon--kev         { background-image: url('../icons/outline/shield-check.svg'); }
.pw-icon--ransomware  { background-image: url('../icons/outline/lock-closed.svg'); }
.pw-icon--epss { background-image: url('../icons/outline/chart-bar.svg'); }
.pw-icon--cisa        { background-image: url('../icons/outline/shield-exclamation.svg'); }
.pw-icon--summary     { background-image: url('../icons/outline/document-text.svg'); }
.pw-icon--wordpress     { background-image: url('../icons/outline/globe-alt.svg'); }
.pw-icon--malwarebazaar { background-image: url('../icons/outline/beaker.svg'); }
.pw-icon--threatfox     { background-image: url('../icons/outline/fire.svg'); }



#tw-level-card.low {
  border-top: 4px solid #2ecc71;
}

#tw-level-card.medium {
  border-top: 4px solid #f1c40f;
}

#tw-level-card.high {
  border-top: 4px solid #e74c3c;
}

/* Full-width hero card */
.pw-card--full {
  grid-column: 1 / -1;
  margin-bottom: 2rem;
}

/* 2×2 grid for the four signal cards */
.pw-grid--two-by-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}

/* Tablet */
@media (max-width: 900px) {
  .pw-grid--two-by-two {
    grid-template-columns: 1fr;
  }
}

.pw-trend {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.4rem 0 0.6rem 0;
  color: #111;
}

.pw-meaning {
  font-size: 1rem;
  margin: 0.4rem 0 1rem 0;
  color: #374151;
}

.pw-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.pw-card-link .pw-card {
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pw-card-link .pw-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}


/* ----------------------------------------------------------
   EXPLANATION SECTION
---------------------------------------------------------- */
.pw-explain {
  padding: 3.5rem 0 3rem 0;
  text-align: center;
}

.pw-explain h2 {
  margin: 0 0 0.75rem 0;
  font-size: 1.7rem;
  color: #111111;
}

.pw-explain p {
  max-width: 640px;
  margin: 0 auto;
  color: #4b5563;
}

/* ----------------------------------------------------------
   RISK LEGEND
---------------------------------------------------------- */

.pw-risk-key {
  margin-top: 2rem;
}

.pw-risk-key h4 {
  margin: 0 0 0.8rem 0;
  font-size: 1.2rem;
  color: #111;
}

.pw-risk-key ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pw-risk-key li {
  margin-bottom: 0.9rem;
  color: #374151;
  line-height: 1.4;
}

.rk {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  display: inline-block;
  margin-right: 0.4rem;
}

.rk-low { background: #2ecc71; }
.rk-medium { background: #f1c40f; }
.rk-high { background: #e74c3c; }



/* ----------------------------------------------------------
   FOOTER
---------------------------------------------------------- */
.pw-footer {
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 2.5rem 0 3rem 0;
  font-size: 0.9rem;
  color: #6b7280;
  text-align: center;
}

.pw-footer a {
  color: var(--accent);
  text-decoration: none;
}

/* ----------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------- */
@media (max-width: 768px) {
  .pw-hero {
    text-align: left;
  }
  
  .pw-hero__row {
    flex-direction: column;
    text-align: left;
  }

  .pw-hero-logo {
    width: 200px;
    margin-top: 1.5rem;
  }
}


