@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/ibm-plex-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #192b48;
  --body: #40536a;
  --slate: #405673;
  --blue: #9ebfdb;
  --powder: #e9eff6;
  --paper: #f8f9fb;
  --silver: #ced0cb;
  --rule: #b9c5d1;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --width: 78rem;
  --gutter: clamp(1.125rem, 4.2vw, 4rem);
  font-family: "IBM Plex Sans", Arial, Helvetica, sans-serif;
  font-size: 100%;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
:focus-visible { outline: 2px solid #20678d; outline-offset: 4px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
p, dd { line-height: 1.55; }
code { font-family: var(--mono); }
.wrap { width: min(100% - 2 * var(--gutter), var(--width)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 3; top: .5rem; left: .5rem; padding: .75rem; background: white; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.site-header { background: #f4f6f7; border-bottom: 1px solid #a8b6c4; box-shadow: inset 0 2px #fff; }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; }
.header-inner { min-height: 4.5rem; }
.brand, .site-nav a, .site-footer a { text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: .625rem; font-size: 1.25rem; font-weight: 700; letter-spacing: -.035em; white-space: nowrap; }
.brand img { image-rendering: pixelated; }
.brand-os { color: var(--slate); }
.site-nav { display: flex; gap: clamp(.875rem, 3vw, 2rem); align-items: center; font-size: .9375rem; font-weight: 700; }
.site-nav a[href]:hover, .site-footer a[href]:hover { text-decoration: underline; text-underline-offset: .25em; }
.site-nav .github[href]:hover { text-decoration: none; }
.button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: .65rem .95rem;
  border: 1px solid #7f8d9f;
  background: #e3e8ed;
  box-shadow: inset 1px 1px #fff, inset -1px -1px #b8c4cf;
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
.button[href]:hover { background: #eef3f8; }
.button[href]:active { box-shadow: inset -1px -1px #fff, inset 1px 1px #7f8d9f; }
.button.primary { background: #243e61; border-color: #192b48; color: #fff; box-shadow: inset 1px 1px #6c86a0, inset -1px -1px #10213d; }
.button.primary[href]:hover { background: #315278; }
.button.primary[href]:active { box-shadow: inset -1px -1px #6c86a0, inset 1px 1px #10213d; }
a[aria-disabled="true"] { color: var(--body); text-decoration: none; }
a.button[aria-disabled="true"] { background: #e3e8ed; border-color: #a8b6c4; box-shadow: inset 1px 1px #f4f6f7; }
.github { min-height: 2.25rem; padding: .4rem .8rem; }

.hero {
  background-color: var(--powder);
  background-image: linear-gradient(#4056730d 1px, transparent 1px), linear-gradient(90deg, #4056730d 1px, transparent 1px);
  background-position: center;
  background-size: 24px 24px;
  border-bottom: 1px solid #a8b6c4;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.11fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5.25rem);
  padding-block: clamp(2.5rem, 5.4vw, 5.25rem) clamp(2rem, 4vw, 4rem);
}
.eyebrow { color: #425c77; font: 700 .875rem/1.4 var(--mono); letter-spacing: .095em; text-transform: uppercase; }
h1 {
  margin-block: .3em .27em;
  font-size: clamp(2.2rem, 4.9vw, 4.65rem);
  line-height: .99;
  letter-spacing: -.052em;
}
.hero-intro { max-width: 35ch; color: var(--body); font-size: clamp(1.0625rem, 1.62vw, 1.3rem); }
.hero-promise { margin-top: 1rem; }
.hero-intro, .hero-promise { text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.capture {
  border: 1px solid #55667a;
  background: var(--silver);
  padding: .25rem;
  box-shadow: inset 1px 1px #f6f7f6, inset -1px -1px #87919c, 7px 9px #192b4819;
}
.capture-title {
  display: flex;
  align-items: center;
  gap: .42rem;
  padding: .24rem .5rem;
  color: white;
  background: linear-gradient(90deg, var(--slate), var(--ink));
  font-size: .875rem;
  font-weight: 700;
}
.capture-title img { image-rendering: pixelated; }
.desktop-image { width: 100%; height: auto; }
.capture .desktop-image { border: 1px solid #697584; }
.hero-shot figcaption { margin-top: .9rem; font: .8125rem/1.35 var(--mono); color: #3d5570; }

.spec-strip { background: #dce5ed; box-shadow: inset 0 1px #f7fafc; border-bottom: 1px solid var(--rule); }
.specs { display: grid; grid-template-columns: .92fr 1.08fr 1fr; }
.specs div { padding: 1.1rem clamp(.65rem, 2.65vw, 2rem); border-left: 1px solid var(--rule); box-shadow: inset 1px 0 #edf3f7; }
.specs div:last-child { border-right: 1px solid var(--rule); }
.specs dt { margin-bottom: .2rem; font: 700 clamp(.875rem, 1.5vw, 1.125rem)/1.25 var(--mono); }
.specs dd { color: var(--body); font-size: .9375rem; line-height: 1.35; }

.section { padding-block: clamp(3rem, 6vw, 6rem); }
.section-heading { margin-bottom: 2rem; }
h2 { font-size: clamp(1.95rem, 4.15vw, 3.65rem); line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; }
.section-heading h2 { margin-top: .25em; }
.section-heading > p:last-child:not(.eyebrow) { color: var(--body); max-width: 55ch; font-size: 1.125rem; margin-top: .9rem; }
.text-link { font-weight: 700; text-underline-offset: .25em; }
.text-link[href]:hover { color: #3b638d; }

.tour { display: grid; grid-template-columns: minmax(13rem, 3fr) minmax(0, 7fr); align-items: start; gap: clamp(1rem, 3vw, 2.25rem); }
.tour-options { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; }
.tour-option { display: flex; align-items: center; gap: .75rem; min-width: 0; padding: .9rem; border: 1px solid #bac6d2; box-shadow: inset 1px 1px #fff; background: #edf1f5; text-decoration: none; }
.tour-option:hover { background: #e2ebf2; }
.tour-option[aria-selected="true"] { border-color: #57799a; box-shadow: inset 3px 0 #57799a; background: #dae8f4; }
.tour-option img { flex: 0 0 auto; image-rendering: pixelated; }
.tour-option strong, .tour-option small { display: block; }
.tour-option strong { line-height: 1.2; }
.tour-option small { margin-top: .25rem; font-size: .875rem; line-height: 1.2; color: var(--body); }
.tour-image { display: block; border: 1px solid #566a80; padding: .25rem; background: #d6dfe7; }
.tour-image:hover { background: #98b2ca; }
.tour-panel + .tour-panel:not([hidden]) { margin-top: 1rem; }
.tour-panel[role="tabpanel"] + .tour-panel[role="tabpanel"] { margin-top: 0; }
.tour-panel figcaption { margin-top: .65rem; color: var(--body); }
.desktop-foot { margin-top: 1.5rem; }
.terminal-links, .desktop-foot { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.terminal-links { margin-top: .65rem; }

.philosophy-section { border-block: 1px solid var(--rule); background: #e7edf3; }
.principles, .hardware-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(1.75rem, 8vw, 7.5rem); }
.principles .section-heading { margin: 0; }
.principles h2 { text-wrap: pretty; }
.principle-list { border-top: 1px solid #a9b8c7; }
.principle-list > div { padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.principle-list dt { margin-bottom: .3rem; font-size: 1.125rem; font-weight: 700; }
.principle-list dd { color: var(--body); }

.hardware-section { border-bottom: 1px solid var(--rule); }
.hardware-copy { margin: 0; }
.hardware-copy p:not(.eyebrow) { margin-top: .85rem; color: var(--body); }
.hardware-copy .text-link, .developer-tools .text-link { display: inline-block; margin-top: .75rem; }
.developer-tools .tour-image { margin-top: .75rem; }
.developer-tools { align-self: start; border: 1px solid var(--rule); background: #edf1f5; box-shadow: inset 1px 1px #fff; }
.developer-tools h3 { padding: .65rem 1rem; background: linear-gradient(90deg, var(--slate), var(--ink)); color: #fff; font-size: 1rem; }
.developer-tools > div { padding: .9rem 1rem; }
.developer-tools > div + div { border-top: 1px solid var(--rule); }
.developer-tools h4 { margin: 0 0 .25rem; font-size: 1.125rem; }
.developer-tools p { color: var(--body); }

.roadmap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0 0 1.75rem; padding: 1px; list-style: none; background: var(--rule); }
.roadmap li { padding: clamp(.9rem, 2vw, 1.55rem); background: #f3f6f9; box-shadow: inset 0 3px #8598aa; }
.roadmap li:first-child { box-shadow: inset 0 3px #537e72; }
.roadmap li:nth-child(2) { box-shadow: inset 0 3px #b48d51; }
.stage { margin-bottom: 1rem; color: #405673; font: 700 .8125rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.stage.available { color: #34604f; }
.stage.underway { color: #77531d; }
.roadmap h3 { margin-bottom: .45rem; font-size: 1.2rem; line-height: 1.15; letter-spacing: -.02em; }
.roadmap li > p:last-child { color: var(--body); }

.get-started { padding-block: 2.2rem; background: #dce7f1; border-block: 1px solid var(--rule); }
.get-started-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; }
.get-started img { image-rendering: pixelated; }
.get-started h2 { font-size: clamp(1.7rem, 3.6vw, 2.9rem); text-wrap: pretty; }
.get-started p { margin-top: .35rem; color: var(--body); }
.site-footer { padding-block: 1.35rem; background: #f4f6f7; }
.footer-inner { flex-wrap: wrap; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .9375rem; }

@media (max-width: 760px) {
  .roadmap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tour { grid-template-columns: minmax(0, 1fr); }
  .tour-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tour-option:last-child { grid-column: span 2; }
}

@media (max-width: 43.75rem) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .hero-copy h1 { max-width: 14ch; font-size: clamp(2.75rem, 8.5vw, 4rem); }
  .principles, .hardware-grid { grid-template-columns: minmax(0, 1fr); }
  .specs div { padding-block: .85rem; }
  .specs dd { font-size: .875rem; }
}

@media (max-width: 30rem) {
  .header-inner { flex-wrap: wrap; gap: .5rem; padding-block: .6rem; }
  .site-nav { width: 100%; justify-content: space-between; gap: .25rem; }
  .brand img { width: 36px; height: 36px; }
  .actions .button { padding-inline: .55rem; }
  .tour-option { gap: .5rem; padding: .6rem; }
  .tour-option img { width: 24px; height: 24px; }
  .tour-option strong { font-size: .875rem; }
  .tour-option small { font-size: .8rem; }
  .roadmap { grid-template-columns: minmax(0, 1fr); }
  .roadmap .stage { margin-bottom: .45rem; }
  .get-started-inner { grid-template-columns: auto minmax(0, 1fr); gap: .65rem 1rem; }
  .get-started img { width: 64px; height: 64px; }
  .get-started .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 22rem) {
  .site-nav { font-size: .875rem; }
  .specs { grid-template-columns: minmax(0, 1fr); }
  .specs div { border: 0; border-bottom: 1px solid var(--rule); box-shadow: none; }
  .specs div:last-child { border: 0; }
  .tour-option:not(:last-child) { flex-direction: column; align-items: flex-start; }
}
