:root {
  --bg: #0a0d10;
  --surface: #12161b;
  --surface-elevated: #171c22;
  --border: #272e37;
  --border-strong: #485461;
  --text-primary: #f4f6f8;
  --text-secondary: #b2bbc5;
  --text-muted: #87919d;
  --accent: #75d8a2;
  --accent-soft: #183c2b;
  --success: #75d8a2;
  --error: #f19999;

  --font-display:
    ui-monospace, "SF Mono", "Cascadia Code", "Roboto Mono", Consolas,
    "Liberation Mono", monospace;
  --font-body:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;

  --fs-eyebrow: clamp(0.7rem, 0.66rem + 0.2vw, 0.8rem);
  --fs-h1: clamp(2.4rem, 1.8rem + 3vw, 4rem);
  --fs-lede: clamp(1rem, 0.92rem + 0.35vw, 1.125rem);
  --fs-row-title: 1.125rem;
  --fs-row-meta: 0.875rem;
  --fs-small: 0.8125rem;

  --space-section: clamp(3.5rem, 2.5rem + 5vw, 6.5rem);
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);
  --container-max: 800px;

  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  background-image: linear-gradient(
    115deg,
    rgba(117, 216, 162, 0.045),
    transparent 34rem
  );
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

h1,
h2,
p {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

.skip-link {
  position: fixed;
  top: -3rem;
  left: 1rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--text-primary);
  color: var(--bg);
  font-weight: 600;
  font-size: var(--fs-small);
  border-radius: 6px;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.eyebrow,
.site-footer__mark {
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.intro {
  padding-block: var(--space-section) clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.intro__inner {
  display: grid;
  max-width: 50rem;
}

.intro__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: clamp(1.5rem, 6vw, 4rem);
  min-width: 0;
  width: 100%;
}

.intro__heading {
  display: contents;
}

.intro__heading h1 {
  grid-column: 1;
}

.intro__logo {
  display: block;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  width: clamp(8rem, 18vw, 12rem);
  height: auto;
}

.intro__logo img {
  width: 100%;
  height: auto;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
}

h1,
h2 {
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

h1 {
  max-width: 12ch;
  margin-top: 0.75rem;
  font-size: var(--fs-h1);
  line-height: 1.04;
}

.intro__lede {
  grid-column: 1;
  max-width: 52ch;
  margin-top: 1.4rem;
  color: var(--text-secondary);
  font-size: var(--fs-lede);
  line-height: 1.65;
}

.server-connect {
  --server-accent: #ffca28;
  --server-border: #745b08;
  width: 100%;
  max-width: 46rem;
  margin-inline: auto;
  margin-top: clamp(0.75rem, 0.6rem + 1vw, 1.25rem);
  justify-self: center;
}

.server-connect h2 {
  margin-bottom: 1.1rem;
  color: var(--server-accent);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.5rem);
  letter-spacing: 0.025em;
  line-height: 1.2;
  text-align: center;
}

.server-connect__card {
  overflow: hidden;
  background: var(--surface-elevated);
  border: 2px solid var(--server-border);
  border-radius: 0.6rem;
}

.server-connect__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 13.9rem;
  align-items: center;
  gap: 1.5rem;
  padding: 1.45rem 1.5rem;
}

.server-connect__row + .server-connect__row {
  border-top: 1px solid rgba(116, 91, 8, 0.65);
}

.server-connect__address {
  display: grid;
  min-width: 0;
  gap: 0.25rem;
}

.server-connect__edition {
  color: #c7a01f;
  font-size: var(--fs-row-meta);
}

.server-connect__address code {
  overflow: hidden;
  color: var(--server-accent);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-connect__port {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.45rem;
  color: #c7a01f;
  font-size: 1rem;
}

.server-connect__port strong {
  color: var(--server-accent);
  font-family: var(--font-display);
}

.server-connect__port-copy {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--server-border);
  border-radius: 0.35rem;
  color: var(--server-accent);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  transition:
    background-color 180ms var(--ease),
    border-color 180ms var(--ease),
    color 180ms var(--ease);
}

.server-connect__port-copy:hover,
.server-connect__port-copy:focus-visible,
.server-connect__port-copy.is-copied {
  background: #45380e;
  border-color: var(--server-accent);
  color: #fff1a8;
}

.server-connect__copy {
  display: inline-flex;
  min-height: 4rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--server-border);
  border-radius: 1.15rem;
  color: var(--server-accent);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition:
    background-color 180ms var(--ease),
    border-color 180ms var(--ease),
    color 180ms var(--ease);
}

.server-connect__copy:hover,
.server-connect__copy:focus-visible,
.server-connect__copy.is-copied {
  background: #45380e;
  border-color: var(--server-accent);
  color: #fff1a8;
}

.server-connect__status {
  min-height: 1.5rem;
  margin-top: 0.65rem;
  color: var(--text-muted);
  font-size: var(--fs-small);
  text-align: center;
}

.server-connect__status:empty {
  display: none;
}

.server-connect__status.is-error {
  color: var(--error);
}

.services {
  padding-bottom: var(--space-section);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.section-heading h2 {
  margin-top: 0.45rem;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.75rem);
  line-height: 1.2;
}

.section-heading .eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.09em;
  line-height: 1.5;
}

