/* Nova X Ventures · DKIM, SPF & DMARC Checker
   Scoped to .ndk so it sits inside the novax-agency theme header and footer.
   Tokens match the Keyword Cannibalization Checker and Contrast Checker pages. */
.ndk {
  --navy: #14173F;
  --deep: #0A0C2B;
  --gold: #E9B96E;
  --blue: #3340F5;
  --card: rgba(255, 255, 255, .045);
  --card-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .12);
  --line-2: rgba(255, 255, 255, .22);
  --ink: #FFFFFF;
  --ink-2: #E4E5F5;
  --muted: #B4B6DA;
  --pass: #7FD8A4;
  --pass-bg: #1F3A3A;
  --warn: #E9B96E;
  --warn-bg: #3A3223;
  --fail: #FF9A9A;
  --fail-bg: #3D2232;
  --info: #A9AFFF;
  --info-bg: #262A5A;
  --orange: #FFB27A;
  --text-dark: #14173F;
  --text-body: #555A80;
  --light: #F5F6FB;
  --light-line: #E7E8F3;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --head-font: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;

  font-size: 16px;
  line-height: 1.6;
  display: block;
}
.ndk *, .ndk *::before, .ndk *::after { box-sizing: border-box; }
.ndk [hidden] { display: none !important; }
.ndk h1, .ndk h2, .ndk h3, .ndk h4 { margin: 0; line-height: 1.15; letter-spacing: -.01em; color: inherit; }
.ndk p { margin: 0; }
.ndk ul, .ndk ol { margin: 0; padding: 0; list-style: none; }
.ndk li { margin: 0; }
.ndk svg { display: block; }
.ndk :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.ndk .sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.ndk code {
  font-family: var(--mono); font-size: .86em; padding: .1em .45em; border-radius: 6px;
  background: var(--card-2); border: 1px solid var(--line); color: #fff; overflow-wrap: anywhere;
}
.ndk-in { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.ndk-narrow { max-width: 880px; }

/* =========================================================
   Dark hero + tool
   ======================================================= */
.ndk-hero {
  position: relative; overflow: hidden; overflow: clip; color: var(--ink);
  background: linear-gradient(135deg, var(--navy) 0%, var(--deep) 100%);
  padding: calc(var(--ndk-head, 0px) + 88px) 0 96px;
}
.ndk-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 80%);
}
.ndk-hero::after {
  content: ""; position: absolute; width: 620px; height: 620px; right: -200px; top: -260px;
  border-radius: 50%; background: radial-gradient(circle, rgba(51,64,245,.35), transparent 65%); pointer-events: none;
}
.ndk-hero .ndk-in { position: relative; z-index: 1; }
.ndk-top { max-width: 760px; }
.ndk-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(233,185,110,.35); border-radius: 999px;
  padding: 6px 14px; margin-bottom: 22px;
}
.ndk-eyebrow::before, .ndk-dots li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
.ndk-hero h1 { font-size: clamp(36px, 5.6vw, 60px); font-weight: 700; color: #fff; }
.ndk-hero h1 span { color: var(--gold); }
.ndk .lead { color: var(--muted); font-size: 18px; max-width: 62ch; margin-top: 18px; }
.ndk-dots { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px !important; }
.ndk-dots li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #fff; }

.ndk .panel {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: 30px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.ndk .note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Buttons */
.ndk .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.2;
  border: 0; border-radius: 12px; padding: 15px 26px; cursor: pointer;
  background: var(--blue); color: #fff; box-shadow: 0 10px 30px rgba(51,64,245,.35);
  transition: transform .15s, filter .15s, border-color .15s;
  text-transform: none; letter-spacing: 0; min-height: 0; width: auto; text-decoration: none; white-space: nowrap;
}
.ndk .btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.ndk .btn:disabled { opacity: .65; cursor: wait; transform: none; }
.ndk .btn.line { background: transparent; border: 1px solid var(--line-2); color: #fff; box-shadow: none; padding: 12px 18px; }
.ndk .btn.line:hover { border-color: var(--gold); filter: none; }
.ndk .btn.sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.ndk .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ndk .btn.sm svg { width: 16px; height: 16px; }

/* Form */
.ndk-form { margin-top: 40px; }
.ndk-fields { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto; gap: 14px; align-items: end; }
@media (max-width: 800px) { .ndk-fields { grid-template-columns: minmax(0, 1fr); } .ndk-submit { width: 100%; } }
.ndk .fld label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; color: #fff; }
.ndk .fld .opt { font-weight: 400; color: var(--muted); }
.ndk .fld input {
  display: block; width: 100%; height: 52px; margin: 0; padding: 0 16px;
  font: 500 16px/1 var(--mono); color: #fff; background: var(--deep);
  border: 1px solid var(--line-2); border-radius: 12px; box-shadow: none;
  transition: border-color .15s;
}
.ndk .fld input::placeholder { color: #8A8DB8; opacity: 1; }
.ndk .fld input:hover { border-color: var(--muted); }
.ndk .fld input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(233,185,110,.3); }
.ndk .fld input[aria-invalid="true"] { border-color: var(--fail); box-shadow: 0 0 0 3px rgba(255,154,154,.2); }
.ndk-submit { height: 52px; min-width: 170px; position: relative; }
.ndk .spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: ndk-spin .8s linear infinite;
}
.ndk-submit.is-loading .spinner { display: inline-block; }
@keyframes ndk-spin { to { transform: rotate(360deg); } }
.ndk .field-error { margin-top: 10px; font-size: 14px; font-weight: 500; color: var(--fail); }
.ndk .field-error:empty { display: none; }

/* =========================================================
   Results
   ======================================================= */
.ndk-results { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.ndk-results > * { min-width: 0; }
.ndk-results:focus { outline: none; }

.ndk-loading { display: flex; align-items: center; gap: 16px; color: var(--ink-2); }
.ndk-loading .spinner { display: inline-block; width: 26px; height: 26px; border-width: 3px; }
.ndk-loading-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px !important; }
.ndk-loading-steps li { font-size: 13px; color: var(--muted); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); }

