.ip-page {
  background: #f6f9fc;
}

.ip-page .site-header {
  background: rgba(4, 17, 30, 0.9);
  border-color: rgba(111, 174, 221, 0.16);
  backdrop-filter: blur(18px);
}

.ip-hero {
  position: relative;
  padding: 176px 0 104px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 28%, rgba(29, 142, 255, 0.2), transparent 30%),
    linear-gradient(135deg, #04111f 0%, #071b2d 56%, #09273f 100%);
}

.ip-hero::after {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(73, 168, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(73, 168, 235, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(90deg, #000, transparent 82%);
}

.ip-hero .shell {
  position: relative;
  z-index: 1;
}

.ip-eyebrow {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--blue-400);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.ip-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(48px, 5.5vw, 88px);
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.ip-hero-copy > p {
  max-width: 820px;
  margin: 30px 0 0;
  color: rgba(229, 240, 249, 0.76);
  font-size: clamp(18px, 1.4vw, 23px);
  line-height: 1.84;
}

.ip-hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 654px;
  margin: 62px 0 0;
  border-top: 1px solid rgba(114, 185, 235, 0.25);
  border-left: 1px solid rgba(114, 185, 235, 0.25);
}

.ip-hero-facts div {
  padding: 24px 28px;
  border-right: 1px solid rgba(114, 185, 235, 0.25);
  border-bottom: 1px solid rgba(114, 185, 235, 0.25);
}

.ip-hero-facts dt {
  color: var(--blue-400);
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 750;
}

.ip-hero-facts dd {
  margin: 7px 0 0;
  color: rgba(229, 240, 249, 0.72);
  font-size: 14px;
}

.ip-proof,
.ip-register,
.ip-directory,
.ip-category {
  padding: 108px 0;
}

.ip-proof-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.82fr) minmax(560px, 1.18fr);
  gap: clamp(56px, 7vw, 120px);
  align-items: center;
}

.ip-proof-media {
  margin: 0;
  padding: 26px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 22px 70px rgba(14, 46, 75, 0.09);
}

.ip-proof-media img {
  width: 100%;
  height: auto;
}

.ip-proof-copy h2,
.ip-register-heading h2,
.ip-category-heading h2 {
  margin: 0;
  font-size: clamp(36px, 3.3vw, 58px);
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.ip-proof-copy > p,
.ip-register-heading > p,
.ip-category-heading > p {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
}

.ip-proof-meta {
  margin: 34px 0 0;
  border-top: 1px solid var(--line);
}

.ip-proof-meta div {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.ip-proof-meta dt {
  color: #6e8093;
}

.ip-proof-meta dd {
  margin: 0;
  color: var(--ink);
  font-weight: 650;
}

.ip-register {
  background: #fff;
  border-top: 1px solid var(--line);
}

.ip-register-heading {
  max-width: 900px;
}

.ip-table-wrap {
  margin-top: 54px;
  overflow-x: auto;
  border-top: 1px solid #d7e4ef;
  border-left: 1px solid #d7e4ef;
  background: #fff;
  box-shadow: 0 18px 52px rgba(13, 46, 74, 0.055);
  -webkit-overflow-scrolling: touch;
}

.ip-table-wrap:focus-visible {
  outline: 3px solid rgba(29, 142, 255, 0.26);
  outline-offset: 4px;
}

.ip-table-wrap.is-collapsed .ip-table tbody tr:not([data-ip-featured]) {
  display: none;
}

.ip-table-actions {
  display: flex;
  justify-content: center;
  padding-top: 34px;
}

.ip-table-toggle {
  display: inline-flex;
  min-width: 210px;
  min-height: 54px;
  padding: 14px 24px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--blue-500);
  border: 1px solid #bcdcf5;
  border-radius: 4px;
  background: #f3f9fe;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ip-table-toggle:hover {
  color: #0877ca;
  border-color: #75baf0;
  background: #eaf6ff;
}

.ip-table-toggle:focus-visible {
  outline: 3px solid rgba(29, 142, 255, 0.24);
  outline-offset: 3px;
}

.ip-table-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 0.24s ease;
}

.ip-table-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.ip-table {
  width: 100%;
  min-width: 1280px;
  border-collapse: separate;
  border-spacing: 0;
  color: #263c51;
  font-size: 14px;
}

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

