/*! Intern website — shared styles.
 *
 * Colour palette adapted from Vicious 1.1.0 by Zaher Al Majed (Intern's Vicious
 * dark theme; see docs/themes.md). Upstream release:
 * https://github.com/T0Ytank/obsidian-theme-vicious/tree/9fbb124c5a110cac6b713d9e4f8edd3f30d54015
 *
 * Copyright (c) 2023 Zaher Al Majed
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
:root {
  color-scheme: dark;
  --bg: #08090e;
  --bg-2: #0c0d13;
  --raised: #17181e;
  --hover: #1f2027;
  --line: #292a2f;
  --line-soft: rgba(251, 252, 252, 0.07);
  --text: #fbfcfc;
  --text-2: #c9cacd;
  --muted: #9a9a9f;
  --subtle: #68696c;
  --gold: #f1cb83;
  --gold-soft: rgba(241, 203, 131, 0.14);
  --lav: #ab8beb;
  --lav-soft: rgba(171, 139, 235, 0.14);
  --teal: #8be3eb;
  --teal-soft: rgba(139, 227, 235, 0.12);
  --accent: var(--gold);
  --accent-soft: var(--gold-soft);
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  --wrap: 1200px;
  --r: 16px;
  --r-lg: 26px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 16px);
}
html:has(dialog[open]) {
  overflow: hidden;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 8px;
}
::selection {
  background: rgba(241, 203, 131, 0.32);
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  background: var(--gold);
  color: #17120a;
  font-weight: 650;
  text-decoration: none;
}
.skip:focus {
  top: 0.75rem;
}
.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
.narrow {
  max-width: 52rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 9, 14, 0.74);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line-soft);
}
.bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 650;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand img {
  width: 28px;
  height: 28px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: auto;
}
.nav a {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.94rem;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 0.2s,
    background-color 0.2s;
}
.nav a:hover {
  color: var(--text);
  background: var(--raised);
}
.nav a[aria-current='page'] {
  color: var(--text);
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--line);
}
.nav .nav-cta {
  margin-left: 0.5rem;
  color: #17120a;
  background: var(--gold);
  font-weight: 650;
}
.nav .nav-cta:hover {
  color: #17120a;
  background: #f6dba6;
}
.menu-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 0.55rem;
  height: 40px;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--raised);
  color: var(--text);
  font: 600 0.9rem/1 var(--sans);
  cursor: pointer;
}
.menu-toggle .bars {
  position: relative;
  width: 16px;
  height: 10px;
}
.menu-toggle .bars::before,
.menu-toggle .bars::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition:
    transform 0.25s var(--ease),
    top 0.25s var(--ease);
}
.menu-toggle .bars::before {
  top: 1px;
}
.menu-toggle .bars::after {
  top: 7.5px;
}
.menu-toggle[aria-expanded='true'] .bars::before {
  top: 4.25px;
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded='true'] .bars::after {
  top: 4.25px;
  transform: rotate(-45deg);
}

@media (max-width: 820px) {
  .no-js .bar {
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.6rem 0;
  }
  .no-js .nav {
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
  }
  .js .menu-toggle {
    display: inline-flex;
  }
  .js .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.75rem 1.25rem 1.5rem;
    background: rgba(8, 9, 14, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  }
  .js .nav.open {
    display: flex;
  }
  .js .nav a {
    padding: 0.85rem 1rem;
    font-size: 1.02rem;
  }
  .js .nav .nav-cta {
    margin: 0.5rem 0 0;
    text-align: center;
  }
}

/* ---------- Type & buttons ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font: 600 0.76rem/1 var(--mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
}
.kicker .num {
  color: var(--muted);
}
.kicker::before {
  content: '';
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.center .kicker::after {
  content: '';
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.h1,
.h2,
h3 {
  font-weight: 640;
  text-wrap: balance;
}
.h1 {
  font-size: clamp(2.55rem, 6vw, 4.85rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.h2 {
  font-size: clamp(2.05rem, 4.5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-top: 1.1rem;
}
h3 {
  font-size: 1.3rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.lead {
  margin-top: 1.25rem;
  max-width: 38rem;
  color: var(--text-2);
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.55;
  text-wrap: pretty;
}
.center {
  text-align: center;
}
.center .lead {
  margin-inline: auto;
}
.muted {
  color: var(--muted);
}
.grad {
  background: linear-gradient(100deg, var(--gold) 0%, #f7e2b8 45%, var(--lav) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.center .actions {
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 620;
  font-size: 0.98rem;
  text-decoration: none;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    box-shadow 0.25s,
    transform 0.25s var(--ease);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--gold);
  color: #17120a;
}
.btn-primary:hover {
  background: #f6dba6;
  box-shadow:
    0 0 0 6px rgba(241, 203, 131, 0.14),
    0 18px 40px -18px rgba(241, 203, 131, 0.6);
}
.btn-quiet {
  background: rgba(23, 24, 30, 0.7);
  border-color: var(--line);
  color: var(--text);
}
.btn-quiet:hover {
  background: var(--raised);
  border-color: #3b3c43;
}
.btn .arrow {
  transition: transform 0.25s var(--ease);
}
.btn:hover .arrow {
  transform: translateX(3px);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(23, 24, 30, 0.8);
  color: var(--text-2);
  font: 600 0.72rem/1.2 var(--mono);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.tag.gold {
  color: var(--gold);
  border-color: rgba(241, 203, 131, 0.35);
  background: var(--gold-soft);
}
.tag.lav {
  color: var(--lav);
  border-color: rgba(171, 139, 235, 0.38);
  background: var(--lav-soft);
}
.tag.teal {
  color: var(--teal);
  border-color: rgba(139, 227, 235, 0.32);
  background: var(--teal-soft);
}
.t-gold {
  --accent: var(--gold);
  --accent-soft: var(--gold-soft);
}
.t-lav {
  --accent: var(--lav);
  --accent-soft: var(--lav-soft);
}
.t-teal {
  --accent: var(--teal);
  --accent-soft: var(--teal-soft);
}

/* ---------- Atmosphere ---------- */
.aura {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.aura::before,
.aura::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
}
.aura::before {
  width: 70vw;
  max-width: 1000px;
  height: 520px;
  left: 50%;
  top: -260px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(241, 203, 131, 0.2), transparent);
}
.aura::after {
  width: 46vw;
  max-width: 700px;
  height: 560px;
  right: -12vw;
  top: 120px;
  background: radial-gradient(closest-side, rgba(171, 139, 235, 0.16), transparent);
}
.aura.left::after {
  right: auto;
  left: -14vw;
}
.aura.low::before {
  top: auto;
  bottom: -300px;
}
.gridlines {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 0%, #000 0%, transparent 75%);
  opacity: 0.7;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(2.5rem, 5.5vw, 4.25rem) 0 0;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.95rem 0.35rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(23, 24, 30, 0.72);
  color: var(--text-2);
  font-size: 0.86rem;
  text-decoration: none;
}
.pill b {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  font: 650 0.7rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
a.pill:hover {
  border-color: #3b3c43;
  color: var(--text);
}
.hero .h1 {
  max-width: 20ch;
  margin: 1.3rem auto 0;
}
.hero .lead {
  max-width: 41rem;
}
.hero .actions {
  margin-top: 1.9rem;
}
.page-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem);
}
.page-hero .h1 {
  max-width: 17ch;
  margin: 1.3rem auto 0;
}

