/* Kennedy Tech LLC — kennedytech.llc
   One type superfamily (IBM Plex), one accent, one bold element. */

:root {
  --paper:      #FBFCFD;
  --paper-deep: #F2F5F8;
  --ink:        #16202B;
  --ink-soft:   #4A5A6B;
  --ink-faint:  #7A8896;
  --rule:       #DDE4EB;
  --rule-soft:  #EAF0F5;
  --steel:      #1B3A5C;
  --steel-tint: #EEF3F8;
  --verdigris:  #1F6F63;
  --verdigris-tint: #EAF3F1;

  --serif: "IBM Plex Serif", "Iowan Old Style", Georgia, serif;
  --sans:  "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --measure: 68ch;
  --rail: 264px;
  --gutter: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ---------- shell ---------- */

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--steel);
  color: #fff;
  padding: 12px 18px;
  z-index: 100;
  font-size: 0.9375rem;
}
.skip:focus { left: 16px; top: 16px; }

a {
  color: var(--steel);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover { color: var(--verdigris); }

:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- masthead ---------- */

.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.masthead__inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-block: 26px 22px;
  flex-wrap: wrap;
}

.masthead__name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin: 0;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.masthead__name:hover { color: var(--ink); }

.masthead__nav {
  display: flex;
  gap: 28px;
  font-size: 0.875rem;
}
.masthead__nav a {
  color: var(--ink-soft);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.masthead__nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--steel);
}

/* ---------- page grid: rail + column ---------- */

.page {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  column-gap: var(--gutter);
  padding: 68px 0 0;
  align-items: start;
}

.rail {
  position: sticky;
  top: 40px;
  padding-bottom: 40px;
  align-self: start;
}

.rail__title {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
  text-transform: uppercase;
}

.register {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}
.register__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.register__row:first-child { padding-top: 0; }
.register__row:last-child { border-bottom: 0; }

.register dt {
  color: var(--ink-faint);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}
.register dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  overflow-wrap: anywhere;
}
.register dd .mono {
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: -0.01em;
}

.register__note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--ink-faint);
}

.column {
  max-width: var(--measure);
  min-width: 0;
}

/* ---------- hero ---------- */

.hero { padding-bottom: 56px; }

.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 1.15rem + 2.55vw, 3.125rem);
  line-height: 1.12;
  letter-spacing: -0.024em;
  margin: 0 0 24px;
  text-wrap: balance;
}

.hero__lede {
  font-size: 1.1875rem;
  line-height: 1.62;
  color: var(--ink-soft);
  margin: 0 0 20px;
  max-width: 54ch;
}

.hero__rule {
  height: 2px;
  width: 64px;
  background: var(--steel);
  border: 0;
  margin: 34px 0 0;
  transform-origin: left center;
  animation: rule-in 700ms cubic-bezier(0.16, 0.84, 0.44, 1) both;
}

@keyframes rule-in {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ---------- sections ---------- */

.section {
  padding: 52px 0;
  border-top: 1px solid var(--rule);
}

.section__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.section h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.014em;
  line-height: 1.25;
  margin: 0;
}

.section p {
  margin: 0 0 18px;
  color: var(--ink-soft);
}
.section p:last-child { margin-bottom: 0; }

.section strong { color: var(--ink); font-weight: 600; }

/* ---------- the CVE record ---------- */

.record {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--verdigris);
  background: #fff;
  padding: 28px 30px 26px;
  margin: 4px 0 0;
}

.record__top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.record__id {
  font-family: var(--mono);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.record__status {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--verdigris);
  background: var(--verdigris-tint);
  border: 1px solid #CFE3DE;
  padding: 3px 9px;
  border-radius: 3px;
  line-height: 1.4;
}

.record__class {
  font-family: var(--serif);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.008em;
  margin: 0 0 14px;
  color: var(--ink);
}

.record__desc {
  font-size: 0.9375rem;
  line-height: 1.68;
  color: var(--ink-soft);
  margin: 0 0 20px;
}

