:root {
  color-scheme: dark;
  --bg: #07080d;
  --paper: #e7e1d4;
  --paper-dim: #d5cfc2;
  --quiet: #b7b1a4;
  --cyan: #79d0ff;
  --plate: #101218;
  --metal: rgba(214, 206, 190, 0.4);
  --hair: rgba(231, 225, 212, 0.16);
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Segoe UI", "Avenir Next", sans-serif;
  --column: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  background-image:
    radial-gradient(ellipse 90% 46% at 8% -12%, rgba(231, 225, 212, 0.055), transparent 58%),
    radial-gradient(ellipse 64% 36% at 50% 18%, rgba(121, 208, 255, 0.045), transparent 62%),
    radial-gradient(ellipse 46% 32% at 100% -8%, rgba(121, 208, 255, 0.05), transparent 52%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  z-index: 2;
  background: var(--bg);
  color: var(--cyan);
  padding: 0.45rem 0.7rem;
}

.skip:focus {
  transform: none;
}

.column {
  position: relative;
  z-index: 1;
  width: min(var(--column), 100%);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.legal {
  font-family: var(--serif);
  font-weight: 400;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

a:hover,
a:active {
  color: var(--cyan);
}

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

a:visited {
  color: inherit;
}

a:visited:hover,
a:visited:active {
  color: var(--cyan);
}

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

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 1.15rem 0.95rem;
  border-bottom: 1px solid var(--hair);
  margin-bottom: clamp(1.6rem, 4vw, 2.6rem);
}

.wordmark {
  flex: 1 1 14rem;
  min-width: 0;
  color: var(--paper);
  font-size: 1.125rem;
  line-height: 1.35;
  text-decoration: none;
  text-wrap: balance;
}

.wordmark:hover,
.wordmark:active,
.wordmark:visited:hover {
  color: var(--cyan);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  padding-block: 0.4rem;
}

.nav a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 var(--cyan);
}

.hero {
  max-width: none;
}

.eyebrow {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.4;
}

h1,
h2,
h3 {
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  margin: 0.55rem 0 0;
  max-width: 16em;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.45rem, 5vw, 4.55rem);
  line-height: 1.05;
}

h2 {
  font-family: var(--serif);
  font-weight: 400;
}

h3 {
  font-weight: 500;
}

.lead {
  margin: 1.05rem 0 0;
  max-width: 40rem;
  font-size: 1.125rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
}

.price-table {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.price-table caption {
  margin-bottom: 0.6rem;
  text-align: left;
}

.price-table th,
.price-table td {
  padding: 0.45rem 0.6rem;
  border-bottom: 1px solid var(--hair);
  text-align: left;
  vertical-align: top;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 1.15rem;
}

a.cta {
  display: inline-block;
  max-width: 100%;
  padding: 0.8rem 1.15rem;
  background: var(--paper);
  color: var(--bg);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

a.cta:hover,
a.cta:focus {
  background: var(--cyan);
  color: var(--bg);
}

.founder {
  margin: 0.85rem 0 0;
  color: var(--paper-dim);
}

.founder-note {
  margin: 0.85rem 0 0;
  max-width: 40rem;
  color: var(--paper-dim);
  text-wrap: pretty;
}

.creed {
  margin: 1.05rem 0 0;
  max-width: 38rem;
  padding-left: 0.85rem;
  border-left: 2px solid var(--cyan);
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.45;
  text-wrap: pretty;
}

.marks {
  position: relative;
  margin-top: clamp(1.7rem, 4vw, 2.55rem);
  padding-top: 1.15rem;
}

.marks::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(121, 208, 255, 0.95) 16%, rgba(231, 225, 212, 0.72) 50%, rgba(121, 208, 255, 0.95) 84%, transparent);
  box-shadow: 0 0 14px rgba(121, 208, 255, 0.4);
}

.rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 1.15rem 0.9rem;
  margin: 0;
  padding: 0.2rem;
  list-style: none;
}

.mark {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.mark-name {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.98rem;
  line-height: 1.35;
  text-align: center;
  text-wrap: balance;
}

.band {
  margin-top: clamp(3.5rem, 8vw, 5rem);
}

#products,
#studio,
#vision,
.unit,
.feature,
.plugin {
  scroll-margin-top: 1.25rem;
}

.band:focus-visible,
.unit:focus-visible,
.feature:focus-visible,
.plugin:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.band h2 {
  display: grid;
  justify-items: start;
  gap: 0.7rem;
  margin: 0 0 2rem;
  font-size: clamp(1.7rem, 2.4vw, 2.05rem);
  line-height: 1.15;
}

.band h2::before {
  content: "";
  width: 2.75rem;
  height: 1px;
  background: var(--cyan);
}

.units {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 3.4rem);
}

.unit {
  display: grid;
  grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  gap: clamp(1.15rem, 3vw, 2.25rem);
  align-items: center;
}

.plate {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 0.7rem;
  background: var(--plate);
  border: 1px solid var(--metal);
  border-radius: 2px;
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 236, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.72);
}

.plate::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 7px 7px, rgba(231, 225, 212, 0.7) 0 1px, rgba(231, 225, 212, 0.18) 1.2px 2.1px, transparent 2.3px),
    radial-gradient(circle at calc(100% - 7px) 7px, rgba(231, 225, 212, 0.7) 0 1px, rgba(231, 225, 212, 0.18) 1.2px 2.1px, transparent 2.3px),
    radial-gradient(circle at 7px calc(100% - 7px), rgba(231, 225, 212, 0.7) 0 1px, rgba(231, 225, 212, 0.18) 1.2px 2.1px, transparent 2.3px),
    radial-gradient(circle at calc(100% - 7px) calc(100% - 7px), rgba(231, 225, 212, 0.7) 0 1px, rgba(231, 225, 212, 0.18) 1.2px 2.1px, transparent 2.3px);
}

.plate picture {
  display: contents;
}

.plate img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.mark-plate {
  aspect-ratio: 1;
  padding: 0;
}

.mark-plate img {
  position: absolute;
  inset: 0.7rem;
  width: calc(100% - 1.4rem);
  height: calc(100% - 1.4rem);
  max-width: none;
  object-fit: contain;
  object-position: center;
  background: #000;
}

.kicker {
  margin: 0.35rem 0 0;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.4;
  text-wrap: pretty;
}

.unit-copy h3,
.feature h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  line-height: 1.15;
}

.status {
  margin: 0.45rem 0 0;
  color: var(--paper-dim);
  font-size: 0.95rem;
}

.unit-copy p,
.feature-text,
.plugin p {
  margin: 0.9rem 0 0;
  text-wrap: pretty;
}

.note {
  margin: 0.75rem 0 0;
  color: var(--paper-dim);
}

.unit-copy .store-line {
  margin-top: 1rem;
}

a.store {
  text-decoration-line: underline;
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
}

.feature {
  max-width: 100%;
}

.feature .plate {
  max-width: none;
}

.feature-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1.5rem;
  margin-top: 1.15rem;
}

.feature-head .status {
  margin: 0;
}

.feature-text {
  max-width: 42rem;
}

.rack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.15rem, 2.5vw, 1.6rem);
  margin-top: clamp(2.75rem, 6vw, 4rem);
}

.plugin h3 {
  margin: 0.9rem 0 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

.plugin .status {
  margin-top: 0.35rem;
}

.vision-lead {
  max-width: 38rem;
  margin: -0.85rem 0 1.75rem;
  text-wrap: pretty;
}

.horizon {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem 2.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.horizon li {
  min-width: 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--hair);
}

.horizon h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.2;
}

.horizon p {
  margin: 0.45rem 0 0;
}