/* ---------- Screenshots ---------- */
.shot {
  position: relative;
}
.shot-hero {
  max-width: 1280px;
  margin: clamp(2.5rem, 4.5vw, 3.5rem) auto 0;
  padding-inline: clamp(0.75rem, 2.5vw, 1.25rem);
}
.shot-hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 6% 8% 30%;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(241, 203, 131, 0.22),
    rgba(171, 139, 235, 0.12) 55%,
    transparent
  );
  filter: blur(40px);
}
.frame {
  position: relative;
  display: block;
  padding: clamp(5px, 0.7vw, 9px);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(251, 252, 252, 0.09), rgba(251, 252, 252, 0.02) 60%);
  border: 1px solid rgba(251, 252, 252, 0.09);
  box-shadow:
    0 60px 120px -50px rgba(0, 0, 0, 0.9),
    0 30px 60px -40px rgba(171, 139, 235, 0.25);
  text-decoration: none;
  color: var(--muted);
}
.frame img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--r-lg) - 8px);
  background: linear-gradient(135deg, var(--raised), var(--bg-2));
  font-size: 0.9rem;
}
.frame.phone {
  max-width: 360px;
  margin-inline: auto;
  border-radius: 40px;
  padding: 8px;
}
.frame.phone img {
  border-radius: 32px;
}
.zoom-hint {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(8, 9, 14, 0.82);
  border: 1px solid var(--line);
  color: var(--text);
  font: 600 0.72rem/1 var(--mono);
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.2s,
    transform 0.2s var(--ease);
}
.frame:hover .zoom-hint,
.frame:focus-visible .zoom-hint {
  opacity: 1;
  transform: none;
}
.shot-hero .fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 26%;
  background: linear-gradient(transparent, var(--bg) 92%);
  pointer-events: none;
}
.shot figcaption {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}
.shot-hero figcaption {
  position: relative;
  margin-top: -1.5rem;
}
.depth-on [data-depth] {
  transform-origin: 50% 100%;
  transform: perspective(1800px) rotateX(calc(var(--p, 0) * var(--tilt, 6deg)))
    scale(calc(1 - var(--p, 0) * 0.035));
  will-change: transform;
}
.depth-on [data-depth].ready {
  transition: transform 0.12s linear;
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  isolation: isolate;
  padding: clamp(5rem, 11vw, 9rem) 0;
}
.section.tight {
  padding-top: clamp(3rem, 6vw, 5rem);
}
.rule {
  border-top: 1px solid var(--line-soft);
}
.head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.split.flip > .copy {
  order: 2;
}
.split.even {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
@media (max-width: 920px) {
  .split,
  .split.even {
    grid-template-columns: 1fr;
  }
  .split.flip > .copy {
    order: 0;
  }
}

/* Feature jump bar */
.jumpbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.25rem;
}
.jumpbar a {
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(23, 24, 30, 0.6);
  color: var(--text-2);
  font-size: 0.92rem;
  text-decoration: none;
  transition:
    border-color 0.2s,
    color 0.2s,
    background-color 0.2s;
}
.jumpbar a:hover {
  border-color: rgba(241, 203, 131, 0.5);
  color: var(--text);
  background: var(--raised);
}

