/* Theme tokens: preserve the accepted text, heading, and wordmark colors. */
:root {
  --white: #fff;
  --navy: #071d49;
  --heading: var(--brand-accent);
  --cyan: #009cde;
  --brand-accent: #004ea1;
  --link: #0078ae;
  --muted: #526681;
  --line: #cedbe6;
}

/* Base document, focus styles, and link transitions.
   Shared site-sections.css owns link colors, underlines, and optical alignment. */
* {
  box-sizing: border-box;
}

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

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

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

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

a:hover {
  text-decoration-line: underline;
}

body a:not(.button):not(.brand):not(.footer-wordmark) {
  transition: color 0.15s ease;
}

img {
  max-width: 100%;
  height: auto;
}

svg {
  flex: none;
}

p, h1, h2, h3 {
  margin: 0;
}

.wrap {
  width: min(1400px, calc(100% - 128px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  z-index: 10;
  top: -90px;
  left: 20px;
  background: var(--navy);
  color: white;
  padding: 14px 20px;
}

.skip:focus {
  top: 14px;
}

/* Light-background headings share the blue of the raised brand marker. */
.hero h1,
.section-intro h2,
.component-list h3,
.instances h2,
.summary p:first-child,
.project-about h2,
.about-group h3,
.devices-intro h1,
.device-section h2,
.device-card h3 {
  color: var(--heading);
}

/* Header and original image wordmark. */
.header {
  height: 148px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  display: block;
  position: relative;
  width: 272px;
  flex-shrink: 0;
}

.brand::after {
  content: "";
  position: absolute;
  left: calc(100% + 4px);
  top: 38%;
  width: 2.2%;
  aspect-ratio: 1;
  border-radius: 0;
  background: var(--brand-accent);
  pointer-events: none;
}

.brand img {
  display: block;
  width: 100%;
}

.header nav {
  display: flex;
  align-items: center;
  gap: 42px;
  font-size: 20px;
}

.header nav a {
  padding: 12px 0;
}

.languages {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 18px;
}

.languages a {
  padding: 12px 0;
}

.languages a + a::before {
  content: '/';
  position: absolute;
  left: -15px;
  pointer-events: none;
}

.languages [aria-current] {
  font-weight: 700;
}

/* Hero copy, actions, and architecture image. */
.hero {
  position: relative;
  min-height: 668px;
  padding-top: 98px;
  padding-bottom: 100px;
  overflow: clip;
}

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

.hero h1 {
  font-size: clamp(48px, 4.65vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.046em;
  font-weight: 700;
  max-width: 970px;
}

.hero h1 .hero-accent {
  color: inherit;
}

.hero-copy > p {
  font-size: 28px;
  line-height: 1.4;
  max-width: 650px;
  color: #425e77;
  margin-top: 34px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 20px 32px;
  border-radius: 11px;
  background: var(--link);
  color: white;
  font-size: 23px;
  line-height: 1.35;
  transition: background 0.15s;
}

.button:hover, .button:focus-visible {
  background: #001a5a;
  color: #fff;
  text-decoration: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 500;
}

.actions .text-link {
  font-weight: 700;
}

.hero-art {
  position: absolute;
  z-index: 0;
  width: 61%;
  max-width: none;
  right: -54px;
  top: -48px;
  pointer-events: none;
}

/* Project summary. */
.summary {
  position: relative;
  border-top: 1px solid #91a7bf;
  padding-top: 50px;
  padding-bottom: 55px;
}

.summary p:first-child {
  font-size: 29px;
  line-height: 1.35;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.summary p + p {
  font-size: 23px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 8px;
}

/* Component list. */
.components {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  gap: 65px;
  padding-top: 110px;
  padding-bottom: 105px;
}

.section-intro h2 {
  font-size: 44px;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.section-intro > p {
  font-size: 23px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 28px;
  max-width: 390px;
}

.component-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.component-list li {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 27px 0 28px;
  border-top: 1px solid var(--line);
}

.component-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.component-list h3 {
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.component-list p {
  font-size: 20px;
  line-height: 1.45;
  color: var(--muted);
  margin-top: 6px;
}

.status {
  font-size: 18px;
  line-height: 1.5;
  color: var(--link);
  white-space: nowrap;
}

.component-list .status {
  padding-top: 5px;
}

.caption {
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 28px;
}

/* Infrastructure principles. */
.principles {
  background: var(--navy);
  color: white;
}

.principles-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  padding-top: 80px;
  padding-bottom: 80px;
  align-items: center;
}

.principles h2 {
  font-size: clamp(40px, 4.25vw, 62px);
  line-height: 1.13;
  letter-spacing: -0.035em;
}

.principles h2 > span {
  color: #24baff;
}

.principle-list > div {
  padding: 31px 0;
  border-bottom: 1px solid #54698d;
}

.principle-list > div:first-child {
  padding-top: 0;
}

.principle-list > div:last-child {
  border: 0;
  padding-bottom: 0;
}

.principle-list h3 {
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.principle-list p {
  color: #c0d1eb;
  font-size: 21px;
  line-height: 1.45;
  margin-top: 13px;
}

/* Private infrastructure and cloud-card link. */
.instances {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 55px;
  padding-top: 85px;
  padding-bottom: 90px;
}

.instances h2 {
  font-size: 40px;
  line-height: 1.18;
  letter-spacing: -0.04em;
  max-width: 680px;
}

.instances p {
  font-size: 20px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 18px;
}

.instance-link {
  display: flex;
  align-items: baseline;
  gap: 20px;
  color: var(--muted);
  font-size: 18px;
}

.instance-link .status {
  border-left: 1px solid #8b9eb6;
  padding-left: 20px;
  color: var(--muted);
}

.instance-link .text-link {
  font-size: 18px;
  text-decoration-line: underline;
  white-space: nowrap;
  margin-left: 20px;
}

/* Primary footer typography and wordmark colors.
   Shared site-sections.css owns footer layout. */
footer {
  font-size: 15px;
}

.brand-footer .footer-wordmark {
  color: #001a5a;
}

.brand-footer .footer-wordmark .wordmark-net {
  color: #009eed;
}

/* Wide screens. */
@media (min-width: 1700px) {
  .hero-art {
    right: -30px;
    width: 60%;
  }

  .hero {
    min-height: 670px;
  }
}

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

  .header {
    height: 122px;
    gap: 25px;
  }

  .brand {
    width: 218px;
  }

  .header nav {
    gap: 25px;
    font-size: 17px;
  }

  .hero {
    min-height: 555px;
    padding-top: 70px;
  }

  .hero h1 {
    font-size: 52px;
    max-width: 800px;
  }

  .hero-copy > p {
    font-size: 22px;
    max-width: 535px;
  }

  .hero-art {
    top: 80px;
    width: 58%;
    right: -28px;
  }

  .button {
    font-size: 18px;
    padding: 17px 24px;
    min-height: 62px;
  }

  .actions {
    gap: 25px;
  }

  .text-link {
    font-size: 18px;
  }

  .summary p:first-child {
    font-size: 26px;
  }

  .summary p + p {
    font-size: 21px;
  }

  .components {
    grid-template-columns: 0.85fr 1.5fr;
    gap: 40px;
  }

  .section-intro h2 {
    font-size: 37px;
  }

  .section-intro > p {
    font-size: 20px;
  }

  .component-list h3 {
    font-size: 25px;
  }

  .component-list p {
    font-size: 18px;
  }

  .principles-inner {
    gap: 45px;
  }

  .principle-list h3 {
    font-size: 28px;
  }

  .principle-list p {
    font-size: 19px;
  }

  .instances {
    align-items: flex-start;
    flex-direction: column;
    gap: 35px;
  }

  .instances h2 {
    max-width: none;
  }

  .instance-link .text-link {
    margin-left: 24px;
  }
}

/* Tablet and stacked content. */
@media (max-width: 900px) {
  .wrap {
    width: calc(100% - 48px);
  }

  .header {
    height: auto;
    min-height: 130px;
    flex-wrap: wrap;
    padding-top: 23px;
    padding-bottom: 20px;
    row-gap: 20px;
  }

  .brand {
    width: 200px;
  }

  .languages {
    margin-left: auto;
  }

  .header nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 16px;
    font-size: 16px;
  }

  .header nav a {
    padding: 4px 0;
  }

  .hero {
    padding-top: 36px;
    padding-bottom: 0;
    min-height: 0;
  }

  .hero h1 {
    font-size: clamp(33px, 6vw, 52px);
    letter-spacing: -0.04em;
  }

  .hero-copy > p {
    font-size: 21px;
    max-width: 590px;
    margin-top: 27px;
  }

  .actions {
    margin-top: 28px;
    gap: 26px;
  }

  .hero-art {
    position: relative;
    top: auto;
    right: auto;
    display: block;
    width: 100%;
    max-width: 650px;
    margin: -10px auto 0;
  }

  .summary {
    padding-top: 30px;
    padding-bottom: 40px;
  }

  .summary p:first-child {
    font-size: 25px;
  }

  .summary p + p {
    font-size: 20px;
  }

  .components {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 60px 0;
  }

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

  .section-intro > p {
    max-width: 600px;
    margin-top: 18px;
  }

  .component-list li {
    padding: 24px 0;
  }

  .principles-inner {
    grid-template-columns: 1fr;
    padding: 55px 0;
  }

  .principles h2 {
    font-size: clamp(34px, 6.4vw, 52px);
  }

  .principle-list h3 {
    font-size: 27px;
  }

  .instances {
    padding-top: 55px;
    padding-bottom: 55px;
  }

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

/* Small phones. */
@media (max-width: 480px) {
  .header {
    column-gap: 16px;
  }

  .brand {
    width: 164px;
  }

  .languages {
    font-size: 15px;
    gap: 18px;
  }

  .languages a + a::before {
    left: -12px;
  }

  .hero h1 {
    font-size: clamp(28px, 7.1vw, 34px);
    line-height: 1.13;
    letter-spacing: -0.045em;
  }

  .hero-copy > p {
    font-size: 18px;
    line-height: 1.5;
  }

  .actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .button {
    font-size: 17px;
    min-height: 56px;
    padding: 15px 22px;
    max-width: 100%;
    text-align: center;
  }

  .actions .text-link {
    font-size: 17px;
  }

  .hero-art {
    margin: 5px auto 0;
  }

  .summary p:first-child {
    font-size: 23px;
  }

  .summary p + p {
    font-size: 18px;
  }

  .section-intro h2 {
    font-size: 34px;
  }

  .section-intro > p {
    font-size: 18px;
  }

  .component-list p {
    font-size: 17px;
  }

  .component-list .status {
    font-size: 14px;
  }

  .caption {
    font-size: 14px;
  }

  .principles h2 {
    font-size: clamp(26px, 7.65vw, 35px);
  }

  .principle-list p {
    font-size: 18px;
  }

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

  .instances p {
    font-size: 18px;
  }

  .instance-link {
    flex-wrap: wrap;
    gap: 16px;
    font-size: 17px;
  }

  .instance-link .text-link {
    width: max-content;
    max-width: 100%;
    margin: 6px 0 0;
  }
}

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

  .button, body a:not(.button):not(.brand):not(.footer-wordmark) {
    transition: none;
  }
}
