/* IBM Plex Sans and IBM Plex Mono. © IBM Corp. SIL Open Font License. See /fonts/LICENSE.txt */

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201D, U+2026, U+2212;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201D, U+2026, U+2212;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201D, U+2026, U+2212;
}

:root {
  --ink: #0D1218;
  --paper: #F5F4F1;
  --teal: #1C6B66;
  --teal-on-dark: #4AA8A2;
  --slate: #4C545A;
  --line: #C6C3BD;
  --bg: var(--paper);
  --fg: var(--ink);
  --muted: var(--slate);
  --accent: var(--teal);
  --max: 70rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --sans: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: light;
  background: var(--bg);
  color: var(--fg);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--ink);
    --fg: var(--paper);
    --muted: #9CA4AA;
    --accent: var(--teal-on-dark);
    --line: #303840;
    color-scheme: dark;
  }

  .logo .fg {
    fill: var(--paper);
  }

  .logo .accent {
    fill: var(--teal-on-dark);
  }
}

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

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  background: var(--bg);
  color: var(--fg);
  text-rendering: optimizeLegibility;
}

main {
  flex: 1 0 auto;
}

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

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

a {
  color: inherit;
}

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

::selection {
  background: var(--fg);
  color: var(--bg);
}

:focus {
  outline: none;
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 20;
  transform: translateY(-160%);
  padding: 0.55rem 0.75rem;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 1.5rem;
  row-gap: 0.15rem;
  min-height: 4.25rem;
  padding-block: 0.4rem;
}

.logo {
  display: flex;
  flex: none;
  align-items: center;
  padding-block: 0.35rem;
  text-decoration: none;
}

.logo svg {
  display: block;
  height: 1.75rem;
  width: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1.35rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-block: 0.35rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg);
}

.nav a:hover {
  color: var(--accent);
}

.hero {
  padding: clamp(4.25rem, 10vw, 7.5rem) 0 clamp(3.75rem, 8vw, 6.25rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 20.5rem);
  column-gap: clamp(2rem, 5vw, 5rem);
  row-gap: 3rem;
  align-items: start;
}

.eyebrow {
  margin: 0 0 1.35rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  color: var(--accent);
}

h1 {
  max-width: 11.5em;
  font-size: clamp(2.5rem, 6.2vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.024em;
  line-height: 1.06;
  text-wrap: balance;
}

.lede {
  max-width: 34rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  margin-top: 2rem;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--fg);
  background: var(--fg);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
}

.button:hover {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.spec {
  margin: 0.35rem 0 0;
  border-top: 1px solid var(--line);
}

.spec div {
  display: grid;
  grid-template-columns: minmax(6.75rem, 8.5rem) minmax(0, 1fr);
  column-gap: 1rem;
  align-items: baseline;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.spec dt {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.spec dd {
  font-size: 0.9375rem;
  line-height: 1.4;
}

.section {
  padding: clamp(3.25rem, 7vw, 5.25rem) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 5.5rem;
}

.section-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.7rem 0.85rem;
  margin: 0 0 1.35rem;
  color: var(--fg);
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-title .num,
.section-title .status {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-title .num {
  color: var(--accent);
}

.section-title .name {
  white-space: nowrap;
}

.section-title .status {
  color: var(--muted);
  letter-spacing: 0.14em;
}

.section-title .rule {
  flex: 1 1 2rem;
  align-self: center;
  min-width: 1.5rem;
  height: 1px;
  background: var(--line);
}

.section-intro {
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.55;
}

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

.card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 13.5rem;
  padding: 1.25rem 1.2rem 1.4rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.card .idx {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.card h3 {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.card p:last-child {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.about {
  max-width: 36rem;
}

.about p {
  font-size: 1.125rem;
  line-height: 1.6;
}

.about p + p {
  margin-top: 0.9rem;
}

.email {
  display: inline-block;
  margin-top: 1.35rem;
  color: var(--fg);
  font-size: clamp(1.5rem, 4.2vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
  overflow-wrap: anywhere;
}

.email:hover {
  color: var(--accent);
}

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

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.15rem 0 1.6rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}

.legal a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--fg);
  text-decoration: none;
}

.legal a:hover {
  color: var(--accent);
}

.page {
  padding: clamp(3.25rem, 8vw, 5.75rem) 0 clamp(4rem, 9vw, 6.5rem);
}

.page h1 {
  max-width: 16em;
  margin: 0 0 1.15rem;
  font-size: clamp(2.25rem, 5vw, 3.4rem);
}

.page .lede {
  margin-top: 0;
}

.notice {
  max-width: 38rem;
  margin: 0 0 2rem;
  padding: 0.95rem 1.05rem 1rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
}

.notice-label {
  margin: 0 0 0.4rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.notice p:last-child {
  font-size: 0.9375rem;
  line-height: 1.5;
}

.prose {
  max-width: 38rem;
}

.prose p {
  font-size: 1.0625rem;
  line-height: 1.65;
}

.prose p + p {
  margin-top: 1rem;
}

.prose a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.prose a:hover {
  color: var(--accent);
}

@media (min-width: 720px) {
  .logo svg {
    height: 2rem;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .spec {
    margin-top: 0.25rem;
  }
}

@media (max-width: 800px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (forced-colors: active) {
  :root {
    --bg: Canvas;
    --fg: CanvasText;
    --muted: CanvasText;
    --accent: LinkText;
    --line: CanvasText;
  }

  .button {
    background: ButtonFace;
    color: ButtonText;
    border-color: ButtonText;
  }

  .logo .fg {
    fill: CanvasText;
  }

  .logo .accent {
    fill: LinkText;
  }
}

@media print {
  :root {
    --bg: #ffffff;
    --fg: #0D1218;
    --muted: #4C545A;
    --accent: #1C6B66;
    --line: #C6C3BD;
    color-scheme: light;
  }

  .logo .fg {
    fill: #0D1218;
  }

  .logo .accent {
    fill: #1C6B66;
  }

  .site-header {
    position: static;
  }

  .button {
    background: transparent;
    color: #0D1218;
    border-color: #0D1218;
  }

  a {
    text-decoration: underline;
  }
}

/* Coming-soon holding layout */
.holding {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1 0 auto;
  padding: clamp(3rem, 10vh, 6.5rem) var(--gutter) clamp(2.5rem, 7vh, 4.5rem);
}

.holding .logo {
  justify-content: center;
  padding-block: 0;
}

.holding .logo svg {
  height: 2.5rem;
}

@media (min-width: 720px) {
  .holding .logo svg {
    height: 2.85rem;
  }
}

.holding h1 {
  max-width: 16em;
  margin: 1.6rem 0 0;
  font-size: clamp(1.75rem, 4.2vw, 2.75rem);
}

.holding .status {
  margin-top: 1.35rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.holding .email {
  margin-top: 1.75rem;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0;
}
