/* Original orange theme for the alternative landing page and Infometric card.
   Shared site-sections.css owns the common footer and text-link presentation. */
:root {
  --paper: #f9f9f6;
  --ink: #171816;
  --muted: #646961;
  --line: #d6d9d0;
  --orange: #fb642f;
  --soft: #fee9df;
  --green: #28643c;
}

/* Base document, focus, typography, and reusable text links. */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 6px;
}

h2 {
  font-size: clamp(34px, 3.5vw, 48px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -2px;
  margin: 0;
}

.kicker {
  font-size: 11px;
  text-transform: none;
  letter-spacing: 1.5px;
  line-height: 1.65;
  font-weight: 500;
  color: var(--muted);
}

.kicker > .kicker-divider {
  margin: 0 9px;
  color: var(--orange);
}

.text-link {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  font-size: 15px;
  line-height: 1.5;
  border-bottom: 1px solid transparent;
}

.text-link > .link-arrow {
  font-size: 26px;
}

.skip {
  position: absolute;
  left: 10px;
  top: -100px;
  background: var(--ink);
  color: #fff;
  padding: 12px;
  z-index: 9;
}

.skip:focus {
  top: 10px;
}

/* Page width, header, wordmark, and language navigation. */
.wrap {
  width: min(1280px, calc(100% - 96px));
  margin: auto;
}

.header {
  display: flex;
  align-items: center;
  gap: 60px;
  height: 112px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -2px;
  white-space: nowrap;
}

.brand span {
  font-weight: 500;
}

.brand b {
  color: var(--orange);
  font-size: 15px;
  vertical-align: top;
  display: inline-block;
  margin: 5px 0 0 5px;
  letter-spacing: 0;
}

.header nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
  margin-left: 20px;
}

.languages {
  display: flex;
  gap: 20px;
  margin-left: auto;
  font-size: 13px;
}

.languages a {
  padding: 8px 0;
}

.languages [aria-current] {
  border-bottom: 2px solid var(--orange);
}

/* Landing-page hero. */
.hero {
  padding: 72px 0 76px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 35px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(56px, 6.5vw, 94px);
  line-height: .99;
  letter-spacing: -5px;
  font-weight: 700;
  margin: 28px 0 32px;
}

.intro {
  font-size: 20px;
  line-height: 1.5;
  max-width: 530px;
  color: #40443e;
}

.hero .text-link {
  margin-top: 22px;
}

/* Network illustration. */
.network {
  margin: 0;
  max-width: 460px;
}

.network svg {
  width: 100%;
  display: block;
}

.network figcaption {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
}

.orbit {
  fill: none;
  stroke: #a2a99b;
  stroke-dasharray: 3 6;
}

.links {
  fill: none;
  stroke: #343b31;
  stroke-width: 1.3;
}

.cross {
  stroke: #a2a99b;
}

.ring {
  fill: var(--paper);
  stroke: var(--ink);
}

.orange {
  fill: var(--orange);
}

.dark {
  fill: var(--ink);
}

.node {
  text-anchor: middle;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.4px;
}

.diagram-label {
  text-anchor: middle;
  font-size: 10px;
  letter-spacing: 1px;
  fill: var(--muted);
}

/* Ownership statement. */
.ownership {
  background: var(--orange);
  padding: 46px 0;
}

.ownership-inner {
  display: grid;
  grid-template-columns: 120px 1.5fr 1fr;
  gap: 38px;
  align-items: start;
}

.ownership .kicker {
  color: var(--ink);
}

.ownership h2 {
  font-size: clamp(32px, 3.2vw, 44px);
}

.ownership p:not(.kicker) {
  font-size: 14px;
  line-height: 1.6;
  margin: 4px 0 0;
}

/* Platform principles. */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  padding: 60px 0 72px;
}

.principles article + article {
  border-left: 1px solid var(--line);
  padding-left: 36px;
}

.principles h3 {
  font-size: 20px;
  letter-spacing: -0.5px;
  margin: 15px 0 13px;
}

.principles p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  color: var(--muted);
}

/* Components table, publication states, and release notice. */
.components {
  padding: 35px 0 80px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 40px;
}

.section-heading .kicker {
  margin: 0 0 16px;
}

.section-heading > p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 360px;
  margin: 0 0 3px auto;
}

table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 15px;
}

thead {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--muted);
}

th {
  font-weight: 500;
}

thead th {
  padding: 12px 0;
}

tbody th, tbody td {
  padding: 23px 0;
  border-top: 1px solid var(--line);
}

tbody tr:last-child > * {
  border-bottom: 1px solid var(--line);
}

tbody th {
  width: 35%;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

tbody td:nth-child(2) {
  line-height: 1.55;
  color: #51574e;
  padding-right: 40px;
}

tbody td:last-child, thead th:last-child {
  text-align: right;
}

.row-number {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
  margin-right: 24px;
  vertical-align: middle;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dcbda6;
  padding: 7px 10px;
  font-size: 11px;
  letter-spacing: .2px;
  font-weight: 400;
  white-space: nowrap;
  color: #8b3d1e;
  background: var(--soft);
}

.status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.status.available {
  color: var(--green);
  border-color: #b7cdb8;
  background: #edf4e9;
}

.status-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 18px;
}

.release {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  background: #eff1e9;
  padding: 25px 28px;
  margin-top: 38px;
  align-items: center;
}

.release > div {
  display: flex;
  align-items: center;
  gap: 22px;
}

