/* =========================================================================
   LokalBot landing page — private work memory on the web
   Aesthetic: calm translucent surfaces over a dark, local-first field.
   Identity stays within LokalBot slate, mint/teal, and recording amber.
   Radius system: pill for interactive, 18px containers, 12px code/inputs.
   Type: native SF system stack (Apple-native on macOS).
   ========================================================================= */

:root {
  --bg: #080d14;
  --bg-2: #0b1119;
  --surface: #121a25;
  --surface-2: #16212e;
  --line: rgba(150, 180, 200, 0.13);
  --line-strong: rgba(150, 180, 200, 0.24);

  --text: #ecf3f7;
  --text-dim: #a2b4c2;
  --text-faint: #6f8696;

  --teal: #23c4ae;
  --teal-bright: #6ef2dc;
  --teal-soft: rgba(35, 196, 174, 0.14);
  --teal-ink: #04141a;
  --amber: #fbbf24;

  /* ── glass system ─────────────────────────────────────────────────── */
  --glass-tint: rgba(18, 28, 40, 0.52);        /* default panel fill        */
  --glass-tint-strong: rgba(20, 31, 44, 0.64); /* hero / download / cotype  */
  --glass-tint-chip: rgba(22, 33, 46, 0.45);   /* small controls            */
  --glass-blur: 10px;
  --glass-blur-chip: 6px;
  --glass-sat: 165%;
  --glass-border: rgba(255, 255, 255, 0.1);
  /* top gloss baked into the fill so it paints above the blurred backdrop */
  --glass-gloss: linear-gradient(
    180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.012) 42%, rgba(255, 255, 255, 0) 70%);
  /* specular rim: bright top-left light catch → teal chromatic fringe */
  --glass-rim: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.62) 0%,
    rgba(255, 255, 255, 0.1) 24%,
    rgba(255, 255, 255, 0) 50%,
    rgba(110, 242, 220, 0.16) 82%,
    rgba(35, 196, 174, 0.24) 100%);
  --glass-shadow: 0 26px 60px -18px rgba(0, 0, 0, 0.62), 0 10px 26px -12px rgba(0, 0, 0, 0.5);
  --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(0, 0, 0, 0.22);

  --radius: 18px;
  --radius-lg: 26px;
  --radius-sm: 12px;
  --pill: 999px;

  --maxw: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "SFMono-Regular", Menlo, Consolas,
    "Liberation Mono", monospace;
}

/* =========================================================================
   privacy + support pages
   ========================================================================= */
.legal-page {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 80px;
}
.legal-page__head {
  max-width: 760px;
  margin-bottom: 36px;
}
.legal-page__head h1 {
  margin: 10px 0 16px;
  font-size: clamp(2.6rem, 8vw, 5rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}
.legal-page__head > p:last-child {
  color: var(--text-dim);
  font-size: 1.15rem;
  line-height: 1.7;
}
.legal-card {
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--glass-tint);
  box-shadow: var(--glass-shadow);
}
.legal-card h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
}
.legal-card h2:first-child { margin-top: 0; }
.legal-card p,
.legal-card li {
  color: var(--text-dim);
  line-height: 1.75;
}
.legal-card ul { padding-left: 1.3rem; }
.legal-card li { list-style: disc; }
.legal-card li + li { margin-top: 0.5rem; }
.legal-card a:not(.btn) { color: var(--teal-bright); }
.footer--legal { margin-top: 40px; }

@media (max-width: 640px) {
  .legal-page { width: min(100% - 24px, 900px); padding-top: 110px; }
  .legal-card { border-radius: 20px; }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-weight: 660; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.glass-defs { position: absolute; width: 0; height: 0; pointer-events: none; }

::selection { background: var(--teal); color: var(--teal-ink); }

:focus-visible {
  outline: 2px solid var(--teal-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--teal);
  color: var(--teal-ink);
  padding: 10px 16px;
  border-radius: var(--pill);
  font-weight: 600;
  z-index: 100;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* =========================================================================
   GLASS — shared surface + masked specular rim
   ========================================================================= */
.glass,
.nav,
.proof,
.tile,
.memory-pillar,
.memory__boundary,
.cotype,
.appcard,
.download__panel,
.hero__diagram,
.faq__list,
.guide-article,
.guide-card {
  position: relative;
  background: var(--glass-gloss), var(--glass-tint);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-inset), var(--glass-shadow);
}

/* the rim: a 1px gradient ring masked to the border only, so the panel
   interior shows the live (blurred) content straight through */
.glass::after,
.nav::after,
.proof::after,
.tile::after,
.memory-pillar::after,
.memory__boundary::after,
.cotype::after,
.appcard::after,
.download__panel::after,
.hero__diagram::after,
.faq__list::after,
.guide-article::after,
.guide-card::after,
.btn--ghost::after,
.icon-link::after,
.step__num::after,
.recorder::after,
.track::after,
.tile__tags li::after,
kbd::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--glass-rim);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}