/* Promise statement */
.promise {
  font-size: clamp(1.7rem, 3.6vw, 2.9rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
  font-weight: 560;
  color: var(--subtle);
  text-wrap: balance;
}
.promise strong {
  color: var(--text);
  font-weight: 600;
}

/* Bullet points */
.points {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}
.points li {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.points li::before {
  content: '';
  width: 7px;
  height: 7px;
  margin: 0.6rem 0 0 0.2rem;
  border-radius: 1px;
  background: var(--accent);
  transform: rotate(45deg);
  box-shadow: 0 0 12px var(--accent);
}
.points b {
  color: var(--text);
  font-weight: 600;
}

/* Trio columns */
.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.75rem);
}
.trio > * {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  position: relative;
}
.trio > *::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 44px;
  height: 1px;
  background: var(--accent);
}
.trio p {
  margin-top: 0.6rem;
  color: var(--muted);
}
.trio .ico {
  width: 40px;
  height: 40px;
  margin-bottom: 1.1rem;
  padding: 9px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--raised);
  color: var(--accent);
}
.trio.quad {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1040px) {
  .trio.quad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.trio.after-shot {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
@media (max-width: 820px) {
  .trio {
    grid-template-columns: 1fr;
  }
}

/* Pipeline */
.pipeline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.4rem;
  margin-top: 2rem;
}
.pipeline li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.pipeline b {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--raised);
  font-weight: 600;
  font-size: 0.95rem;
}
.pipeline b span {
  font: 600 0.7rem/1 var(--mono);
  color: var(--accent);
}
.pipeline li + li::before {
  content: '→';
  color: var(--subtle);
}
.exports {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Example prompt */
.example {
  margin-top: 2rem;
  padding: 1.1rem 1.25rem;
  border: 1px dashed #3b3c43;
  border-radius: var(--r);
  background: rgba(23, 24, 30, 0.55);
}
.example .label {
  display: block;
  margin-bottom: 0.45rem;
  font: 600 0.7rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.example p {
  font: 500 0.98rem/1.55 var(--mono);
  color: var(--text);
}
.example .ref {
  color: var(--gold);
}
.example .ref.alt {
  color: var(--lav);
}

/* Memory vs knowledge */
.versus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.vpanel {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--accent-soft), transparent 55%), var(--bg-2);
}
.vpanel h3 {
  margin-top: 1rem;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: -0.035em;
}
.vpanel > p {
  margin-top: 0.7rem;
  color: var(--text-2);
}
.vpanel .points {
  margin-top: 1.5rem;
}
.vpanel .foot {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.neq {
  align-self: center;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--raised);
  color: var(--gold);
  font-size: 1.6rem;
}
@media (max-width: 920px) {
  .versus {
    grid-template-columns: 1fr;
  }
  .neq {
    justify-self: center;
  }
}

