:root {
  --paper: #f1eee5;
  --paper-deep: #e5e0d2;
  --ink: #171a17;
  --ink-muted: #565b53;
  --line: rgba(23, 26, 23, 0.22);
  --acid: #c9ff63;
  --signal: #ff5d3a;
  --white: #fffdf6;
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --body: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Mono", Menlo, monospace;
  --page: min(1400px, calc(100vw - 64px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(23, 26, 23, 0.05) 50%, transparent calc(50% + 0.5px)),
    var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  width: var(--page);
  min-height: 88px;
  margin: 0 auto;
  border-bottom: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 40px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark__screen--on {
  fill: var(--acid);
}

.brand-mark__screen--off {
  fill: var(--ink);
}

.brand-mark__laptop-base {
  fill: var(--paper);
}

.brand-mark__signal {
  fill: var(--signal);
  stroke: none;
}

.site-nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
  font-weight: 600;
}

.site-nav a,
.text-link {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: transparent;
  transition: text-decoration-color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  text-decoration-color: currentColor;
}

.language-switcher {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: 11px;
}

.language-switcher button {
  padding: 6px 2px;
  border: 0;
  color: inherit;
  background: none;
  cursor: pointer;
}

.language-switcher button[aria-pressed="true"] {
  color: var(--ink);
  font-weight: 700;
}

.language-switcher button:focus-visible,
.checksum button:focus-visible,
.button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}

.hero {
  width: var(--page);
  min-height: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
  padding: 88px 0 104px;
}

.release-kicker,
.eyebrow,
.section-heading > p,
.details__heading > p,
.install__intro > p:first-child {
  margin: 0 0 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.release-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 5px rgba(255, 93, 58, 0.13);
  animation: pulse 2.8s ease-in-out infinite;
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 9px rgba(255, 93, 58, 0); }
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 6vw, 100px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.91;
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em {
  color: var(--ink-muted);
  font-weight: 400;
}

.hero__lede {
  max-width: 620px;
  margin: 40px 0 0;
  color: var(--ink-muted);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.65;
}

.hero__actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.button {
  min-height: 54px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  border: 1px solid currentColor;
  border-radius: 0;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover {
  transform: translate(-3px, -3px);
  box-shadow: 5px 5px 0 var(--signal);
}

.button--primary {
  color: var(--white);
  background: var(--ink);
}

.button--acid {
  margin-top: 24px;
  color: var(--ink);
  background: var(--acid);
}

.text-link {
  font-size: 13px;
  font-weight: 650;
}

.hero__requirements {
  margin: 20px 0 0;
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.workbench {
  position: relative;
  aspect-ratio: 793 / 496;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: #d8d0bf;
  box-shadow: 18px 18px 0 rgba(23, 26, 23, 0.08);
  isolation: isolate;
}

.workbench::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(23, 26, 23, 0.02), transparent 48%),
    linear-gradient(0deg, rgba(23, 26, 23, 0.2), transparent 23%);
}

.workbench__picture,
.workbench__image {
  width: 100%;
  height: 100%;
}

.workbench__picture {
  position: absolute;
  inset: 0;
}

.workbench__image {
  display: block;
  object-fit: contain;
  object-position: center;
}

.workbench__legend {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.workbench__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(23, 26, 23, 0.3);
  color: var(--ink);
  background: rgba(255, 253, 246, 0.9);
  box-shadow: 0 8px 24px rgba(23, 26, 23, 0.16);
  backdrop-filter: blur(12px);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.workbench__dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--ink);
}

.workbench__status--on .workbench__dot {
  background: var(--acid);
  box-shadow: 0 0 0 1px rgba(23, 26, 23, 0.35);
}

.purpose,
.details {
  position: relative;
  width: var(--page);
  margin: 0 auto;
  padding: 120px 0 140px;
  border-top: 1px solid var(--ink);
}

.section-index {
  position: absolute;
  top: 122px;
  left: 0;
  font-family: var(--mono);
  font-size: 11px;
}

.section-heading {
  max-width: 900px;
  margin-left: 18%;
}

.section-heading h2,
.install__intro h2,
.details__heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(44px, 5vw, 78px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.feature-ledger {
  margin: 100px 0 0 18%;
  border-top: 1px solid var(--ink);
}

.feature {
  min-height: 190px;
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: start;
  gap: 30px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.feature__number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 11px;
}

.feature h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 650;
}

.feature p {
  max-width: 760px;
  margin: 0;
  color: var(--ink-muted);
  font-size: 17px;
}

.install {
  position: relative;
  padding: 128px max(32px, calc((100vw - min(1400px, calc(100vw - 64px))) / 2)) 150px;
  color: var(--white);
  background: var(--ink);
}

.install::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
}

.section-index--dark {
  top: 132px;
  left: max(32px, calc((100vw - min(1400px, calc(100vw - 64px))) / 2));
  color: var(--acid);
}

.install__intro,
.security-notice,
.install-steps,
.checksum {
  position: relative;
  z-index: 1;
  margin-left: 18%;
}

.install__intro {
  max-width: 940px;
}

.install__intro > p:last-child {
  max-width: 740px;
  margin: 32px 0 0;
  color: #b9beb6;
  font-size: 18px;
}

.security-notice {
  margin-top: 72px;
  padding: 25px 26px;
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--signal);
  background: rgba(255, 93, 58, 0.08);
}