/* small glass controls: lighter blur, lighter fill */
.btn--ghost,
.icon-link,
.step__num,
.recorder,
.track,
.tile__tags li,
kbd {
  position: relative;
}

/* =========================================================================
   ambient background — glowing field + liquid refraction + grain
   ========================================================================= */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(70vw 70vw at -16vw -24vw, rgba(35, 196, 174, 0.2), transparent 62%),
    radial-gradient(64vw 64vw at 112% 112%, rgba(20, 94, 91, 0.3), transparent 62%),
    radial-gradient(44vw 44vw at 60% 38%, rgba(35, 196, 174, 0.08), transparent 64%),
    var(--bg);
}
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: none;
  opacity: 0.55;
}
.bg-glow--a {
  width: 62vw; height: 62vw;
  top: -24vw; left: -16vw;
  background: radial-gradient(circle, rgba(35, 196, 174, 0.34), transparent 62%);
}
.bg-glow--b {
  width: 58vw; height: 58vw;
  bottom: -28vw; right: -16vw;
  background: radial-gradient(circle, rgba(20, 94, 91, 0.48), transparent 62%);
}
.bg-glow--c {
  width: 38vw; height: 38vw;
  top: 36%; left: 52%;
  background: radial-gradient(circle, rgba(35, 196, 174, 0.14), transparent 64%);
}
.bg-refract {
  position: absolute;
  inset: -12%;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: normal;
  background:
    radial-gradient(42% 30% at 24% 28%, rgba(110, 242, 220, 0.12), transparent 70%),
    radial-gradient(40% 28% at 78% 66%, rgba(35, 196, 174, 0.08), transparent 72%),
    radial-gradient(30% 22% at 60% 12%, rgba(35, 196, 174, 0.1), transparent 70%);
  filter: none;
}
.bg-grain {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0;
  background-image: none;
}

/* =========================================================================
   buttons & chips
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 580;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn i { font-size: 1.15em; }
.btn--primary {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 46%),
    linear-gradient(135deg, var(--teal-bright), var(--teal));
  color: var(--teal-ink);
  box-shadow: 0 8px 24px rgba(35, 196, 174, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 rgba(4, 20, 26, 0.25);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(35, 196, 174, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(4, 20, 26, 0.25);
}
.btn--ghost {
  background: var(--glass-gloss), var(--glass-tint-chip);
  color: var(--text);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-inset), 0 8px 22px -12px rgba(0, 0, 0, 0.5);
}
.btn--ghost:hover {
  color: var(--teal-bright);
  background:
    linear-gradient(180deg, rgba(110, 242, 220, 0.12), rgba(255, 255, 255, 0) 60%),
    var(--glass-tint-strong);
  transform: translateY(-2px);
  box-shadow: var(--glass-inset), 0 14px 30px -14px rgba(35, 196, 174, 0.4);
}
.btn:active { transform: translateY(0) scale(0.985); }
.btn--sm { padding: 9px 16px; font-size: 0.9rem; }
.btn--lg { padding: 16px 30px; font-size: 1.06rem; }

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--pill);
  border: 1px solid var(--glass-border);
  background: var(--glass-gloss), var(--glass-tint-chip);
  box-shadow: var(--glass-inset);
  color: var(--text-dim);
  font-size: 1.3rem;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.icon-link:hover { color: var(--teal-bright); border-color: rgba(110, 242, 220, 0.4); background: var(--teal-soft); }

.eyebrow {
  display: inline-block;
  color: var(--teal-bright);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* =========================================================================
   nav — floating glass pill
   ========================================================================= */
.nav {
  position: sticky;
  top: 12px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
  padding: 0 14px 0 22px;
  max-width: var(--maxw);
  margin: 12px auto 0;
  width: calc(100% - 32px);
  border-radius: var(--pill);
  /* override: lighter, brighter glass for the floating bar */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 60%),
    rgba(10, 16, 24, 0.55);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 640; letter-spacing: -0.01em; }
.brand__mark { border-radius: 8px; display: block; }
.brand__name { font-size: 1.06rem; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { color: var(--text-dim); font-size: 0.95rem; transition: color 0.2s var(--ease); }
.nav__links a:hover { color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: 12px; margin-left: 8px; }

/* =========================================================================
   layout helpers
   ========================================================================= */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 104px 24px;
}
.section__head { max-width: 760px; margin-bottom: 52px; }
.section__title { font-size: clamp(1.9rem, 3.8vw, 3rem); letter-spacing: -0.04em; }
.section__lead { color: var(--text-dim); font-size: 1.08rem; max-width: 56ch; margin-top: 18px; }

