/* Tenthwise — tenthwise.com, 2026
   Inter is self-hosted (SIL OFL 1.1). No third-party requests, no cookies. */

@font-face {
  font-family: Inter;
  src: url("fonts/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #07080d;
  --bg-elev: #0c0e16;
  --bg-card: #10131c;
  --bg-card-2: #141825;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f4f8;
  --muted: #b4b8c5;
  --faint: #8b90a0;
  --accent: #5eead4;
  --accent-2: #67e8f9;
  --accent-dim: rgba(94, 234, 212, 0.12);
  --accent-glow: rgba(94, 234, 212, 0.28);
  --indigo: rgba(99, 102, 241, 0.22);
  --rose: #fda4af;
  --rose-dim: rgba(253, 164, 175, 0.12);
  --warn: #fbbf24;
  --radius: 14px;
  --radius-sm: 10px;
  --max: 72rem;
  --header: 4.25rem;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.03125rem;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11", "kern";
  background: var(--bg);
  color: var(--text);
}

[hidden] { display: none; }

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-2); }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 80;
  background: var(--text);
  color: var(--bg);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 3rem);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(7, 8, 13, 0.45);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}
.site-header.is-scrolled {
  background: rgba(7, 8, 13, 0.8);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  max-width: calc(var(--max) + 3rem);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.03em;
}
.logo:hover { color: var(--text); }
.logo-mark { display: block; flex-shrink: 0; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.6rem;
  font-size: 0.92rem;
}
.nav-desktop > a,
.nav-guides-label {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
.nav-desktop > a::after,
.nav-guides-label::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.28rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s cubic-bezier(.22, 1, .36, 1);
}
.nav-desktop > a:hover,
.nav-desktop > a:focus-visible,
.nav-guides-label:hover,
.nav-guides-label:focus-visible,
.nav-guides:hover .nav-guides-label,
.nav-guides:focus-within .nav-guides-label,
.nav-guides.is-open .nav-guides-label { color: var(--text); }
.nav-desktop > a:hover::after,
.nav-desktop > a:focus-visible::after,
.nav-guides-label:hover::after,
.nav-guides-label:focus-visible::after,
.nav-guides:hover .nav-guides-label::after,
.nav-guides:focus-within .nav-guides-label::after,
.nav-guides.is-open .nav-guides-label::after { transform: scaleX(1); }

.header-cta { margin-left: 0.4rem; }

