/* ==========================================================================
   UrlTestly — Website Reputation Scanner
   Shared stylesheet (fonts are loaded via <link> in the layout head)
   ========================================================================== */

:root {
  /* Core palette — "inspection instrument" */
  --ink: #0A1628;
  /* deep navy ink */
  --ink-2: #0F1E33;
  /* raised navy */
  --ink-3: #16273f;
  /* card on navy */
  --line-navy: #22354f;

  --paper: #F7F8FA;
  /* off-white */
  --paper-2: #ECEFF3;
  /* slightly deeper */
  --white: #FFFFFF;

  --teal: #0FB5A0;
  /* scanner signal */
  --teal-deep: #0A8577;
  --teal-glow: #14E0C6;

  --ink-text: #0B1524;
  --muted: #5A6b80;
  --muted-2: #8A97A8;
  --muted-navy: #93A6BF;

  /* Scoring semantics */
  --excellent: #16A46B;
  --low: #35B37E;
  --caution: #E0A421;
  --suspicious: #E4772E;
  --high: #DC3B4B;

  --border: #DDE2E9;
  --border-2: #C9D0D9;

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(10, 22, 40, .06), 0 2px 8px rgba(10, 22, 40, .04);
  --shadow-md: 0 4px 14px rgba(10, 22, 40, .08), 0 10px 34px rgba(10, 22, 40, .06);
  --shadow-lg: 0 18px 50px rgba(10, 22, 40, .14);

  --maxw: 1180px;

  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --display: 'Space Grotesk', 'Inter', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

::selection {
  background: var(--teal-glow);
  color: var(--ink);
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink-text);
  margin: 0;
}

.mono {
  font-family: var(--mono);
}

/* ---------- Focus & motion accessibility ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Top navigation
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 250, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--ink-text);
}

.brand svg {
  flex: none;
}

.brand-logo {
  display: block;
  height: 36px;
  width: auto;
}

.brand span b {
  color: var(--teal-deep);
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: 8px;
}

.nav-links a {
  font-size: .93rem;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 13px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}

.nav-links a:hover {
  background: var(--paper-2);
  color: var(--ink-text);
}

.nav-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-2);
  border-radius: 8px;
  width: 42px;
  height: 40px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  stroke: var(--ink-text);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .94rem;
  padding: 8px 15px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease;
}

.btn-primary {
  background: var(--teal);
  color: #032b26;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 6px 18px rgba(15, 181, 160, .28);
}

.btn-primary:hover {
  background: var(--teal-glow);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-text);
  border-color: var(--border-2);
}

.btn-ghost:hover {
  background: var(--paper-2);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1.02rem;
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--ink-2);
  transform: translateY(-1px);
}

/* ==========================================================================
   Reusable section bits
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--teal-deep);
  padding: 5px 11px;
  border: 1px solid var(--border-2);
  border-radius: 100px;
  background: var(--white);
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 181, 160, .18);
}

.section {
  padding: 70px 0;
}

.section-sm {
  padding: 60px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.25rem);
  margin-bottom: 16px;
}

.section-head p {
  font-size: 1.08rem;
  color: var(--muted);
  margin: 0;
}

.lead {
  font-size: 1.18rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(15, 181, 160, .14), transparent 60%),
    radial-gradient(760px 460px at 10% 4%, rgba(20, 224, 198, .08), transparent 62%),
    linear-gradient(180deg, #08111f 0%, var(--ink) 46%, #0b1a2e 100%);
  color: #fff;
  padding: 74px 0 92px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(680px 340px at 82% -6%, rgba(15, 181, 160, .10), transparent 62%),
    radial-gradient(520px 320px at 6% 8%, rgba(20, 224, 198, .06), transparent 64%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .03em;
  color: var(--teal-glow);
  border: 1px solid rgba(20, 224, 198, .26);
  padding: 6px 13px;
  border-radius: 100px;
  background: rgba(20, 224, 198, .06);
}

.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-glow);
  box-shadow: 0 0 10px 1px var(--teal-glow);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .35;
  }
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal-glow);
}

.hero p.lead {
  color: var(--muted-navy);
  max-width: 520px;
  margin-bottom: 30px;
}

.scan-box {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 8px;
  display: flex;
  gap: 8px;
  max-width: 560px;
  box-shadow: var(--shadow-lg);
}

.scan-box .field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
}

.scan-box .field svg {
  flex: none;
  opacity: .6;
}

.scan-box input {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--mono);
  font-size: 1rem;
  padding: 15px 0;
  outline: none;
  letter-spacing: -0.01em;
}

.scan-box input::placeholder {
  color: #6a7d95;
}

.hero-note {
  margin-top: 16px;
  font-size: .87rem;
  color: var(--muted-navy);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
}

.hero-note span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  margin-right: 9px;
  flex: none;
}

.hero-examples {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: var(--muted-navy);
}

.hero-examples b {
  font-weight: 500;
  color: #b9c6d6;
}

.hero-examples a {
  font-family: var(--mono);
  font-size: .82rem;
  color: var(--teal-glow);
  border-bottom: 1px dashed rgba(20, 224, 198, .4);
  padding-bottom: 1px;
}

/* Hero report card / gauge */
.hero-report {
  background: linear-gradient(180deg, #12233a, #0e1c30);
  border: 1px solid var(--line-navy);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hr-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.hr-domain {
  font-family: var(--mono);
  font-size: .95rem;
  color: #cdd9e6;
}

.hr-badge {
  font-family: var(--mono);
  font-size: .72rem;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(53, 179, 126, .16);
  color: #7ee6b3;
  border: 1px solid rgba(53, 179, 126, .3);
}

.gauge-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
}

.gauge {
  position: relative;
  width: 150px;
  height: 150px;
  flex: none;
}

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

.gauge-val {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gauge-val b {
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}

.gauge-val small {
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--muted-navy);
  margin-top: 3px;
  letter-spacing: .05em;
}

.hr-signals {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.sig {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: #c6d2df;
}

.sig::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}

.sig.ok::before {
  background: #35B37E;
}

.sig.warn::before {
  background: #E0A421;
}

.hr-foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-navy);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--muted-navy);
}

/* trust bar under hero */
.trust-strip {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 60px;
  padding-top: 30px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-strip p {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: #64788f;
  margin: 0;
  text-transform: uppercase;
}

.trust-strip .stat {
  text-align: center;
}

.trust-strip .stat b {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  color: #fff;
}

.trust-strip .stat span {
  font-size: .8rem;
  color: var(--muted-navy);
}

/* ==========================================================================
   Feature grid — checks
   ========================================================================== */
.checks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.check-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}

.check-card:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.check-card {
  position: relative;
}

.check-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-glow));
  opacity: .85;
}

.check-card h3::before {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  background: var(--teal);
  margin-bottom: 14px;
  opacity: .5;
}

