:root {
  color-scheme: dark;
  --bg: #160d26;
  --ink: #f5ffd0;
  --muted: #c0b8cf;
  --subtle: #9b8eac;
  --line: #ebffb51c;
  --lavender: #ebffb5;
  --cyan: #2185a5;
  --purple: #331d5d;
  --switch: #271443;
  --grid: #2185a5;
  --cta-ink: #331d5d;
}
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f8f9e9;
  --ink: #331d5d;
  --muted: #5c5970;
  --subtle: #767184;
  --line: #331d5d22;
  --lavender: #331d5d;
  --cyan: #2185a5;
  --purple: #331d5d;
  --switch: #e6e8d5;
  --grid: #2185a5;
  --cta-ink: #ebffb5;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
body {
  font-family: "Space Grotesk", sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--lavender);
  outline-offset: 5px;
}
.mono {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
}
.site-shell {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  padding: clamp(18px, 3.6vh, 40px) clamp(22px, 5.2vw, 88px)
    clamp(16px, 2.8vh, 30px);
  background:
    radial-gradient(ellipse at 77% 40%, #2185a51c, transparent 60%),
    radial-gradient(ellipse at 18% 14%, #331d5d55, transparent 55%);
}
.retro-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  color: var(--grid);
}
.retro-sun {
  transform-origin: 1030px 340px;
  animation: sun-breathe 18s ease-in-out infinite;
}
.retro-grid {
  opacity: 0.19;
  animation: grid-drift 16s ease-in-out infinite alternate;
}
.retro-stars {
  opacity: 0.65;
}
.topbar {
  height: 48px;
}
.brand {
  width: clamp(180px, 17vw, 260px);
  display: block;
  line-height: 0;
}
.brand img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 13px #2185a538);
}
.brand-icon {
  width: 35px;
  height: 35px;
  color: var(--lavender);
  filter: drop-shadow(0 0 6px #2185a538);
}
.brand-labs {
  font-weight: 400;
  color: var(--muted);
}
.brand-period {
  color: var(--lavender);
}
.origin {
  font-size: 9px;
  color: var(--muted);
}
.tiny-star {
  font-size: 17px;
  color: var(--lavender);
}
.theme-switch {
  background: var(--switch);
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.theme-switch button {
  width: 36px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
  border: 0;
  transition:
    background 0.2s,
    color 0.2s;
}
.theme-switch button[aria-pressed="true"] {
  background: var(--bg);
  color: var(--lavender);
  box-shadow: 0 2px 5px #00000010;
}
.theme-switch button:hover {
  color: var(--ink);
}
.theme-switch svg {
  width: 17px;
  height: 17px;
}
.hero {
  flex: 1;
  grid-template-columns: 1fr 1.08fr;
  gap: 2.5vw;
  width: 100%;
  max-width: 1450px;
  margin: 0 auto;
}
.hero-copy {
  z-index: 2;
  padding-bottom: 2vh;
}
.eyebrow {
  color: var(--lavender);
  margin: 0 0 clamp(20px, 4vh, 45px);
  font-size: 10px;
  letter-spacing: 0.12em;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lavender);
  box-shadow: 0 0 10px #ebffb535;
}
h1 {
  margin: 0;
  font-size: clamp(50px, 6.35vw, 104px);
  font-weight: 500;
  letter-spacing: -0.074em;
  line-height: 1.06;
  white-space: nowrap;
}
h1 > span:first-of-type {
  color: var(--lavender);
}
.title-star {
  display: inline-block;
  margin-left: 20px;
  color: var(--lavender);
  font-size: 0.7em;
  vertical-align: 9%;
  font-weight: 400;
}
.description {
  color: var(--muted);
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.75;
  max-width: 395px;
  margin: clamp(20px, 3vh, 32px) 0 clamp(25px, 4vh, 42px);
}
.primary-cta {
  position: relative;
  min-height: 58px;
  padding: 0 21px;
  border-radius: 7px;
  background: var(--lavender);
  color: var(--cta-ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s;
  isolation: isolate;
}
.primary-cta::before {
  content: "";
  position: absolute;
  inset: -2px;
  border: 1px solid var(--lavender);
  border-radius: 9px;
  z-index: -1;
  animation: cta-pulse 4s ease-in-out infinite;
  pointer-events: none;
}
.primary-cta:hover {
  transform: translateY(-3px);
}
.primary-cta svg {
  width: 21px;
  height: 21px;
}
.cta-arrow {
  font-size: 21px;
  margin-left: 17px;
}
.cta-note {
  font-size: 11px;
  margin: 13px 0 0;
  color: var(--subtle);
  padding-left: 2px;
}
.craft-notes {
  color: var(--muted);
  gap: 18px;
  margin-top: clamp(30px, 5.5vh, 65px);
  font-size: 9px;
  letter-spacing: 0.09em;
}
.craft-notes span + span::before {
  content: "+";
  color: var(--lavender);
  margin-right: 18px;
}
.product-stage {
  height: min(520px, 67vh);
  width: 100%;
  margin: 0;
  min-width: 0;
}
.product-heading {
  position: absolute;
  left: 12%;
  right: 0;
  top: 8%;
  font-size: 9px;
  color: var(--subtle);
}
.product-cross {
  font-size: 24px;
  font-weight: 400;
  color: var(--lavender);
}
.product-orbit {
  position: absolute;
  left: 10%;
  top: 10%;
  width: 82%;
  height: 74%;
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: rotate(-22deg);
}
.product-orbit::before {
  content: "";
  position: absolute;
  top: 13%;
  left: 13%;
  width: 5px;
  height: 5px;
  background: var(--lavender);
  border-radius: 50%;
  box-shadow: 0 0 12px #ebffb530;
}
.keyboard-float {
  position: absolute;
  left: 1%;
  right: -2%;
  top: 32%;
  animation: board-float 9s ease-in-out infinite;
  perspective: 1200px;
}
.keyboard-case {
  position: relative;
  padding: 15px 15px 22px;
  border-radius: 15px;
  background: linear-gradient(145deg, #dad9e0, #aaa6b8 52%, #79718b);
  transform: rotateX(33deg) rotateZ(-13deg);
  box-shadow:
    1px 2px 0 #f5f0ff,
    3px 7px 0 #827a93,
    5px 13px 0 #4d455d,
    6px 16px 0 #2d283b,
    9px 33px 26px #00000045,
    18px 48px 50px #00000030;
  border: 1px solid #e3dbe7;
}
.keyboard-bed {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: #4a4455;
  padding: 7px;
  border-radius: 8px;
  box-shadow: inset 0 2px 5px #20182c;
}
.key-row {
  display: flex;
  gap: 5px;
  height: clamp(24px, 2.75vw, 43px);
}
.key {
  flex: var(--units, 1);
  min-width: 0;
  position: relative;
  border-radius: 4px;
  background: linear-gradient(145deg, #f7f4e9, #d7d4cc);
  color: #66616d;
  box-shadow:
    0 3px 0 #a6a2a0,
    0 4px 2px #16101f80,
    inset 0 1px 0 #ffffff;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 6px 0 0 7px;
  font-family: "DM Mono", monospace;
  font-size: clamp(6px, 0.64vw, 10px);
  line-height: 1;
}
.key::after {
  content: "";
  position: absolute;
  inset: 3px 3px 5px;
  border: 1px solid #ffffff28;
  border-radius: 3px;
  pointer-events: none;
}
.key.mod {
  background: linear-gradient(145deg, #c5badd, #9b8fb6);
  box-shadow:
    0 3px 0 #7c6e95,
    0 4px 2px #16101f80,
    inset 0 1px 0 #ded4f1;
  color: #4e4264;
}
.key.accent {
  background: linear-gradient(145deg, #b795ef, #9161d0);
  color: #faf2ff;
  box-shadow:
    0 3px 0 #62417e,
    0 4px 2px #16101f80,
    inset 0 1px 0 #d4b8f1;
}
.key.space {
  justify-content: center;
  padding-top: 12px;
  font-size: 7px;
  letter-spacing: 0.2em;
  color: #746880;
}
.key.knob {
  border-radius: 50%;
  background: repeating-conic-gradient(#bba778 0deg 4deg, #ebd7aa 4deg 8deg);
  box-shadow:
    0 3px 0 #89754e,
    0 4px 4px #16101f80;
  flex: 0.95;
}
.key.knob::after {
  inset: 4px;
  border: 1px solid #c9b785;
  border-radius: 50%;
  background: linear-gradient(120deg, #f3e7ca, #bba372);
}
.key.knob::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 6px;
  left: 50%;
  height: 6px;
  width: 1px;
  background: #6f5a31;
}
.case-edge {
  position: absolute;
  bottom: 5px;
  left: 23px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #4c4359;
  font:
    5px "DM Mono",
    monospace;
  letter-spacing: 2px;
}
.case-led {
  height: 3px;
  width: 16px;
  background: var(--lavender);
  box-shadow: 0 0 5px var(--lavender);
  border-radius: 3px;
}
.annotation {
  position: absolute;
  right: 1%;
  bottom: 12%;
  font-size: 8px;
  color: var(--lavender);
  display: flex;
  align-items: center;
  gap: 10px;
}
.annotation-line {
  width: 28px;
  height: 1px;
  background: var(--lavender);
}
.product-caption {
  position: absolute;
  bottom: 0;
  left: 12%;
  right: 0;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 11px;
  color: var(--muted);
}
.product-caption .mono {
  font-size: 8px;
}
.caption-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lavender);
  margin-right: 7px;
}
.footer {
  border-top: 1px solid var(--line);
  min-height: 46px;
  padding-top: 16px;
  color: var(--subtle);
  font-size: 11px;
}
.footer p {
  margin: 0;
}
.footer svg {
  width: 16px;
  height: 16px;
  color: var(--lavender);
}
.footer-signature {
  font-size: 9px;
}
.footer-signature span {
  font-size: 17px;
  margin-left: 16px;
}
@keyframes board-float {
  50% {
    transform: translateY(-9px);
  }
}
@keyframes sun-breathe {
  50% {
    transform: scale(1.06);
    opacity: 0.65;
  }
}
@keyframes grid-drift {
  to {
    transform: translateY(12px);
  }
}
@keyframes cta-pulse {
  0%,
  100% {
    opacity: 0.15;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.025, 1.1);
  }
}
@media (min-width: 1600px) {
  .key-row {
    height: 45px;
  }
  .keyboard-float {
    top: 28%;
  }
}
@media (max-width: 900px) {
  .hero {
    gap: 1vw;
  }
  h1 {
    font-size: 6.6vw;
  }
  .description {
    font-size: 14px;
    max-width: 330px;
  }
  .craft-notes {
    gap: 11px;
    font-size: 8px;
  }
  .craft-notes span + span::before {
    margin-right: 11px;
  }
  .keyboard-case {
    padding: 10px 10px 18px;
  }
  .key-row,
  .keyboard-bed {
    gap: 4px;
  }
  .key {
    padding: 5px 0 0 4px;
  }
  .product-caption .mono {
    display: none;
  }
}
@media (max-width: 640px) and (min-height: 561px) {
  .site-shell {
    padding: 16px 24px max(12px, env(safe-area-inset-bottom));
  }
  .topbar {
    height: 42px;
  }
  .brand {
    width: 166px;
  }
  .theme-switch button {
    width: 30px;
    height: 32px;
  }
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 0;
    align-content: center;
  }
  .hero-copy {
    text-align: center;
    padding-bottom: 0;
    grid-row: 2;
    margin-bottom: clamp(10px, 2.5vh, 24px);
  }
  .eyebrow {
    justify-content: center;
    margin-bottom: 12px;
    font-size: 8px;
  }
  h1 {
    font-size: clamp(43px, 10.4vw, 65px);
    line-height: 1.02;
  }
  .title-star {
    margin-left: 12px;
  }
  .description {
    max-width: 340px;
    margin: 16px auto 21px;
    font-size: 12px;
    line-height: 1.7;
  }
  .primary-cta {
    min-height: 52px;
    font-size: 13px;
    min-width: 277px;
  }
  .cta-note {
    font-size: 10px;
    margin-top: 10px;
  }
  .craft-notes {
    justify-content: center;
    margin-top: 22px;
    font-size: 8px;
    gap: 14px;
  }
  .craft-notes span + span::before {
    margin-right: 14px;
  }
  .product-stage {
    grid-row: 1;
    height: 100%;
    max-height: 290px;
    min-height: 0;
    align-self: center;
    width: min(100%, 410px);
    justify-self: center;
  }
  .product-heading,
  .annotation,
  .product-caption {
    display: none;
  }
  .product-orbit {
    height: 87%;
    top: 6%;
    left: 14%;
    width: 73%;
  }
  .keyboard-float {
    left: 6%;
    right: 6%;
    top: 50%;
    margin-top: -60px;
  }
  .keyboard-case {
    padding: 10px 10px 18px;
    transform: rotateX(34deg) rotateZ(-12deg);
  }
  .key-row {
    height: 23px;
    gap: 3px;
  }
  .keyboard-bed {
    gap: 4px;
    padding: 5px;
  }
  .key {
    font-size: 6px;
    padding: 4px 0 0 4px;
  }
  .key.space {
    font-size: 5px;
    padding-top: 7px;
  }
  .footer {
    font-size: 9px;
    justify-content: center;
    min-height: 32px;
    padding-top: 10px;
  }
  .footer-signature {
    display: none;
  }
  .retro-background {
    width: 160%;
    left: -30%;
    opacity: 0.7;
  }
}
@media (max-width: 640px) and (min-height: 561px) and (max-height: 700px) {
  .hero-copy {
    margin-bottom: 9px;
  }
  .eyebrow {
    margin-bottom: 8px;
  }
  h1 {
    font-size: 44px;
  }
  .description {
    margin: 12px auto 15px;
  }
  .craft-notes {
    margin-top: 15px;
  }
  .keyboard-float {
    left: 13%;
    right: 13%;
    margin-top: -51px;
  }
  .key-row {
    height: 18px;
  }
  .key.space {
    padding-top: 5px;
  }
  .product-orbit {
    border: 0;
  }
}
@media (max-height: 560px) {
  .site-shell {
    padding: 10px 24px;
  }
  .topbar {
    height: 38px;
  }
  .brand {
    font-size: 21px;
  }
  .brand-icon {
    width: 28px;
    height: 28px;
  }
  .origin {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .hero-copy {
    padding: 0;
  }
  .eyebrow {
    font-size: 8px;
    margin-bottom: 10px;
  }
  h1 {
    font-size: clamp(31px, 5.7vw, 58px);
    line-height: 1;
  }
  .title-star {
    margin-left: 10px;
  }
  .description {
    font-size: 11px;
    line-height: 1.5;
    margin: 12px 0 15px;
    max-width: 330px;
  }
  .primary-cta {
    min-height: 43px;
    padding: 0 13px;
    font-size: 11px;
    gap: 8px;
  }
  .primary-cta svg {
    width: 17px;
  }
  .cta-arrow {
    margin-left: 5px;
  }
  .cta-note {
    font-size: 9px;
    margin-top: 8px;
  }
  .craft-notes {
    display: none;
  }
  .product-stage {
    height: 100%;
    max-height: 320px;
  }
  .keyboard-float {
    top: 33%;
  }
  .key-row {
    height: clamp(16px, 3vw, 27px);
  }
  .product-heading {
    font-size: 7px;
  }
  .annotation {
    display: none;
  }
  .product-caption {
    font-size: 9px;
    padding-top: 10px;
    bottom: 6%;
  }
  .footer {
    min-height: 28px;
    font-size: 9px;
    padding-top: 8px;
  }
  .footer-signature {
    font-size: 7px;
  }
}
@media (max-width: 480px) and (max-height: 560px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    text-align: center;
  }
  .eyebrow {
    justify-content: center;
  }
  h1 {
    font-size: 46px;
  }
  .description {
    margin: 13px auto 18px;
    max-width: 300px;
    font-size: 12px;
  }
  .product-stage {
    display: none;
  }
  .footer {
    justify-content: center;
  }
  .footer-signature {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