.nav-mobile { display: none; position: relative; }
.nav-mobile > summary {
  list-style: none;
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg-elev);
  color: var(--text);
}
.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-mobile > summary .burger {
  width: 16px;
  height: 10px;
  display: block;
  background:
    linear-gradient(var(--text), var(--text)) 0 0 / 16px 1.5px no-repeat,
    linear-gradient(var(--text), var(--text)) 0 4.25px / 16px 1.5px no-repeat,
    linear-gradient(var(--text), var(--text)) 0 8.5px / 16px 1.5px no-repeat;
}
.nav-mobile[open] > summary { border-color: var(--line-strong); }
.nav-mobile nav {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 16rem;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 0.45rem;
  display: flex;
  flex-direction: column;
}
.nav-mobile nav a {
  color: var(--text);
  text-decoration: none;
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-mobile nav a:hover { background: var(--accent-dim); }
.nav-mobile nav .btn { margin: 0.35rem 0.3rem 0.3rem; text-align: center; }


/* ---------- Guides dropdown ---------- */
.nav-guides {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.1rem;
}
.nav-guides-toggle {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  width: 1.45rem;
  height: 1.7rem;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 6px;
}
.nav-guides-toggle:hover,
.nav-guides-toggle:focus-visible,
.nav-guides:hover .nav-guides-toggle,
.nav-guides:focus-within .nav-guides-toggle,
.nav-guides.is-open .nav-guides-toggle { color: var(--text); }
.nav-guides-caret {
  display: block;
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}
.nav-guides:hover .nav-guides-caret,
.nav-guides:focus-within .nav-guides-caret,
.nav-guides.is-open .nav-guides-caret {
  transform: rotate(225deg) translate(-1px, 1px);
}
.nav-guides-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 22.5rem;
  padding: 0.75rem 0 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.18s ease 0.2s,
    transform 0.18s cubic-bezier(.22, 1, .36, 1) 0.2s,
    visibility 0s linear 0.38s;
}
.nav-guides-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 0.75rem;
}
.nav-guides:hover .nav-guides-menu,
.nav-guides:focus-within .nav-guides-menu,
.nav-guides.is-open .nav-guides-menu,
.nav-guides.is-hover .nav-guides-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}
.nav-guides-menu ul {
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  display: grid;
  gap: 0.1rem;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.nav-guides-menu a {
  display: block;
  padding: 0.7rem 0.85rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
}
.nav-guides-menu a:hover,
.nav-guides-menu a:focus-visible,
.nav-guides-menu a[aria-current="page"] { background: var(--accent-dim); }
.nav-guides-title {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.35;
}
.nav-guides-desc {
  display: block;
  margin-top: 0.22rem;
  font-size: 0.8rem;
  line-height: 1.45;
  font-weight: 450;
  color: var(--faint);
}

.nav-mobile-guides {
  display: flex;
  flex-direction: column;
  margin: 0 0 0.15rem;
  padding: 0 0 0.25rem;
  border-bottom: 1px solid var(--line);
}
.nav-mobile-guides a {
  padding: 0.55rem 0.8rem 0.6rem 1.1rem;
}
.nav-mobile-guides .nav-guides-title { font-size: 0.92rem; }
.nav-mobile-guides .nav-guides-desc { font-size: 0.76rem; }

.eyebrow a {
  color: inherit;
  text-decoration: none;
}
.eyebrow a:hover { color: var(--accent); }

/* Guides hub */
.guide-index { padding: 3.75rem 0 5rem; }
.guide-index .section-head { max-width: 40rem; }
.guide-index h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
}
.guide-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.guide-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.35rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  min-height: 14rem;
}
.guide-card:hover,
.guide-card:focus-visible {
  color: inherit;
  border-color: rgba(94, 234, 212, 0.32);
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.1), 0 16px 40px rgba(0, 0, 0, 0.28);
  transform: translateY(-3px);
}
.guide-card h2 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
.guide-card p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}
.guide-card-go {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
}
.guide-card:hover .guide-card-go { color: var(--accent-2); }

@media (prefers-reduced-motion: reduce) {
  .nav-guides-menu,
  .nav-guides-caret,
  .guide-card { transition: none; }
  .nav-guides:hover .nav-guides-menu,
  .nav-guides:focus-within .nav-guides-menu,
  .nav-guides.is-open .nav-guides-menu,
  .nav-guides.is-hover .nav-guides-menu { transition-delay: 0s; }
  .guide-card:hover,
  .guide-card:focus-visible { transform: none; }
}

@media (max-width: 900px) {
  .guide-card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .guide-index { padding: 3.5rem 0; }
}
/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  overflow: hidden;
  background: var(--text);
  color: #07080d;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--text);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.38) 50%, transparent 75%);
  transform: translateX(-120%);
  pointer-events: none;
}
.btn:hover {
  background: #fff;
  color: #07080d;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}
.btn:hover::after {
  transform: translateX(120%);
  transition: transform 0.6s ease;
}
.btn-sm { padding: 0.48rem 0.9rem; font-size: 0.86rem; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}
.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #042f2e;
}
.btn-accent:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #042f2e;
  box-shadow: 0 0 0 4px var(--accent-dim);
  transform: translateY(-1px);
}

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem 0.9rem; align-items: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 5.5rem 0 5.75rem;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 75% 10%, rgba(94, 234, 212, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 50% at 15% -10%, rgba(99, 102, 241, 0.22), transparent 55%),
    radial-gradient(ellipse 40% 30% at 90% 80%, rgba(14, 165, 233, 0.08), transparent 50%);
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 20%, transparent 75%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3.5rem;
  align-items: center;
}
.hero-copy, .hero-visual { min-width: 0; }

.eyebrow {
  margin: 0 0 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-dim);
}

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.4rem, 5.4vw, 4.15rem);
  letter-spacing: -0.048em;
  line-height: 1.02;
  max-width: 12ch;
}
.hero h1 .grad {
  background: linear-gradient(105deg, #fff 20%, var(--accent) 80%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 0 0 1.85rem;
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 36rem;
}

.engine-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.55rem;
  color: var(--faint);
  font-size: 0.8rem;
  font-weight: 500;
}
.engine-row span.label { margin-right: 0.25rem; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}
.pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