.check-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
  letter-spacing: -.01em;
}

.check-card p {
  font-size: .93rem;
  color: var(--muted);
  margin: 0;
}

/* Icon chips — inline Lucide icons in a tinted rounded container.
   When a card carries an .ic-chip, its decorative mini-rule is dropped. */
.ic-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(15, 181, 160, .09);
  color: var(--teal-deep);
  border: 1px solid rgba(15, 181, 160, .18);
  margin-bottom: 16px;
  flex: none;
  transition: background .18s, color .18s, border-color .18s;
}

.ic-chip .ui-icon {
  width: 22px;
  height: 22px;
}

.ic-chip.sm {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.ic-chip.sm .ui-icon {
  width: 20px;
  height: 20px;
}

.check-card:has(.ic-chip) h3::before,
.value-item:has(.ic-chip) h3::before {
  display: none;
}

.check-card:hover .ic-chip {
  background: var(--teal);
  color: #04231f;
  border-color: var(--teal);
}

/* Inline icon + heading row (used on wider cards) */
.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.card-head .ic-chip {
  margin-bottom: 0;
}

.card-head h3 {
  margin: 0;
}

/* Job row: icon + title/meta block */
.job-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.job-main .ic-chip {
  margin-bottom: 0;
}

.job-main h3 {
  margin-bottom: 4px;
}

/* ==========================================================================
   Scoring / how it works
   ========================================================================== */
.band-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.band {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}

.band:last-child {
  border-bottom: none;
}

.band .rng {
  font-family: var(--mono);
  font-weight: 600;
  font-size: .95rem;
}

.band .lbl {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
}

.band .desc {
  color: var(--muted);
  font-size: .9rem;
}

.band .chip {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.band-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 0;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 12px;
  right: 2px;
  left: auto;
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--muted-2);
  font-weight: 600;
}

.step .bar {
  height: 3px;
  background: var(--border-2);
  border-radius: 3px;
  margin-bottom: 18px;
  position: relative;
}

.step .bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 40%;
  background: var(--teal);
  border-radius: 3px;
}

.step h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.step p {
  font-size: .9rem;
  color: var(--muted);
  margin: 0;
}

/* ==========================================================================
   Sample report block (dark panel)
   ========================================================================== */
.report-panel {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
  border: 1px solid var(--line-navy);
  background-image: radial-gradient(600px 300px at 85% 0%, rgba(15, 181, 160, .12), transparent 60%);
}

.rp-rows {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.rp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 16px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-navy);
  border-radius: 10px;
  font-size: .9rem;
}

.rp-row .k {
  color: var(--muted-navy);
}

.rp-row .v {
  font-family: var(--mono);
  color: #dde7f0;
}

.rp-row .v.good {
  color: #7ee6b3;
}

.rp-row .v.warn {
  color: #f0c65f;
}

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #0d3d38 0%, var(--teal-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 54px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(500px 240px at 88% -20%, rgba(20, 224, 198, .18), transparent 66%);
  opacity: 1;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin-bottom: 14px;
  position: relative;
}

.cta-banner p {
  color: rgba(255, 255, 255, .82);
  max-width: 520px;
  margin: 0 auto 28px;
  position: relative;
  font-size: 1.05rem;
}

.cta-inline {
  display: flex;
  gap: 8px;
  max-width: 500px;
  margin: 0 auto;
  background: rgba(255, 255, 255, .14);
  padding: 7px;
  border-radius: 12px;
  position: relative;
}

.cta-inline input {
  flex: 1;
  background: rgba(0, 0, 0, .2);
  border: none;
  border-radius: 8px;
  padding: 13px 16px;
  color: #fff;
  font-family: var(--mono);
  font-size: .95rem;
  outline: none;
}

.cta-inline input::placeholder {
  color: rgba(255, 255, 255, .55);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--ink);
  color: var(--muted-navy);
  padding: 66px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 40px;
}

.footer .brand {
  color: #fff;
  margin-bottom: 16px;
}

.footer-about {
  font-size: .9rem;
  color: #7e91a8;
  max-width: 280px;
  line-height: 1.6;
}

.footer h4 {
  color: #fff;
  font-family: var(--sans);
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer ul a {
  font-size: .9rem;
  color: #8fa0b6;
  transition: color .15s;
}

.footer ul a:hover {
  color: var(--teal-glow);
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--line-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .84rem;
  color: #6a7d95;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 720px;
  line-height: 1.6;
}

.footer-legal .footer-disclaimer {
  color: #55677d;
}

.footer-bottom {
  align-items: flex-start;
}

.footer-bottom .socials {
  display: flex;
  gap: 12px;
}

.footer-bottom .socials a {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-navy);
  border-radius: 8px;
  display: grid;
  place-items: center;
  transition: border-color .15s, color .15s;
}

.footer-bottom .socials a:hover {
  border-color: var(--teal);
  color: var(--teal-glow);
}

/* ==========================================================================
   Generic page hero (inner pages)
   ========================================================================== */
.page-hero {
  background: linear-gradient(180deg, #08111f, var(--ink));
  color: #fff;
  padding: 64px 0 58px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-navy);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(560px 280px at 82% -10%, rgba(15, 181, 160, .10), transparent 64%);
  pointer-events: none;
}

.page-hero .eyebrow {
  background: rgba(20, 224, 198, .06);
  border-color: rgba(20, 224, 198, .24);
  color: var(--teal-glow);
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  margin: 18px 0 14px;
  position: relative;
}

.page-hero p {
  color: var(--muted-navy);
  font-size: 1.12rem;
  max-width: 620px;
  margin: 0;
  position: relative;
}

.crumbs {
  position: relative;
  font-family: var(--mono);
  font-size: .78rem;
  color: #64788f;
  display: flex;
  gap: 8px;
}

.crumbs a:hover {
  color: var(--teal-glow);
}

/* Prose (legal / article) */
.prose {
  max-width: 760px;
}

.prose h2 {
  font-size: 1.5rem;
  margin: 42px 0 14px;
}

.prose h3 {
  font-size: 1.15rem;
  margin: 28px 0 10px;
}

.prose p {
  color: #34435a;
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.72;
}

.prose ul,
.prose ol {
  color: #34435a;
  padding-left: 22px;
  margin: 0 0 18px;
  line-height: 1.7;
}

.prose li {
  margin-bottom: 8px;
}

.prose a {
  color: var(--teal-deep);
  border-bottom: 1px solid rgba(15, 181, 160, .35);
}

.prose strong {
  color: var(--ink-text);
}

.prose .updated {
  font-family: var(--mono);
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 34px;
}

.toc {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 34px;
}

.toc h4 {
  font-family: var(--sans);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: 12px;
}

.toc ol {
  margin: 0;
  padding-left: 0;
  columns: 2;
  gap: 20px;
  list-style: none;
}

