:root {
  --ink: #f5f2eb;
  --muted: #a8aaa4;
  --dim: #6f726d;
  --ground: #171817;
  --line: #3d403b;
  --orange: #ff6b2c;
  --orange-light: #ff9b6f;
  --green: #8fce71;
  --max: 76rem;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

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

body {
  min-width: 20rem;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 77% 15%, rgb(255 107 44 / 10%), transparent 27rem),
    linear-gradient(180deg, #171817 0%, #1b1d1a 55%, #141513 100%);
  line-height: 1.5;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  inset: 1rem auto auto 1rem;
  padding: .7rem 1rem;
  color: #171817;
  background: var(--orange-light);
  border-radius: .3rem;
  transform: translateY(-180%);
}

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

:where(a):focus-visible {
  outline: .18rem solid var(--orange-light);
  outline-offset: .25rem;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  display: flex;
  width: min(calc(100% - 3rem), var(--max));
  min-height: 5.75rem;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.brand,
.source-link { text-decoration: none; }

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
}

.brand-mark i {
  position: absolute;
  width: calc(.45rem + (var(--ring) * .42rem));
  aspect-ratio: 1;
  border: 1px solid var(--orange);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  rotate: 45deg;
}

.brand-mark i:nth-child(1) { --ring: 1; }
.brand-mark i:nth-child(2) { --ring: 2; opacity: .72; }
.brand-mark i:nth-child(3) { --ring: 3; opacity: .42; }

.source-link {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: flex-end;
  color: var(--muted);
  font-size: .8rem;
  transition: color 160ms ease;
}

.source-link:hover { color: var(--ink); }

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, .84fr) minmax(26rem, 1.16fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  overflow: clip;
  padding: 8.5rem max(1.5rem, calc((100% - var(--max)) / 2)) 4rem;
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 35rem;
  animation: hero-in 700ms cubic-bezier(.2, .7, .2, 1) both;
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--orange-light);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1,
h2,
p { text-wrap: pretty; }

h1,
h2 {
  margin: 0;
  letter-spacing: -.055em;
  line-height: .95;
  text-wrap: balance;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.4rem, 7.2vw, 7.25rem);
}

h2 { font-size: clamp(2.5rem, 5vw, 5.5rem); }