.ip-table .ip-col-number {
  width: 72px;
}

.ip-table .ip-col-name {
  width: 300px;
}

.ip-table .ip-col-version {
  width: 92px;
}

.ip-table .ip-col-registration {
  width: 165px;
}

.ip-table .ip-col-date {
  width: 150px;
}

.ip-table .ip-col-owner {
  width: 220px;
}

.ip-table .ip-col-category {
  width: 210px;
}

.ip-table th,
.ip-table td {
  padding: 20px 18px;
  text-align: left;
  vertical-align: middle;
  border-right: 1px solid #d7e4ef;
  border-bottom: 1px solid #d7e4ef;
}

.ip-table thead th {
  color: #5d7084;
  background: #eef5fb;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.ip-table tbody th {
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.55;
}

.ip-table tbody tr:nth-child(even) th,
.ip-table tbody tr:nth-child(even) td {
  background: #f9fbfd;
}

.ip-table tbody tr:hover th,
.ip-table tbody tr:hover td {
  background: #f1f7fc;
}

.ip-col-index {
  color: #7c8da0;
  font-variant-numeric: tabular-nums;
  text-align: center !important;
}

.ip-registration-number,
.ip-table time {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ip-category-label {
  display: inline-flex;
  padding: 6px 10px;
  color: #176daf;
  border: 1px solid #c9e3f8;
  border-radius: 999px;
  background: #eff8ff;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  white-space: nowrap;
}

.ip-directory {
  padding-top: 0;
  background: #fff;
}

.ip-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.ip-directory a {
  display: flex;
  min-height: 124px;
  padding: 27px 30px;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease, background 0.2s ease;
}

.ip-directory a:hover {
  color: var(--blue-500);
  background: #f4f9fe;
}

.ip-directory strong {
  font-size: 20px;
}

.ip-directory span {
  color: #728396;
  font-size: 13px;
}

.ip-category {
  scroll-margin-top: 96px;
}

.ip-category:nth-of-type(even) {
  background: #fff;
}

.ip-category-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: 60px;
  align-items: end;
}

.ip-category-count {
  display: inline-flex;
  margin-bottom: 15px;
  color: var(--blue-500);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.ip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 58px;
}

.ip-card {
  display: flex;
  min-width: 0;
  padding: 31px;
  flex-direction: column;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 32px rgba(13, 46, 74, 0.045);
}

.ip-category:nth-of-type(even) .ip-card {
  background: #fbfdff;
}

.ip-card-kicker {
  color: var(--blue-500);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.ip-card h3 {
  margin: 12px 0 0;
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.35;
}

.ip-card-meta {
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}

.ip-card-meta div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.ip-card-meta dt {
  color: #748598;
}

.ip-card-meta dd {
  min-width: 0;
  margin: 0;
  color: #263c51;
  word-break: break-word;
}

.ip-card-meta a,
.ip-card-links a {
  color: var(--blue-500);
  font-weight: 650;
}

.ip-card-mapping {
  margin: 22px 0 0;
  color: #4f6377;
  font-size: 14px;
  line-height: 1.75;
}

.ip-card-mapping strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}

.ip-card-links {
  display: flex;
  margin-top: 20px;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
}

.ip-card details {
  margin-top: auto;
  padding-top: 23px;
}

.ip-card summary {
  width: max-content;
  color: var(--blue-500);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.ip-card details a {
  display: block;
  margin-top: 16px;
}

.ip-card details img {
  width: min(100%, 520px);
  height: auto;
  border: 1px solid var(--line);
}

@media (max-width: 1000px) {
  .ip-proof-grid,
  .ip-category-heading {
    grid-template-columns: 1fr;
  }

  .ip-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .ip-hero {
    padding: 132px 0 74px;
  }

  .ip-hero-facts,
  .ip-directory-grid,
  .ip-grid {
    grid-template-columns: 1fr;
  }

  .ip-proof,
  .ip-register,
  .ip-directory,
  .ip-category {
    padding: 76px 0;
  }

  .ip-directory {
    padding-top: 0;
  }

  .ip-proof-grid {
    gap: 38px;
  }

  .ip-card {
    padding: 24px;
  }

  .ip-card-meta div {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .ip-table-wrap {
    margin-top: 38px;
  }

  .ip-table th,
  .ip-table td {
    padding: 16px 14px;
  }
}