.toc li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 3px;
  break-inside: avoid;
}

/* Icon marker instead of a number, so the list never double-numbers and the
   entry text (with or without its own numbering) is shown verbatim. */
.toc li::before {
  content: "›";
  position: absolute;
  left: 3px;
  top: -1px;
  color: var(--teal-deep);
  font-weight: 700;
}

.toc a {
  font-size: .9rem;
  color: #34435a;
}

.toc a:hover {
  color: var(--teal-deep);
}

/* Cards used across pages */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Stat cards */
.stat-card {
  text-align: left;
}

.stat-card b {
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--ink-text);
  display: block;
  letter-spacing: -0.03em;
}

.stat-card b em {
  font-style: normal;
  color: var(--teal-deep);
}

.stat-card span {
  color: var(--muted);
  font-size: .95rem;
}

/* value list */
.value-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.value-item {
  display: block;
  padding-left: 18px;
  border-left: 2px solid rgba(15, 181, 160, .35);
}

.value-item h3::before {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--teal);
  margin-bottom: 10px;
  opacity: .55;
}

.value-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.value-item p {
  color: var(--muted);
  font-size: .92rem;
  margin: 0;
}

/* Careers / job list */
.job {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 22px 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: border-color .15s, box-shadow .15s;
}

.job:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow-sm);
}

.job h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.job .meta {
  display: flex;
  gap: 14px;
  font-size: .85rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.job .meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tag {
  font-family: var(--mono);
  font-size: .72rem;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--paper-2);
  color: var(--muted);
  border: 1px solid var(--border);
}

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-q svg {
  flex: none;
  transition: transform .2s;
  color: var(--teal-deep);
}

.faq-item.open .faq-q svg {
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease, padding .25s ease;
}

.faq-item.open .faq-a {
  padding: 0 24px 22px;
  max-height: 400px;
}

.faq-a p {
  color: var(--muted);
  margin: 0;
  font-size: .96rem;
  line-height: 1.65;
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}

.price-card.featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), var(--shadow-md);
}

.price-card .plan {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.price-card .who {
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 22px;
  min-height: 40px;
}

.price-card .amount {
  font-family: var(--display);
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.price-card .amount small {
  font-size: .95rem;
  color: var(--muted);
  font-family: var(--sans);
  font-weight: 400;
}

.price-feats {
  list-style: none;
  padding: 24px 0 0;
  margin: 24px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-feats li {
  position: relative;
  padding-left: 20px;
  font-size: .92rem;
  color: #34435a;
}

.price-feats li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.price-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--teal);
  color: #032b26;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}

/* Contact form */
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.field-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-text);
}

.field-group input,
.field-group select,
.field-group textarea {
  font-family: var(--sans);
  font-size: .96rem;
  padding: 12px 14px;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink-text);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 181, 160, .15);
}

.field-group textarea {
  resize: vertical;
  min-height: 130px;
}

/* Status / scanning page */
.scan-status {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 520px;
}

.scan-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  font-size: .94rem;
}

.scan-step .st {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  position: relative;
}

.scan-step.done .st {
  background: var(--low);
}

.scan-step.done .st::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3.5px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.scan-step.active .st {
  background: rgba(15, 181, 160, .18);
  border: 2px solid var(--teal);
}

.scan-step.active .st::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 1.1s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .3;
  }
}

.scan-step.pending {
  color: var(--muted);
}

.scan-step.pending .st {
  border: 2px solid var(--border-2);
}

.progress {
  height: 8px;
  background: var(--paper-2);
  border-radius: 100px;
  overflow: hidden;
  margin: 20px 0;
}

.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--teal-glow));
  border-radius: 100px;
  transition: width .4s;
}

/* misc */
.center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.divider {
  height: 1px;
  background: var(--border);
  border: none;
  margin: 0;
}

.pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 940px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-report {
    max-width: 520px;
  }

  .checks-grid,
  .grid-3,
  .price-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .rp-rows,
  .value-list,
  .grid-2,
  .form-row,
  .toc ol {
    grid-template-columns: minmax(0, 1fr);
  }

  .toc ol {
    columns: 1;
  }

  /* Grid/flex children must be allowed to shrink below their content min-width */
  .form-row>*,
  .field-group {
    min-width: 0;
  }
}

/* Nav collapses to a hamburger well before 660px: the full desktop nav
   (6 links + account + Test URL) needs ~950px, so below that it overflows. */
@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    padding: 12px;
    gap: 2px;
    z-index: 90;
  }

  .nav-toggle {
    display: flex;
  }

  /* Keep the primary Test URL CTA visible; make it compact next to the toggle. */
  .nav-cta .btn.btn-primary {
    padding: 10px 14px;
    font-size: .9rem;
  }

  .nav-cta .nav-user {
    display: none;
  }

  .nav-cta .nav-login {
    display: none;
  }

  .nav-links.open .m-label,
  .nav-links.open .m-auth {
    display: block;
  }

  .nav-links.open .m-auth a {
    display: block;
    padding: 9px 13px;
  }
}

@media (max-width: 660px) {

  .checks-grid,
  .grid-3,
  .price-grid,
  .steps,
  .value-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .band {
    grid-template-columns: 76px 1fr;
  }

  .band .band-meta {
    display: none;
  }

  .report-panel,
  .cta-banner {
    padding: 30px 22px;
  }

  .gauge-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Stack input + button so the input isn't crushed on narrow screens */
  .scan-box,
  .cta-inline,
  .subrow {
    flex-direction: column;
  }

  .scan-box .btn,
  .cta-inline .btn,
  .subrow .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   App additions — dynamic components not in the static prototype
   (auth dropdown, flash messages, report cards, band colors, forms)
   ========================================================================== */

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}

.skip:focus {
  left: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Active nav state */
.nav-links a[aria-current="page"] {
  background: var(--paper-2);
  color: var(--ink-text);
}

/* Auth: user dropdown in the top nav */
.nav-user {
  position: relative;
}

.nav-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  background: var(--white);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 6px 10px 6px 6px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: .9rem;
  color: var(--ink-text);
  transition: border-color .15s, box-shadow .15s;
}

.nav-user-btn:hover {
  border-color: var(--teal);
}

.nav-user-btn svg {
  color: var(--muted);
  transition: transform .18s;
}

.nav-user-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.uav {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal);
  color: #032b26;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: .82rem;
  flex: none;
}