.release h3 {
  font-size: 18px;
  margin: 0;
  font-weight: 500;
}

.release p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* Private-infrastructure section and cloud-card link. */
.instances {
  border-top: 1px solid var(--line);
  padding: 50px 0 84px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.instances h2 {
  font-size: 36px;
  margin: 20px 0;
}

.instances p:not(.kicker) {
  max-width: 410px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.instance-link {
  border-top: 2px solid var(--ink);
  padding: 29px 0;
  align-self: center;
  display: block;
}

.instance-link > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.instance-link:hover {
  border-color: var(--orange);
}

/* Infometric information card.
   Shared site-sections.css owns responsive instance-title and instance-name typography. */
.instance-hero {
  padding: 70px 0 80px;
}

.instance-title {
  display: flex;
  gap: 40px;
  align-items: center;
}

.instance-title h1 {
  font-weight: 500;
  line-height: 1;
  margin: 25px 0;
}

.instance-hero .intro {
  max-width: 660px;
}

.metadata {
  margin: 55px 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metadata > div {
  padding: 25px 24px 25px 0;
}

.metadata dt {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.metadata dd {
  margin: 14px 0 0;
  font-size: 18px;
}

.instance-note {
  font-size: 13px;
  line-height: 1.7;
  max-width: 700px;
  color: var(--muted);
  margin: 0 0 35px;
}

/* Compact desktop. */
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 56px);
  }

  .header {
    gap: 25px;
  }

  .header nav {
    gap: 20px;
    margin: 0;
  }

  .hero h1 {
    letter-spacing: -3px;
  }

  .hero .kicker {
    max-width: 290px;
  }

  .intro {
    font-size: 18px;
  }

  .ownership-inner {
    grid-template-columns: 1.3fr 1fr;
    gap: 30px;
  }

  .ownership .kicker {
    display: none;
  }

  .principles {
    gap: 28px;
  }

  .principles article + article {
    padding-left: 24px;
  }

  .section-heading {
    gap: 40px;
  }

  tbody th {
    font-size: 17px;
  }

  .row-number {
    margin-right: 12px;
  }

  .release > div {
    gap: 12px;
  }

  .release h3 {
    font-size: 16px;
  }

  .instances {
    gap: 45px;
  }
}

/* Small screens: stacked content, components, and metadata. */
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 40px);
  }

  .header {
    height: auto;
    min-height: 94px;
    flex-wrap: wrap;
    gap: 18px;
    padding: 20px 0;
  }

  .header .brand {
    font-size: 31px;
  }

  .header nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    font-size: 12px;
    padding: 4px 0;
  }

  .languages {
    font-size: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 44px 0;
  }

  .hero .kicker {
    max-width: none;
    font-size: 9px;
    letter-spacing: 1px;
  }

  .hero h1 {
    font-size: clamp(50px, 11vw, 72px);
    margin: 25px 0;
  }

  .intro {
    font-size: 17px;
    max-width: none;
  }

  .hero .text-link {
    margin-top: 12px;
  }

  .network {
    width: 100%;
    max-width: 320px;
    justify-self: center;
  }

  .ownership {
    padding: 30px 0;
  }

  .ownership-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ownership h2 {
    font-size: 34px;
    letter-spacing: -1.5px;
  }

  .ownership p:not(.kicker) {
    font-size: 13px;
    max-width: 440px;
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 38px 0;
  }

  .principles article + article {
    border: 0;
    border-top: 1px solid var(--line);
    padding: 25px 0 0;
  }

  .principles h3 {
    margin-top: 10px;
  }

  .components {
    padding: 35px 0 45px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 25px;
  }

  .section-heading h2 {
    font-size: 35px;
    letter-spacing: -1.5px;
  }

  .section-heading > p {
    margin: 0;
    max-width: none;
    font-size: 14px;
  }

  table, tbody, tr, tbody th, tbody td {
    display: block;
  }

  thead {
    display: none;
  }

  tbody tr {
    position: relative;
    border-top: 1px solid var(--line);
    padding: 22px 0;
  }

  tbody th, tbody td {
    border: 0;
    padding: 0;
    width: auto;
  }

  tbody th {
    font-size: 19px;
    white-space: normal;
    margin-bottom: 14px;
    line-height: 1.3;
  }

  tbody td:nth-child(2) {
    padding: 0;
    font-size: 14px;
  }

  tbody td:last-child {
    position: absolute;
    top: 22px;
    right: 0;
  }

  tbody tr:last-child > * {
    border: 0;
  }

  tbody tr:last-child {
    border-bottom: 1px solid var(--line);
  }

  .row-number {
    display: none;
  }

  .status {
    font-size: 10px;
    padding: 6px 8px;
  }

  .release {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 15px;
  }

  .release > div {
    gap: 15px;
  }

  .instances {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 35px 0 45px;
  }

  .instances h2 {
    font-size: 32px;
    letter-spacing: -1.2px;
  }

  .instances p:not(.kicker) {
    font-size: 14px;
  }

  .instance-link {
    padding: 25px 0 0;
  }

  .instance-hero {
    padding: 40px 0;
  }

  .instance-title {
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
  }

  .instance-title h1 {
    margin: 0;
  }

  .metadata {
    grid-template-columns: 1fr 1fr;
    margin-top: 35px;
  }

  .metadata > div {
    padding: 22px 10px 22px 0;
  }

  .metadata dt {
    font-size: 9px;
  }

  .metadata dd {
    font-size: 16px;
  }
}

/* Respect reduced-motion preferences for scrolling. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