/* ---------- AI answer card ---------- */
.hero-visual { position: relative; }
.hero-visual .glow {
  position: absolute;
  inset: 8% 5% auto 5%;
  height: 70%;
  background: radial-gradient(ellipse at center, var(--accent-glow), transparent 70%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}

.ai-card {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #161a26 0%, #0e1119 100%);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  overflow: hidden;
}

.ai-card .chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.dots { display: flex; gap: 0.35rem; }
.dots b {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2a2e3a;
  display: block;
}
.dots b:nth-child(1) { background: #f87171; }
.dots b:nth-child(2) { background: #fbbf24; }
.dots b:nth-child(3) { background: #34d399; }

.example-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
}

.ai-query {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.ai-query span { min-width: 0; }
.ai-query svg { flex-shrink: 0; margin-top: 0.15rem; color: var(--faint); }

.engine-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 0.7rem 1rem 0;
}
.engine-tabs span {
  font-size: 0.72rem;
  font-weight: 550;
  color: var(--faint);
  padding: 0.28rem 0.5rem;
  border-radius: 8px;
  white-space: nowrap;
}
.engine-tabs span.is-on {
  color: var(--accent);
  background: var(--accent-dim);
}

.ai-body { padding: 0.85rem 1.1rem 1.15rem; }
.ai-body .lead {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.cite-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.cite-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.62rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 500;
}
.cite-list li .who { display: flex; align-items: center; gap: 0.6rem; white-space: nowrap; min-width: 0; }
.cite-list li .rank {
  font-variant-numeric: tabular-nums;
  color: var(--faint);
  font-size: 0.78rem;
  width: 1rem;
}
.cite-list .badge {
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.badge-first { color: var(--accent); background: var(--accent-dim); }
.badge-named { color: var(--muted); background: rgba(255, 255, 255, 0.05); }
.badge-missing { color: var(--rose); background: var(--rose-dim); }
.cite-list li.is-you {
  border-color: rgba(253, 164, 175, 0.35);
  background: var(--rose-dim);
}

.ai-foot {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  color: var(--faint);
}
.ai-card-caption {
  margin: 0.75rem auto 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--faint);
  max-width: 28rem;
  padding-inline: 0.5rem;
}

/* ---------- Sections ---------- */
section {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.section-head { max-width: 40rem; margin-bottom: 2.4rem; }
.section-head .eyebrow { margin-bottom: 0.8rem; }
.section-head h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}
.section-head p,
.intro {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.section-head p + p,
.intro + .intro { margin-top: 0.85rem; }

/* ---------- Feature cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.feature {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.45rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.feature:hover {
  border-color: rgba(94, 234, 212, 0.28);
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.08), 0 16px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}
.icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--accent-dim);
  color: var(--accent);
  margin-bottom: 0.95rem;
}
.icon svg { display: block; }
.feature h3 { margin: 0 0 0.45rem; font-size: 1.08rem; letter-spacing: -0.03em; }
.feature p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.feature code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.84em;
  color: var(--accent-2);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.05em 0.3em;
  border-radius: 4px;
}

.snapshot-banner {
  margin-top: 1.15rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, var(--accent-dim), transparent 55%),
    var(--bg-card);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}
.snapshot-banner p { margin: 0; color: var(--muted); }
.snapshot-banner strong { color: var(--text); }

/* ---------- Timeline ---------- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
  counter-reset: step;
  position: relative;
}
.timeline li {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.45rem;
  position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.step-num {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(94, 234, 212, 0.28);
  margin-bottom: 1rem;
}
.timeline h3 { margin: 0 0 0.45rem; font-size: 1.08rem; }
.timeline p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.follow { margin: 1.4rem 0 0; color: var(--muted); }

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr 1fr;
  gap: 1rem;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem 1.4rem 1.45rem;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%), rgba(94, 234, 212, 0.16), transparent 55%);
  transition: opacity 0.3s ease;
}
.price-card > * { position: relative; z-index: 1; }
@media (hover: hover) and (pointer: fine) {
  .price-card:hover::before { opacity: 1; }
}
.price-card.featured {
  background:
    linear-gradient(180deg, rgba(94, 234, 212, 0.08), transparent 40%),
    var(--bg-card-2);
  border-color: rgba(94, 234, 212, 0.4);
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.08), 0 24px 60px rgba(0, 0, 0, 0.35);
  position: relative;
}
.price-card .tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
}
.price-card h3 { margin: 0 0 0.35rem; font-size: 1.12rem; }
.price-card .amt {
  margin: 0 0 0.2rem;
  font-size: 1.7rem;
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.price-card .amt-sub {
  margin: 0 0 1rem;
  color: var(--faint);
  font-size: 0.82rem;
  min-height: 2.4em;
}
.price-card .body {
  margin: 0 0 1.3rem;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}
.price-card .btn { width: 100%; }
.price-card .price-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.price-card .price-note {
  margin: 0.7rem 0 0;
  color: var(--faint);
  font-size: 0.78rem;
  line-height: 1.45;
}

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0.55rem; max-width: 48rem; }
.faq-list details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 550;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-top: -0.25rem;
}
.faq-list details[open]:not(.is-closing) summary::after { transform: rotate(225deg); margin-top: 0.2rem; }
.faq-list details[open]:not(.is-closing) summary { border-bottom: 1px solid var(--line); }
.faq-list .faq-body { color: var(--muted); }
.faq-list .faq-inner { min-height: 0; overflow: hidden; }
.faq-list .faq-pad { padding: 0.9rem 1.15rem 1.15rem; }
.faq-list .faq-pad p { margin: 0 0 0.7rem; }
.faq-list .faq-pad p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta {
  border-bottom: 1px solid var(--line);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 50% 120%, rgba(94, 234, 212, 0.12), transparent 60%);
}
.cta .wrap { position: relative; text-align: center; max-width: 46rem; }
.cta h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}
.cta .lede { margin-inline: auto; margin-bottom: 1.6rem; }
.cta .actions { justify-content: center; }
.who {
  margin: 1.75rem 0 0;
  color: var(--faint);
  font-size: 0.9rem;
}
.who a { color: var(--muted); }
.who a:hover { color: var(--accent); }

/* ---------- Guarantees strip ---------- */
.guarantees { padding: 4.25rem 0; }
.guarantees .section-head { margin-bottom: 1.7rem; }
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.guarantee {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.25rem;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.guarantee .icon { margin-bottom: 0.7rem; }
.guarantee h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  letter-spacing: -0.03em;
}
.guarantee p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.guarantee a { color: var(--accent); }

/* ---------- Footer + legal ---------- */
.site-footer {
  padding: 0;
  color: var(--faint);
  font-size: 0.86rem;
  border-top: 1px solid var(--line);
}
.site-footer .wrap {
  display: block;
  padding-top: 1.55rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 0.72fr)) minmax(0, 1.15fr);
  gap: 1.15rem 2rem;
  align-items: start;
  padding-bottom: 1.35rem;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.footer-name {
  margin: 0 0 0.28rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
}
.footer-tagline {
  margin: 0 0 0.28rem;
  color: var(--muted);
  max-width: 22rem;
  line-height: 1.45;
}
.footer-serve { margin: 0; max-width: 22rem; line-height: 1.45; }
.footer-heading {
  margin: 0 0 0.5rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-guides,
.legal-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}
.footer-contact { margin: 0; }
.footer-contact p {
  margin: 0 0 0.45rem;
  line-height: 1.45;
}
.footer-contact p:last-child { margin: 0; }
.footer-contact a { color: var(--muted); }
.footer-contact a:hover { color: var(--text); }
.site-footer .copy {
  margin: 0;
  padding: 0.7rem 0 0.85rem;
  border-top: 1px solid var(--line);
}
address { font-style: normal; }

.legal {
  padding: 3.75rem 0 5rem;
}
.legal-wrap { max-width: 42rem; }
.legal h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(2rem, 4vw, 2.7rem);
}
.legal .meta { color: var(--faint); margin: 0 0 2rem; font-size: 0.92rem; }
.legal h2 {
  margin: 2.1rem 0 0.6rem;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}
.legal h3 {
  margin: 1.4rem 0 0.4rem;
  font-size: 1.02rem;
}
.legal p { margin: 0 0 1rem; color: var(--muted); }
.legal p:last-child { margin-bottom: 0; }
.legal ul, .legal ol { margin: 0 0 1rem; padding-left: 1.2rem; color: var(--muted); }
.legal li { margin: 0.3rem 0; }
.legal li::marker { color: var(--faint); }

/* ---------- Motion ---------- */
.hero-bg::after {
  content: "";
  position: absolute;
  width: 58%;
  height: 70%;
  left: 48%;
  top: -18%;
  border-radius: 50%;
  background: rgba(94, 234, 212, 0.18);
  box-shadow:
    -48vw 28vh 0 -4rem rgba(99, 102, 241, 0.2),
    18vw 46vh 0 -6rem rgba(14, 165, 233, 0.12);
  filter: blur(64px);
  pointer-events: none;
}

.ai-query > span { position: relative; min-width: 0; }
.ai-query > span.is-typing { color: transparent; }
.ai-query span.q-live {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  color: var(--text);
  text-align: left;
}
.q-live::after {
  content: "";
  display: inline-block;
  width: 1.5px;
  height: 0.95em;
  margin-left: 2px;
  vertical-align: -0.12em;
  background: var(--accent);
  opacity: 1;
}
.q-live.is-done::after { content: none; }

html.js .seq {
  opacity: 0;
  transform: translateY(10px);
}
html.js .seq.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s cubic-bezier(.22, 1, .36, 1), transform 0.55s cubic-bezier(.22, 1, .36, 1);
}
html.js .cite-list li.is-you.is-hl {
  border-color: rgba(94, 234, 212, 0.7);
}

html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
}
html.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s cubic-bezier(.22, 1, .36, 1) var(--d, 0ms),
    transform 0.7s cubic-bezier(.22, 1, .36, 1) var(--d, 0ms);
}