/* Index rows (tools) */
.index {
  border-top: 1px solid var(--line);
}
.index li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 0.5rem 2rem;
  align-items: baseline;
  padding: clamp(1.2rem, 2.4vw, 1.8rem) 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s;
}
.index li:hover {
  background: linear-gradient(90deg, transparent, rgba(241, 203, 131, 0.04), transparent);
}
.index .n {
  font: 600 0.78rem/1 var(--mono);
  color: var(--subtle);
}
.index h3 {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.index li:hover h3 {
  color: var(--gold);
}
.index p {
  color: var(--muted);
}
@media (max-width: 760px) {
  .index li {
    grid-template-columns: 2.25rem minmax(0, 1fr);
  }
  .index p {
    grid-column: 2;
  }
}

/* Control ledger */
.ledger {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-2);
  overflow: hidden;
}
.ledger li {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  gap: 0.35rem 1.5rem;
  padding: 1.1rem 1.4rem;
  border-top: 1px solid var(--line);
}
.ledger li:first-child {
  border-top: 0;
}
.ledger b {
  font-weight: 620;
}
.ledger span {
  color: var(--muted);
}
.note {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-left: 2px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: var(--accent-soft);
  color: var(--text-2);
  font-size: 0.95rem;
}
@media (max-width: 560px) {
  .ledger li {
    grid-template-columns: 1fr;
  }
}

/* Closing call to action */
.closing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(5.5rem, 12vw, 10rem) 0;
  border-top: 1px solid var(--line-soft);
}
.closing .h2 {
  max-width: 16ch;
  margin-inline: auto;
}
.closing .actions {
  margin-top: 2.25rem;
}

/* ---------- Pricing ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1040px;
  margin-inline: auto;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--accent-soft), transparent 40%), var(--bg-2);
  overflow: hidden;
}
.plan::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.plan-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.plan h2 {
  font-size: 1.6rem;
  font-weight: 640;
  letter-spacing: -0.03em;
}
.plan .for {
  margin-top: 0.6rem;
  color: var(--text-2);
}
.price {
  margin: 2rem 0 0.4rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.price-note {
  color: var(--muted);
  font-size: 0.92rem;
}
.plan .points {
  margin: 1.75rem 0 2rem;
}
.plan .actions {
  margin-top: auto;
}
.plan .btn {
  width: 100%;
}
@media (max-width: 820px) {
  .plans {
    grid-template-columns: 1fr;
  }
}
.table-wrap {
  max-width: 1040px;
  margin-inline: auto;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-2);
}
.compare {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.96rem;
}
.compare caption {
  padding: 1.25rem 1.4rem 0.25rem;
  text-align: left;
  color: var(--muted);
  font-size: 0.9rem;
}
.compare th,
.compare td {
  padding: 0.95rem 1.4rem;
  text-align: left;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}
.compare thead th {
  border-top: 0;
  font: 600 0.74rem/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.compare tbody th {
  font-weight: 500;
  color: var(--text);
}
.compare .group th {
  padding-top: 1.4rem;
  color: var(--gold);
  font: 600 0.74rem/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.compare td {
  width: 22%;
  color: var(--text-2);
}
.yes {
  color: var(--gold);
}
.no {
  color: var(--subtle);
}

/* FAQ */
.faq {
  max-width: 820px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0.25rem;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  color: var(--gold);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 0.25rem 1.4rem;
  max-width: 64ch;
  color: var(--muted);
}