.ndk-error { border-color: rgba(255,154,154,.4); }
.ndk-error h2 { font-size: 20px; color: var(--fail); margin-bottom: 6px; }
.ndk-error p { color: var(--ink-2); }

/* Grade panel */
.ndk-grade { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; }
@media (max-width: 640px) { .ndk-grade { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
.ndk-letter {
  --g: var(--pass);
  width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center;
  font: 800 68px/1 var(--head-font); color: var(--g);
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.06), transparent 70%), var(--deep);
  box-shadow: inset 0 0 0 6px color-mix(in srgb, var(--g) 30%, transparent), 0 0 0 1px var(--line), 0 18px 50px -18px color-mix(in srgb, var(--g) 60%, transparent);
}
.ndk-letter[data-g="A"], .ndk-letter[data-g="B"] { --g: var(--pass); }
.ndk-letter[data-g="C"] { --g: var(--warn); }
.ndk-letter[data-g="D"] { --g: var(--orange); }
.ndk-letter[data-g="F"] { --g: var(--fail); }
.ndk-grade-label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ndk-grade-domain { font: 700 clamp(22px, 3vw, 30px)/1.2 var(--head-font); color: #fff; margin: 4px 0 8px !important; overflow-wrap: anywhere; }
.ndk-grade-summary { color: var(--ink-2); max-width: 70ch; }
.ndk-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px !important; }
.ndk-chips a { text-decoration: none; }
.ndk-meta { margin-top: 14px; font-size: 13px; color: var(--muted); }
.ndk-notes { margin-top: 12px !important; display: grid; gap: 6px; }
.ndk-notes li { font-size: 14px; color: var(--ink-2); padding-left: 18px; position: relative; }
.ndk-notes li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.ndk-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); grid-column: 1 / -1; }
@media (max-width: 480px) { .ndk-actions .btn { flex: 1 1 100%; } }

