@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0b0a09;
  --bg-2: #13110f;
  --ink: #f3efe7;
  --ink-2: #b9b2a6;
  --ink-3: #7d766b;
  --rule: rgba(243, 239, 231, 0.1);
  --bronze: #c9a679;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
}
em {
  font-style: italic;
  color: var(--ink-2);
}
code {
  font: 0.86em var(--mono);
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(243, 239, 231, 0.08);
}
kbd {
  display: inline-block;
  min-width: 1.6em;
  padding: 0.05em 0.45em;
  border-radius: 7px;
  border: 1px solid var(--rule);
  background: rgba(243, 239, 231, 0.06);
  font: 500 0.82em var(--sans);
  text-align: center;
  vertical-align: 0.08em;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0;
}
h3 {
  font: 500 17px/1.35 var(--sans);
  margin: 0 0 8px;
}

/* nav */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px max(24px, calc((100vw - 1180px) / 2));
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(11, 10, 9, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-color: var(--rule);
}
.brand img {
  width: 92px;
  height: auto;
}
.nav nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 14.5px;
  color: var(--ink-2);
}
.nav nav a:hover {
  color: var(--ink);
}
.pill {
  font-size: 14px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
}

/* hero */
.hero {
  width: var(--wrap);
  margin: 0 auto;
  padding: 168px 0 40px;
  text-align: center;
}
.eyebrow {
  margin: 0 0 22px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
}
.hero h1 {
  font-size: clamp(52px, 8.4vw, 116px);
  line-height: 0.98;
}
.lede {
  max-width: 640px;
  margin: 30px auto 0;
  font-size: 19px;
  color: var(--ink-2);
}
.ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 500;
  transition: transform 0.2s, background 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn.primary {
  background: var(--ink);
  color: var(--bg);
}
.btn.ghost {
  color: var(--ink);
  border: 1px solid var(--rule);
}
.btn.ghost:hover {
  background: rgba(243, 239, 231, 0.05);
}