.uname {
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-drop {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 120;
}

.nav-drop[hidden] {
  display: none;
}

.nav-drop a {
  font-size: .9rem;
  color: var(--ink-text);
  padding: 9px 12px;
  border-radius: 8px;
}

.nav-drop a:hover {
  background: var(--paper-2);
  color: var(--teal-deep);
}

.nav-drop .sep {
  height: 1px;
  background: var(--border);
  margin: 4px 2px;
}

.nav-login {
  font-size: .93rem;
  font-weight: 500;
  color: var(--ink-text);
  padding: 8px 6px;
}

.nav-login:hover {
  color: var(--teal-deep);
}

/* Auth items that live inside the mobile menu only */
.nav-links .m-label,
.nav-links .m-auth {
  display: none;
}

.nav-links .m-label {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 12px 13px 4px;
}

/* Flash / alert messages */
.alert {
  border: 1px solid var(--border);
  border-left-width: 3px;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 18px;
  font-size: .93rem;
  background: var(--white);
}

.alert-error {
  border-left-color: var(--high);
  color: #a12634;
  background: rgba(220, 59, 75, .05);
}

.alert-success {
  border-left-color: var(--low);
  color: #1c7a52;
  background: rgba(53, 179, 126, .06);
}

.alert-info {
  border-left-color: var(--teal);
  color: var(--teal-deep);
  background: rgba(15, 181, 160, .05);
}

.alert ul {
  margin: 0;
  padding-left: 18px;
}

/* Score band color helpers (map the app's 5 bands onto the theme's scoring palette) */
.band-safe {
  --band: var(--excellent);
}

.band-trusted {
  --band: var(--low);
}

.band-caution {
  --band: var(--caution);
}

.band-risky {
  --band: var(--suspicious);
}

.band-danger {
  --band: var(--high);
}

/* Latest / recent report cards (light) */
.report-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.report-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}

.report-card:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.rc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rc-domain {
  font-family: var(--mono);
  font-size: .98rem;
  font-weight: 600;
  color: var(--ink-text);
  word-break: break-all;
}

.rc-score {
  flex: none;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--band, var(--muted));
}

.rc-score small {
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--muted-2);
  font-weight: 400;
}

.rc-verdict {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  color: var(--muted);
}

.rc-verdict::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--band, var(--muted-2));
  flex: none;
}

.rc-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: auto;
}

.rc-meta b {
  color: var(--ink-text);
  font-weight: 600;
}

/* Empty state */
.empty-box {
  border: 1px dashed var(--border-2);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  color: var(--muted);
  background: var(--white);
}

.empty-box::before {
  content: "";
  display: block;
  width: 36px;
  height: 36px;
  margin: 0 auto 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 24 24' fill='none' stroke='%238A97A8' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 12 16 12 14 15 10 15 8 12 2 12'/%3E%3Cpath d='M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.empty-box a {
  color: var(--teal-deep);
  border-bottom: 1px solid rgba(15, 181, 160, .35);
}

/* Post / blog teaser cards */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}

.post-card:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.post-card .pthumb {
  aspect-ratio: 16/9;
  background: var(--paper-2);
  overflow: hidden;
}

.post-card .pthumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card .pbody {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.post-card .cat {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .03em;
  color: var(--teal-deep);
}

.post-card h3 {
  font-size: 1.12rem;
  line-height: 1.25;
}

.post-card p {
  font-size: .9rem;
  color: var(--muted);
  margin: 0;
}

.post-card .pmeta {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  gap: 14px;
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--muted-2);
}

/* Section header with a trailing link */
.head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.head-row .section-head {
  margin-bottom: 0;
}

.see-all {
  font-family: var(--mono);
  font-size: .84rem;
  color: var(--teal-deep);
  border-bottom: 1px dashed rgba(15, 181, 160, .4);
  padding-bottom: 1px;
  white-space: nowrap;
}

@media (max-width: 940px) {

  .report-cards,
  .post-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 660px) {

  .report-cards,
  .post-grid {
    grid-template-columns: 1fr;
  }
}

/* Scan form message (on dark hero) */
.scan-msg {
  margin-top: 14px;
  font-size: .88rem;
  color: var(--muted-navy);
}

.scan-msg.err {
  color: #f6a5ad;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.scan-msg.err::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--high);
  flex: none;
}

.scan-msg[hidden] {
  display: none !important;
}

/* Compact five-band score scale (brand motif) */
.score-scale {
  margin-top: 32px;
  max-width: 620px;
}

.score-scale .segs {
  display: flex;
  gap: 4px;
}

.score-scale .segs span {
  flex: 1;
  height: 10px;
  border-radius: 4px;
}

.score-scale .labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: .72rem;
  color: #7e91a8;
  gap: 6px;
}

.score-cap {
  margin-top: 12px;
  font-size: .82rem;
  color: var(--muted-navy);
  max-width: 520px;
}

/* Test-URL page: centered, light section (search + loader both on white) */
.test-hero {
  display: flex;
  align-items: center;
  min-height: 68vh;
  padding: 60px 0;
  background: var(--paper);
  color: var(--ink-text);
}

.test-hero::before {
  display: none;
}

.test-hero .test-hero-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.test-hero h1 {
  color: var(--ink-text);
  margin-bottom: 18px;
}

.test-hero p.lead {
  color: var(--muted);
  margin: 0 auto 30px;
  max-width: 500px;
}

/* light eyebrow */
.test-hero .hero-eyebrow {
  margin-bottom: 22px;
  color: var(--teal-deep);
  background: var(--white);
  border-color: var(--border-2);
}

.test-hero .hero-eyebrow .dot {
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 181, 160, .18);
}

/* light search box */
.test-hero .scan-box {
  margin: 0 auto;
  background: var(--white);
  border-color: var(--border-2);
  box-shadow: var(--shadow-md);
}

.test-hero .scan-box input {
  color: var(--ink-text);
}

.test-hero .scan-box input::placeholder {
  color: var(--muted-2);
}

.test-hero .scan-msg.err {
  color: var(--high);
}

/* notes + scale on light */
.test-hero .hero-note {
  justify-content: center;
  margin-top: 16px;
  color: var(--muted);
}

.test-hero .score-scale {
  margin: 34px auto 0;
}

.test-hero .score-scale .labels {
  color: var(--muted-2);
}

.test-hero .score-scale .labels,
.test-hero .score-cap {
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}

@media (max-width: 560px) {
  .test-hero {
    min-height: 0;
    padding: 48px 0;
  }
}

/* Test-URL in-place loader (on the same light section) */
.tu-loader .eyebrow {
  margin-bottom: 20px;
}

.tu-loader-title {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  margin-bottom: 12px;
}

.tu-loader-title .mono {
  color: var(--teal-deep);
}

.tu-loader .lead {
  margin: 0 auto 28px;
  max-width: 440px;
}

.tu-loader .progress {
  max-width: 460px;
  margin: 0 auto;
}

.tu-loader .scan-status {
  max-width: 460px;
  margin: 20px auto 0;
  text-align: left;
}

.tu-loader [data-progress-pct] {
  color: var(--muted);
  font-size: .82rem;
  margin-top: 18px;
}

/* Form helpers (scam / correction forms) */
.field-group .req {
  color: var(--high);
}