/* Status pills */
.ndk .pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  font-size: 14px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  background: var(--info-bg); color: var(--info);
}
.ndk .pill svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ndk .pill[data-s="pass"] { background: var(--pass-bg); color: var(--pass); }
.ndk .pill[data-s="warn"] { background: var(--warn-bg); color: var(--warn); }
.ndk .pill[data-s="fail"], .ndk .pill[data-s="error"] { background: var(--fail-bg); color: var(--fail); }

/* Result cards */
.ndk-card-r { scroll-margin-top: 100px; position: relative; }
.ndk-card-r::before {
  content: ""; position: absolute; left: -1px; top: 24px; bottom: 24px; width: 3px; border-radius: 3px; background: var(--info);
}
.ndk-card-r[data-s="pass"]::before { background: var(--pass); }
.ndk-card-r[data-s="warn"]::before { background: var(--warn); }
.ndk-card-r[data-s="fail"]::before, .ndk-card-r[data-s="error"]::before { background: var(--fail); }
.rc-head { display: flex; align-items: center; gap: 16px; }
.rc-badge {
  flex: none; display: grid; place-items: center; min-width: 56px; height: 56px; padding: 0 10px; border-radius: 14px;
  background: var(--navy); border: 1px solid var(--line-2); color: var(--gold);
  font: 800 14px/1 var(--head-font); letter-spacing: .02em;
}
.rc-title { flex: 1 1 auto; min-width: 0; }
.rc-title h2 { font-size: 24px; color: #fff; }
.rc-title p { color: var(--muted); font-size: 14px; }
.rc-summary { margin-top: 18px !important; font-size: 17px; color: var(--ink-2); }
.rc-block { margin-top: 24px; }
.rc-block > h3 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; font-family: inherit; }
.rc-host { font-size: 14px; color: var(--muted); margin-bottom: 8px !important; overflow-wrap: anywhere; }
.rc-host code { font-size: 13px; }