/* stage: a Mac desktop with the glass panel */
.stage {
  position: relative;
  margin: 72px auto 0;
  height: min(620px, 62vw);
  min-height: 460px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.8);
  text-align: left;
}
.wallpaper {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(40% 50% at 18% 30%, #f0b98f 0%, transparent 62%),
    radial-gradient(38% 48% at 80% 22%, #9fb6d4 0%, transparent 60%),
    radial-gradient(50% 50% at 62% 78%, #5b4d6e 0%, transparent 65%),
    radial-gradient(45% 40% at 25% 85%, #c9866a 0%, transparent 60%),
    linear-gradient(165deg, #f4dcc0 0%, #b9a7a8 40%, #5f6684 75%, #2d2a3a 100%);
  filter: saturate(1.05);
  animation: drift 24s ease-in-out infinite alternate;
}
@keyframes drift {
  to {
    transform: translate3d(-3%, 2%, 0) scale(1.06);
  }
}
.menubar {
  position: absolute;
  inset: 0 0 auto 0;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(20, 18, 16, 0.85);
}
.menubar span {
  margin-right: auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(20, 18, 16, 0.75);
}
.menubar img {
  opacity: 0.8;
}

.glass {
  position: absolute;
  left: 50%;
  top: 22%;
  width: min(680px, 88%);
  transform: translateX(-50%);
  border-radius: 20px;
  color: #161412;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(250, 247, 242, 0.42));
  backdrop-filter: blur(34px) saturate(1.9);
  -webkit-backdrop-filter: blur(34px) saturate(1.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.6),
    0 0 0 0.5px rgba(0, 0, 0, 0.12),
    0 40px 80px -24px rgba(20, 16, 30, 0.45);
  overflow: hidden;
  transition: height 0.4s;
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 70px;
  background: radial-gradient(120% 100% at 15% 0%, rgba(255, 255, 255, 0.45), transparent 60%);
  pointer-events: none;
}
.g-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 64px;
  padding: 0 18px 0 20px;
}
.g-bar kbd {
  color: rgba(22, 20, 18, 0.45);
  border-color: rgba(22, 20, 18, 0.1);
  background: rgba(22, 20, 18, 0.04);
  font-size: 11px;
}
.g-input {
  flex: 1;
  font-size: 20px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
}
.g-input .ph {
  color: rgba(22, 20, 18, 0.38);
}
.g-input .cur {
  display: inline-block;
  width: 2px;
  height: 22px;
  margin-left: 1px;
  vertical-align: -4px;
  background: #8a6a3f;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.g-body:not(:empty) {
  position: relative;
  border-top: 0.5px solid rgba(22, 20, 18, 0.1);
  padding: 14px 20px 18px;
  font-size: 14.5px;
}
.g-q {
  font-size: 12.5px;
  color: rgba(22, 20, 18, 0.45);
  margin-bottom: 8px;
}
.g-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.g-step {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  background: rgba(22, 20, 18, 0.06);
  font-size: 12px;
  color: rgba(22, 20, 18, 0.7);
  animation: pop 0.35s ease-out;
}
.g-step i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8a6a3f;
  animation: pulse 1.2s ease-in-out infinite;
}
.g-step.done i {
  background: #2f7d4f;
  animation: none;
}
.g-step.wait i {
  background: #b0661d;
}
@keyframes pulse {
  50% {
    transform: scale(0.6);
    opacity: 0.5;
  }
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}
.g-ans ul {
  margin: 6px 0 0;
  padding-left: 18px;
}
.g-meta {
  margin-top: 10px;
  font-size: 11.5px;
  color: rgba(22, 20, 18, 0.45);
}
.g-meta b {
  font-weight: 500;
  color: rgba(22, 20, 18, 0.7);
}
.g-consent {
  padding: 13px 15px;
  margin-bottom: 10px;
  border-radius: 13px;
  background: rgba(22, 20, 18, 0.05);
  box-shadow: inset 0 0 0 0.5px rgba(22, 20, 18, 0.08);
  animation: pop 0.35s ease-out;
}
.g-consent h4 {
  margin: 0 0 3px;
  font-size: 13px;
  font-weight: 600;
}
.g-consent p {
  margin: 0 0 9px;
  font-size: 13px;
  color: rgba(22, 20, 18, 0.62);
}
.g-consent dl {
  display: flex;
  gap: 12px;
  margin: 0 0 11px;
  font-size: 13px;
}
.g-consent dt {
  color: rgba(22, 20, 18, 0.45);
}
.g-consent dd {
  margin: 0;
  font-weight: 500;
}
.g-row {
  display: flex;
  gap: 8px;
}
.g-row span {
  padding: 6px 13px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 500;
  background: rgba(22, 20, 18, 0.06);
  transition: transform 0.15s, box-shadow 0.15s;
}
.g-row span.primary {
  background: #161412;
  color: #f8f5ef;
}
.g-row span.press {
  transform: scale(0.95);
  box-shadow: 0 0 0 2px #8a6a3f;
}

/* facts */
.facts {
  width: var(--wrap);
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.facts div {
  padding: 28px 24px;
  display: grid;
  gap: 4px;
}
.facts div + div {
  border-left: 1px solid var(--rule);
}
.facts b {
  font: 400 34px/1.1 var(--serif);
}
.facts span {
  font-size: 14px;
  color: var(--ink-3);
}

/* sections */
.section {
  width: var(--wrap);
  margin: 0 auto;
  padding: 140px 0 0;
}
.head {
  max-width: 820px;
  margin-bottom: 64px;
}
.head h2 {
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.02;
}
.sub {
  margin: 24px 0 0;
  font-size: 18px;
  color: var(--ink-2);
  max-width: 640px;
}

.eight {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--rule);
}
.eight li {
  position: relative;
  padding: 36px 40px 40px 0;
  border-bottom: 1px solid var(--rule);
}
.eight li:nth-child(even) {
  padding: 36px 0 40px 40px;
  border-left: 1px solid var(--rule);
}
.eight .n {
  display: block;
  font: 400 15px var(--serif);
  color: var(--bronze);
  margin-bottom: 18px;
}
.eight h3 {
  font: 400 30px/1.15 var(--serif);
  margin-bottom: 14px;
}
.eight p {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
}
.eight .was {
  color: var(--ink-3);
  font-size: 14.5px;
  margin-bottom: 12px;
  padding-left: 14px;
  border-left: 2px solid rgba(201, 166, 121, 0.35);
}

.loop {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 18px;
  overflow: hidden;
}
.loop .step {
  background: var(--bg);
  padding: 30px 26px 34px;
}
.loop .step span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  font: 400 16px var(--serif);
  color: var(--bronze);
  margin-bottom: 26px;
}
.loop h3 {
  font: 400 28px/1.1 var(--serif);
}
.loop p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
}
.readout {
  margin: 28px 0 0 auto;
  max-width: 560px;
  padding: 18px 22px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(243, 239, 231, 0.07), rgba(243, 239, 231, 0.03));
  border: 1px solid var(--rule);
  font-size: 15px;
}
.r-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-3);
  font-size: 14px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.r-bar img {
  filter: invert(1);
  opacity: 0.8;
}
.readout p {
  margin: 0 0 8px;
}
.readout b {
  font-weight: 500;
  color: var(--bronze);
}
.readout .dim {
  color: var(--ink-3);
  font-size: 13.5px;
  margin: 0;
}

.grid2 {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ticks li {
  padding: 22px 0 22px 34px;
  border-top: 1px solid var(--rule);
  position: relative;
  color: var(--ink-2);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 30px;
  width: 12px;
  height: 7px;
  border-left: 1.5px solid var(--bronze);
  border-bottom: 1.5px solid var(--bronze);
  transform: rotate(-45deg);
}
.ticks b {
  color: var(--ink);
  font-weight: 500;
}
.note {
  padding: 28px;
  border-radius: 18px;
  background: var(--bg-2);
  border: 1px solid var(--rule);
}
.note h3 {
  font: 400 26px/1.15 var(--serif);
  margin-bottom: 12px;
}
.note p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15.5px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cards article {
  padding: 28px 24px 30px;
  border-radius: 18px;
  border: 1px solid var(--rule);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
}
.cards h3 {
  font: 400 26px/1.1 var(--serif);
  margin-bottom: 12px;
}
.cards p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
}

.specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
}
.specs li {
  padding: 24px 0 28px;
  border-top: 1px solid var(--rule);
  color: var(--ink-2);
  font-size: 15px;
}
.specs span {
  display: block;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 6px;
}

.final {
  width: var(--wrap);
  margin: 160px auto 0;
  padding: 100px 24px 110px;
  text-align: center;
  border-radius: 28px;
  border: 1px solid var(--rule);
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(201, 166, 121, 0.16), transparent 70%),
    var(--bg-2);
}
.final img {
  margin: 0 auto 40px;
  width: 180px;
  height: auto;
  opacity: 0.95;
}
.final h2 {
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1.02;
}
.final p {
  margin: 22px auto 34px;
  max-width: 480px;
  color: var(--ink-2);
}

.foot {
  width: var(--wrap);
  margin: 0 auto;
  padding: 56px 0 64px;
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ink-3);
  font-size: 14px;
}
.foot img {
  width: 70px;
  height: auto;
  opacity: 0.8;
}
.foot nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
}
.foot nav a:hover {
  color: var(--ink);
}

/* reveal on scroll */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .nav nav {
    display: none;
  }
  .pill {
    margin-left: auto;
  }
  .facts,
  .cards,
  .loop {
    grid-template-columns: repeat(2, 1fr);
  }
  .facts div:nth-child(3) {
    border-left: 0;
  }
  .eight,
  .grid2,
  .specs {
    grid-template-columns: 1fr;
  }
  .eight li,
  .eight li:nth-child(even) {
    padding: 32px 0;
    border-left: 0;
  }
  .stage {
    height: 560px;
  }
  .glass {
    top: 14%;
    width: 92%;
  }
}
@media (max-width: 560px) {
  .facts,
  .cards,
  .loop {
    grid-template-columns: 1fr;
  }
  .facts div + div {
    border-left: 0;
    border-top: 1px solid var(--rule);
  }
  .ctas {
    flex-direction: column;
    align-items: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .wallpaper {
    animation: none;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 560px) {
  .foot {
    flex-wrap: wrap;
    gap: 14px 20px;
  }
  .foot nav {
    margin-left: 0;
    width: 100%;
  }
  .final kbd {
    font-size: 0.6em;
  }
}
body {
  overflow-x: clip;
}