.security-notice__icon svg {
  width: 34px;
  fill: none;
  stroke: var(--signal);
  stroke-width: 1.7;
  stroke-linecap: round;
}

.security-notice p {
  margin: 0;
}

.security-notice p:first-child {
  margin-bottom: 4px;
  font-weight: 700;
}

.security-notice p:last-child {
  color: #c4c8c0;
  font-size: 14px;
}

.security-notice__tag {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.install-steps {
  margin-top: 70px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.install-step {
  min-height: 180px;
  padding: 38px 0;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.install-step__number {
  color: var(--acid);
  font-family: var(--mono);
  font-size: 12px;
}

.install-step h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.install-step p {
  max-width: 760px;
  margin: 0;
  color: #b9beb6;
  font-size: 16px;
}

.text-link--light {
  margin-top: 16px;
  display: inline-block;
  color: var(--acid);
}

.checksum {
  margin-top: 48px;
  padding: 24px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.checksum p {
  margin: 0 0 7px;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.checksum code {
  display: block;
  color: #c4c8c0;
  font-family: var(--mono);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.checksum button {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.copy-status {
  position: absolute;
  right: 0;
  bottom: 0;
  color: var(--acid);
  font-size: 11px;
}

.details {
  display: grid;
  grid-template-columns: 18% 1fr;
}

.details__heading {
  max-width: 950px;
  grid-column: 2;
}

.details__heading > p:last-child {
  max-width: 700px;
  margin: 30px 0 0;
  color: var(--ink-muted);
  font-size: 18px;
}

.spec-sheet {
  grid-column: 2;
  margin: 84px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.spec-sheet div {
  min-height: 95px;
  padding: 22px 18px 20px 0;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: baseline;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.spec-sheet div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.spec-sheet div:nth-child(even) {
  padding-left: 28px;
}

.spec-sheet dt {
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spec-sheet dd {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
}

.technical-note {
  grid-column: 2;
  max-width: 750px;
  margin-top: 50px;
  display: flex;
  gap: 18px;
  color: var(--ink-muted);
  font-size: 13px;
}

.technical-note p {
  margin: 0;
}

.site-footer {
  width: var(--page);
  min-height: 160px;
  margin: 0 auto;
  padding: 40px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--ink);
  color: var(--ink-muted);
  font-size: 12px;
}

.site-footer p:last-child {
  justify-self: end;
}

.brand--footer {
  color: var(--ink);
}

.footer-discover {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 9px;
  text-align: center;
}

.footer-discover p {
  margin: 0;
}

.footer-apps {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-transform: uppercase;
}

.footer-apps:hover {
  text-decoration-thickness: 2px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  :root {
    --page: calc(100vw - 40px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .hero__copy {
    max-width: 760px;
  }

  .workbench {
    min-height: 0;
    aspect-ratio: 793 / 496;
  }

  .section-heading,
  .feature-ledger,
  .install__intro,
  .security-notice,
  .install-steps,
  .checksum {
    margin-left: 90px;
  }

  .details {
    grid-template-columns: 90px 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --page: calc(100vw - 32px);
  }

  body {
    background: var(--paper);
  }

  .site-header {
    min-height: 72px;
  }

  .brand {
    font-size: 12px;
  }

  .brand-mark {
    width: 30px;
  }

  .hero {
    min-height: auto;
    padding: 58px 0 80px;
    gap: 60px;
  }

  .hero h1 {
    font-size: clamp(50px, 15vw, 72px);
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .workbench {
    min-height: 0;
    aspect-ratio: 793 / 496;
    box-shadow: 9px 9px 0 rgba(23, 26, 23, 0.08);
  }

  .workbench__legend {
    right: 12px;
    bottom: 12px;
    left: 12px;
    align-items: flex-start;
    flex-direction: column;
  }

  .workbench__status {
    padding: 7px 9px;
    font-size: 8px;
  }

  .purpose,
  .details {
    padding: 90px 0 100px;
  }

  .section-index {
    position: static;
    margin-bottom: 50px;
  }

  .section-heading,
  .feature-ledger,
  .install__intro,
  .security-notice,
  .install-steps,
  .checksum {
    margin-left: 0;
  }

  .feature-ledger {
    margin-top: 70px;
  }

  .feature {
    grid-template-columns: 52px 1fr;
    gap: 16px;
  }

  .install {
    padding: 92px 16px 100px;
  }

  .section-index--dark {
    position: relative;
    top: auto;
    left: auto;
  }

  .security-notice {
    grid-template-columns: 42px 1fr;
  }

  .security-notice__tag {
    display: none;
  }

  .install-step {
    grid-template-columns: 36px 1fr;
    gap: 14px;
  }

  .checksum {
    grid-template-columns: 1fr;
  }

  .checksum button {
    width: fit-content;
  }

  .copy-status {
    right: auto;
    bottom: -18px;
    left: 0;
  }

  .details {
    display: block;
  }

  .spec-sheet {
    grid-template-columns: 1fr;
  }

  .spec-sheet div:nth-child(odd) {
    border-right: 0;
  }

  .spec-sheet div:nth-child(even) {
    padding-left: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: left;
  }

  .site-footer p {
    margin: 0;
  }

  .site-footer p:last-child {
    justify-self: start;
  }

  .footer-discover {
    align-items: flex-start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