.field-group .fhelp {
  font-size: .82rem;
  color: var(--muted-2);
  margin: 2px 0 0;
}

.field-group input[type="file"] {
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: .9rem;
  background: var(--paper);
  cursor: pointer;
}

.field-group input[type="file"]::file-selector-button {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .85rem;
  border: 1px solid var(--border-2);
  background: var(--white);
  color: var(--ink-text);
  padding: 7px 12px;
  border-radius: 8px;
  margin-right: 12px;
  cursor: pointer;
}

.honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Callout note (guidance blocks) */
.callout {
  border: 1px solid var(--border);
  border-left-width: 3px;
  border-radius: var(--radius);
  background: var(--white);
  padding: 20px 24px;
  margin-bottom: 20px;
}

.callout h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.callout p {
  color: var(--muted);
  font-size: .92rem;
  margin: 0 0 10px;
  line-height: 1.65;
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout a {
  color: var(--teal-deep);
  border-bottom: 1px solid rgba(15, 181, 160, .35);
}

.callout.info {
  border-left-color: var(--teal);
}

.callout.warn {
  border-left-color: var(--caution);
}

.callout.ok {
  border-left-color: var(--low);
}

.callout .out {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: .82rem;
  color: var(--muted);
}

/* Tick lists (what we can / cannot do) */
.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ticks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .93rem;
  color: #34435a;
}

.ticks li .ic {
  flex: none;
  font-weight: 700;
  line-height: 1.4;
}

.ticks li .ic .ui-icon {
  width: 18px;
  height: 18px;
  display: block;
  margin-top: 1px;
}

.ticks li .ic.y {
  color: var(--low);
}

.ticks li .ic.n {
  color: var(--high);
}

/* Numbered step list (vertical) */
ol.steps-list {
  list-style: none;
  counter-reset: s;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

ol.steps-list li {
  position: relative;
  padding-left: 46px;
}

ol.steps-list li::before {
  counter-increment: s;
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--paper-2);
  color: var(--teal-deep);
  font-family: var(--mono);
  font-weight: 600;
  display: grid;
  place-items: center;
  font-size: .9rem;
}

ol.steps-list h4 {
  font-size: 1.02rem;
  margin-bottom: 4px;
}

ol.steps-list p {
  color: var(--muted);
  font-size: .92rem;
  margin: 0;
  line-height: 1.6;
}

ol.steps-list .out {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--muted-2);
}

/* ==========================================================================
   Blog + article + author
   ========================================================================== */
/* Article body typography (extends .prose) */
.article-body {
  max-width: 760px;
}

.article-body .lead {
  font-size: 1.18rem;
  color: var(--ink-text);
  line-height: 1.6;
}

.article-body img {
  border-radius: var(--radius);
  margin: 20px 0;
  height: auto;
}

.article-body blockquote {
  border-left: 3px solid var(--teal);
  padding: 4px 0 4px 20px;
  margin: 20px 0;
  color: var(--muted);
  font-style: italic;
}

.article-body pre {
  background: var(--ink);
  color: #dde7f0;
  padding: 16px 18px;
  border-radius: 10px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: .86rem;
  margin: 18px 0;
}

.article-body code {
  font-family: var(--mono);
  font-size: .88em;
  background: var(--paper-2);
  padding: 2px 6px;
  border-radius: 5px;
}

.article-body pre code {
  background: none;
  padding: 0;
}

.article-body h4 {
  font-size: 1.05rem;
  margin: 22px 0 8px;
}

/* Tables inside user-authored article bodies: styled + horizontally scrollable */
.article-body figure {
  margin: 18px 0;
  max-width: 100%;
}

.article-body figure.table {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.article-body table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-collapse: separate;
  border-spacing: 0;
  margin: 18px 0;
  font-size: .92rem;
}

.article-body figure.table table {
  display: table;
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.article-body th,
.article-body td {
  text-align: left;
  padding: 10px 14px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  overflow-wrap: break-word;
  min-width: 150px;
}

.article-body tr>th:last-child,
.article-body tr>td:last-child {
  border-right: 0;
}

.article-body tr:last-child>th,
.article-body tr:last-child>td {
  border-bottom: 0;
}

.article-body th {
  background: var(--paper-2);
  font-weight: 600;
}

@media (max-width: 660px) {

  .article-body th,
  .article-body td {
    min-width: 118px;
    padding: 8px 10px;
  }
}

.disclaimer {
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: .88rem;
  color: var(--muted);
  margin-top: 26px;
  line-height: 1.6;
}

/* Blog search bar */
.blog-search {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin-top: 26px;
}

.blog-search input {
  flex: 1;
  font-family: var(--sans);
  font-size: .96rem;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  outline: none;
}

.blog-search input::placeholder {
  color: var(--muted-navy);
}

.blog-search input:focus {
  border-color: var(--teal);
}

/* Featured lead post */
.post-lead {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
  transition: border-color .18s, box-shadow .18s;
}

.post-lead:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow-md);
}

.post-lead.no-media {
  grid-template-columns: 1fr;
}

.post-lead>div:first-child {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-lead .cat {
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--teal-deep);
  margin-bottom: 10px;
}

.post-lead h3 {
  font-size: 1.6rem;
  line-height: 1.15;
  margin-bottom: 12px;
}

.post-lead p {
  color: var(--muted);
  font-size: .98rem;
  margin: 0 0 16px;
}

.post-lead .pmeta {
  display: flex;
  gap: 14px;
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--muted-2);
  flex-wrap: wrap;
}

.post-lead .plmedia {
  background: var(--paper-2);
}

.post-lead .plmedia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Category chips */
.tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tagcloud a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  padding: 8px 15px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink-text);
  transition: border-color .15s, color .15s;
}

.tagcloud a:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.tagcloud a.on {
  background: var(--teal);
  color: #032b26;
  border-color: var(--teal);
}

.tagcloud a .cnt {
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--muted-2);
}

.tagcloud a.on .cnt {
  color: #05463e;
}

/* Pagination */
.pager {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}

.pager a,
.pager span {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: .9rem;
  color: var(--ink-text);
  background: var(--white);
}

.pager a:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.pager a.on {
  background: var(--teal);
  color: #032b26;
  border-color: var(--teal);
  font-weight: 600;
}

.pager .off {
  color: var(--muted-2);
  background: var(--paper);
}

/* Newsletter panel */
.newsletter {
  background: var(--ink);
  border: 1px solid var(--line-navy);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background-image: radial-gradient(600px 300px at 85% 0%, rgba(15, 181, 160, .12), transparent 60%);
}

.newsletter h2 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.newsletter p {
  color: var(--muted-navy);
  margin: 0;
  font-size: .95rem;
}