.services__list {
  border-bottom: 1px solid var(--border);
}

.service {
  position: relative;
  border-top: 1px solid var(--border);
}

.service:first-child {
  border-top: 0;
}

.service__link {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.125rem;
  min-height: 7rem;
  padding: 1.25rem 0.25rem;
  text-decoration: none;
  transition: background-color 180ms var(--ease);
}

.service__link:hover,
.service__link:focus-visible {
  background: var(--surface);
}

.service__icon {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.service__icon img {
  width: 1.85rem;
  height: 1.85rem;
  object-fit: contain;
}

.service:first-child .service__icon img {
  width: 2.8rem;
  height: 2.8rem;
}

.service__content {
  display: grid;
  min-width: 0;
  gap: 0.25rem;
}

.service__title {
  font-size: var(--fs-row-title);
  font-weight: 700;
}

.service__description {
  overflow: hidden;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: var(--fs-row-meta);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service__action {
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.025em;
  white-space: nowrap;
  transition:
    color 180ms var(--ease),
    transform 180ms var(--ease);
}

.service__action span {
  display: inline-block;
  margin-left: 0.25rem;
}

.service__link:hover .service__action,
.service__link:focus-visible .service__action {
  color: var(--accent);
}

.service__link:hover .service__action span {
  transform: translateX(0.2rem);
}

.copy-button {
  position: absolute;
  right: 6.25rem;
  top: 50%;
  z-index: 1;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  translate: 0 -50%;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--text-muted);
  transition:
    background-color 180ms var(--ease),
    border-color 180ms var(--ease),
    color 180ms var(--ease);
}

.copy-button:hover,
.copy-button:focus-visible,
.copy-button.is-copied {
  border-color: var(--border-strong);
  background: var(--accent-soft);
  color: var(--success);
}

.copy-status {
  min-height: 1.5rem;
  margin-top: 0.85rem;
  color: var(--text-muted);
  font-size: var(--fs-small);
}

.copy-status.is-error {
  color: var(--error);
}

.copy-status:empty {
  display: none;
}

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

.site-footer__inner {
  padding-block: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.site-footer__mark {
  font-weight: 600;
  color: var(--text-muted);
}

.site-footer p {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.site-footer__privacy {
  color: var(--text-secondary);
  font-size: var(--fs-small);
}

.cookie-consent {
  position: fixed;
  z-index: 90;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  width: min(100% - 2rem, 46rem);
  margin-inline: auto;
  padding: 1rem 1.125rem;
  background: var(--surface-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 0.75rem;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.35);
  color: var(--text-secondary);
  font-size: var(--fs-small);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent p {
  max-width: 62ch;
}

.cookie-consent a {
  color: var(--text-primary);
  font-weight: 700;
}

.cookie-consent button {
  min-height: 2.5rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: var(--fs-small);
  font-weight: 700;
}

.cookie-consent button:hover,
.cookie-consent button:focus-visible {
  background: var(--accent);
  color: var(--bg);
}

.legal-page {
  max-width: 48rem;
  padding-block: clamp(2rem, 6vw, 5rem);
}

.legal-page__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: var(--fs-row-title);
  font-weight: 700;
  text-decoration: none;
}

.legal-page__brand img {
  width: 2.5rem;
  height: 2.5rem;
}

.legal-page__content {
  display: grid;
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

.legal-page h1 {
  margin-top: -0.75rem;
}

.legal-page h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.4rem);
}

.legal-page__lede,
.legal-page section p {
  color: var(--text-secondary);
}

.legal-page section {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.legal-page section a,
.legal-page__back {
  color: var(--accent);
}

.legal-page__back {
  justify-self: start;
  margin-top: 0.5rem;
  font-weight: 700;
}

.not-found {
  display: grid;
  min-height: 100svh;
  place-items: center;
  text-align: center;
}

.not-found__content {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  max-width: 38rem;
}

.not-found h1 {
  max-width: none;
  margin-top: -0.75rem;
}

.not-found__content > p:not(.eyebrow) {
  color: var(--text-secondary);
}

.not-found__home {
  padding: 0.65rem 1rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: var(--fs-small);
  font-weight: 700;
  text-decoration: none;
}

.not-found__home:hover,
.not-found__home:focus-visible {
  background: var(--accent);
  color: var(--bg);
}

@media (max-width: 640px) {
  .server-connect__row {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem;
  }

  .server-connect__copy {
    width: 100%;
    min-height: 3.5rem;
  }
}

@media (max-width: 480px) {
  .intro__content {
    column-gap: 1.25rem;
  }

  .intro__logo {
    width: 5.25rem;
  }

  .service__link {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    gap: 0.875rem;
    min-height: 6.5rem;
  }

  .service__icon {
    width: 2.75rem;
    height: 2.75rem;
  }

  .service__action {
    display: none;
  }

  .copy-button {
    right: 0.35rem;
  }

  .service--contact .service__link {
    padding-right: 3.5rem;
  }

  .cookie-consent {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .cookie-consent button {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .server-connect__address code {
    overflow: visible;
    font-size: clamp(0.95rem, 4vw, 1.15rem);
    letter-spacing: 0.04em;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
  }
}

@media (min-width: 960px) {
  :root {
    --container-max: 880px;
  }
}
