:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --soft: #f5f5f7;
  --white: #ffffff;
  --text-orange: #c7352b;
  --green: #146c43;
  --blue: #0066cc;
  --blue-hover: #004f9e;
  --error: #b42318;
  --content-max: 1200px;
  --nav-max: 1024px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--white);
  scroll-behavior: smooth;
  scroll-padding-top: 44px;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button {
  font: inherit;
}

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

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

p,
h1,
h2,
h3,
dl,
dd,
ul {
  margin-top: 0;
}

ul {
  padding: 0;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 16px;
  min-height: 40px;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 200ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.content-shell {
  width: min(calc(100% - 128px), var(--content-max));
  margin-inline: auto;
}

.global-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 44px;
  border-bottom: 1px solid rgba(29, 29, 31, 0.14);
  background: var(--white);
}

.site-header {
  display: flex;
  width: min(calc(100% - 48px), var(--nav-max));
  height: 44px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.brand {
  min-height: 44px;
}

.brand-mark {
  display: block;
  width: 23px;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #3a3a3c;
  font-size: 12px;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-footer a:hover,
.text-button:hover {
  color: var(--blue-hover);
}

.mobile-menu {
  display: none;
}

.opening-inner {
  padding-block: clamp(104px, 11vw, 156px) clamp(96px, 9vw, 132px);
}

.kicker,
.dialog-kicker {
  margin-bottom: 22px;
  color: var(--text-orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.opening h1 {
  max-width: 900px;
  margin-bottom: 0;
  font-size: clamp(56px, 6.4vw, 80px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.opening-copy {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 24px);
  letter-spacing: -0.016em;
  line-height: 1.4;
}

.catalogue {
  padding-block: 112px 132px;
  background: var(--soft);
}

.section-heading {
  display: flex;
  margin-bottom: 48px;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.section-heading .kicker {
  margin-bottom: 0;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.catalogue-status,
.catalogue-error {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.catalogue-error {
  color: var(--error);
}

#application-list {
  display: grid;
  gap: 24px;
}

.application {
  padding: 48px;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background: var(--white);
}

.application-header {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  align-items: start;
  gap: 24px;
}

.application-icon {
  display: grid;
  width: 80px;
  height: 80px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  place-items: center;
  background: var(--white);
}

.application-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.application-category {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.application-title {
  margin-bottom: 0;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.status {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: #e7f4ec;
  color: var(--green);
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 700;
}

.status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.research-mark {
  background: var(--soft);
  color: #3a3a3c;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.research-badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: #515154;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.research-status {
  background: var(--soft);
  color: #515154;
}

.application-layout {
  display: grid;
  margin-top: 36px;
  grid-template-columns: minmax(0, 1.22fr) minmax(280px, 0.78fr);
  gap: clamp(56px, 7vw, 96px);
}

.application-description {
  max-width: 660px;
  margin-bottom: 0;
  color: #3a3a3c;
  font-size: 19px;
  letter-spacing: -0.012em;
  line-height: 1.47;
}

.signal-availability {
  margin-top: 52px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.signal-availability-kicker {
  margin-bottom: 10px;
  color: var(--text-orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.signal-availability-title {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.signal-choice-grid {
  display: grid;
  margin-top: 32px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.signal-choice {
  display: flex;
  min-width: 0;
  padding: 30px 28px;
  flex-direction: column;
}

.signal-choice:first-child {
  padding-left: 0;
}

.signal-choice:last-child {
  padding-right: 0;
}

.signal-choice + .signal-choice {
  border-left: 1px solid var(--line);
}

.signal-choice-kicker {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
}

.signal-choice-title {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.02em;
  line-height: 1.16;
}

.signal-choice-description {
  margin: 14px 0 0;
  color: #515154;
  font-size: 14px;
  line-height: 1.5;
}

.signal-choice-actions {
  display: flex;
  margin-top: 26px;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.signal-choice-actions .primary-action {
  min-height: 42px;
  padding: 9px 17px;
}

.signal-secondary-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.signal-secondary-link:hover {
  color: var(--blue-hover);
}

.signal-security-notice {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.signal-privacy-summary {
  display: grid;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr);
  gap: 28px;
}

.signal-privacy-summary h4 {
  margin: 0;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.signal-privacy-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
}

.signal-privacy-list li {
  color: #515154;
  font-size: 13px;
  line-height: 1.45;
}

.release-technical {
  border-bottom: 1px solid var(--line);
}

.release-technical-summary {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.release-technical-summary::-webkit-details-marker {
  display: none;
}

.release-technical-summary::after {
  color: var(--muted);
  content: "+";
  font-size: 20px;
  font-weight: 400;
}

.release-technical[open] > .release-technical-summary::after {
  content: "−";
}

.release-technical-content {
  display: grid;
  padding: 8px 0 36px;
  gap: 44px;
}

.release-platform-details {
  min-width: 0;
}

.release-platform-details + .release-platform-details {
  padding-top: 40px;
  border-top: 1px solid var(--line-soft);
}

.release-platform-details h5 {
  margin: 0 0 22px;
  font-size: 18px;
  letter-spacing: -0.018em;
}

.release-platform-facts,
.release-asset-facts {
  display: grid;
  margin: 0;
  gap: 14px 24px;
}

.release-platform-facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.release-platform-facts div,
.release-asset-facts div {
  min-width: 0;
}

.release-platform-facts dt,
.release-asset-facts dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.release-platform-facts dd,
.release-asset-facts dd {
  margin: 5px 0 0;
  color: #3a3a3c;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.release-platform-facts code,
.release-asset-facts code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88em;
  font-weight: 500;
}

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

.release-asset-details {
  min-width: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.release-asset-details h6 {
  margin: 0 0 16px;
  font-size: 13px;
  letter-spacing: -0.005em;
}

.release-resource-links {
  display: flex;
  margin-top: 24px;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.application-detail-action {
  margin-top: 22px;
}

.research-privacy {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.research-privacy .privacy-statement {
  font-size: 15px;
}

.research-facts {
  grid-template-columns: 1fr;
}

.capabilities-title {
  margin: 36px 0 14px;
  font-size: 14px;
  font-weight: 700;
}

.capability-list,
.detail-list {
  list-style: none;
}

.capability-list {
  display: grid;
  max-width: 660px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.capability-list li {
  padding: 13px 20px 13px 0;
  border-bottom: 1px solid var(--line);
  color: #3a3a3c;
  font-size: 14px;
  line-height: 1.4;
}

.facts {
  display: grid;
  margin-bottom: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.facts div {
  min-width: 0;
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1.35;
  text-transform: uppercase;
}

.facts dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.application-actions {
  display: flex;
  margin-top: 40px;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.primary-action,
.secondary-action,
.text-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease,
    transform 180ms ease;
}

.primary-action {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--white);
}

.primary-action:hover {
  transform: translateY(-1px);
  border-color: var(--blue-hover);
  background: var(--blue-hover);
}

.secondary-action {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue);
}

.secondary-action:hover {
  border-color: var(--blue);
  background: var(--soft);
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--blue);
  padding-inline: 10px;
}

.package-note {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.package-note code,
.detail-value code {
  color: #3a3a3c;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  background: var(--white);
}

.footer-inner {
  display: grid;
  min-height: 112px;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 18px;
}

.site-footer a {
  justify-self: end;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}

.application-dialog {
  width: min(calc(100% - 48px), 820px);
  max-height: min(86vh, 900px);
  margin: auto;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: var(--white);
  color: var(--ink);
  padding: 0;
  box-shadow: 0 24px 80px rgba(29, 29, 31, 0.22);
}

.application-dialog::backdrop {
  background: rgba(29, 29, 31, 0.42);
}

.dialog-surface {
  max-height: inherit;
  overflow-y: auto;
}

.dialog-header {
  position: sticky;
  z-index: 1;
  top: 0;
  display: flex;
  padding: 32px 36px 26px;
  border-bottom: 1px solid var(--line-soft);
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  background: var(--white);
}

.dialog-kicker {
  margin-bottom: 8px;
}

.dialog-header h2 {
  margin-bottom: 0;
  font-size: 34px;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.dialog-close {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  place-items: center;
  background: var(--soft);
  color: #3a3a3c;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.dialog-close:hover {
  background: var(--line-soft);
}

.dialog-content {
  padding: 32px 36px 40px;
}

.dialog-description,
.privacy-statement {
  color: #3a3a3c;
  font-size: 17px;
  line-height: 1.5;
}

.detail-section {
  padding-block: 24px;
  border-top: 1px solid var(--line);
}

.detail-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.detail-section h3 {
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.012em;
}

.detail-list {
  display: grid;
  margin-bottom: 0;
  gap: 9px;
}

.detail-list li {
  position: relative;
  padding-left: 18px;
  color: #3a3a3c;
  font-size: 14px;
  line-height: 1.5;
}

.detail-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-orange);
  content: "";
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 32px;
}

.compatibility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
}

.compatibility-item .detail-list {
  margin-top: 8px;
}

.detail-label {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.detail-value,
.privacy-statement {
  margin-bottom: 0;
}

.detail-value {
  color: #3a3a3c;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.notice-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .content-shell {
    width: min(calc(100% - 80px), var(--content-max));
  }

  .site-header {
    display: grid;
  }

  .catalogue {
    padding-block: 96px 112px;
  }

  .application {
    padding: 40px;
  }

  .application-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .signal-choice-grid {
    grid-template-columns: 1fr;
  }

  .signal-choice,
  .signal-choice:first-child,
  .signal-choice:last-child {
    padding: 28px 0;
  }

  .signal-choice + .signal-choice {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .signal-privacy-summary {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .signal-privacy-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .content-shell,
  .site-header {
    width: calc(100% - 44px);
  }

  .opening-inner {
    padding-block: 80px 84px;
  }

  .opening h1 {
    font-size: 46px;
    line-height: 1.01;
  }

  .opening-copy {
    margin-top: 22px;
    font-size: 18px;
  }

  .catalogue {
    padding-block: 80px 88px;
  }

  .section-heading {
    margin-bottom: 36px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .section-heading h2 {
    font-size: 38px;
  }

  .application {
    padding: 28px 22px;
    border-radius: 18px;
  }

  .application-header {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
  }

  .application-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }

  .application-title {
    font-size: 27px;
  }

  .status {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .application-layout {
    margin-top: 28px;
    gap: 36px;
  }

  .signal-availability {
    margin-top: 40px;
    padding-top: 34px;
  }

  .signal-availability-title {
    font-size: 25px;
  }

  .signal-choice-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .signal-choice-actions .primary-action,
  .signal-secondary-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .release-platform-facts,
  .release-assets-grid {
    grid-template-columns: 1fr;
  }

  .release-resource-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .application-description {
    font-size: 17px;
  }

  .capability-list,
  .facts {
    grid-template-columns: 1fr;
  }

  .application-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-action,
  .secondary-action,
  .text-button {
    width: 100%;
  }

  .footer-inner {
    padding-block: 36px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-inner p {
    text-align: left;
  }

  .site-footer a {
    justify-self: start;
  }

  .footer-links {
    justify-self: start;
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .application-dialog {
    width: calc(100% - 24px);
    max-height: calc(100vh - 24px);
    border-radius: 18px;
  }

  .dialog-header,
  .dialog-content {
    padding-inline: 22px;
  }

  .dialog-header {
    padding-block: 24px 20px;
  }

  .dialog-header h2 {
    font-size: 28px;
  }

  .dialog-content {
    padding-block: 24px 32px;
  }

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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