.newsletter label {
  display: block;
  font-size: .84rem;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.subrow {
  display: flex;
  gap: 8px;
}

.subrow input {
  flex: 1;
  font-family: var(--sans);
  font-size: .95rem;
  padding: 12px 14px;
  border: 1px solid var(--line-navy);
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  outline: none;
}

.subrow input::placeholder {
  color: var(--muted-navy);
}

.subrow input:focus {
  border-color: var(--teal);
}

/* Author header */
.author-head {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.author-av {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  flex: none;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: #032b26;
  font-family: var(--display);
  font-weight: 700;
  font-size: 2rem;
}

.docmeta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: .88rem;
  color: var(--muted);
}

.docmeta b {
  color: var(--ink-text);
}

.docmeta a {
  color: var(--teal-deep);
  font-weight: 600;
}

.article-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: .82rem;
  color: var(--muted);
  margin-top: 12px;
}

.article-meta a {
  color: var(--teal-deep);
}

/* Blog list view (archive / author / category) */
.post-list {
  display: flex;
  flex-direction: column;
}

.post-row {
  display: grid;
  grid-template-columns: 208px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.post-row:first-child {
  padding-top: 0;
}

.post-row:last-child {
  border-bottom: none;
}

.post-row.no-thumb {
  grid-template-columns: 1fr;
}

.post-row .pr-thumb {
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper-2);
}

.post-row .pr-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.post-row:hover .pr-thumb img {
  transform: scale(1.03);
}

.post-row .pr-cat {
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--teal-deep);
  margin-bottom: 7px;
}

.post-row .pr-title {
  font-size: 1.22rem;
  line-height: 1.25;
  margin-bottom: 8px;
  transition: color .15s;
}

.post-row:hover .pr-title {
  color: var(--teal-deep);
}

.post-row .pr-excerpt {
  color: var(--muted);
  font-size: .93rem;
  margin: 0 0 10px;
  line-height: 1.6;
}

.post-row .pr-meta {
  display: flex;
  gap: 14px;
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--muted-2);
  flex-wrap: wrap;
}

/* Compact list row (article sidebar) */
.post-row.compact {
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 14px 0;
}

.post-row.compact.no-thumb {
  grid-template-columns: 1fr;
}

.post-row.compact .pr-thumb {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
}

.post-row.compact .pr-cat {
  margin-bottom: 3px;
  font-size: .66rem;
}

.post-row.compact .pr-title {
  font-size: .9rem;
  line-height: 1.3;
  margin-bottom: 4px;
}

.post-row.compact .pr-meta {
  font-size: .68rem;
  gap: 10px;
}

/* List-view posts in a 2-column grid (home "from the blog"): each row is a self-contained card */
.post-list-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.post-row.boxed {
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}

.post-row.boxed:first-child {
  padding-top: 16px;
}

.post-row.boxed:last-child {
  border-bottom: 1px solid var(--border);
}

.post-row.boxed:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.post-row.boxed .pr-thumb {
  aspect-ratio: 16 / 11;
}

.post-row.boxed.no-thumb {
  grid-template-columns: 1fr;
}

@media (max-width: 760px) {
  .post-list-2col {
    grid-template-columns: 1fr;
  }
}

/* Article layout with related-posts sidebar */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  align-items: start;
}

.article-main {
  min-width: 0;
}

.article-aside {
  position: sticky;
  top: 90px;
}

.aside-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.aside-title {
  font-family: var(--sans);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: 4px;
}

.related-list {
  display: flex;
  flex-direction: column;
}

@media (max-width: 960px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .article-aside {
    position: static;
  }

  .aside-card {
    max-width: 640px;
  }
}

@media (max-width: 560px) {
  .post-row {
    grid-template-columns: 116px 1fr;
    gap: 14px;
  }

  .post-row .pr-title {
    font-size: 1.05rem;
  }

  .post-row .pr-excerpt {
    display: none;
  }
}

@media (max-width: 760px) {
  .post-lead {
    grid-template-columns: 1fr;
  }

  .post-lead .plmedia {
    min-height: 200px;
    order: -1;
  }

  .newsletter {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }
}

/* ==========================================================================
   Auth (login / register / forgot / reset) + user dashboard
   ========================================================================== */
.wrap-narrow {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.field-group input:disabled {
  background: var(--paper-2);
  color: var(--muted);
  cursor: not-allowed;
}

.auth-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.auth-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.auth-card h1 {
  font-size: 1.9rem;
  margin-bottom: 8px;
}

.auth-card .sub {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: .96rem;
}

.auth-side {
  background: var(--ink);
  border: 1px solid var(--line-navy);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
  background-image: radial-gradient(500px 260px at 90% 0%, rgba(15, 181, 160, .12), transparent 60%);
}

.auth-side h2 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.auth-side p {
  color: var(--muted-navy);
  font-size: .93rem;
  margin: 0 0 14px;
}

.auth-side .ticks li {
  color: #c6d2df;
  font-size: .92rem;
}

.auth-side .ticks li .ic {
  color: var(--teal-glow);
}

.auth-side .ticks li b {
  color: #fff;
}

.checkline {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 16px;
  font-size: .9rem;
  color: #34435a;
  cursor: pointer;
}

.checkline input {
  margin-top: 3px;
  flex: none;
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
}

.checkline a {
  color: var(--teal-deep);
}

.btn-block {
  width: 100%;
}

.auth-alt {
  text-align: center;
  font-size: .9rem;
  color: var(--muted);
  margin: 16px 0 0;
}

.auth-alt a {
  color: var(--teal-deep);
  font-weight: 600;
}

/* Account (profile) pages */
.acct-nav {
  display: inline-flex;
  gap: 4px;
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px;
  margin-bottom: 26px;
}

.acct-nav a {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
}

.acct-nav a.on {
  background: var(--white);
  color: var(--ink-text);
  box-shadow: var(--shadow-sm);
}

.acct-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.acct-form h2 {
  font-size: 1.2rem;
  margin-bottom: 18px;
}

.status-badge {
  font-family: var(--mono);
  font-size: .72rem;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.status-badge.good {
  background: rgba(53, 179, 126, .14);
  color: #1c7a52;
}

.status-badge.bad {
  background: rgba(220, 59, 75, .12);
  color: var(--high);
}

.status-badge.mid {
  background: rgba(224, 164, 33, .16);
  color: #b07d13;
}

.my-comments {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.my-comment {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.my-comment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.my-comment-head a,
.my-comment-head .label {
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink-text);
}

.my-comment-head a:hover {
  color: var(--teal-deep);
}

.my-comment .cbody {
  color: #34435a;
  font-size: .93rem;
  margin: 0 0 8px;
  line-height: 1.6;
}

.my-comment .cmeta {
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--muted-2);
}

@media (max-width: 760px) {
  .auth-wrap {
    grid-template-columns: 1fr;
  }

  .auth-card,
  .auth-side {
    padding: 30px 24px;
  }
}

/* Filter bar (recent searches) */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.filter-bar input,
.filter-bar select {
  font-family: var(--sans);
  font-size: .93rem;
  padding: 11px 14px;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink-text);
  outline: none;
}

.filter-bar input {
  flex: 1;
  min-width: 200px;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 181, 160, .15);
}