html.js .faq-list .faq-body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.3s cubic-bezier(.22, 1, .36, 1),
    opacity 0.3s cubic-bezier(.22, 1, .36, 1);
}
html.js .faq-list details[open]:not(.is-closing) .faq-body {
  grid-template-rows: 1fr;
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  html.js .faq-list .faq-body { transition: none; }
}

.price-card:hover,
.guarantee:hover,
.guide-card:hover,
.timeline li:hover {
  border-color: rgba(94, 234, 212, 0.32);
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.1), 0 16px 40px rgba(0, 0, 0, 0.28);
  transform: translateY(-3px);
}

@media (min-width: 901px) {
  .timeline::before,
  .timeline::after {
    content: "";
    position: absolute;
    top: 2.4rem;
    left: 1.5rem;
    right: 1.5rem;
    height: 1px;
    pointer-events: none;
    z-index: 0;
  }
  .timeline::before { background: var(--line); }
  .timeline::after {
    right: auto;
    width: calc(100% - 3rem);
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transform: scaleX(0);
    transform-origin: left center;
    opacity: 0.75;
  }
  html.js .timeline.is-in::after,
  .timeline.is-in::after {
    transform: scaleX(1);
    transition: transform 1.15s cubic-bezier(.22, 1, .36, 1) 0.15s;
  }
  .timeline li { z-index: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 0.8s cubic-bezier(.22, 1, .36, 1) both; }
  .hero-copy > *:nth-child(1) { animation-delay: 0.04s; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.14s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.24s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.34s; }
  .hero-copy > *:nth-child(5) { animation-delay: 0.44s; }
  .hero-visual { animation: rise 0.9s cubic-bezier(.22, 1, .36, 1) 0.2s both; }
  .hero-bg::after { animation: aurora 22s ease-in-out infinite alternate; }
  .hero-visual .glow { animation: glow-drift 16s ease-in-out infinite alternate; }
  .eyebrow .dot { animation: pulse 2.4s ease-in-out infinite; }
  .q-live:not(.is-done)::after { animation: caret 1s steps(1, end) infinite; }
  .cite-list li.is-you.is-hl { animation: hl 1.15s ease both; }
  .timeline li.is-in .step-num { animation: pop 0.55s cubic-bezier(.22, 1, .36, 1) both; animation-delay: var(--d, 0ms); }

  @keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes aurora {
    to { transform: translate3d(-10%, 8%, 0) scale(1.08); }
  }
  @keyframes glow-drift {
    to { transform: translate3d(4%, -6%, 0) scale(1.06); }
  }
  @keyframes pulse {
    50% { transform: scale(1.3); opacity: 0.75; }
  }
  @keyframes caret {
    50% { opacity: 0; }
  }
  @keyframes hl {
    0% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0); }
    40% { box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.85), 0 0 36px rgba(94, 234, 212, 0.4); }
    100% { box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.65), 0 0 24px rgba(94, 234, 212, 0.22); }
  }
  @keyframes pop {
    from { transform: scale(0.82); opacity: 0; }
    to { transform: none; opacity: 1; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy > *,
  .hero-visual,
  .hero-bg::after,
  .hero-visual .glow,
  .eyebrow .dot,
  .btn::after,
  .q-live::after,
  .timeline::after,
  .cite-list li.is-you.is-hl,
  .timeline li.is-in .step-num {
    animation: none !important;
    transition: none !important;
  }
  .feature:hover,
  .guarantee:hover,
  .price-card:hover,
  .guide-card:hover,
  .timeline li:hover,
  .btn:hover,
  .btn-accent:hover,
  .btn-ghost:hover {
    transform: none;
  }
  html.js .reveal,
  html.js .seq {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .q-live::after { display: none; }
  .site-header { transition: none; }
}


/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .hero { padding: 3.5rem 0 3.75rem; }
  .price-grid { grid-template-columns: 1fr; max-width: 28rem; }
  .price-card.featured { order: -1; }
  .timeline { grid-template-columns: 1fr; }
  .guarantee-grid { grid-template-columns: 1fr 1fr; }
  .nav-desktop { display: none; }
  .nav-mobile { display: block; }
}

@media (max-width: 640px) {
  section, .cta, .legal { padding: 3.5rem 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .guarantee-grid { grid-template-columns: 1fr; }
  .snapshot-banner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; max-width: 11ch; }
  .wrap, .header-inner { padding-inline: 1.15rem; }
  .cta .btn { width: 100%; max-width: 22rem; }
}

@media (min-width: 901px) and (max-width: 1040px) {
  .price-grid { grid-template-columns: 1fr; max-width: 36rem; margin-inline: 0; }
  .price-card.featured { order: 0; }
}


/* ---------- Guide pages ---------- */
.guide {
  padding: 3.75rem 0 0;
}
.guide-wrap { max-width: 46rem; }
.guide .eyebrow { margin-bottom: 0.85rem; }
.guide h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
}
.guide .lede {
  margin: 0 0 1.15rem;
  font-size: 1.12rem;
}
.guide .meta { color: var(--faint); margin: 0 0 2.2rem; font-size: 0.92rem; }
.guide h2 {
  margin: 2.35rem 0 0.7rem;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}