.contact {
  margin-top: clamp(3.25rem, 7vw, 4.5rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--hair);
}

.contact p {
  margin: 0;
}

.site-footer {
  margin-top: clamp(3rem, 7vw, 4.5rem);
  padding-block: 1.6rem 3rem;
  border-top: 1px solid var(--hair);
  display: grid;
  gap: 0.85rem;
}

.site-footer address {
  display: grid;
  gap: 0.35rem;
  font-style: normal;
}

.site-footer .legal {
  color: var(--paper);
  font-size: 1.125rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  text-decoration-line: underline;
  text-decoration-color: rgba(121, 208, 255, 0.75);
  text-underline-offset: 0.22em;
}

.page-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
}

.notice {
  max-width: 40rem;
  margin-top: 1.6rem;
}

.notice .issuer {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.35;
}

.notice p {
  margin: 1rem 0 0;
  text-wrap: pretty;
}

.notice h2 {
  margin: 2.5rem 0 0;
  padding-top: 1.05rem;
  border-top: 1px solid var(--hair);
  font-size: 1.2rem;
  line-height: 1.3;
}

.notice a {
  overflow-wrap: anywhere;
  text-decoration-line: underline;
  text-decoration-color: rgba(121, 208, 255, 0.75);
}

.hero > * {
  animation: settle 0.7s ease both;
}

.hero > *:nth-child(1) { animation-delay: 0.04s; }
.hero > *:nth-child(2) { animation-delay: 0.12s; }
.hero > *:nth-child(3) { animation-delay: 0.2s; }
.hero > *:nth-child(4) { animation-delay: 0.28s; }
.hero > *:nth-child(5) { animation-delay: 0.36s; }

.rail .mark {
  animation: settle 0.75s ease both;
}

.rail li:nth-child(1) .mark { animation-delay: 0.42s; }
.rail li:nth-child(2) .mark { animation-delay: 0.5s; }
.rail li:nth-child(3) .mark { animation-delay: 0.58s; }
.rail li:nth-child(4) .mark { animation-delay: 0.66s; }

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (hover: hover) {
  .plate {
    transition: border-color 0.2s ease;
  }

  .unit:hover .plate,
  .feature:hover .plate,
  .plugin:hover .plate,
  .mark:hover .plate,
  .unit:focus-within .plate,
  .feature:focus-within .plate,
  .plugin:focus-within .plate,
  .mark:focus-visible .plate {
    border-color: rgba(121, 208, 255, 0.55);
  }
}

@media (max-width: 1080px) {
  .rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  a.cta {
    width: 100%;
  }

  .rack {
    grid-template-columns: minmax(0, 1fr);
  }

  .plugin .plate {
    max-width: min(100%, 28rem);
  }
}

@media (max-width: 840px) {
  .horizon {
    grid-template-columns: minmax(0, 1fr);
  }

  .layout-stack .unit,
  .unit {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .unit .plate {
    max-width: min(100%, 20rem);
  }
}

@media (max-width: 640px) {
  .wordmark {
    flex-basis: 100%;
  }

  .nav {
    margin-left: 0;
  }

  h1 {
    font-size: clamp(2.15rem, 11vw, 2.85rem);
  }

  .rail {
    display: flex;
    grid-template-columns: none;
    gap: 0.75rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 0.5rem;
    padding: 0.5rem 0.45rem 0.7rem;
  }

  .rail li {
    flex: 0 0 min(78%, 18rem);
    scroll-snap-align: start;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  body {
    background: #fff;
    color: #1c1a16;
  }

  body::before {
    display: none;
  }

  a,
  a:visited {
    color: #1c1a16;
  }

  .marks::before,
  .band h2::before {
    background: #1c1a16;
    box-shadow: none;
  }

  .plate {
    border-color: #1c1a16;
    background: #fff;
    box-shadow: none;
  }

  .creed {
    border-left-color: #1c1a16;
  }
}