/* Error pages (403 / 404 / 500) */
.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62vh;
  text-align: center;
  padding: 80px 24px;
}

.error-page .code {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(88px, 17vw, 132px);
  line-height: 1;
  color: var(--muted-2);
  letter-spacing: -.04em;
  margin: 0 0 8px;
}

.error-page .code b {
  color: var(--teal-deep);
}

.error-page h1 {
  font-size: clamp(1.6rem, 4vw, 2rem);
  margin: 0 0 12px;
}

.error-page .msg {
  font-size: 1rem;
  color: var(--muted);
  margin: 0 auto 28px;
  max-width: 44ch;
  line-height: 1.6;
}

.error-page .actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Newsroom / press list */
.press-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.press {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.press:last-child {
  border-bottom: none;
}

.press .pd {
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--muted-2);
}

.press h3 {
  font-size: 1.08rem;
  margin-bottom: 4px;
}

.press h3 a {
  color: var(--ink-text);
}

.press h3 a:hover {
  color: var(--teal-deep);
}

.press p {
  color: var(--muted);
  font-size: .9rem;
  margin: 0;
}

.ptag {
  justify-self: end;
  font-family: var(--mono);
  font-size: .72rem;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--paper-2);
  color: var(--muted);
  border: 1px solid var(--border);
  white-space: nowrap;
}

.ptag.co {
  color: var(--teal-deep);
  background: rgba(15, 181, 160, .08);
  border-color: rgba(15, 181, 160, .25);
}

.ptag.data {
  color: #b07d13;
  background: rgba(224, 164, 33, .08);
  border-color: rgba(224, 164, 33, .3);
}

@media (max-width: 660px) {
  .press {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ptag {
    justify-self: start;
  }
}

/* Status page: component status rows */
.header-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
}

.hrow .hname {
  font-size: .95rem;
  color: var(--ink-text);
}

.hrow .hstat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .84rem;
}

.hrow .hstat::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}

.hrow .hstat.present {
  color: #1c7a52;
}

.hrow .hstat.present::before {
  background: var(--low);
}

.hrow .hstat.absent {
  color: #b07d13;
}

.hrow .hstat.absent::before {
  background: var(--caution);
}

/* Prose / legal + doc pages */
.prose {
  max-width: 760px;
}

.prose h2 {
  font-size: 1.5rem;
  margin: 40px 0 14px;
}

.prose h3 {
  font-size: 1.15rem;
  margin: 28px 0 10px;
}

.prose p {
  color: #34435a;
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.72;
}

.prose ul,
.prose ol {
  color: #34435a;
  padding-left: 22px;
  margin: 0 0 18px;
  line-height: 1.7;
}

.prose li {
  margin-bottom: 8px;
}

.prose a {
  color: var(--teal-deep);
  border-bottom: 1px solid rgba(15, 181, 160, .35);
}

.prose strong {
  color: var(--ink-text);
}

.prose .updated {
  font-family: var(--mono);
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 30px;
}

.prose .mono {
  font-family: var(--mono);
  font-size: .86rem;
}

/* Honest-policy note card */
.policy-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.policy-note h2 {
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.policy-note>div>p {
  color: var(--muted);
  margin: 0;
}

.policy-note ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.policy-note li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .94rem;
  color: #34435a;
}

.policy-note li .tk {
  color: var(--teal-deep);
  font-weight: 700;
  flex: none;
}

@media (max-width: 660px) {
  .policy-note {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }
}

/* ==========================================================================
   Admin-managed HTML sections (article typography inside reports)
   ========================================================================== */
.report-html {
  max-width: 760px;
}

.report-html h2 {
  font-size: 1.5rem;
  margin: 34px 0 14px;
}

.report-html h3 {
  font-size: 1.15rem;
  margin: 26px 0 10px;
}

.report-html p {
  color: #34435a;
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.72;
}

.report-html ul,
.report-html ol {
  color: #34435a;
  padding-left: 22px;
  margin: 0 0 18px;
  line-height: 1.7;
}

.report-html li {
  margin-bottom: 8px;
}

.report-html a {
  color: var(--teal-deep);
  border-bottom: 1px solid rgba(15, 181, 160, .35);
}

.report-html strong {
  color: var(--ink-text);
}

.report-html img {
  border-radius: var(--radius);
  margin: 12px 0;
}

.report-html table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 16px 0;
}

.report-html th,
.report-html td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-size: .92rem;
}

/* ==========================================================================
   Discussion thread (reports + blog)
   ========================================================================== */
.discussion {
  max-width: 820px;
}

.comment-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 26px;
}

.comment-form .field-group {
  margin-bottom: 12px;
}

.comment-form .fhelp {
  font-size: .82rem;
  color: var(--muted-2);
  margin: 0 0 14px;
}

.signin-prompt {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  margin-bottom: 26px;
}

.signin-prompt p {
  margin: 0 0 16px;
  color: var(--ink-text);
}

.signin-prompt .muted {
  color: var(--muted);
  font-size: .9rem;
  margin: 14px 0 0;
}

.signin-prompt a.inline {
  color: var(--teal-deep);
  border-bottom: 1px solid rgba(15, 181, 160, .35);
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comment {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.comment-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.c-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal);
  color: #032b26;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: .9rem;
  flex: none;
}

.c-name {
  font-weight: 600;
  font-size: .94rem;
  color: var(--ink-text);
}

.c-date {
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--muted-2);
  margin-left: auto;
}

.c-body {
  color: #34435a;
  font-size: .95rem;
  margin: 0;
  line-height: 1.65;
  white-space: pre-line;
}

.reply-toggle {
  margin-top: 12px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: .84rem;
  font-weight: 600;
  color: var(--teal-deep);
}

.reply-toggle:hover {
  text-decoration: underline;
}

.reply-form {
  margin-top: 14px;
}

.reply-form[hidden] {
  display: none;
}