/* ---------- Roadmap ---------- */
.legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
}
.found {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.found > div {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-2);
}
.found h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
}
.found h3::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}
.found ul {
  margin-top: 1rem;
}
.found li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--line-soft);
  color: var(--text-2);
  font-size: 0.95rem;
}
@media (max-width: 980px) {
  .found {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .found {
    grid-template-columns: 1fr;
  }
}
.track {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  padding-left: clamp(1.75rem, 4vw, 3rem);
}
.track::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: linear-gradient(var(--lav), rgba(171, 139, 235, 0.15));
}
.track li {
  position: relative;
  padding: 0 0 clamp(2rem, 4vw, 3rem);
}
.track li:last-child {
  padding-bottom: 0;
}
.track li::before {
  content: '';
  position: absolute;
  left: calc(-1 * clamp(1.75rem, 4vw, 3rem) + 1px);
  top: 0.45rem;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid var(--lav);
  background: var(--bg);
  box-shadow: 0 0 0 4px var(--lav-soft);
}
.track h3 {
  margin-top: 0.75rem;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  letter-spacing: -0.03em;
}
.track p {
  margin-top: 0.5rem;
  max-width: 60ch;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 3.5rem 0 3rem;
  border-top: 1px solid var(--line-soft);
  background: var(--bg-2);
  color: var(--muted);
  font-size: 0.92rem;
}
.foot-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem 4rem;
}
.foot-grid .brand {
  color: var(--text);
}
.foot-blurb {
  margin-top: 0.8rem;
  max-width: 30ch;
}
.foot-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 4rem;
}
.foot-cols h2 {
  margin-bottom: 0.8rem;
  font: 600 0.72rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--subtle);
}
.foot-cols li + li {
  margin-top: 0.45rem;
}
.foot-cols a {
  color: var(--text-2);
  text-decoration: none;
}
.foot-cols a:hover {
  color: var(--gold);
  text-decoration: underline;
}
.foot-legal {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.84rem;
  color: var(--subtle);
}

/* ---------- Reveal (only when JS + motion allowed) ---------- */
.motion .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}
.motion .reveal.is-in {
  opacity: 1;
  transform: none;
}
.motion .reveal.d1 {
  --delay: 0.08s;
}
.motion .reveal.d2 {
  --delay: 0.16s;
}
.motion .reveal.d3 {
  --delay: 0.24s;
}