/* =========================================================================
   hero
   ========================================================================= */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 56px;
  padding: 72px 24px 96px;
  min-height: calc(100svh - 66px);
}
.hero__title {
  font-size: clamp(2.8rem, 6.6vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: -0.058em;
  max-width: 22ch;
}
.hero__sub {
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--text-dim);
  max-width: 48ch;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__meta { margin-top: 20px; color: var(--text-faint); font-size: 0.9rem; }

/* centered hero: headline on top, large diagram below */
.hero--centered {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  align-items: start;
  min-height: 0;
  gap: 36px;
  padding-top: 60px;
  padding-bottom: 68px;
}
.hero--centered .hero__copy { max-width: 940px; }
.hero--centered .hero__title { max-width: 15ch; margin-inline: auto; }
.hero--centered .hero__sub { max-width: 60ch; margin-inline: auto; }
.hero--centered .hero__cta { justify-content: center; }
.hero--centered .hero__stage { width: 100%; }

/* hero diagram — the super-app SVG floats inside a frosted glass slab */
.hero__stage { display: flex; justify-content: center; }
.hero__diagram {
  position: relative;
  margin: 0;
  width: min(760px, 100%);
  padding: clamp(20px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--glass-gloss), var(--glass-tint-strong);
}
/* soft teal aura blooming behind the glass slab */
.hero__diagram::before {
  content: "";
  position: absolute;
  inset: 4% 6% 8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(58% 58% at 50% 44%, rgba(35, 196, 174, 0.38), transparent 70%);
  filter: none;
  opacity: 0.9;
}
.hero__diagram-img { display: block; width: 100%; height: auto; position: relative; }

/* hero demo video — the real app tour inside the same glass slab */
.hero__diagram--demo { padding: clamp(14px, 2.6vw, 24px); width: min(880px, 100%); }
.hero__demo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: #0b0b0d;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
}

/* how-it-works architecture diagram — wide glass panel */
.how__diagram {
  max-width: 980px;
  margin: 0 auto 56px;
  padding: clamp(12px, 2vw, 22px);
  border-radius: var(--radius-lg);
}
.how__diagram-img { display: block; width: 100%; height: auto; position: relative; z-index: 1; }
@media (max-width: 760px) {
  .how__diagram { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 12px; }
  .how__diagram-img { min-width: 560px; }
}

/* hero "app glamour" card (kept for the alternate hero layout) */
.appcard {
  position: relative;
  width: min(380px, 100%);
  padding: 38px 32px 30px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: var(--glass-gloss), var(--glass-tint-strong);
}
.appcard > * { position: relative; z-index: 2; }
.appcard__glow {
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(60% 60% at 50% 0%, rgba(35, 196, 174, 0.4), transparent 70%);
  filter: none;
  opacity: 0.7;
}
.appcard__icon { width: 132px; height: 132px; border-radius: 28px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4); }
.appcard__title { margin-top: 18px; font-weight: 640; font-size: 1.18rem; letter-spacing: -0.01em; }