.guide h3 {
  margin: 1.5rem 0 0.45rem;
  font-size: 1.05rem;
}
.guide p { margin: 0 0 1rem; color: var(--muted); }
.guide ul, .guide ol { margin: 0 0 1.1rem; padding-left: 1.2rem; color: var(--muted); }
.guide li { margin: 0.32rem 0; }
.guide li::marker { color: var(--faint); }
.guide .guide-body > *:last-child { margin-bottom: 0; }
.guide code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  color: var(--text);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.05em 0.32em;
}
.guide .table-wrap {
  margin: 0 0 1.3rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-card);
}
.guide table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.guide th, .guide td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.guide th {
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.02em;
  background: rgba(255, 255, 255, 0.02);
}
.guide tr:last-child th, .guide tr:last-child td { border-bottom: 0; }
.guide .sources { list-style: none; padding-left: 0; }
.guide .sources li { margin: 0 0 0.65rem; padding-left: 0; }
.guide .related {
  margin: 2.4rem 0 0;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-card);
}
.guide .related h2 { margin-top: 0; }
.guide .related p { margin-bottom: 0; }
.snapshot-privacy {
  margin: 0.7rem 0 0;
  color: var(--faint);
  font-size: 0.82rem;
  line-height: 1.5;
}
.snapshot-privacy a { color: var(--muted); }
.snapshot-privacy a:hover { color: var(--accent); }
.audit-more {
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .guide { padding: 3.5rem 0 0; }
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 1.5rem;
  }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.15rem; }
  .site-footer .wrap { padding-top: 1.35rem; }
}

.guide h1, .guide h2, .legal h1, .legal h2 { scroll-margin-top: calc(var(--header) + 0.8rem); }
