:root {
  color-scheme: dark;
  --bg: #07131b;
  --bg-deep: #041018;
  --text: #ebf7ff;
  --muted: #a9c5d2;
  --soft: #d8edf4;
  --line: rgba(169, 197, 210, 0.18);
  --accent: #7ef0c5;
  --warm: #f2d28a;
  --page: 880px;
  --copy: 640px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  font-family: "Aptos", "Segoe UI Variable", "Trebuchet MS", Arial, sans-serif;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(11, 31, 42, 0.98) 0%, rgba(7, 19, 27, 0.98) 38%, var(--bg-deep) 100%),
    var(--bg);
  color: var(--text);
}

.page {
  width: min(100% - 36px, var(--page));
  margin: 0 auto;
  padding: 32px 0 54px;
}

header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0 0 56px;
}

.logo {
  width: 62px;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 28px rgba(89, 199, 255, 0.16));
}

.brand {
  display: grid;
  flex: 1 1 180px;
  gap: 2px;
  min-width: 0;
}

.brand-name {
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.top-link {
  margin-left: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  overflow-wrap: normal;
  white-space: nowrap;
}

main {
  display: grid;
  gap: 0;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.25rem, 12vw, 5.7rem);
  font-weight: 820;
  line-height: 1.02;
  hyphens: auto;
  overflow-wrap: anywhere;
}

h2 {
  color: var(--text);
  font-size: clamp(1.18rem, 4.5vw, 1.48rem);
  font-weight: 780;
  line-height: 1.22;
}

h3 {
  margin-top: 32px;
  color: var(--soft);
  font-size: 1rem;
  font-weight: 780;
  line-height: 1.32;
}

section {
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.intro {
  padding: 0 0 56px;
  border-top: 0;
}

.eyebrow,
.section-label,
.label {
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  display: block;
  margin-bottom: 18px;
}

.lede {
  max-width: var(--copy);
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 3.2vw, 1.18rem);
  line-height: 1.72;
}

.section-body {
  max-width: var(--copy);
}

p,
li {
  color: var(--muted);
  overflow-wrap: anywhere;
}

p {
  margin: 16px 0 0;
}

address {
  margin: 22px 0 0;
  color: var(--text);
  font-style: normal;
  line-height: 1.75;
}

ul {
  margin: 18px 0 0;
  padding-left: 1.15rem;
}

li + li {
  margin-top: 9px;
}

.contact {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.label {
  display: block;
  margin: 28px 0 8px;
}

.section-label {
  display: none;
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding-left: 0;
  list-style: none;
}

.link-list li {
  margin: 0;
}

.text-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--text);
  font-weight: 780;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.34em;
}

a {
  color: var(--text);
  text-decoration-color: rgba(126, 240, 197, 0.68);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
  overflow-wrap: anywhere;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 30px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

@media (max-width: 520px) {
  .page {
    width: min(100% - 32px, var(--page));
    padding-top: 28px;
  }

  header {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: start;
    gap: 10px 16px;
    padding-bottom: 48px;
  }

  .logo {
    width: 56px;
    grid-row: 1 / span 2;
  }

  .brand {
    min-width: 0;
  }

  .brand-name {
    font-size: 0.96rem;
  }

  .brand-note {
    max-width: 15rem;
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .top-link {
    grid-column: 2;
    justify-self: start;
    font-size: 0.9rem;
    line-height: 1.2;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2rem, 9vw, 2.75rem);
    line-height: 1.1;
  }

  .intro {
    padding-bottom: 48px;
  }
}

@media (min-width: 760px) {
  .page {
    width: min(100% - 72px, var(--page));
    padding: 58px 0 78px;
  }

  header {
    padding-bottom: 78px;
  }

  .logo {
    width: 78px;
  }

  .intro {
    padding-bottom: 82px;
  }

  section {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 64px;
    padding: 58px 0;
  }

  .intro {
    display: block;
  }

  .section-label {
    display: block;
    margin-bottom: 14px;
  }

  .lede,
  p,
  li {
    font-size: 1.04rem;
  }
}