.recorder {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin: 22px auto 0;
  padding: 10px 16px;
  width: fit-content;
  background: rgba(8, 13, 20, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--pill);
}
.recorder__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.18);
}
.recorder__label { font-size: 0.82rem; color: var(--text-dim); font-weight: 560; letter-spacing: 0.02em; }
.wave { display: flex; align-items: center; gap: 3px; height: 26px; }
.wave span {
  width: 3px; height: 100%;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--teal-bright), var(--teal));
  transform: scaleY(0.68);
  transform-origin: center;
}
.tracks { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.track {
  font-size: 0.78rem; font-weight: 560;
  padding: 5px 12px; border-radius: var(--pill);
  border: 1px solid var(--glass-border);
  background: var(--glass-tint-chip);
}
.track--me { color: var(--teal-bright); border-color: rgba(35, 196, 174, 0.4); background: var(--teal-soft); }
.track--them { color: var(--text-dim); }

.appcard__lines {
  margin: 18px 0 0;
  padding: 12px 14px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(8, 13, 20, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
}
.appcard__lines li { display: flex; gap: 9px; align-items: baseline; }
.appcard__lines .spk {
  flex: 0 0 auto;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px; border-radius: var(--pill);
}
.appcard__lines .spk--me { color: var(--teal-bright); background: var(--teal-soft); }
.appcard__lines .spk--them { color: var(--text-dim); background: rgba(150, 180, 200, 0.1); }
.appcard__lines .t { font-size: 0.8rem; color: var(--text-dim); line-height: 1.35; }
.appcard__lines mark {
  color: var(--teal-ink);
  background: var(--teal-bright);
  border-radius: 3px;
  padding: 0 2px;
}

@keyframes wave { to { transform: scaleY(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(251, 191, 36, 0); }
  100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); }
}

/* =========================================================================
   proof strip — one glass card, divided
   ========================================================================= */
.proof {
  max-width: calc(var(--maxw) - 48px);
  margin: 0 auto;
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-radius: var(--radius-lg);
}
.proof__item { display: flex; gap: 14px; align-items: center; padding: 26px 28px; }
.proof__item + .proof__item { box-shadow: inset 1px 0 0 var(--glass-border); }
.proof__item i { font-size: 1.7rem; color: var(--teal-bright); flex-shrink: 0; }
.proof__item strong { display: block; font-size: 0.98rem; font-weight: 620; }
.proof__item span { color: var(--text-dim); font-size: 0.9rem; }

/* =========================================================================
   work-memory model — the product story in four durable verbs
   ========================================================================= */
.memory .section__head { max-width: 820px; }
.memory-loop {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}
.memory__title {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.22em;
}
.memory-pillar {
  position: relative;
  grid-column: span 6;
  min-height: 340px;
  padding: clamp(26px, 4vw, 42px);
  border-radius: var(--radius-lg);
  background: var(--glass-gloss), var(--glass-tint);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-inset), var(--glass-shadow);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.memory-pillar::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -92px;
  top: -112px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 196, 174, 0.18), transparent 68%);
  pointer-events: none;
}
.memory-pillar--remember {
  background:
    linear-gradient(150deg, rgba(35, 196, 174, 0.18), transparent 54%),
    var(--glass-gloss), var(--glass-tint-strong);
}
.memory-pillar--act {
  background:
    linear-gradient(330deg, rgba(35, 196, 174, 0.11), transparent 52%),
    var(--glass-gloss), var(--glass-tint);
}
.memory-pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 242, 220, 0.24);
  box-shadow: var(--glass-inset), 0 34px 70px -24px rgba(0, 0, 0, 0.72),
    0 16px 46px -28px rgba(35, 196, 174, 0.6);
}
.memory-pillar > * { position: relative; z-index: 2; }
.memory-pillar__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 44px;
}
.memory-pillar__topline i { color: var(--teal-bright); font-size: 2rem; }
.memory-pillar__number {
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.12em;
}
.memory-pillar h3 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  letter-spacing: -0.055em;
  margin-bottom: 14px;
}
.memory-pillar > p { color: var(--text-dim); max-width: 52ch; }
.memory-pillar__proof {
  display: grid;
  gap: 9px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.memory-pillar__proof li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.9rem;
}
.memory-pillar__proof li::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(35, 196, 174, 0.12);
}
.memory__boundary {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 16px;
  padding: 20px 24px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--glass-gloss), rgba(15, 29, 37, 0.62);
  box-shadow: var(--glass-inset);
  color: var(--text-dim);
}
.memory__boundary > * { position: relative; z-index: 2; }
.memory__boundary i { color: var(--teal-bright); font-size: 1.35rem; margin-top: 2px; }
.memory__boundary strong { color: var(--text); }
@media (min-width: 960px) {
  .memory-pillar:nth-child(1), .memory-pillar:nth-child(4) { grid-column: span 7; }
  .memory-pillar:nth-child(2), .memory-pillar:nth-child(3) { grid-column: span 5; }
}
@media (max-width: 700px) {
  .memory-pillar { grid-column: 1 / -1; min-height: 0; }
  .memory-pillar__topline { margin-bottom: 30px; }
}

/* =========================================================================
   features bento — glass tiles
   ========================================================================= */
.bento { display: grid; grid-template-columns: 1fr; gap: 16px; }
.tile {
  padding: 28px;
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.tile > * { position: relative; z-index: 2; }
.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-inset), 0 30px 60px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(110, 242, 220, 0.18), 0 18px 50px -24px rgba(35, 196, 174, 0.45);
}
.tile__icon { font-size: 2rem; color: var(--teal-bright); display: block; margin-bottom: 16px; }
.tile h3 { font-size: 1.22rem; margin-bottom: 10px; }
.tile p { color: var(--text-dim); font-size: 0.98rem; }
.tile code { font-family: var(--mono); font-size: 0.86em; color: var(--teal-bright); }
.tile--flag {
  background:
    linear-gradient(160deg, rgba(35, 196, 174, 0.16), rgba(255, 255, 255, 0) 52%),
    var(--glass-gloss), var(--glass-tint-strong);
}
.tile--flag h3 { font-size: 1.5rem; }
.tile__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tile__tags li {
  font-size: 0.8rem; color: var(--text-dim);
  padding: 5px 12px; border-radius: var(--pill);
  border: 1px solid var(--glass-border);
  background: var(--glass-tint-chip);
}
.tile--cli { display: grid; gap: 22px; align-content: center; }
.tile--cli .tile__icon { margin-bottom: 12px; }