/* ---------- Lightbox ---------- */
.lightbox {
  width: min(96vw, 1600px);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-2);
  color: var(--text);
  overflow: visible;
}
.lightbox::backdrop {
  background: rgba(4, 5, 8, 0.86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.lb-inner {
  position: relative;
  padding: 0.6rem;
}
.lightbox img {
  width: 100%;
  max-height: calc(94vh - 5rem);
  object-fit: contain;
  border-radius: calc(var(--r-lg) - 8px);
}
.lb-cap {
  padding: 0.75rem 0.6rem 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.lb-close {
  position: absolute;
  top: -14px;
  right: -14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--raised);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
@media (max-width: 600px) {
  .lb-close {
    top: 8px;
    right: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media print {
  :root {
    color-scheme: light;
  }
  body {
    background: #fff;
    color: #000;
  }
  .site-header {
    position: static;
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .nav,
  .menu-toggle,
  .skip,
  .aura,
  .gridlines,
  .zoom-hint,
  .fade {
    display: none !important;
  }
  .grad {
    color: #000;
    background: none;
  }
  .lead,
  .muted,
  .points li,
  .trio p,
  .index p,
  .ledger span,
  .site-footer,
  .faq details p,
  .track p,
  .compare td {
    color: #222;
  }
  .frame,
  .vpanel,
  .plan,
  .ledger,
  .found > div,
  .table-wrap,
  .site-footer {
    background: #fff;
    box-shadow: none;
    border-color: #999;
  }
  .section,
  .closing {
    padding: 2rem 0;
  }
  figure,
  .plan,
  .vpanel,
  tr,
  .track li {
    break-inside: avoid;
  }
  [data-depth] {
    transform: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

.knowledge-shot {
  margin-top: clamp(3rem, 6vw, 5rem);
}
.faq details p a {
  color: var(--gold);
}
.legend a.tag {
  text-decoration: none;
}

/* Git delivery and the original presentation's Light / Dark compositions. */
.delivery-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 3rem 0 2rem;
  gap: 1px;
  background: #292a2f;
  border: 1px solid #292a2f;
  border-radius: 20px;
  overflow: hidden;
}
.delivery-flow li {
  background: #111218;
  padding: 1.8rem 1.3rem;
  min-width: 0;
}
.delivery-flow .step {
  display: block;
  color: var(--gold);
  font:
    0.8rem ui-monospace,
    monospace;
  margin-bottom: 2rem;
}
.delivery-flow h3 {
  margin: 0 0 1rem;
}
.delivery-flow p {
  font-size: 0.9rem;
  line-height: 1.6;
  min-height: 9em;
}
.delivery-flow .tag {
  white-space: normal;
}
.theme-labels {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0.4rem 1rem;
  color: #c6c5ce;
  font-size: 0.88rem;
}
.theme-labels span:nth-child(2) {
  color: var(--gold);
}
.mobile-showcase {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 4rem;
  margin-top: 6rem;
}
.phone-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.phone-pair .shot {
  margin: 0;
  min-width: 0;
}
.phone-pair .phone {
  width: 100%;
  max-width: 300px;
}
.phone-pair figure:nth-child(2) {
  margin-top: 4rem;
}
@media (max-width: 1000px) {
  .delivery-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .mobile-showcase {
    gap: 2rem;
  }
}
@media (max-width: 700px) {
  .delivery-flow {
    grid-template-columns: 1fr;
  }
  .delivery-flow li {
    padding: 1.4rem;
  }
  .delivery-flow .step {
    margin-bottom: 0.7rem;
  }
  .delivery-flow p {
    min-height: 0;
  }
  .mobile-showcase {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .phone-pair {
    gap: 1rem;
  }
  .phone-pair figure:nth-child(2) {
    margin-top: 2rem;
  }
}
@media print {
  .delivery-flow,
  .delivery-flow li {
    background: white;
    color: black;
  }
  .phone-pair figure:nth-child(2) {
    margin-top: 0;
  }
}

/* Three offerings: self-hosted Personal, hosted Personal and Business. */
.pricing-plans {
  max-width: 1200px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pricing-plans .plan {
  padding: clamp(1.4rem, 2.4vw, 2rem);
}
.pricing-plans .price {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  line-height: 1.15;
}
.pricing-plans .plan-top {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.7rem;
}
.pricing-plans .for {
  min-height: 4.8em;
}
.pricing-compare {
  min-width: 760px;
}
.pricing-compare th:first-child {
  width: 25%;
}
#hosted-services > .wrap > .note {
  max-width: 75ch;
  margin: 3rem auto 0;
}
@media (max-width: 1000px) {
  .pricing-plans {
    grid-template-columns: 1fr;
    max-width: 680px;
  }
  .pricing-plans .plan-top {
    flex-direction: row;
    align-items: center;
  }
  .pricing-plans .for {
    min-height: 0;
  }
}
@media print {
  .pricing-plans {
    display: block;
  }
  .pricing-plans .plan {
    margin-bottom: 1rem;
  }
  .pricing-compare {
    min-width: 0;
  }
}