.rawrec { position: relative; }
.rawrec pre {
  margin: 0; padding: 16px 64px 16px 16px; border-radius: 14px;
  background: var(--deep); border: 1px solid var(--line);
  font: 14px/1.6 var(--mono); color: #fff; white-space: pre-wrap; word-break: break-all;
  max-height: 240px; overflow: auto;
}
.rawrec pre code { background: none; border: 0; padding: 0; border-radius: 0; font: inherit; color: inherit; white-space: inherit; }
.rawrec + .rawrec { margin-top: 10px; }
.rawrec .copy {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; padding: 0; margin: 0;
  display: grid; place-items: center; cursor: pointer;
  background: var(--card-2); color: #fff; border: 1px solid var(--line-2); border-radius: 10px;
}
.rawrec .copy:hover { border-color: var(--gold); }
.rawrec .copy svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Lookup meter */
.ndk-meter { display: flex; align-items: center; gap: 14px; }
.ndk-meter-track { flex: 1 1 auto; position: relative; height: 10px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.ndk-meter-fill { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: var(--pass); }
.ndk-meter-fill[data-s="warn"] { background: var(--warn); }
.ndk-meter-fill[data-s="fail"] { background: var(--fail); }
.ndk-meter-num { flex: none; font-weight: 700; font-variant-numeric: tabular-nums; color: #fff; }

/* Breakdown tables */
.ndk .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 14px; }
.ndk table { width: 100%; border-collapse: collapse; margin: 0; font-size: 15px; background: none; border: 0; }
.ndk th, .ndk td { text-align: left; padding: 12px 14px; vertical-align: top; background: none; border: 0; }
.ndk .bd-table th, .ndk .bd-table td { border-bottom: 1px solid var(--line); }
.ndk .bd-table tr:last-child > * { border-bottom: 0; }
.ndk .bd-table thead th { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: rgba(10,12,43,.4); }
.ndk .bd-table td { color: var(--ink-2); }
.ndk .bd-table td.term { white-space: nowrap; }
.ndk .bd-table td.term code { white-space: nowrap; }
.ndk .bd-table td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ndk .bd-table tr.bad td { background: rgba(255,154,154,.06); }
.ndk .bd-table .lbl { color: #fff; font-weight: 600; white-space: nowrap; }
.ndk .bd-table .tagk { font-family: var(--mono); color: var(--gold); }
.ndk .provider { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; background: var(--info-bg); color: var(--info); }
@media (max-width: 640px) {
  .ndk .bd-table thead { display: none; }
  .ndk .bd-table, .ndk .bd-table tbody, .ndk .bd-table tr { display: block; width: 100%; }
  .ndk .bd-table tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .ndk .bd-table tr:last-child { border-bottom: 0; }
  .ndk .bd-table td { display: block; padding: 0; border: 0 !important; }
  .ndk .bd-table td.term { white-space: normal; margin-bottom: 6px; }
  .ndk .bd-table td.term code { white-space: normal; }
  .ndk .bd-table td.num { text-align: left; margin-top: 6px; font-size: 13px; color: var(--muted); }
  .ndk .bd-table td.num::before { content: "DNS lookups: "; }
  .ndk .bd-table td.tagk, .ndk .bd-table td.lbl { display: inline-block; margin: 0 8px 4px 0; }
}

/* Findings */
.ndk-issues { display: grid; gap: 8px; }
.ndk-issues li {
  display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start;
  padding: 10px 14px; border-radius: 12px; background: rgba(10,12,43,.45); border: 1px solid var(--line); color: var(--ink-2); font-size: 15px;
}
.ndk-issues .ic { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; background: var(--info-bg); color: var(--info); }
.ndk-issues .ic svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ndk-issues li[data-l="pass"] .ic { background: var(--pass-bg); color: var(--pass); }
.ndk-issues li[data-l="warn"] .ic { background: var(--warn-bg); color: var(--warn); }
.ndk-issues li[data-l="fail"] .ic { background: var(--fail-bg); color: var(--fail); }
.ndk-issues li[data-l="fail"] { border-color: rgba(255,154,154,.3); }
.ndk-issues li[data-l="warn"] { border-color: rgba(233,185,110,.28); }

/* Fix steps */
.ndk-fix { counter-reset: fx; display: grid; gap: 8px; }
.ndk-fix li { counter-increment: fx; position: relative; padding-left: 38px; color: var(--ink-2); }
.ndk-fix li::before {
  content: counter(fx); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center; background: var(--navy); border: 1px solid var(--line-2); color: var(--gold); font-weight: 700; font-size: 13px;
}

/* Example record */
.ndk-example { border: 1px dashed rgba(233,185,110,.45); border-radius: 16px; padding: 18px; background: rgba(233,185,110,.04); }
.ndk-ex-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; align-items: baseline; margin-bottom: 12px; font-size: 14px; }
.ndk-ex-grid dt { color: var(--muted); font-weight: 600; }
.ndk-ex-grid dd { margin: 0; color: #fff; font-family: var(--mono); overflow-wrap: anywhere; }
.ndk-ex-note { font-size: 14px; color: var(--muted); margin-top: 10px !important; }

/* DKIM selectors */
.ndk-sel-list { display: flex; flex-wrap: wrap; gap: 8px; }
.ndk-sel-list li { font: 13px/1 var(--mono); padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line); color: var(--muted); }
.ndk-sel-list li.hit { border-color: rgba(127,216,164,.5); color: var(--pass); background: var(--pass-bg); }
.ndk-sel { margin-top: 16px; padding: 20px; border-radius: 16px; background: rgba(10,12,43,.45); border: 1px solid var(--line); }
.ndk-sel-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 14px; }
.ndk-sel-head h4 { font: 700 18px/1.2 var(--head-font); color: #fff; }
.ndk-sel-head .keyinfo { font-size: 14px; color: var(--muted); }
.ndk-sel .rc-block { margin-top: 16px; }

/* DMARC ladder */
.ndk-ladder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ndk-ladder li {
  position: relative; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); color: var(--muted); font-size: 14px;
}
.ndk-ladder li strong { display: block; font: 700 16px/1.2 var(--head-font); color: #fff; margin-bottom: 2px; }
.ndk-ladder li.on { border-color: var(--gold); background: rgba(233,185,110,.08); }
.ndk-ladder li.on strong { color: var(--gold); }
.ndk-ladder li.done strong { color: var(--pass); }
@media (max-width: 560px) { .ndk-ladder { grid-template-columns: minmax(0, 1fr); } }
.ndk-next { margin-top: 12px !important; color: var(--ink-2); font-size: 15px; }
.ndk-next strong { color: var(--gold); }

/* =========================================================
   Light sections
   ======================================================= */
.ndk-light { background: var(--light); color: var(--text-dark); padding: 96px 0; }
.ndk-white { background: #FFFFFF; }
.ndk-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.ndk-head-left { max-width: none; text-align: left; margin-bottom: 24px; }
.ndk-head small { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.ndk-light h2 { font-size: clamp(28px, 3.6vw, 40px); color: var(--text-dark); }
.ndk-head p { color: var(--text-body); margin-top: 14px; }
.ndk-prose p { color: var(--text-body); font-size: 17px; margin-bottom: 16px; }
.ndk-prose p:last-child { margin-bottom: 0; }
.ndk-prose strong { color: var(--text-dark); }
.ndk-narrow-block { max-width: 760px; margin: 40px auto 0; text-align: center; }
.ndk-light code { background: #EEF0F8; border-color: var(--light-line); color: var(--text-dark); }

.ndk-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.ndk-card { background: #fff; border-radius: 20px; padding: 30px; box-shadow: 0 14px 40px rgba(20,23,63,.07); border: 1px solid var(--light-line); }
.ndk-card-soft { background: var(--light); box-shadow: none; }
.ndk-card .num {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 12px; background: var(--navy); color: var(--gold); font-weight: 700; margin-bottom: 18px;
}
.ndk-card .tag {
  display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 10px;
  background: var(--navy); color: var(--gold); font: 800 13px/1 var(--head-font); letter-spacing: .04em; margin-bottom: 16px;
}
.ndk-card h3 { font-size: 20px; color: var(--text-dark); margin-bottom: 10px; }
.ndk-card p { color: var(--text-body); font-size: 15px; }

.ndk-steps { counter-reset: st; display: grid; gap: 12px; margin: 8px 0 28px !important; }
.ndk-steps li {
  counter-increment: st; position: relative; padding: 18px 20px 18px 68px;
  background: #fff; border: 1px solid var(--light-line); border-radius: 16px; color: var(--text-body);
  box-shadow: 0 8px 24px rgba(20,23,63,.04);
}
.ndk-steps li::before {
  content: counter(st, decimal-leading-zero); position: absolute; left: 18px; top: 16px; width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; background: var(--navy); color: var(--gold); font-weight: 700; font-size: 14px;
}
.ndk-steps strong { color: var(--text-dark); }

.ndk-table-card { margin: 0 0 28px; background: #fff; border: 1px solid var(--light-line); border-radius: 20px; box-shadow: 0 14px 40px rgba(20,23,63,.07); overflow-x: auto; }
.ndk .info-table th, .ndk .info-table td { padding: 15px 20px; border-bottom: 1px solid var(--light-line); }
.ndk .info-table thead th { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-body); background: #FAFBFE; }
.ndk .info-table td { color: var(--text-body); }
.ndk .info-table td:first-child { font-weight: 600; color: var(--text-dark); }
.ndk .info-table tbody tr:last-child td { border-bottom: 0; }

/* FAQ */
.ndk-faq { display: grid; gap: 12px; }
.ndk-faq details { background: #fff; border: 1px solid var(--light-line); border-radius: 16px; box-shadow: 0 8px 24px rgba(20,23,63,.05); }
.ndk-white .ndk-faq details { background: var(--light); box-shadow: none; }
.ndk-faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 60px 20px 24px; font: 600 18px/1.4 var(--head-font); color: var(--text-dark);
}
.ndk-faq summary::-webkit-details-marker { display: none; }
.ndk-faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 8px;
  background:
    linear-gradient(var(--gold), var(--gold)) center / 12px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 2px 12px no-repeat,
    var(--navy);
  transition: transform .2s;
}
.ndk-faq details[open] summary::after { transform: rotate(45deg); }
.ndk-faq summary:focus-visible { border-radius: 16px; }
.ndk-faq details p { padding: 0 24px 22px; color: var(--text-body); }

/* CTA band */
.ndk-cta {
  position: relative; overflow: hidden; overflow: clip; margin-top: 56px; padding: 40px; border-radius: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, var(--deep) 100%);
}
.ndk-cta::after { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(51,64,245,.4), transparent 65%); pointer-events: none; }
.ndk-cta > * { position: relative; z-index: 1; }
.ndk-light .ndk-cta h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.ndk-cta p { color: var(--muted); max-width: 52ch; }
.ndk-gold-btn {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 26px; border-radius: 12px; font-weight: 600; font-size: 16px; line-height: 1.2;
  background: var(--gold); color: var(--navy); text-decoration: none;
  box-shadow: 0 10px 30px rgba(233,185,110,.3); transition: transform .15s, filter .15s;
}
.ndk-gold-btn:hover { filter: brightness(1.06); transform: translateY(-1px); color: var(--navy); }
@media (max-width: 680px) { .ndk-cta { flex-direction: column; align-items: flex-start; padding: 28px; } }

/* More tools */
.ndk-more { margin-top: 56px; }
.ndk-more h3 { font-size: 22px; color: var(--text-dark); margin-bottom: 16px; }
.ndk-more ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 600px) { .ndk-more ul { grid-template-columns: minmax(0, 1fr); } }
.ndk-more a {
  display: block; padding: 18px 20px; border-radius: 16px; text-decoration: none;
  background: var(--light); border: 1px solid var(--light-line); transition: border-color .15s, transform .15s;
}
.ndk-more a:hover { border-color: var(--gold); transform: translateY(-1px); }
.ndk-more strong { display: block; color: var(--text-dark); font-weight: 600; }
.ndk-more span { display: block; color: var(--text-body); font-size: 15px; }

/* Toast */
.ndk-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 9999;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 20px; border-radius: 12px;
  background: var(--gold); color: var(--navy); font-weight: 600; font-size: 15px;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,.5); transition: opacity .2s, transform .2s;
}
.ndk-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.ndk-noscript { margin: 0; padding: 16px; text-align: center; background: var(--fail-bg); color: var(--fail); }