/* code blocks — dark glass slabs */
.code {
  font-family: var(--mono);
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--text-dim);
  background: rgba(4, 8, 13, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 18px 20px;
  margin: 0;
  overflow-x: auto;
  white-space: pre;
}
.code--inline { background: rgba(4, 8, 13, 0.42); }
.c-prompt { color: var(--teal); user-select: none; margin-right: 4px; }
.c-str { color: #f6c177; }
.c-flag { color: var(--teal-bright); }
.c-op { color: var(--text-faint); }

/* =========================================================================
   how it works — glass step pills
   ========================================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.steps::before {
  content: "";
  position: absolute;
  top: 28px; left: 6%; right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.step { position: relative; }
.step__num {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: var(--pill);
  background: var(--glass-gloss), var(--glass-tint-strong);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-inset), 0 10px 24px -12px rgba(0, 0, 0, 0.6);
  color: var(--teal-bright);
  font-weight: 680; font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
  margin-bottom: 22px;
}
.step h3 { font-size: 1.22rem; margin-bottom: 10px; }
.step p { color: var(--text-dim); }

/* =========================================================================
   cotyping spotlight — glass mock window
   ========================================================================= */
.spotlight {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
/* let columns shrink below content width so wide children (the proof terminal) scroll inside */
.spotlight > * { min-width: 0; }

/* day-timeline mock image */
.daytrack { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--glass-shadow); }

/* recommended models */
.models__grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 8px; }
.model-card { padding: 26px 24px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 7px; }
.model-card__icon { font-size: 1.5rem; color: var(--teal-bright); margin-bottom: 6px; }
.model-card__task { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-bright); }
.model-card__name { font-size: 1.16rem; font-weight: 640; color: var(--text); letter-spacing: -0.01em; }
.model-card__note { font-size: 0.92rem; color: var(--text-dim); line-height: 1.5; }
@media (min-width: 720px) { .models__grid { grid-template-columns: repeat(3, 1fr); } }
.checklist { margin-top: 26px; display: grid; gap: 12px; }
.checklist li { display: flex; align-items: center; gap: 12px; color: var(--text); }
.checklist i {
  color: var(--teal-ink); background: var(--teal-bright);
  border-radius: 50%; width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.85rem; flex-shrink: 0;
}

.cotype {
  border-radius: var(--radius);
  padding: 0 0 22px;
  overflow: hidden;
  background: var(--glass-gloss), var(--glass-tint-strong);
}
.cotype > *:not(.cotype__bar) { position: relative; z-index: 2; }
.cotype.is-focused {
  box-shadow: var(--glass-inset), var(--glass-shadow), 0 0 0 3px var(--teal-soft);
}
.cotype__bar {
  position: relative;
  z-index: 2;
  display: flex; align-items: center; gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(8, 13, 20, 0.32);
}
.cotype__chrome { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.cotype__app { margin-left: 10px; font-size: 0.82rem; color: var(--text-faint); }
.cotype__label { display: block; padding: 20px 22px 6px; font-size: 0.8rem; color: var(--text-faint); }
.cotype__field {
  position: relative;
  z-index: 2;
  padding: 4px 22px 8px;
  font-size: 1.1rem;
  line-height: 1.7;
  min-height: 2.4em;
  cursor: text;
}
.ct-typed { color: var(--text); }
.ct-ghost { color: var(--text-faint); }
.ct-caret {
  display: inline-block;
  width: 2px; height: 1.15em;
  background: var(--teal-bright);
  vertical-align: text-bottom;
  margin: 0 1px;
  opacity: 0.85;
}
.ct-input {
  position: absolute;
  inset: 44px 0 22px;
  width: 100%;
  background: transparent;
  border: 0;
  color: transparent;
  caret-color: transparent;
  font: inherit;
  padding: 4px 22px;
  outline: none;
  z-index: 3;
}
.cotype__hint { padding: 4px 22px 0; color: var(--text-faint); font-size: 0.85rem; }
kbd {
  position: relative;
  font-family: var(--mono);
  font-size: 0.78rem;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(8, 13, 20, 0.5);
  border: 1px solid var(--glass-border);
  border-bottom-width: 2px;
  color: var(--text);
}
@keyframes blink { 50% { opacity: 0; } }

/* dictation spotlight — reuses the cotype window, adds the floating pill */
.dictate__pill {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 14px 22px 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(8, 13, 20, 0.55);
  border: 1px solid var(--glass-border);
  color: var(--text);
  font-size: 0.88rem;
}
.dictate__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #ff5f57;
  opacity: 0.78;
  flex-shrink: 0;
}
@keyframes dictpulse { 50% { opacity: 0.35; } }

/* =========================================================================
   download — hero glass panel
   ========================================================================= */
.download { display: flex; justify-content: center; }
.download__panel {
  max-width: 720px;
  width: 100%;
  text-align: center;
  padding: 56px 40px;
  border-radius: var(--radius-lg);
  background: var(--glass-gloss), var(--glass-tint-strong);
}
.download__panel > * { position: relative; z-index: 2; }
.download__panel .eyebrow { margin-top: 6px; }
.download__icon { width: 80px; height: 80px; border-radius: 20px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4); }
.download__panel .btn--lg { margin-top: 30px; }
.download__sub { margin-top: 16px; color: var(--text-faint); font-size: 0.9rem; }
.download__sub a { color: var(--teal-bright); }
.download__sub a:hover { text-decoration: underline; }
.reqs {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 24px;
  margin: 30px 0 4px;
  color: var(--text-dim); font-size: 0.92rem;
}
.reqs li { display: inline-flex; align-items: center; gap: 8px; }
.reqs i { color: var(--teal-bright); font-size: 1.1rem; }
.build { margin-top: 34px; text-align: left; border-top: 1px solid var(--glass-border); padding-top: 28px; }
.build__label { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 12px; text-align: center; }