.record__facts {
  margin: 0;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 9px 24px;
  font-size: 0.84375rem;
  line-height: 1.5;
  padding-top: 18px;
  border-top: 1px solid var(--rule-soft);
}
.record__facts dt {
  color: var(--ink-faint);
}
.record__facts dd {
  margin: 0;
  color: var(--ink);
}
.record__facts .mono {
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: -0.01em;
}

.record__links {
  margin-top: 24px;
  font-size: 0.875rem;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.record__links a {
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
  line-height: 1.5;
}
.record__links a:hover { border-bottom-color: var(--verdigris); }

/* ---------- work in progress list ---------- */

.pending {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.pending li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 0.9375rem;
}

.pending__what {
  color: var(--ink);
  font-weight: 500;
}
.pending__state {
  color: var(--ink-faint);
  font-size: 0.875rem;
}

/* ---------- vendor record ---------- */

.vendors {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.vendors li {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.vendors__name {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.vendors__note {
  font-size: 0.84375rem;
  line-height: 1.5;
  color: var(--ink-faint);
}

@media (max-width: 560px) {
  .vendors li {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }
}

/* ---------- compute ---------- */

.compute {
  border: 1px solid var(--rule);
  background: var(--paper-deep);
  padding: 24px 26px;
  margin-top: 26px;
}

.compute__lead {
  font-size: 0.9375rem;
  line-height: 1.62;
  color: var(--ink-soft);
  margin: 0 0 18px;
}

.compute__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

.compute__item { display: grid; gap: 2px; }

.compute__figure {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.018em;
  color: var(--ink);
  font-variant-numeric: lining-nums tabular-nums;
}

.compute__label {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-faint);
}

@media (max-width: 560px) {
  .compute { padding: 20px 18px; }
  .compute__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .compute__figure { font-size: 1.25rem; }
}

/* ---------- method / numbered? no: unnumbered prose blocks ---------- */

.claims {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 22px;
}

.claims li {
  padding-left: 20px;
  border-left: 2px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.66;
}

.claims strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 3px;
  font-size: 0.96875rem;
}

/* ---------- contact ---------- */

.contact {
  background: var(--steel-tint);
  border: 1px solid var(--rule);
  padding: 34px 34px 30px;
}

.contact h2 { margin-bottom: 14px; }

.contact__email {
  font-family: var(--mono);
  font-size: 1rem;
  letter-spacing: -0.015em;
}

.contact__rows {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

/* ---------- footer ---------- */

.foot {
  border-top: 1px solid var(--rule);
  margin-top: 76px;
  padding: 30px 0 46px;
  font-size: 0.8125rem;
  color: var(--ink-faint);
  line-height: 1.7;
}
.foot__inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.foot p { margin: 0; }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  :root { --gutter: 48px; --rail: 220px; }
  .page { padding-top: 52px; }
}

@media (max-width: 780px) {
  .wrap { padding-inline: 22px; }
  .page {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 40px;
  }
  .rail {
    position: static;
    order: 2;
    padding: 34px 0 0;
    margin-top: 44px;
    border-top: 1px solid var(--rule);
  }
  .column { order: 1; }
  .hero { padding-bottom: 40px; }
  .section { padding: 40px 0; }
  .record { padding: 22px 20px; }
  .record__facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  .record__facts dt { margin-top: 10px; }
  .record__facts dt:first-of-type { margin-top: 0; }
  .contact { padding: 26px 22px; }
  .masthead__nav { gap: 20px; font-size: 0.8125rem; }
}

@media (max-width: 420px) {
  .masthead__inner { padding-block: 20px 18px; }
  .hero__lede { font-size: 1.0625rem; }
}

/* ---------- print ---------- */

@media print {
  body { background: #fff; font-size: 10.5pt; }
  .masthead, .rail, .foot { border-color: #bbb; }
  .page { display: block; padding-top: 0; }
  .rail { position: static; margin-bottom: 24pt; }
  .record { break-inside: avoid; }
  a { color: #000; }
}