.replies {
  margin-top: 16px;
  padding-left: 18px;
  border-left: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.reply {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

/* ==========================================================================
   Report page (moved from the internal <style> in front/report.blade.php)
   ========================================================================== */
.report-hero {
  background: linear-gradient(180deg, #08111f, var(--ink));
  color: #fff;
  padding: 50px 0;
  border-bottom: 1px solid var(--line-navy);
  position: relative;
  overflow: hidden;
}

.report-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(620px 300px at 80% -8%, rgba(15, 181, 160, .10), transparent 66%);
  pointer-events: none;
}

.rh-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 44px;
  align-items: center;
}

.rh-domain {
  font-family: var(--mono);
  color: var(--teal-glow);
  font-size: .95rem;
  margin-bottom: 10px;
}

.rh-grid h1 {
  color: #fff;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
}

.rh-sub {
  color: var(--muted-navy);
  margin: 12px 0 22px;
}

.rh-meta {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: .78rem;
  color: #7e91a8;
}

.rh-meta span,
.rh-meta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rh-meta .ui-icon {
  width: 15px;
  height: 15px;
  flex: none;
}

.rh-meta a {
  color: var(--teal-glow);
}

.rh-actions {
  display: flex;
  gap: 18px;
  margin-top: 24px;
  flex-wrap: wrap;
  align-items: center;
}

/* "Visit website" as a plain text link (not a button) on the dark report hero */
.rh-visit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--teal-glow);
  font-weight: 600;
  font-size: .95rem;
}

.rh-visit:hover {
  color: #fff;
  text-decoration: underline;
}

.big-gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.big-gauge .gauge {
  width: 220px;
  height: 220px;
}

.big-gauge .gauge-val b {
  font-size: 3.8rem;
}

.risk-label {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  margin-top: 14px;
  letter-spacing: .02em;
  text-align: center;
}

.risk-label small {
  display: block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: .85rem;
  color: var(--muted-navy);
  margin-top: 4px;
  max-width: 280px;
}

.summary-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.summary-inner {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 20px 0;
}

.sum-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .86rem;
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--muted);
}

.sum-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
  background: var(--muted-2);
}

.sum-chip.ok {
  color: #1c7a52;
  border-color: rgba(53, 179, 126, .35);
  background: rgba(53, 179, 126, .06);
}

.sum-chip.ok::before {
  background: var(--low);
}

.sum-chip.warn {
  color: #b07d13;
  border-color: rgba(224, 164, 33, .4);
  background: rgba(224, 164, 33, .08);
}

.sum-chip.warn::before {
  background: #E0A421;
}

.sum-chip.bad {
  color: #a12634;
  border-color: rgba(220, 59, 75, .35);
  background: rgba(220, 59, 75, .06);
}

.sum-chip.bad::before {
  background: var(--high);
}

.report-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 44px;
  align-items: start;
  padding: 48px 0 80px;
}

.side-nav {
  position: sticky;
  top: 82px;
}

.side-nav p {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 12px 14px;
}

.side-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.side-nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: .9rem;
  color: var(--muted);
  border-left: 2px solid transparent;
}

.side-nav a .ui-icon {
  width: 16px;
  height: 16px;
  flex: none;
  opacity: .6;
}

.side-nav a:hover {
  background: var(--paper-2);
  color: var(--ink-text);
}

.side-nav a:hover .ui-icon {
  opacity: 1;
  color: var(--teal-deep);
}

.rsec {
  margin-bottom: 40px;
  scroll-margin-top: 82px;
}

.rsec>.kicker {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .04em;
  color: var(--teal-deep);
  margin: 0 0 6px;
}

.rsec>h2 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.rsec>.rsec-sub {
  color: var(--muted);
  font-size: .95rem;
  margin: 0 0 18px;
  max-width: 680px;
}

.verdict-heading {
  font-size: 1.5rem;
  margin: 0 0 10px;
}

.verdict-lede {
  color: #34435a;
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0 0 22px;
  max-width: 680px;
}

.datatable {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.datatable tr {
  border-bottom: 1px solid var(--border);
}

.datatable tr:last-child {
  border-bottom: none;
}

.datatable td {
  padding: 13px 18px;
  font-size: .92rem;
  vertical-align: top;
}

.datatable td:first-child {
  color: var(--muted);
  width: 40%;
}

.datatable td:last-child {
  font-family: var(--mono);
  color: var(--ink-text);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.datatable .sub {
  display: block;
  font-family: var(--sans);
  font-size: .8rem;
  color: var(--muted-2);
  margin-top: 3px;
}

.v-ok {
  color: #1c7a52 !important;
}

.v-warn {
  color: #b07d13 !important;
}

.v-bad {
  color: var(--high) !important;
}

.findings {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.finding {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-left-width: 3px;
  border-radius: var(--radius);
  background: var(--white);
}

.finding.positive {
  border-left-color: var(--low);
}

.finding.warning {
  border-left-color: #E0A421;
}

.finding.bad {
  border-left-color: var(--high);
}

.finding.info {
  border-left-color: var(--teal);
}

.finding h4 {
  font-size: 1rem;
  margin-bottom: 3px;
}

.finding p {
  font-size: .88rem;
  color: var(--muted);
  margin: 0;
}

.finding .cat {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.finding .badge {
  margin-left: auto;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: .72rem;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.finding.positive .badge {
  background: rgba(53, 179, 126, .14);
  color: #1c7a52;
}

.finding.warning .badge {
  background: rgba(224, 164, 33, .16);
  color: #b07d13;
}

.finding.bad .badge {
  background: rgba(220, 59, 75, .12);
  color: var(--high);
}

.finding.info .badge {
  background: var(--paper-2);
  color: var(--muted);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.tech-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}

.tech-k {
  display: block;
  font-size: .78rem;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: .02em;
  margin-bottom: 4px;
}

.tech-v {
  font-weight: 600;
  font-size: .98rem;
  color: var(--ink-text);
}

.tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tech-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .84rem;
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--muted);
}

.tech-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
  background: var(--muted-2);
}

.tech-chip.on {
  color: #1c7a52;
  border-color: rgba(53, 179, 126, .35);
  background: rgba(53, 179, 126, .06);
}

.tech-chip.on::before {
  background: var(--low);
}

.method-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--teal-deep);
  border: 1px solid var(--border-2);
  background: var(--white);
  padding: 4px 11px;
  border-radius: 100px;
  margin-bottom: 10px;
}


@media (max-width:940px) {
  .rh-grid {
    grid-template-columns: 1fr;
  }

  .report-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .side-nav {
    position: static;
  }

  .side-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Contact page (moved from the internal <style> in front/contact.blade.php)
   ========================================================================== */
.contact-cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 44px;
  align-items: start;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 14px;
}

.info-card h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.info-card p {
  color: var(--muted);
  font-size: .92rem;
  margin: 0;
  line-height: 1.7;
}

.info-card a {
  color: var(--teal-deep);
  font-weight: 600;
}

.info-card .mono {
  font-family: var(--mono);
  font-size: .82rem;
  color: var(--muted-2);
}

@media (max-width:940px) {
  .contact-cols {
    grid-template-columns: 1fr;
  }
}

/* Shake animation (used by the scan-input validation feedback) */
@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

/* ==========================================================================
   Careers page
   ========================================================================== */
.value-list.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 940px) {
  .value-list.cols-3 {
    grid-template-columns: 1fr;
  }
}

.job .job-apply {
  padding: 8px 16px;
  font-size: .88rem;
  white-space: nowrap;
}