@media (max-width: 700px) {
  .ndk-hero { padding: calc(var(--ndk-head, 0px) + 56px) 0 64px; }
  .ndk .panel { padding: 22px; }
  .ndk-light { padding: 64px 0; }
  .rc-badge { min-width: 48px; height: 48px; }
  .rc-head { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .ndk *, .ndk *::before, .ndk *::after { transition: none !important; animation-duration: 1.5s !important; }
}
@media (forced-colors: active) {
  .ndk .pill, .ndk .btn, .ndk .panel, .ndk-letter { border: 1px solid CanvasText; }
}

/* QA fixes, Oct 2026 */
.ndk-sel-list li.rev { border-color: rgba(255,154,154,.35); color: var(--fail); text-decoration: line-through; }
.ndk .ndk-fix-one { color: var(--ink-2); }
.ndk .ndk-checked-note { margin-top: 6px !important; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.ndk .ndk-checked-note strong { color: #fff; }
/* Findings and summaries always show the full sentence, even if a theme rule tries to clamp them. */
.ndk .ndk-issues li > span:last-child, .ndk .ndk-grade-summary, .ndk .rc-summary { min-width: 0; max-height: none; overflow: visible; white-space: normal; text-overflow: clip; -webkit-line-clamp: unset; line-clamp: none; overflow-wrap: anywhere; }