/* =========================================================================
   faq — glass list container
   ========================================================================= */
.faq__list {
  max-width: 820px;
  padding: 6px 26px;
  border-radius: var(--radius-lg);
}
.faq__list > * { position: relative; z-index: 2; }
.qa { border-bottom: 1px solid var(--glass-border); }
.qa:last-child { border-bottom: 0; }
.qa summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  font-size: 1.1rem; font-weight: 580;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i {
  color: var(--teal-bright); font-size: 1.3rem;
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}
.qa[open] summary i { transform: rotate(45deg); }
.qa p { color: var(--text-dim); padding: 0 4px 24px; max-width: 70ch; }

/* =========================================================================
   guides and search-intent articles
   ========================================================================= */
.guide-page,
.guides-page {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
}
.guide-page { max-width: 920px; }
.guide-hero { padding: 96px 0 48px; max-width: 840px; }
.guide-hero--index { padding-bottom: 64px; }
.guide-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.guide-hero__lead {
  max-width: 64ch;
  margin-top: 24px;
  color: var(--text-dim);
  font-size: clamp(1.08rem, 2.2vw, 1.3rem);
  line-height: 1.65;
}
.guide-byline { margin-top: 24px; color: var(--text-faint); font-size: 0.9rem; }
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  color: var(--text-faint);
  font-size: 0.86rem;
}
.breadcrumbs a { color: var(--text-dim); }
.breadcrumbs a:hover { color: var(--teal-bright); }
.guide-article {
  position: relative;
  padding: clamp(28px, 6vw, 64px);
  border-radius: var(--radius-lg);
  background: var(--glass-gloss), var(--glass-tint);
}
.guide-article > * { position: relative; z-index: 2; }
.guide-article h2 {
  margin: 2.8rem 0 0.85rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.035em;
}
.guide-article h2:first-child { margin-top: 0; }
.guide-article p,
.guide-article li { color: var(--text-dim); font-size: 1.02rem; line-height: 1.78; }
.guide-article p + p { margin-top: 1rem; }
.guide-article ul,
.guide-article ol { display: grid; gap: 0.7rem; margin: 1rem 0 0; padding-left: 1.4rem; }
.guide-article ul { list-style: disc; }
.guide-article ol { list-style: decimal; }
.guide-article li { padding-left: 0.25rem; }
.guide-article strong { color: var(--text); }
.guide-article a { color: var(--teal-bright); text-decoration: underline; text-underline-offset: 3px; }
.guide-article .code { margin-top: 1.25rem; }
.guide-table-wrap { margin-top: 1.2rem; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.guide-table { width: 100%; min-width: 660px; border-collapse: collapse; }
.guide-table th,
.guide-table td { padding: 15px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.guide-table th { color: var(--text); background: rgba(255, 255, 255, 0.03); font-size: 0.86rem; }
.guide-table td { color: var(--text-dim); font-size: 0.92rem; }
.guide-table tr:last-child td { border-bottom: 0; }
.guide-faq,
.guide-related { padding: 88px 0 0; }
.guide-faq > h2,
.guide-related > h2 { margin-bottom: 28px; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.guide-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 230px;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--glass-gloss), var(--glass-tint);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.guide-card > * { position: relative; z-index: 2; }
.guide-card:hover { transform: translateY(-4px); border-color: rgba(110, 242, 220, 0.3); box-shadow: var(--glass-inset), 0 24px 52px -20px rgba(0, 0, 0, 0.65); }
.guide-card__eyebrow { color: var(--teal-bright) !important; font-size: 0.75rem !important; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; }
.guide-card strong { color: var(--text); font-size: 1.2rem; line-height: 1.25; }
.guide-card > span { color: var(--text-dim); font-size: 0.92rem; line-height: 1.55; }
.guide-card__meta { margin-top: auto; color: var(--text-faint) !important; font-size: 0.82rem !important; }
.guide-card-grid--index { padding-bottom: 104px; }
.guide-related--compare { padding: 0 0 104px; }
.guide-index-link { margin-top: 28px; }
.guide-download { padding-right: 0; padding-left: 0; }

@media (max-width: 820px) {
  .guide-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .guide-page, .guides-page { width: min(100% - 24px, var(--maxw)); }
  .guide-hero { padding-top: 64px; }
  .guide-card-grid { grid-template-columns: 1fr; }
  .guide-card { min-height: 0; }
}

/* =========================================================================
   footer
   ========================================================================= */
.footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 24px 56px;
  border-top: 1px solid var(--glass-border);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer__brand p { color: var(--text-dim); font-size: 0.94rem; max-width: 38ch; margin-top: 14px; }
.footer__meta { color: var(--text-faint) !important; font-size: 0.85rem !important; margin-top: 10px !important; }
.footer__col h3 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); margin-bottom: 16px; }
.footer__col a { display: block; color: var(--text-dim); padding: 6px 0; font-size: 0.95rem; transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--teal-bright); }
.footer__legal { grid-column: 1 / -1; border-top: 1px solid var(--glass-border); padding-top: 26px; color: var(--text-faint); font-size: 0.88rem; }