.hero-summary {
  max-width: 33rem;
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.2rem;
  border: 1px solid transparent;
  border-radius: .55rem;
  font-size: .86rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover { transform: translateY(-.15rem); }

.button-primary {
  color: #19130f;
  background: var(--orange);
}

.button-primary:hover { background: var(--orange-light); }

.button-secondary {
  border-color: var(--line);
  background: rgb(255 255 255 / 3%);
}

.button-secondary:hover {
  border-color: #747870;
  background: rgb(255 255 255 / 7%);
}

.release-meta,
.legal {
  color: var(--dim);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: .68rem;
  letter-spacing: .04em;
}

.release-meta { margin: 1rem 0 0; }
.release-meta span { margin: 0 .45rem; }

.product-stage {
  position: relative;
  min-height: min(43rem, 70svh);
  margin: 0;
  animation: stage-in 900ms 120ms cubic-bezier(.2, .7, .2, 1) both;
}

.product-stage figcaption {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signal-field {
  position: absolute;
  inset: 2rem 0 auto 48%;
  width: 26rem;
  aspect-ratio: 1;
  transform: translateX(-50%);
}

.signal-field span {
  position: absolute;
  inset: calc(var(--ring) * 2.8rem);
  border: 1px solid rgb(255 107 44 / calc(26% - var(--ring) * 4%));
  border-radius: 50%;
  animation: signal 3s calc(var(--ring) * -700ms) ease-out infinite;
}

.signal-field span:nth-child(1) { --ring: 1; }
.signal-field span:nth-child(2) { --ring: 2; }
.signal-field span:nth-child(3) { --ring: 3; }

.flipper-shell {
  position: absolute;
  top: 2%;
  left: 18%;
  width: 15.5rem;
  height: 31rem;
  padding: 2.2rem 1.5rem;
  background: #f1eee5;
  border: .4rem solid #dfdcd3;
  border-radius: 2.8rem 2.8rem 3.8rem 3.8rem;
  box-shadow: 0 2.5rem 6rem rgb(0 0 0 / 42%);
  rotate: -7deg;
}

.flipper-shell::before {
  position: absolute;
  top: -.42rem;
  right: 2.2rem;
  width: 2.6rem;
  height: .5rem;
  background: var(--orange);
  border-radius: .3rem .3rem 0 0;
  content: "";
}

.flipper-screen {
  display: grid;
  height: 8.6rem;
  padding: 1rem;
  color: #172113;
  background: #a9cc84;
  border: .45rem solid #2e312d;
  border-radius: .8rem;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  box-shadow: inset 0 0 2rem rgb(28 50 18 / 25%);
}

.flipper-screen span { font-size: .66rem; }
.flipper-screen strong { align-self: center; font-size: 1.65rem; }
.flipper-screen i { width: 72%; height: .4rem; background: #426634; box-shadow: 0 .8rem #426634, 0 1.6rem #426634; }

.flipper-pad {
  position: relative;
  width: 8.4rem;
  aspect-ratio: 1;
  margin: 2.3rem auto 0;
  border: 1.7rem solid #343632;
  border-radius: 50%;
  box-shadow: inset 0 0 0 .12rem #555952;
}

.flipper-pad::before,
.flipper-pad::after {
  position: absolute;
  inset: 50% auto auto 50%;
  background: #343632;
  content: "";
  transform: translate(-50%, -50%);
}

.flipper-pad::before { width: 1.7rem; height: 8.6rem; }
.flipper-pad::after { width: 8.6rem; height: 1.7rem; }
.flipper-pad i { position: absolute; z-index: 2; inset: 50% auto auto 50%; width: 2.2rem; aspect-ratio: 1; background: var(--orange); border-radius: 50%; transform: translate(-50%, -50%); }
.flipper-key { width: 3.2rem; height: 1.2rem; margin: 2.3rem auto; background: #343632; border-radius: 50%; }

.cable {
  position: absolute;
  top: 1.4rem;
  left: 11%;
  width: 22rem;
  height: 34rem;
  border-top: .28rem solid #3d403b;
  border-left: .28rem solid #3d403b;
  border-radius: 8rem 0 0 0;
  transform: translate(-16rem, -2rem) rotate(-12deg);
}

.dashboard-window {
  position: absolute;
  right: 0;
  bottom: 1rem;
  width: min(26rem, 72%);
  padding: 1.15rem;
  background: rgb(45 48 44 / 94%);
  border: 1px solid #595d55;
  border-radius: 1.1rem;
  box-shadow: 0 2rem 6rem rgb(0 0 0 / 62%), inset 0 1px rgb(255 255 255 / 8%);
  backdrop-filter: blur(1.5rem);
}

.window-top {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-bottom: 1rem;
}

.window-top strong,
.window-top small { display: block; }
.window-top strong { font-size: .9rem; }
.window-top small { margin-top: .18rem; color: var(--muted); font-size: .63rem; }
.window-top small i { display: inline-block; width: .4rem; aspect-ratio: 1; margin-right: .25rem; background: var(--green); border-radius: 50%; }
.window-logo { display: grid; width: 2.5rem; aspect-ratio: 1; place-items: center; background: rgb(255 107 44 / 15%); border-radius: .65rem; }
.window-logo span { width: 1rem; aspect-ratio: 1; border: .12rem solid var(--orange); border-left-color: transparent; border-bottom-color: transparent; border-radius: 50%; rotate: 45deg; }

.remote-group {
  margin-top: .6rem;
  padding: .8rem;
  background: #252724;
  border: 1px solid #474a45;
  border-radius: .7rem;
}

.remote-group.compact { margin-top: .55rem; }
.group-label { color: #d1d3cd; font-size: .66rem; font-weight: 650; }
.group-label span { margin-right: .3rem; color: var(--orange-light); }
.remote-group p { margin: .55rem 0 .4rem; font-size: .7rem; font-weight: 700; }
.control-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35rem; }
.control-grid span { padding: .42rem .25rem; color: #e3e4df; background: #393c37; border: 1px solid #545850; border-radius: .35rem; font-size: .56rem; text-align: center; }
.window-foot { display: flex; justify-content: space-between; padding: .8rem .2rem 0; color: var(--muted); font-size: .58rem; }

.workflow,
.details,
.final-cta,
footer {
  width: min(calc(100% - 3rem), var(--max));
  margin-inline: auto;
}

.workflow {
  padding: clamp(6rem, 12vw, 11rem) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  align-items: end;
}

.section-heading .eyebrow { align-self: start; }
.section-heading h2 { max-width: 11ch; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: clamp(4rem, 8vw, 7rem) 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 14rem;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.steps li:first-child { border-left: 0; padding-left: 0; }
.steps span { display: block; margin-bottom: 3rem; color: var(--orange-light); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .7rem; }
.steps strong { display: block; font-size: 1.35rem; }
.steps p { max-width: 17rem; margin: .55rem 0 0; color: var(--muted); font-size: .9rem; }

.details {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(5rem, 10vw, 9rem) 0;
  border-top: 1px solid var(--line);
}

.details-copy h2 { max-width: 10ch; }
.details-copy > p:last-child { max-width: 32rem; margin: 1.7rem 0 0; color: var(--muted); font-size: 1rem; }
.feature-list { margin: 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 3rem 1fr auto; align-items: center; gap: 1rem; min-height: 5.5rem; border-bottom: 1px solid var(--line); }
.feature-list > li > span { color: var(--orange-light); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .72rem; }
.feature-list strong { font-size: .93rem; }
.feature-list small { color: var(--dim); font-size: .75rem; text-align: right; }

.final-cta {
  position: relative;
  overflow: clip;
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(5rem, 9vw, 8rem);
  border-top: 1px solid var(--line);
}

.final-cta::after {
  position: absolute;
  z-index: -1;
  right: -12rem;
  bottom: -20rem;
  width: 40rem;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgb(255 107 44 / 17%), transparent 65%);
  content: "";
}

.final-cta h2 { max-width: 12ch; }
.text-link { color: var(--muted); font-size: .82rem; text-underline-offset: .25rem; }
.text-link:hover { color: var(--ink); }
.legal { margin: 1.4rem 0 0; }

footer {
  display: flex;
  min-height: 6rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--dim);
  border-top: 1px solid var(--line);
  font-size: .7rem;
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(1.5rem); }
}

@keyframes stage-in {
  from { opacity: 0; transform: translateX(2.5rem) scale(.97); }
}

@keyframes signal {
  0% { opacity: 0; transform: scale(.7); }
  28% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.15); }
}

@supports ((animation-timeline: view()) and (animation-range: entry)) {
  .reveal {
    animation: reveal linear both;
    animation-timeline: view();
    animation-range: entry 10% entry 42%;
  }

  @keyframes reveal {
    from { opacity: 0; transform: translateY(2rem); }
  }
}

@media (max-width: 58rem) {
  .hero { grid-template-columns: 1fr; padding-top: 8.5rem; }
  .hero-copy { max-width: 44rem; }
  .product-stage { min-height: 40rem; width: min(100%, 43rem); margin-inline: auto; }
  .section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .details { grid-template-columns: 1fr; }
}

@media (max-width: 40rem) {
  .site-header { width: calc(100% - 2rem); }
  .source-link { font-size: 0; }
  .source-link span { font-size: 1rem; }
  .hero { padding-inline: 1rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .product-stage { min-height: 34rem; }
  .flipper-shell { left: 2%; width: 12.5rem; height: 25rem; padding: 1.6rem 1.1rem; }
  .flipper-screen { height: 7rem; }
  .flipper-pad { width: 6.3rem; margin-top: 1.5rem; }
  .flipper-key { margin-top: 1.5rem; }
  .dashboard-window { right: 0; bottom: 0; width: 77%; padding: .75rem; }
  .control-grid span { font-size: .48rem; }
  .workflow, .details, .final-cta, footer { width: calc(100% - 2rem); }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 10rem; padding: 1.2rem 0; border-left: 0; }
  .steps span { margin-bottom: 1.8rem; }
  .feature-list li { grid-template-columns: 2.5rem 1fr; }
  .feature-list small { grid-column: 2; text-align: left; }
  footer { flex-direction: column; align-items: flex-start; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy,
  .product-stage,
  .signal-field span,
  .reveal { animation: none; }
  .button { transition: background-color 160ms ease, border-color 160ms ease; }
  .button:hover { transform: none; }
}
