@font-face { font-family: "Bricolage"; src: url(assets/fonts/bricolage-grotesque-latin-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url(assets/fonts/atkinson-hyperlegible-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url(assets/fonts/atkinson-hyperlegible-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --night: #0E1230;     /* page */
  --raised: #161B42;    /* code, QR frame */
  --brick: #262C5A;     /* the wall, rules between rows */
  --wire: #7C93FF;      /* links, primary button */
  --signal: #3EDBC6;    /* the wire's glow, success */
  --text: #EDEFFB;
  --muted: #A3AACF;
  --display: "Bricolage", system-ui, sans-serif;
  --body: "Atkinson", system-ui, sans-serif;
  --measure: 64ch;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--night); color: var(--text);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--wire); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.muted, .note { color: var(--muted); }
.note { font-size: .95rem; min-height: 1.5em; }

.skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; inset-inline-start: 16px; top: 16px; background: var(--raised); padding: 8px 12px; z-index: 10; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; max-width: 1120px; margin: 0 auto; padding: 20px 24px 8px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 700 1.2rem var(--display); }
.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--text); }

/* the wall and the wire */
.wall { height: 132px; margin: 8px 0 0; overflow: hidden; }
.wall svg { width: 100%; height: 100%; }
.wall .b { fill: none; stroke: var(--brick); stroke-width: 1.5; }
.wall .gap { fill: none; stroke: var(--signal); stroke-width: 1.5; stroke-dasharray: 3 5; opacity: .55; }
.wall .wire { fill: none; stroke: url(#wireGrad); stroke-width: 3.5; stroke-linecap: round; filter: url(#glow); }
.wall .wire.draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 2.4s cubic-bezier(.6, .05, .25, 1) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .wall .wire.draw { animation: none; stroke-dashoffset: 0; } html { scroll-behavior: auto; } }

main { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; border-top: 1px solid var(--brick); }
section:first-child { border-top: 0; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); font-weight: 700; line-height: 1.15; margin-bottom: 28px; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 40px; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); font-weight: 800; line-height: .98; letter-spacing: -0.035em; font-variation-settings: "wght" 800; max-width: 11ch; }
.lede { font-size: 1.25rem; max-width: 40ch; margin: 26px 0 30px; color: #D3D7F0; }
.cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 30px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--muted); }
.facts li { padding-inline-start: 22px; position: relative; }
.facts li::before { content: ""; position: absolute; inset-inline-start: 0; top: .62em; width: 12px; height: 3px; border-radius: 2px; background: var(--signal); }
/* the app shown where it lives: on a computer screen */
.hero-shot { margin: 0; justify-self: end; width: 100%; max-width: 540px; }
.desk {
  position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 15%, #2A3170 0%, #1A1F4A 45%, #12163A 100%);
  border: 1px solid var(--brick); box-shadow: 0 50px 90px -40px #03051a, 0 0 0 10px var(--raised);
}
.browser {
  position: absolute; left: 5%; top: 7%; width: 64%; height: 76%; border-radius: 10px; overflow: hidden;
  background: #E9ECF8; box-shadow: 0 18px 40px -18px #000a;
}
.b-tabs { height: 9%; background: #D3D8EE; display: flex; align-items: center; gap: 5px; padding: 0 8px; }
.b-tabs i { width: 7px; height: 7px; border-radius: 50%; background: #AEB5D6; }
.b-tabs span { margin-inline-start: 10px; width: 34%; height: 62%; border-radius: 6px 6px 0 0; background: #E9ECF8; align-self: flex-end; }
.b-url { height: 9%; display: flex; align-items: center; gap: 6px; padding: 0 10px; }
.b-url .lock { width: 7px; height: 7px; border-radius: 2px; background: #3EB489; }
.b-url .addr { flex: 1; height: 55%; border-radius: 99px; background: #DADFF2; }
.b-page { padding: 4% 6%; display: grid; gap: 7%; }
.b-video { aspect-ratio: 16 / 8; border-radius: 6px; background: linear-gradient(135deg, #5E6BC4, #3EDBC6); display: grid; place-items: center; }
.b-video .play { width: 0; height: 0; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; opacity: .9; }
.b-lines { display: grid; gap: 5px; }
.b-lines i { height: 6px; border-radius: 3px; background: #C9CFEA; }
.b-lines i:nth-child(1) { width: 80%; } .b-lines i:nth-child(2) { width: 62%; } .b-lines i:nth-child(3) { width: 70%; }
.b-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.b-thumbs i { aspect-ratio: 16 / 10; border-radius: 4px; background: #D3D8EE; }
.appwin {
  position: absolute; right: 5%; top: 4%; height: 84%; aspect-ratio: 380 / 668; border-radius: 10px; overflow: hidden;
  background: #0B0F1A; box-shadow: 0 24px 50px -16px #000c, 0 0 0 1px #2E356A;
}
.titlebar { height: 4.2%; display: flex; align-items: center; gap: 5px; padding: 0 8px; background: #151B33; color: #C9CFEA; font: 600 9px var(--body); }
.titlebar img { width: 10px; height: 10px; }
.titlebar span { flex: 1; }
.titlebar i { width: 7px; height: 7px; border-radius: 50%; background: #39406F; }
.appwin > img { width: 100%; height: auto; display: block; }
.taskbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 8%; display: flex; align-items: center; gap: 8px; padding: 0 14px;
  background: #0C1030cc; backdrop-filter: blur(6px); border-top: 1px solid #262C5A;
}
.taskbar i { width: 16px; height: 16px; border-radius: 4px; background: #2C336A; }
.taskbar .tray { margin-inline-start: auto; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #3EDBC633; box-shadow: 0 0 10px #3EDBC655; }
.taskbar .clock { color: #A3AACF; font: 600 11px var(--body); }
.is-phone .hero-shot { display: none; }

/* buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
  font: 700 1rem var(--body); color: var(--text); text-decoration: none; cursor: pointer;
  background: transparent; border: 1.5px solid var(--brick); border-radius: 12px; transition: border-color .15s, background .15s;
}
.button:hover { border-color: var(--wire); }
.button.primary { background: var(--wire); border-color: var(--wire); color: #0B0F2A; min-height: 58px; padding: 0 30px; font-size: 1.12rem; border-radius: 14px; }
.button.primary:hover { background: #95A7FF; }
.button.small { min-height: 40px; padding: 0 14px; font-size: .95rem; }
.button[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* steps: a real sequence, so numbered */
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.steps li { display: flex; gap: 16px; }
.steps .n { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 800 1.1rem var(--display); color: var(--night); background: var(--signal); }
.steps h3 { font-size: 1.25rem; margin-bottom: 4px; }
.steps p { color: var(--muted); }

/* devices: rows, not cards */
.devices #release { margin: -16px 0 18px; }
.device { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 22px 0; border-top: 1px solid var(--brick); }
.device.here { box-shadow: inset 4px 0 0 var(--signal); padding-inline-start: 16px; }
.icon { width: 32px; height: 32px; fill: var(--muted); }
.device.here .icon { fill: var(--signal); }
.device h3 { font-size: 1.3rem; }
.device p { color: var(--muted); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.cmd { grid-column: 2 / -1; display: grid; gap: 12px; justify-items: start; }
.code { display: flex; align-items: center; gap: 10px; max-width: 100%; background: var(--raised); border: 1px solid var(--brick); border-radius: 10px; padding: 10px 10px 10px 14px; direction: ltr; }
.code code { font: .95rem/1.4 ui-monospace, "Cascadia Mono", "DejaVu Sans Mono", monospace; overflow-x: auto; white-space: nowrap; }
.copy { flex: none; font: 700 .9rem var(--body); color: var(--text); background: var(--brick); border: 0; border-radius: 7px; padding: 7px 12px; cursor: pointer; }

/* phone setup */
.phone { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: start; }
.phone ol { margin: 0; padding-inline-start: 1.4em; display: grid; gap: 26px; }
.phone li::marker { font: 800 1.2rem var(--display); color: var(--signal); }
.phone h3 { font-size: 1.25rem; margin-bottom: 12px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.qr { background: var(--raised); border: 1px solid var(--brick); border-radius: 20px; padding: 24px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.qr canvas { background: #fff; border-radius: 10px; padding: 10px; width: 212px; height: 212px; }
.qr p { color: var(--muted); font-size: .95rem; }
.is-phone .qr { display: none; }
.is-phone .phone { grid-template-columns: 1fr; }

/* questions */
.faq details { border-top: 1px solid var(--brick); max-width: var(--measure); }
.faq details:last-of-type { border-bottom: 1px solid var(--brick); }
.faq summary { cursor: pointer; padding: 18px 0; font: 700 1.15rem var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--wire); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: #D3D7F0; }

.foot { max-width: 1120px; margin: 0 auto; padding: 40px 24px 56px; border-top: 1px solid var(--brick); display: flex; flex-wrap: wrap; gap: 12px 32px; }

/* small screens */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 24px; }
  .hero-shot { justify-self: center; }
  .steps ol { grid-template-columns: 1fr; gap: 22px; }
  .phone { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
@media (max-width: 600px) {
  .top nav a { display: none; }
  .wall { height: 96px; }
  .device { grid-template-columns: 32px minmax(0, 1fr); }
  .device .get { grid-column: 1 / -1; }
  .choices { justify-content: flex-start; }
  .button.primary { width: 100%; }
  .cta { align-items: stretch; }
  .cmd { grid-column: 1 / -1; }
}