/* =========================================================================
   reveal animation
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--rd, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.bento .tile:nth-child(2) { --rd: 70ms; }
.bento .tile:nth-child(3) { --rd: 140ms; }
.bento .tile:nth-child(4) { --rd: 80ms; }
.bento .tile:nth-child(5) { --rd: 150ms; }
.bento .tile:nth-child(6) { --rd: 110ms; }
.step:nth-child(2) { --rd: 110ms; }
.step:nth-child(3) { --rd: 220ms; }
.proof__item:nth-child(2) { --rd: 90ms; }
.proof__item:nth-child(3) { --rd: 180ms; }

/* =========================================================================
   responsive
   ========================================================================= */
@media (min-width: 600px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento > :nth-child(1), .bento > :nth-child(6) { grid-column: span 2; }
}
@media (min-width: 960px) {
  .bento { grid-template-columns: repeat(12, 1fr); }
  .bento > :nth-child(1) { grid-column: span 7; }
  .bento > :nth-child(2) { grid-column: span 5; }
  .bento > :nth-child(3) { grid-column: span 4; }
  .bento > :nth-child(4) { grid-column: span 4; }
  .bento > :nth-child(5) { grid-column: span 4; }
  .bento > :nth-child(6) { grid-column: span 12; grid-template-columns: 1fr 1.2fr; align-items: center; }
}
/* bento--quad: an even 2×2 variant (who-it's-for) — overrides the featured spans above */
@media (min-width: 600px) {
  .bento--quad > :nth-child(n) { grid-column: span 1; }
}
@media (min-width: 960px) {
  .bento--quad > :nth-child(n) { grid-column: span 6; }
}

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; gap: 40px; min-height: 0; padding-top: 48px; text-align: center; }
  .hero__title, .hero__sub { max-width: none; }
  .hero__cta { justify-content: center; }
  .hero__stage { order: 0; margin-top: 8px; }
  .spotlight { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  .nav__links { display: none; }
  .section { padding: 72px 20px; }
  .hero { padding: 36px 20px 64px; }
  .proof { grid-template-columns: 1fr; }
  .proof__item + .proof__item { box-shadow: inset 0 1px 0 var(--glass-border); }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { display: none; }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .download__panel { padding: 44px 24px; }
}

@media (max-width: 420px) {
  .footer { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .nav .btn { width: auto; }
}

/* =========================================================================
   accessibility fallbacks
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .appcard, .hero__diagram { animation: none; }
  .wave span { transform: scaleY(0.6); }
  .wave span:nth-child(odd) { transform: scaleY(0.85); }
  .ct-caret { animation: none; }
}

/* If the browser can't frost (or the user prefers less transparency),
   fall back to solid surfaces so contrast and depth survive. */
@media (prefers-reduced-transparency: reduce) {
  .nav, .proof, .tile, .memory-pillar, .memory__boundary, .cotype, .appcard, .download__panel, .hero__diagram,
  .faq__list, .compare-wrap, .pick, .guide-article, .guide-card, .btn--ghost, .icon-link, .step__num,
  .recorder, .track, .tile__tags li, kbd {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--surface);
  }
  .bg-refract { display: none; }
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .nav, .proof, .tile, .memory-pillar, .memory__boundary, .cotype, .appcard, .download__panel, .hero__diagram, .faq__list,
  .compare-wrap, .pick, .guide-article, .guide-card {
    background: var(--surface);
  }
  .nav { background: rgba(11, 17, 25, 0.96); }
  .btn--ghost, .icon-link, .step__num, .recorder, .track, .tile__tags li, kbd {
    background: var(--surface-2);
  }
}

/* =========================================================================
   compare pages (lokalbot-vs-*.html)
   ========================================================================= */
.compare-head { padding-bottom: 8px; }
.compare-head .section__head { margin-bottom: 0; }
.compare-updated { margin-top: 20px; font-size: 0.88rem; color: var(--text-faint); }
.compare-updated a { color: var(--text-dim); text-decoration: underline; text-underline-offset: 3px; }
.compare-updated a:hover { color: var(--teal-bright); }

.section--tight { padding-top: 44px; padding-bottom: 44px; }

.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: var(--glass-tint);
  box-shadow: var(--glass-shadow);
}
.compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 0.95rem; }
.compare th, .compare td {
  padding: 16px 22px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--glass-border);
}
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-faint);
  background: rgba(8, 13, 20, 0.4);
}
.compare thead th:nth-child(2) { color: var(--teal-bright); }
.compare tbody th { font-weight: 600; color: var(--text-dim); width: 24%; }
.compare td { color: var(--text); width: 38%; }
.compare td > i { margin-right: 7px; vertical-align: -1px; }
.compare td .ph-check { color: var(--teal-bright); }
.compare td .ph-x { color: var(--text-faint); }
.compare .dim { color: var(--text-dim); }

.pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pick {
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: var(--glass-tint);
  box-shadow: var(--glass-shadow);
}
.pick--lokal { border-color: rgba(35, 196, 174, 0.4); }
.pick h3 { font-size: 1.12rem; letter-spacing: -0.01em; }
.pick > p { color: var(--text-dim); font-size: 0.92rem; margin-top: 6px; }
.pick .checklist { margin-top: 20px; }
.pick .checklist li { align-items: flex-start; font-size: 0.95rem; }
.pick .checklist i { margin-top: 3px; }

.compare-more { display: flex; flex-wrap: wrap; gap: 12px; }
.compare-more a {
  padding: 9px 16px;
  border-radius: var(--pill);
  border: 1px solid var(--glass-border);
  background: var(--glass-tint-chip);
  color: var(--text-dim);
  font-size: 0.9rem;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.compare-more a:hover { color: var(--teal-bright); border-color: var(--line-strong); }
.compare-disclaimer { margin-top: 28px; color: var(--text-faint); font-size: 0.82rem; max-width: 72ch; }
.compare-disclaimer a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.compare-disclaimer a:hover { color: var(--text-dim); }

@media (max-width: 760px) {
  .pick-grid { grid-template-columns: 1fr; }
  .section--tight { padding-top: 36px; padding-bottom: 36px; }
}

/* =========================================================================
   memory eviction notice (landing) — a sunset email as a taped-up notice
   ========================================================================= */
.evict { display: grid; justify-items: center; }
.evict .section__head { text-align: center; margin-inline: auto; }
.evict .section__lead { margin-inline: auto; }
.evict__paper {
  position: relative;
  width: min(640px, 100%);
  margin-top: 26px;
  padding: clamp(30px, 5vw, 50px) clamp(24px, 5vw, 54px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 9%),
    #efe7d5;
  color: #26221a;
  font-family: var(--mono);
  font-size: 0.93rem;
  line-height: 1.75;
  border-radius: 4px;
  transform: rotate(-1.4deg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 30px 60px -18px rgba(0, 0, 0, 0.75),
    0 12px 26px -12px rgba(0, 0, 0, 0.6);
}
/* two strips of translucent tape holding the notice up */
.evict__paper::before,
.evict__paper::after {
  content: "";
  position: absolute;
  top: -13px;
  width: 88px;
  height: 28px;
  background: rgba(236, 243, 247, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.evict__paper::before { left: 9%; transform: rotate(-5deg); }
.evict__paper::after { right: 9%; transform: rotate(4deg); }
.evict__stamp {
  position: absolute;
  top: 20px;
  right: 18px;
  padding: 5px 12px;
  border: 3px double #a93a2c;
  border-radius: 6px;
  color: #a93a2c;
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: rotate(8deg);
  opacity: 0.85;
}
.evict__paper h3 {
  margin: 0 0 1.1rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(38, 34, 26, 0.7);
  padding-bottom: 0.7rem;
  max-width: 22ch;
}
.evict__paper p + p { margin-top: 0.95rem; }
.evict__sig { margin-top: 1.5rem; text-align: right; font-style: italic; }
.evict__turn { max-width: 700px; text-align: center; margin-top: 48px; }
.evict__turn p { color: var(--text-dim); font-size: 1.1rem; line-height: 1.7; }
.evict__turn strong { color: var(--text); }
.evict__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
@media (max-width: 640px) {
  .evict__paper { transform: rotate(-0.6deg); font-size: 0.85rem; }
  .evict__stamp { position: static; display: inline-block; margin-bottom: 14px; transform: rotate(-2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .evict__paper { transform: none; }
}

/* =========================================================================
   enshittification-proof page — working-paper accents on the legal layout
   ========================================================================= */
.proof-doc h3 { margin: 2.1rem 0 0.6rem; font-size: 1.12rem; letter-spacing: -0.01em; }
.proof-doc .qed { color: var(--teal-bright); font-weight: 700; margin-left: 6px; }
.proof-abstract {
  font-style: italic;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.4rem;
  margin-bottom: 1.6rem;
}
.thm {
  margin: 1.6rem 0;
  padding: 18px 22px;
  border-left: 3px solid var(--teal-bright);
  background: rgba(35, 196, 174, 0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.legal-card .thm p { color: var(--text); }
.thm strong { color: var(--teal-bright); }
.thm--corollary { border-left-color: var(--amber); background: rgba(251, 191, 36, 0.07); }
.thm--corollary strong { color: var(--amber); }
.proof-meta { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.06em; color: var(--text-faint); }
.proof-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }
