/* GEOSITION Platform · light editorial UI (Sophon / Vibiz / Dench / Kled inspired) */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f6f3;
  --surface: #f4f4f2;
  --bg-card: #ffffff;
  --ink: #0b0b0c;
  --text: #1c1c1e;
  --muted: #6f6f73;
  --faint: #67676d;
  --line: #ececea;
  --line-strong: #dcdcd8;
  --border: #ececea;
  --accent: #2563eb;
  --accent-ink: #1d4ed8;
  --accent-soft: #eef3ff;
  --green: #1f8a4c;
  --green-soft: #e7f5ec;
  --purple: #7c5cff;
  --orange: #d99a52;
  --red: #d1453b;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow-sm: 0 1px 2px rgba(17, 17, 26, 0.04);
  --shadow: 0 4px 24px rgba(17, 17, 26, 0.06);
  --shadow-lg: 0 24px 60px rgba(17, 17, 26, 0.08);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --brand-font: "Newsreader", Georgia, "Times New Roman", serif;
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --kled-font: "Geist", var(--font);
  --control-font: "Space Grotesk", var(--font);
  --control-mono: "Space Mono", var(--mono);
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --mono-pi: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --max: 1140px;
  --nav-h: 66px;
  --topbar-h: 38px;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-ink);
}

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

code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: var(--surface);
  padding: 0.12em 0.4em;
  border-radius: 5px;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

h1, h2, h3, h4 {
  color: var(--ink);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* Editorial serif reserved for narrative section titles + mega-CTA */

/* ─── Announcement bar ─── */
.topbar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  padding: 0.55rem 1rem;
}

.topbar a {
  font-weight: 600;
}

/* ─── Nav ─── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-nav .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.brand-name {
  font-family: var(--brand-font);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  position: relative;
  top: 1px;
  font-synthesis: none;
  font-variation-settings: "opsz" 24;
  -webkit-font-smoothing: antialiased;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.footer-brand .brand {
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.footer-brand .brand-name {
  font-size: 1.12rem;
  letter-spacing: 0.085em;
}

.brand-tag {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  justify-content: center;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--ink);
}

.mobile-nav-account {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-end;
}

.nav-actions .btn {
  padding: 0.42rem 0.95rem;
  min-height: 34px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  box-shadow: none;
}

.nav-actions .btn:active {
  transform: none;
}

.nav-actions .btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: rgba(11, 11, 12, 0.14);
}

.nav-actions .btn-ghost:hover {
  background: #fff;
  border-color: rgba(11, 11, 12, 0.28);
  color: var(--ink);
}

.nav-actions .btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  padding-inline: 1.05rem;
}

.nav-actions .btn-primary:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

.nav-hamburger {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  border-radius: var(--radius-xs);
  padding: 0.3rem 0.5rem;
  cursor: pointer;
  font-size: 1rem;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-family: var(--control-font);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: #050505;
  color: #fff;
  border-color: #050505;
}

.btn-primary:hover {
  background: #171717;
  border-color: #171717;
  color: #fff;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-ink);
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border-color: rgba(11, 11, 12, 0.2);
}

.btn-ghost:hover {
  background: #fff;
  border-color: rgba(11, 11, 12, 0.42);
  color: var(--ink);
}

.btn-lg {
  min-height: 2.7rem;
  padding: 0.64rem 1.25rem;
  font-size: 0.94rem;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  padding: clamp(4.75rem, 9vh, 6.25rem) 0 clamp(2rem, 4vh, 3rem);
  overflow: hidden;
  min-height: calc(100dvh - var(--nav-h) - var(--topbar-h));
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg img {
  position: absolute;
  right: max(-11rem, -10vw);
  bottom: max(-10rem, -11vw);
  width: clamp(56rem, 92vw, 82rem);
  height: auto;
  max-width: none;
  opacity: 0.62;
  object-fit: contain;
  transform: rotate(-1deg);
  transform-origin: 72% 58%;
  mask-image:
    radial-gradient(ellipse 72% 68% at 72% 58%, #000 0 58%, rgba(0, 0, 0, 0.72) 70%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 24%, #000 100%);
  mask-composite: intersect;
  -webkit-mask-image:
    radial-gradient(ellipse 72% 68% at 72% 58%, #000 0 58%, rgba(0, 0, 0, 0.72) 70%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 24%, #000 100%);
  -webkit-mask-composite: source-in;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      var(--bg) 0%,
      rgba(255, 255, 255, 0.94) 34%,
      rgba(255, 255, 255, 0.72) 55%,
      rgba(255, 255, 255, 0.3) 74%,
      transparent 90%
    ),
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 56%,
      rgba(255, 255, 255, 0.76) 100%
    );
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  column-gap: 3rem;
  row-gap: clamp(1rem, 3vh, 2rem);
  align-items: start;
}

.hero-grid > div:first-child {
  margin-top: clamp(1.25rem, 4vh, 2.75rem);
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}

#terminal.panel-glass {
  margin-top: clamp(3.25rem, 7vh, 4.75rem);
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  backdrop-filter: blur(28px) saturate(1.15);
  -webkit-backdrop-filter: blur(28px) saturate(1.15);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 24px 70px rgba(17, 17, 26, 0.1);
}

#terminal .panel-head {
  padding: 0.9rem 0.95rem 0.6rem;
  border-bottom: 0;
}

#terminal .panel-head .panel-title {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-transform: none;
}

#terminal .panel-head .live {
  padding: 0.28rem 0.58rem;
  background: rgba(31, 138, 76, 0.1);
  border: 0;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
}

.panel-note {
  margin: 0;
  padding: 0 0.95rem 0.75rem;
  font-family: var(--font);
  font-size: 0.76rem;
  line-height: 1.45;
  color: #8f8f94;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.eyebrow .spark {
  color: var(--accent);
  font-size: 1rem;
}

.hero h1 {
  font-family: var(--font);
  font-size: clamp(2.05rem, 3.3vw, 2.95rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.55rem;
}

.hero-action-copy {
  max-width: 34rem;
  margin: -0.75rem 0 1.2rem;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.2vw, 1.06rem);
  line-height: 1.58;
  text-wrap: pretty;
}

.title-strong {
  font-weight: 600;
}

.hero-lede {
  max-width: 30.5rem;
  margin-top: clamp(1.25rem, 3vh, 2rem);
  padding-top: 0.95rem;
  border-top: 1px solid rgba(18, 18, 20, 0.18);
}

.lede-kicker {
  margin: 0 0 0.4rem;
  color: var(--muted);
  font-family: var(--brand-font);
  font-size: clamp(0.92rem, 1.15vw, 1.05rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.lede-deck {
  margin: 0 0 0.85rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.22rem, 1.85vw, 1.55rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.lede-body {
  margin: 0;
  color: var(--muted);
  font-family: var(--font);
  font-size: clamp(0.9rem, 1.05vw, 0.98rem);
  font-weight: 400;
  line-height: 1.58;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.hero-trust {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 1.25rem 0 0;
  padding: 0.5rem 1rem 0.5rem 0.72rem;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-family: var(--font);
  font-size: clamp(0.74rem, 1.2vw, 0.8125rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1;
  color: #5a5a5f;
}

.hero-trust::before {
  content: "";
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: var(--green);
}

.hero-trust-pillar,
.hero-trust-audit,
.hero-trust-proof {
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
  white-space: nowrap;
}

.hero-trust-pillar {
  color: var(--text);
}

.hero-trust-proof {
  color: #6f6f73;
}

.hero-trust-sep {
  flex-shrink: 0;
  align-self: center;
  width: 1px;
  height: 0.85em;
  margin: 0 0.7rem;
  background: var(--line-strong);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.hero-cta .btn-lg {
  min-width: 10rem;
  font-family: var(--kled-font);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.hero-cta .btn-primary {
  padding-inline: 1.35rem;
}

.hero-cta .btn-primary span {
  font-family: var(--control-mono);
  font-size: 1rem;
  line-height: 1;
  transform: translateY(-0.5px);
}

.hero-cta .btn-ghost {
  min-width: 9.35rem;
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(11, 11, 12, 0.24);
}

.domain-start {
  width: min(100%, 28rem);
  max-width: 28rem;
  margin-top: 1.05rem;
  padding: 0.55rem;
  border-radius: 12px;
  border: 1px solid rgba(11, 11, 12, 0.1);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 24px rgba(11, 11, 12, 0.06);
}

.domain-start-label {
  display: block;
  margin: 0 0 0.48rem;
  color: #666a70;
  font-family: var(--font);
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0;
}

.auth-step {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.domain-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-height: 3rem;
  padding: 0 0.56rem 0 0.9rem;
  border: 1px solid rgba(11, 11, 12, 0.12);
  border-radius: 999px;
  overflow: hidden;
  background: #f5f5f4;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 0 0 1px rgba(11, 11, 12, 0.02),
    0 7px 18px rgba(11, 11, 12, 0.06);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.domain-bar:focus-within {
  border-color: rgba(7, 110, 255, 0.36);
  background: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 0 0 4px rgba(7, 110, 255, 0.1),
    0 12px 28px rgba(11, 11, 12, 0.1);
}

.domain-search-icon {
  width: 1.12rem;
  height: 1.12rem;
  margin-right: 0.6rem;
  color: #8a8f96;
}

.domain-bar input {
  min-width: 0;
  border: none;
  background: transparent;
  color: #18191b;
  font-family: var(--font);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  padding: 0.08rem 0 0;
  outline: none;
}

.domain-submit-arrow {
  display: inline-grid;
  place-items: center;
  width: 2.12rem;
  height: 2.12rem;
  border: 1px solid rgba(11, 11, 12, 0.12);
  border-radius: 999px;
  background: #18191b;
  color: #fff;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.domain-submit-arrow:hover {
  background: #000;
}

.domain-submit-arrow:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.domain-submit-arrow:active {
  transform: translateX(1px) scale(0.98);
}

.domain-bar input::placeholder {
  color: #7c8188;
}

.domain-submit-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.domain-bar .domain-submit-hidden {
  min-width: 1px;
  min-height: 1px;
}

.domain-error {
  min-height: 1.25rem;
  margin: 0.45rem 0 0;
  color: #9b2c24;
  font-size: 0.78rem;
  line-height: 1.35;
}

.domain-bar.is-invalid {
  border-color: #b63c32;
  box-shadow: 0 0 0 3px rgba(182, 60, 50, 0.12);
}

.hero-secondary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-top: 0.85rem;
  font-size: 0.82rem;
}

.hero-secondary-links a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: rgba(111, 111, 115, 0.4);
  text-underline-offset: 0.2em;
}

.hero-secondary-links a:hover {
  color: var(--ink);
}

/* ─── Stats row (Sophon-style big numbers) ─── */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin-top: 1.85rem;
}

.stat {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.stat strong {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.stat span {
  font-size: 0.92rem;
  color: var(--muted);
}

/* ─── Cards / panels ─── */
.panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
}

.panel-head h3,
.panel-head .panel-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.panel-head .live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green);
}

.panel-head .live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}

.workspace-lock {
  min-height: 14rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
}

.workspace-lock-inner {
  max-width: 22rem;
  padding: 2rem 1.5rem;
  text-align: center;
}

.workspace-lock-label {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.workspace-lock-inner h3 {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
  color: var(--ink);
}

.workspace-lock-inner p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 1.15rem;
  text-wrap: pretty;
}

.workspace-lock-inner .btn {
  width: 100%;
  max-width: 14rem;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Live standings */
.standings {
  list-style: none;
  padding: 0 0.35rem 0.35rem;
}

.standings li {
  display: grid;
  grid-template-columns: 1.35rem minmax(8.8rem, 10.4rem) minmax(7rem, 1fr) 3.35rem;
  align-items: center;
  gap: 0.75rem;
  padding: 0.72rem 0.72rem;
  border-bottom: 0;
  border-radius: 18px;
  font-size: 0.84rem;
}

.standings li + li {
  margin-top: 0.18rem;
}

.standings li:hover {
  background: rgba(248, 248, 246, 0.88);
}

.standings .rank {
  font-family: var(--font);
  font-size: 0.78rem;
  color: #b1b1b6;
  font-variant-numeric: tabular-nums;
}

.standings .name {
  color: #1d1d1f;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.standings .name.you {
  font-weight: 600;
  color: var(--ink);
}

.standings .track {
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.standings .bar {
  height: 100%;
  border-radius: 999px;
  display: block;
}

.standings .val {
  text-align: right;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.8rem;
  color: #1d1d1f;
  font-variant-numeric: tabular-nums;
}

.c-green { background: #2f7d4f; }
.c-blue { background: #2f5fd0; }
.c-purple { background: #7c5cff; }
.c-orange { background: #d99a52; }
.c-gray { background: #b6b6b4; }

/* ─── Sections ─── */
.section {
  padding: 4.5rem 0;
}

.section.alt {
  background: var(--bg);
}

.updates-section {
  padding-bottom: 1.25rem;
}

/* ─── Globe feature ─── */
.globe-feature-section {
  padding-top: 6rem;
  background: var(--bg);
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}

.globe-feature {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  width: 100%;
  min-height: 23rem;
  padding: clamp(4rem, 6vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg-soft);
  box-shadow: 0 10px 24px rgba(17, 17, 26, 0.12);
}

.globe-feature-copy {
  position: relative;
  z-index: 2;
  flex: 0 1 36rem;
  max-width: 36rem;
  text-align: left;
}

.globe-feature-copy h2 {
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
  max-width: 33rem;
  font-family: var(--font);
  font-size: clamp(2rem, 3.35vw, 3rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 1.75rem;
  text-wrap: balance;
}

.globe-title-kicker {
  transform: translateY(-0.35rem);
  font-family: var(--control-font);
  font-size: clamp(0.74rem, 0.95vw, 0.84rem);
  font-weight: 700;
  line-height: 1;
  color: #73736f;
  text-transform: uppercase;
}

.globe-title-brand {
  font-family: var(--display);
  color: var(--ink);
  font-size: 1.08em;
  font-weight: 700;
  line-height: 0.92;
}

.globe-feature-copy h2 em {
  max-width: 30rem;
  margin-top: 0.75rem;
  font-family: var(--font);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  font-weight: 430;
  line-height: 1.55;
  color: #74746f;
  font-style: normal;
}

.globe-feature-button {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.8rem;
  padding: 0 1.45rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(11, 11, 12, 0.12);
  transition: background 0.18s ease, transform 0.18s ease;
}

.globe-feature-button:hover {
  background: #000;
  color: #fff;
}

.globe-feature-button:active {
  transform: translateY(1px);
}

.globe-feature-visual {
  position: relative;
  flex: 1 1 36rem;
  width: 100%;
  max-width: 36rem;
  height: 180px;
  isolation: isolate;
}

.globe-feature-visual::before {
  content: none;
}

#citation-globe {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  max-width: 600px;
  height: auto;
  aspect-ratio: 1;
  opacity: 0;
  cursor: grab;
  transform: translate(10rem, 4.7rem) scale(1.34);
  transform-origin: center;
  transition: opacity 0.5s ease;
  contain: layout paint size;
}

#citation-globe.ready {
  opacity: 1;
}

#citation-globe:active {
  cursor: grabbing;
}

/* Scroll-reveal (added by JS so no-JS users always see content) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.in {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.in {
    opacity: 1;
    transform: none;
  }
}

/* Sticky nav gains a soft shadow once the page is scrolled */
.site-nav {
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-nav.scrolled {
  box-shadow: 0 1px 0 rgba(17, 17, 26, 0.04), 0 8px 30px rgba(17, 17, 26, 0.05);
}

.section-head {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

/* Editorial serif on narrative section titles; .sans overrides for product/utility blocks */
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin-bottom: 0.7rem;
}

.section-head.sans h2 {
  font-family: var(--font);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.section-head.sans h2 .title-strong {
  font-weight: 600;
}

.section-head p {
  font-family: var(--font);
  font-weight: 400;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 40rem;
  text-wrap: pretty;
}

.section-head.sans p {
  font-weight: 400;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.section-label::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--accent);
  opacity: 0.55;
}

.section-head.center .section-label {
  justify-content: center;
}

/* Start-here feature section */
.starthere {
  max-width: 48rem;
  margin: 0 auto;
}

.start-hero-card {
  position: relative;
  min-height: 25rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(17, 17, 26, 0.06);
}

.start-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(124, 92, 255, 0.22), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(31, 138, 76, 0.18), transparent 24%),
    linear-gradient(135deg, #f6f4f0 0%, #ffffff 58%, #f0f4ef 100%);
}

.start-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 17, 26, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 26, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, #000, transparent 72%);
}

.start-assistant-card {
  position: relative;
  width: min(28rem, calc(100% - 2rem));
  margin: 4.2rem auto;
  padding: 1.45rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 50px rgba(17, 17, 26, 0.12);
  backdrop-filter: blur(10px);
}

.start-spark {
  color: var(--purple);
  font-size: 1.05rem;
}

.start-assistant-card p {
  margin-top: 0.65rem;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.45;
}

.start-assistant-card ul {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
  list-style: none;
  color: var(--muted);
  font-size: 0.88rem;
}

.start-assistant-card li span {
  margin-right: 0.4rem;
  color: var(--ink);
  font-weight: 700;
}

.start-assistant-controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 1.2rem -0.5rem -0.5rem;
  padding: 0.7rem;
  border-radius: 14px;
  background: rgba(17, 17, 26, 0.05);
}

.start-assistant-controls span {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.start-assistant-controls span:last-child {
  margin-left: auto;
  background: var(--ink);
  color: #fff;
}

.start-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.8rem;
}

.start-steps h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.start-steps p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  text-wrap: pretty;
}

/* Pillars / feature cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.feature-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.fc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.fc-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}

.fc-icon svg {
  width: 20px;
  height: 20px;
}

.feature-card .num {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  text-wrap: pretty;
  flex: 1;
}

.integrations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.integrations .works {
  width: 100%;
  margin-bottom: 0.2rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--faint);
}

.integration-tag {
  font-size: 0.72rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
}

/* Prime Intellect-style "FIG." lab cards (Geist Mono, terminal/blueprint feel) */
.pi-card {
  font-family: var(--mono-pi);
  border-radius: 8px;
  padding: 1.5rem 1.5rem 1.35rem;
}

.pi-card .fc-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.pi-fig {
  font-family: var(--mono-pi);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.pi-eyebrow {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--mono-pi);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.pi-card h3 {
  font-family: var(--mono-pi);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 0.55rem;
  color: var(--ink);
}

.pi-card p {
  font-family: var(--mono-pi);
  font-size: 0.795rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--muted);
}

.pi-list {
  margin-top: 1.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.pi-list-label {
  display: block;
  margin: 0.55rem 0 0.35rem;
  font-family: var(--mono-pi);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.pi-row {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.42rem 0;
  font-family: var(--mono-pi);
  font-size: 0.78rem;
  color: var(--text);
  border-top: 1px solid var(--line);
}

.pi-row:first-of-type {
  border-top: none;
}

.pi-idx {
  flex: none;
  min-width: 1.7rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
}

/* Feature suite */
.feature-suite {
  padding: 1rem 0;
}

.feature-suite-head {
  max-width: 42rem;
  margin-bottom: 3rem;
}

.feature-suite-head h2 {
  max-width: 38rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 650;
  line-height: 1.03;
  letter-spacing: 0;
  color: var(--ink);
}

.feature-suite-head p {
  max-width: 35rem;
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
}

.feature-suite-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
  gap: 1rem;
  align-items: stretch;
}

.suite-card {
  position: relative;
  min-height: 24rem;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 26, 0.08);
  border-radius: 18px;
  background: #fff;
  padding: 1.45rem;
  box-shadow: 0 16px 42px rgba(17, 17, 26, 0.06);
}

.suite-card h3 {
  margin-top: 1.2rem;
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.2;
  color: var(--ink);
}

.suite-card p {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.suite-card-table {
  padding: 0;
}

.suite-card-head {
  padding: 1.4rem 1.5rem 1.15rem;
  border-bottom: 1px solid var(--line);
}

.suite-card-head h3 {
  margin-top: 1rem;
}

.suite-dots {
  display: flex;
  gap: 0.35rem;
}

.suite-dots span {
  width: 0.48rem;
  height: 0.48rem;
  border: 1px solid rgba(17, 17, 26, 0.06);
  border-radius: 50%;
  background: var(--surface);
}

.suite-table-wrap {
  overflow-x: auto;
}

.suite-table {
  width: 100%;
  min-width: 38rem;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.suite-table th,
.suite-table td {
  padding: 0.78rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.suite-table th {
  background: rgba(244, 244, 242, 0.72);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
}

.suite-table td:last-child,
.suite-table th:last-child {
  text-align: right;
}

.suite-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 650;
}

.suite-badge.success { background: rgba(31, 138, 76, 0.12); color: #1f6d4c; }
.suite-badge.warning { background: rgba(217, 154, 82, 0.16); color: #8a5b1e; }
.suite-badge.danger { background: rgba(209, 69, 59, 0.12); color: #a73b31; }

.suite-avatar {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-right: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 700;
  vertical-align: middle;
}

.suite-card-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.5rem;
  color: var(--muted);
  font-size: 0.74rem;
}

.suite-icon {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--green);
  font-size: 0.95rem;
  font-weight: 700;
}

.suite-review-stack {
  position: relative;
  min-height: 11rem;
  margin-top: 2rem;
}

.suite-review-card,
.suite-play-card,
.suite-agent-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 17, 26, 0.08);
}

.suite-review-card {
  width: 78%;
  padding: 0.9rem;
  transform: translateY(1rem) rotate(-2deg);
  transition: transform 0.2s ease;
}

.suite-card-review:hover .suite-review-card {
  transform: translateY(0.65rem) rotate(-4deg);
}

.suite-review-card div {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.suite-review-card strong {
  font-size: 0.82rem;
}

.suite-review-card small {
  color: var(--faint);
}

.suite-review-card > span {
  display: block;
  height: 0.45rem;
  margin: 0.45rem 0 0 2.25rem;
  border-radius: 999px;
  background: rgba(17, 17, 26, 0.1);
}

.suite-review-card > span:nth-child(3) { width: 60%; }
.suite-review-card > span:nth-child(4) { width: 48%; }

.suite-play-card {
  position: absolute;
  right: 0.2rem;
  top: 0.4rem;
  display: grid;
  place-items: center;
  width: 34%;
  aspect-ratio: 3 / 4;
  background: #fbfbfa;
  transform: rotate(3deg);
  transition: transform 0.2s ease;
}

.suite-card-review:hover .suite-play-card {
  transform: rotate(5deg);
}

.suite-play-card span {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(17, 17, 26, 0.06);
  color: rgba(17, 17, 26, 0.55);
}

.suite-agent-box {
  margin-top: 2rem;
  padding: 1rem;
  transform: translateY(1rem);
  transition: transform 0.2s ease;
}

.suite-card-assistant:hover .suite-agent-box {
  transform: translateY(0.5rem);
}

.suite-agent-box > span {
  color: var(--purple);
}

.suite-agent-box p {
  margin-top: 0.55rem;
  color: var(--ink);
  font-size: 0.88rem;
}

.suite-agent-controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 1rem -0.35rem -0.35rem;
  padding: 0.65rem;
  border-radius: 12px;
  background: rgba(17, 17, 26, 0.04);
}

.suite-agent-controls span {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.suite-agent-controls span:last-child {
  margin-left: auto;
  background: var(--ink);
  color: #fff;
}

/* Workspace mock (Dench "Bring all your work together") */
.workspace-mock {
  display: grid;
  grid-template-columns: 210px 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-lg);
  min-height: 360px;
}

.ws-sidebar {
  border-right: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 1rem 0;
}

.ws-brand {
  padding: 0 1.1rem 0.85rem;
  font-weight: 600;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.5rem;
}

.ws-nav-item {
  display: block;
  padding: 0.5rem 1.1rem;
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
}

.ws-nav-item.active {
  color: var(--ink);
  font-weight: 600;
  background: #fff;
  box-shadow: inset 2px 0 0 var(--accent);
}

.ws-main {
  padding: 1.25rem;
}

.ws-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.ws-header h3 {
  font-size: 1rem;
  font-weight: 600;
}

.ws-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-soft);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.t-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.t-table th,
.t-table td {
  text-align: left;
  padding: 0.6rem 0.6rem;
  border-bottom: 1px solid var(--line);
}

.t-table th {
  color: var(--muted);
  font-weight: 600;
}

.t-table td { color: var(--text); }
.t-table .you { font-weight: 700; color: var(--ink); }
.t-table .pos { color: var(--green); }
.t-table .neg { color: var(--red); }

/* Showcase panel (Dench "Bring all your work together") */
.showcase {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.85rem;
  box-shadow: var(--shadow);
}

.showcase-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.showcase-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.showcase-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.showcase-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.18s ease, background 0.18s ease;
}

.showcase-arrow:hover {
  background: #000;
  color: #fff;
  transform: translateX(3px);
}

.showcase-arrow svg {
  width: 20px;
  height: 20px;
}

.showcase-stage {
  border-radius: 18px;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--accent-soft), var(--green-soft));
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 1rem;
  align-items: start;
}

.stage-card {
  background: #fff;
  border: 1px solid rgba(17, 17, 26, 0.06);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.stage-card .stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}

.stage-card .stage-head h4 {
  font-size: 0.88rem;
  font-weight: 600;
}

.stage-card .stage-body {
  padding: 0.4rem 0.4rem 0.6rem;
}

.stage-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stage-mini {
  background: #fff;
  border: 1px solid rgba(17, 17, 26, 0.06);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 1.1rem;
}

.stage-mini .mini-label {
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.stage-mini .mini-stat {
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.stage-mini .mini-sub {
  font-size: 0.78rem;
  color: var(--green);
  font-weight: 600;
  margin-top: 0.25rem;
}

.stage-mini .mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  padding: 0.4rem 0;
  border-top: 1px solid var(--line);
}

.stage-mini .mini-row:first-of-type {
  border-top: none;
}

.stage-mini .mini-row .v {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.showcase-stage.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.showcase-stage.soft {
  background: var(--bg-soft);
}

.showcase-stage .feature-card,
.showcase-stage .step-card {
  box-shadow: var(--shadow-lg);
}

@media (max-width: 760px) {
  .showcase-stage,
  .showcase-stage.cols-3 {
    grid-template-columns: 1fr;
  }
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

.step-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.step-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.step-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}

.step-card .step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  flex-shrink: 0;
}

.step-head .step-line {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 5px, transparent 5px 10px);
}

.step-card h3 {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 0.4rem;
}

.step-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  text-wrap: pretty;
  flex: 1;
}

.step-visual {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.step-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0.28rem 0.55rem;
}

.step-chip.ok {
  color: var(--green);
  background: var(--green-soft);
  border-color: transparent;
}

.step-chip.key {
  color: var(--ink);
  font-weight: 600;
}

.step-arrow {
  color: var(--faint);
  font-size: 0.8rem;
}

#how {
  background:
    radial-gradient(circle at 55% 58%, rgba(36, 53, 31, 0.045), transparent 30rem),
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  color: var(--ink);
  overflow: hidden;
}

#how .section-label {
  color: var(--muted);
}

#how .section-label::before {
  background: var(--line-strong);
}

#how h2 {
  color: var(--ink);
}

#how h2 .title-strong {
  color: var(--ink);
}

#how .section-head p {
  color: var(--muted);
}

#how .section-head {
  margin-bottom: 0.75rem;
}

/* Display-card stack */
.display-card-stack {
  position: relative;
  display: grid;
  grid-template-areas: "stack";
  place-items: center;
  min-height: 20rem;
  margin-top: 1.25rem;
  padding: 0.5rem 0 2.5rem;
  overflow: hidden;
}

.display-card {
  --display-card-transform: skewY(-8deg) translate3d(0, 0, 0);
  grid-area: stack;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(28rem, calc(100vw - 3.25rem));
  height: 9rem;
  min-height: 9rem;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(36, 53, 31, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 14px 34px rgba(33, 44, 29, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--ink);
  user-select: none;
  transform: var(--display-card-transform);
  transform-origin: center;
  transition: transform 0.7s ease, border-color 0.25s ease, background 0.25s ease, filter 0.45s ease, opacity 0.45s ease;
}

.display-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  outline: 1px solid rgba(36, 53, 31, 0.1);
  background: rgba(255, 255, 255, 0.42);
  opacity: 1;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.display-card::after {
  content: none;
}

.display-card:hover {
  border-color: rgba(36, 53, 31, 0.22);
  background: rgba(244, 247, 242, 0.95);
  filter: none;
  opacity: 1;
}

.display-card:hover::before {
  opacity: 0;
}

.display-card-1 {
  --display-card-transform: skewY(-8deg) translate3d(0, 0, 0);
  filter: grayscale(1);
  opacity: 0.58;
  z-index: 1;
}

.display-card-1:hover {
  --display-card-transform: skewY(-8deg) translate3d(0, -2.5rem, 0);
}

.display-card-2 {
  --display-card-transform: skewY(-8deg) translate3d(1.5rem, 2.4rem, 0);
  filter: grayscale(1);
  opacity: 0.68;
  z-index: 2;
}

.display-card-2:hover {
  --display-card-transform: skewY(-8deg) translate3d(1.5rem, 0.4rem, 0);
}

.display-card-3 {
  --display-card-transform: skewY(-8deg) translate3d(3rem, 5rem, 0);
  border-color: rgba(36, 53, 31, 0.18);
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 16px 38px rgba(33, 44, 29, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  z-index: 3;
}

.display-card-3:hover {
  --display-card-transform: skewY(-8deg) translate3d(3rem, 3rem, 0);
}

.display-card.reveal,
.display-card.reveal.in {
  transform: var(--display-card-transform);
}

.display-card-top,
.display-card-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.display-card-top {
  margin-bottom: 0.75rem;
}

.display-icon {
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  background: rgba(36, 53, 31, 0.1);
  color: rgba(36, 53, 31, 0.58);
  font-size: 1rem;
  flex-shrink: 0;
}

.display-card-3 .display-icon {
  background: #24351f;
  color: #d9f4d4;
}

.display-card h3 {
  font-family: var(--font);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: rgba(36, 53, 31, 0.54);
}

.display-card-3 h3 {
  color: var(--green);
}

.display-card p {
  position: relative;
  z-index: 1;
  color: var(--ink);
  max-width: calc(100% - 0.25rem);
  font-size: 1.02rem;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.display-card-3 p {
  font-size: 1.08rem;
  letter-spacing: 0;
}

.display-card-foot {
  justify-content: space-between;
  min-width: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.display-card-foot strong {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

/* Gemini scroll-line section */
#how.section {
  padding: 0;
  background: #050505;
}

.gemini-effect {
  position: relative;
  min-height: 260vh;
  overflow: clip;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.08), transparent 30rem),
    #050505;
}

.gemini-sticky {
  position: sticky;
  top: clamp(7rem, 24vh, 15rem);
  min-height: 58rem;
  overflow: visible;
  isolation: isolate;
}

.gemini-title {
  position: relative;
  z-index: 2;
  max-width: 70rem;
  margin: 0 auto;
  padding: 0 1.25rem 1rem;
  background: linear-gradient(180deg, #fff 0%, #d4d4d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-sans);
  font-size: clamp(3rem, 7vw, 7.5rem);
  font-weight: 420;
  line-height: 0.95;
  text-align: center;
  text-wrap: balance;
}

.gemini-description {
  position: relative;
  z-index: 2;
  max-width: 42rem;
  margin: 0.8rem auto 0;
  padding: 0 1.25rem;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.8vw, 1.45rem);
  line-height: 1.55;
  text-align: center;
  text-wrap: balance;
}

.gemini-button-wrap {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54rem;
  pointer-events: none;
}

.gemini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  background: #fff;
  color: #050505;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  pointer-events: auto;
}

.gemini-svg {
  position: absolute;
  left: 50%;
  top: -12rem;
  z-index: 1;
  width: min(100vw, 1440px);
  max-width: none;
  height: auto;
  transform: translateX(-50%);
}

.gemini-svg path[data-gemini-path] {
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px color-mix(in srgb, currentColor 40%, transparent));
  opacity: 0.92;
}

/* Animated gradient bento section */
#how.section {
  padding: clamp(5rem, 9vw, 8rem) 0;
  background:
    radial-gradient(circle at 14% 0%, rgba(37, 99, 235, 0.055), transparent 26rem),
    radial-gradient(circle at 88% 10%, rgba(31, 138, 76, 0.065), transparent 24rem),
    #fff;
}

.legacy-gemini {
  display: none !important;
}

.bento-intro {
  max-width: 42rem;
  margin: 0 auto clamp(1.8rem, 4vw, 3rem);
  text-align: left;
}

.bento-intro .section-label {
  justify-content: flex-start;
  margin-bottom: 1.1rem;
}

.bento-intro h2 {
  max-width: 38rem;
  color: var(--ink);
  font-family: var(--kled-font);
  font-size: clamp(1.95rem, 3.8vw, 3.35rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.bento-intro h2 span {
  color: #55575d;
  font-weight: 600;
}

.bento-intro p {
  max-width: 34rem;
  margin-top: 1rem;
  color: var(--muted);
  font-family: var(--kled-font);
  font-size: clamp(0.98rem, 1.45vw, 1.12rem);
  line-height: 1.58;
  text-wrap: pretty;
}

.gradient-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(13rem, auto);
  gap: 1px;
  max-width: 70rem;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(36, 53, 31, 0.11);
  border-radius: 0;
  background: rgba(36, 53, 31, 0.1);
  box-shadow: 0 24px 70px rgba(36, 53, 31, 0.08);
}

.bento-card {
  --c1: #dfeadf;
  --c2: #f4f6f2;
  --c3: #d7e2d7;
  position: relative;
  min-height: 14.25rem;
  overflow: hidden;
  background: #fbfbfa;
  isolation: isolate;
}

.bento-card::before,
.bento-card::after {
  content: "";
  position: absolute;
  inset: -28%;
  z-index: -2;
  background:
    radial-gradient(circle at 28% 30%, color-mix(in srgb, var(--c1) 62%, transparent), transparent 34%),
    radial-gradient(circle at 82% 22%, color-mix(in srgb, var(--c2) 58%, transparent), transparent 30%),
    radial-gradient(circle at 52% 92%, color-mix(in srgb, var(--c3) 52%, transparent), transparent 42%);
  filter: blur(40px);
  opacity: 0.82;
  transform: translate3d(0, 0, 0);
  animation: bentoGradientDrift 18s ease-in-out infinite alternate;
}

.bento-card::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.18)),
    rgba(255, 255, 255, 0.36);
  filter: none;
  opacity: 1;
  animation: none;
  backdrop-filter: blur(2px);
}

.bento-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(1.45rem, 3.1vw, 2.35rem);
  color: var(--ink);
}

.bento-card h3 {
  margin: 0;
  color: rgba(17, 17, 26, 0.86);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.bento-value {
  margin: 0.35rem 0 1.05rem;
  font-family: var(--kled-font);
  font-size: clamp(3.5rem, 7.2vw, 6rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: var(--ink);
}

.bento-copy {
  max-width: 28rem;
  margin-top: auto;
  color: rgba(17, 17, 26, 0.62);
  font-size: clamp(0.95rem, 1.4vw, 1.06rem);
  line-height: 1.5;
  text-wrap: pretty;
}

.bento-wide {
  grid-column: span 2;
}

.bento-blue {
  --c1: #dfeadf;
  --c2: #f5f7f2;
  --c3: #d5e2d5;
}

.bento-teal {
  --c1: #d8e8dd;
  --c2: #ecf3ee;
  --c3: #d8e5ed;
}

.bento-amber {
  --c1: #ece4d3;
  --c2: #f8f4ea;
  --c3: #dfe8dd;
}

.bento-violet {
  --c1: #dfe5f0;
  --c2: #f3f5f8;
  --c3: #e2eadf;
}

.bento-rose {
  --c1: #e4eadf;
  --c2: #f8f8f5;
  --c3: #d8e3ee;
}

@keyframes bentoGradientDrift {
  0% {
    transform: translate3d(-4%, -3%, 0) scale(1.02);
  }
  35% {
    transform: translate3d(6%, -2%, 0) scale(1.08);
  }
  70% {
    transform: translate3d(-2%, 5%, 0) scale(1.04);
  }
  100% {
    transform: translate3d(5%, 3%, 0) scale(1.1);
  }
}

/* Stories (Kled image cards) */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.story-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.section-head h2.story-economy-title {
  font-family: var(--font);
  font-size: clamp(1.9rem, 3.6vw, 3.35rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 23ch;
  margin-inline: auto;
  margin-bottom: 0.9rem;
  color: var(--ink);
  text-wrap: balance;
}

.story-img {
  position: relative;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}

.story-img.s1 {
  background-image:
    linear-gradient(180deg, rgba(5, 12, 28, 0.04) 0%, rgba(5, 12, 28, 0.05) 46%, rgba(5, 12, 28, 0.56) 100%),
    url("/platform/assets/earn-per-citation.webp");
}
.story-img.s2 {
  background-image:
    linear-gradient(180deg, rgba(5, 28, 18, 0.04) 0%, rgba(5, 28, 18, 0.06) 46%, rgba(5, 28, 18, 0.58) 100%),
    url("/platform/assets/publishers-data.webp");
}

.story-img.s3 {
  background-image:
    linear-gradient(180deg, rgba(30, 16, 3, 0.04) 0%, rgba(30, 16, 3, 0.06) 46%, rgba(30, 16, 3, 0.6) 100%),
    url("/platform/assets/ai-companies.webp");
}

.story-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 600;
  padding: 0.18rem 0.5rem;
  border-radius: 5px;
  backdrop-filter: blur(4px);
}

.story-title {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.98rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.story-meta {
  padding: 0.95rem 1.05rem;
}

.story-meta p {
  color: var(--muted);
  font-size: 0.85rem;
  text-wrap: pretty;
}

/* Wall of love (Vibiz masonry) */
.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
  margin: 0 auto 2rem;
}

.rating-pill .avatars {
  display: flex;
}

.rating-pill .avatars span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
  background: var(--surface);
  color: #4f4f54;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.rating-pill .avatars span:first-child { margin-left: 0; }
.rating-pill .stars { color: #f5a623; }
.rating-pill strong { color: var(--ink); }

.wall-grid {
  columns: 3;
  column-gap: 1rem;
}

.quote-card {
  break-inside: avoid;
  margin-bottom: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.quote-card .who {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.quote-card .avatar {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff, var(--surface));
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #333338;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.72);
}

.quote-card .who-meta strong {
  display: block;
  font-size: 0.85rem;
  color: var(--ink);
}

.quote-card .who-meta span {
  font-size: 0.76rem;
  color: var(--faint);
}

.quote-card p {
  font-size: 0.9rem;
  color: var(--text);
  text-wrap: pretty;
  line-height: 1.6;
}

/* Backed by / ecosystem (Kled investors grid) */
.ecosystem {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.eco-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 1.1rem 0.85rem;
  text-align: center;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.eco-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.eco-card strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.25;
}

.eco-card span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.35;
}

.open-stack-section {
  background: #fff;
}

.open-stack {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: stretch;
  padding-block: clamp(0.5rem, 1.5vw, 1rem);
}

.open-stack-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 31rem;
}

.open-stack-copy h2 {
  margin: 0.65rem 0 1rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 5.35rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

.open-stack-copy p {
  margin: 0 0 1.6rem;
  max-width: 28rem;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}

.open-stack-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(17, 17, 26, 0.09);
  background: #fff;
  box-shadow: none;
}

.stack-row {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 13rem;
  padding: clamp(1.25rem, 2.4vw, 2rem);
  border-right: 1px solid rgba(17, 17, 26, 0.08);
  border-bottom: 1px solid rgba(17, 17, 26, 0.08);
  overflow: hidden;
  background: #fff;
}

.stack-row:nth-child(3n) {
  background: #fafafa;
}

.stack-row-wide {
  grid-column: span 2;
  min-height: 11rem;
}

.stack-index {
  display: block;
  margin-bottom: 2.25rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--faint);
}

.stack-row strong {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--font);
  font-size: clamp(1.25rem, 2.1vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ink);
}

.stack-row span:last-child {
  display: block;
  max-width: 25rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}

/* Blog list (Kled "Updates") */
.blog-list {
  max-width: 50rem;
}

.blog-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.blog-item .date {
  font-size: 0.82rem;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  padding-top: 0.2rem;
}

.blog-tag {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.5rem;
}

.blog-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.blog-item p {
  color: var(--muted);
  font-size: 0.9rem;
  text-wrap: pretty;
}

.updates-section .blog-item:last-child {
  padding-bottom: 1.8rem;
}

/* Pricing */
.pricing-head {
  max-width: 38rem;
}

.pricing-toggle {
  display: flex;
  width: fit-content;
  margin: 0 auto 1rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.pricing-toggle button {
  position: relative;
  min-width: 5.1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.84rem;
  font-weight: 500;
  text-transform: capitalize;
  padding: 0.42rem 0.9rem;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}

.pricing-toggle button.active {
  background: var(--ink);
  color: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.price-card.featured {
  border-color: rgba(36, 53, 31, 0.24);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 60px rgba(36, 53, 31, 0.13);
}

.price-card-head {
  position: relative;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 247, 242, 0.45);
}

.price-card.featured .price-card-head,
.price-card.featured .price-card-action {
  background: rgba(244, 247, 242, 0.72);
}

.price-badges {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.popular-badge,
.discount-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.17rem 0.45rem;
  line-height: 1.2;
}

.discount-badge {
  display: none;
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.pricing-yearly .discount-badge {
  display: inline-flex;
}

.price-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}

.price-card-head p {
  margin: 0.22rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
  text-wrap: pretty;
}

.price-card .price {
  display: flex;
  align-items: flex-end;
  gap: 0.28rem;
  margin: 0.7rem 0 0;
  font-variant-numeric: tabular-nums;
}

.price-value {
  color: var(--ink);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-period {
  color: var(--faint);
  font-size: 0.83rem;
  line-height: 1.2;
  padding-bottom: 0.14rem;
}

.price-features {
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 1.2rem 1rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.36rem 0;
}

.check-icon {
  position: relative;
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  color: var(--ink);
}

.check-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.check-icon::after {
  content: "";
  position: absolute;
  left: 0.33rem;
  top: 0.28rem;
  width: 0.28rem;
  height: 0.48rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.price-card-action {
  width: 100%;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 0.75rem;
}

.price-card-action .btn {
  width: 100%;
}

/* Legacy price-card selectors kept harmless for older cached markup */
.price-card .price {
  font-variant-numeric: tabular-nums;
}

/* FAQ */
.faq-list {
  max-width: 46rem;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
}

.faq-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.faq-item p {
  font-size: 0.92rem;
  color: var(--muted);
  text-wrap: pretty;
}

/* Mega CTA */
.mega-cta {
  position: relative;
  z-index: 0;
  overflow: hidden;
  text-align: center;
  min-height: min(48rem, calc(100svh - var(--nav-h)));
  padding: 0;
  background: #fff;
  color: #26371f;
  isolation: isolate;
}

.mega-cta::before {
  content: none;
}

.mega-cta-inner {
  position: relative;
  min-height: min(48rem, calc(100svh - var(--nav-h)));
}

.mega-cta-copy {
  position: absolute;
  z-index: 2;
  top: clamp(10rem, 25vh, 15rem);
  left: 50%;
  width: min(47rem, 100%);
  margin: 0 auto;
  padding: 0 1.25rem;
  transform: translateX(-50%);
}

.mega-cta-pill {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.35rem;
  padding: 0.46rem 0.88rem;
  border: 1px solid rgba(39, 61, 31, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: rgba(37, 53, 33, 0.78);
  font-family: var(--control-font);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 24px rgba(50, 79, 43, 0.08);
}

.mega-cta h2 {
  font-family: var(--display);
  color: #26371f;
  font-size: clamp(2.15rem, 5vw, 4.1rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 0.85rem;
}

.mega-cta p {
  color: rgba(37, 53, 33, 0.84);
  max-width: 40rem;
  margin: 0 auto 1.65rem;
  font-size: clamp(0.98rem, 1.4vw, 1.15rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.mega-cta .hero-cta {
  justify-content: center;
}

.mega-cta .btn-primary {
  background: #23331f;
  border-color: #23331f;
  color: #fff;
}

.mega-cta .btn-primary:hover {
  background: #111b0f;
  border-color: #111b0f;
  color: #fff;
}

.mega-cta .btn-ghost {
  background: rgba(255, 255, 255, 0.76);
  color: #23331f;
  border-color: rgba(35, 51, 31, 0.22);
}

.mega-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(35, 51, 31, 0.36);
  color: #111b0f;
}

.mega-cta-visual {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: -1px;
  width: 104vw;
  height: clamp(34rem, 70vh, 46rem);
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: translateX(-50%);
}

.mega-cta-visual::after {
  content: none;
}

.mega-cta-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-width: none;
  object-fit: contain;
  object-position: 46% bottom;
  transform: none;
  filter: saturate(1.05) contrast(1.02);
}

/* Footer */
.site-footer {
  padding: clamp(3rem, 6vw, 5rem) 0 0;
  background: var(--bg-soft);
  position: relative;
  overflow: clip;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid rgba(11, 11, 12, 0.06);
}

.footer-inner {
  position: relative;
}

.footer-closure {
  position: relative;
  margin-top: clamp(1.25rem, 3vw, 2.25rem);
  text-align: center;
}

.footer-tagline {
  display: inline-block;
  margin: 0;
  padding: clamp(0.45rem, 1vw, 0.7rem) 0 clamp(0.28rem, 0.55vw, 0.42rem);
  border-bottom: 1px solid rgba(31, 138, 76, 0.38);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  font-family: var(--display);
  font-size: clamp(0.9375rem, 1.65vw, 1.125rem);
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.005em;
  line-height: 1.12;
  text-wrap: pretty;
  color: var(--green);
}

.typewriter-cursor {
  display: inline-block;
  margin-left: 0.12em;
  color: var(--green);
  animation: typewriter-pulse 1s steps(2, start) infinite;
}

@keyframes typewriter-pulse {
  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0;
  }
}

.footer-wordmark-zone {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: clamp(9rem, 20vw, 16rem);
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.footer-wordmark {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-inline: clamp(0.5rem, 1.5vw, 1.25rem);
  text-align: center;
  font-family: var(--display);
  font-size: clamp(3rem, 13.6vw, 16rem);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 0.92;
  white-space: nowrap;
  color: var(--ink);
  transform: translateY(22%);
  font-variation-settings: "opsz" 72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "liga" 0, "dlig" 0, "kern" 1;
}

.footer-brand p {
  margin-top: 1.15rem;
  max-width: 19rem;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--faint);
  text-wrap: pretty;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.footer-heading {
  margin-top: 0;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1.25rem;
}

.footer-grid a {
  display: block;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 400;
  padding: 0.35rem 0;
  transition: color 0.25s ease;
}

.footer-grid a:hover {
  color: var(--ink);
  transform: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  padding-bottom: clamp(0.85rem, 1.8vw, 1.15rem);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--faint);
}

.footer-bottom a {
  color: var(--faint);
  transition: color 0.25s ease;
}

.footer-bottom a:hover {
  color: var(--ink);
}

/* ─── Gestion Velora profile ─── */
.velora-page {
  --velora-ink: #f1f4ef;
  --velora-muted: #a7b0a8;
  --velora-line: rgba(221, 229, 218, 0.16);
  --velora-green: #b8d2ae;
  background: #101613;
  color: var(--velora-ink);
}

.velora-page .site-nav {
  background: rgba(16, 22, 19, 0.82);
  border-color: var(--velora-line);
}

.velora-page .brand,
.velora-page .nav-links a {
  color: var(--velora-ink);
}

.velora-page .nav-links a:hover {
  color: var(--velora-green);
}

.velora-page .velora-nav .btn-primary {
  background: var(--velora-green);
  border-color: var(--velora-green);
  color: #101613;
}

.velora-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 34%, rgba(184, 210, 174, 0.14), transparent 31rem),
    linear-gradient(145deg, #101613 0%, #18231d 54%, #0c110e 100%);
}

.velora-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.22;
  background-image:
    linear-gradient(var(--velora-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--velora-line) 1px, transparent 1px);
  background-size: clamp(3rem, 8vw, 7rem) clamp(3rem, 8vw, 7rem);
  mask-image: linear-gradient(to bottom, transparent 3%, #000 35%, #000 100%);
}

.velora-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(184, 210, 174, 0.2);
  border-radius: 50%;
  animation: velora-drift 14s ease-in-out infinite alternate;
}

.velora-orbit-one {
  width: min(58vw, 48rem);
  aspect-ratio: 1;
  right: -9%;
  top: -16%;
}

.velora-orbit-two {
  width: min(36vw, 29rem);
  aspect-ratio: 1;
  right: 9%;
  top: 8%;
  animation-delay: -5s;
}

@keyframes velora-drift {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(-2rem, 1.25rem, 0) rotate(8deg); }
}

.velora-hero-inner {
  padding-top: clamp(5rem, 10vh, 8rem);
  padding-bottom: clamp(3rem, 8vh, 6rem);
  animation: velora-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes velora-enter {
  from { opacity: 0; transform: translateY(1.25rem); }
  to { opacity: 1; transform: none; }
}

.velora-kicker,
.velora-section-number {
  font-family: var(--mono);
  color: var(--velora-green);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.velora-hero h1 {
  max-width: 10ch;
  margin-top: 1.3rem;
  color: var(--velora-ink);
  font-family: var(--display);
  font-size: clamp(4.5rem, 13vw, 10rem);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.065em;
}

.velora-hero h1 span {
  display: block;
  color: var(--velora-green);
  font-style: italic;
}

.velora-lede {
  max-width: 39rem;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  color: #d8ddd7;
  font-size: clamp(1.1rem, 2.1vw, 1.55rem);
  line-height: 1.45;
  text-wrap: pretty;
}

.velora-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
}

.velora-btn-primary {
  background: var(--velora-green);
  border-color: var(--velora-green);
  color: #101613;
}

.velora-btn-primary:hover {
  background: #d2e4cb;
  border-color: #d2e4cb;
  color: #101613;
  transform: translateY(-2px);
}

.velora-text-link {
  color: var(--velora-ink);
  border-bottom: 1px solid var(--velora-line);
  padding-bottom: 0.2rem;
}

.velora-text-link:hover {
  color: var(--velora-green);
}

.velora-language {
  margin-top: 1.1rem;
  color: var(--velora-muted);
  font-size: 0.8rem;
}

.velora-language a {
  color: var(--velora-green);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.velora-mobile-visit {
  display: none;
}

.velora-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 48rem;
  margin-top: clamp(3rem, 8vw, 6.5rem);
  border-top: 1px solid var(--velora-line);
}

.velora-index span {
  padding: 1rem 1rem 0 0;
  color: var(--velora-muted);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.velora-intro,
.velora-services,
.velora-region {
  padding: clamp(5rem, 11vw, 9rem) 0;
}

.velora-intro {
  background: #f0f0e9;
  color: #172019;
}

.velora-two-col,
.velora-region-grid {
  display: grid;
  grid-template-columns: minmax(9rem, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 8vw, 8rem);
}

.velora-intro .velora-section-number {
  color: #54705a;
}

.velora-intro h2,
.velora-region h2,
.velora-cta h2 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.velora-intro h2 {
  color: #172019;
  max-width: 14ch;
}

.velora-intro h2 + p {
  margin-top: 2rem;
}

.velora-intro p:not(.velora-section-number) {
  max-width: 42rem;
  margin-bottom: 1rem;
  color: #4d5a50;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
}

.velora-contact {
  max-width: 42rem;
  margin-top: 1.75rem;
  color: #344a39;
  font-style: normal;
  line-height: 1.8;
}

.velora-contact a,
.velora-faq a,
.velora-source-list a {
  color: #23492f;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.velora-faq .velora-region-copy h3 {
  margin: 1.5rem 0 0.35rem;
  color: #172019;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 500;
}

.velora-faq .velora-region-copy h3:first-child {
  margin-top: 0;
}

.velora-sources {
  padding: clamp(5rem, 11vw, 8rem) 0;
  background: #dfe8dc;
  color: #172019;
}

.velora-sources .velora-section-number {
  color: #54705a;
}

.velora-sources h2 {
  max-width: 15ch;
  color: #172019;
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.velora-sources h2 + p {
  margin-top: 2rem;
}

.velora-sources p {
  max-width: 46rem;
  margin-bottom: 1rem;
  color: #3f5144;
  line-height: 1.7;
}

.velora-source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 2rem;
  max-width: 46rem;
  margin-top: 1.5rem;
  padding-left: 1.15rem;
}

.velora-source-list li {
  padding-left: 0.2rem;
}

.velora-services {
  background: #101613;
}

.velora-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(3rem, 7vw, 5rem);
}

.velora-section-head h2 {
  color: var(--velora-ink);
  font-family: var(--display);
  font-size: clamp(2.7rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-align: right;
}

.velora-service-list {
  border-top: 1px solid var(--velora-line);
}

.velora-service-row {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  padding: clamp(1.5rem, 3vw, 2.4rem) 0;
  border-bottom: 1px solid var(--velora-line);
  color: var(--velora-ink);
  transition: color 0.25s ease, padding 0.3s ease, background 0.3s ease;
}

.velora-service-row:hover {
  padding-inline: 1rem;
  background: rgba(184, 210, 174, 0.06);
  color: var(--velora-green);
}

.velora-service-no {
  color: var(--velora-muted);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.velora-service-row h3 {
  color: currentColor;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
}

.velora-service-row p {
  max-width: 44rem;
  margin-top: 0.45rem;
  color: var(--velora-muted);
  font-size: 0.92rem;
}

.velora-arrow {
  font-size: 1.5rem;
  transition: transform 0.25s ease;
}

.velora-service-row:hover .velora-arrow {
  transform: translate(0.2rem, -0.2rem);
}

.velora-region {
  background: #b8d2ae;
  color: #172019;
}

.velora-region .velora-section-number {
  color: #2f5038;
}

.velora-region h2 {
  margin-top: 1rem;
  color: #172019;
}

.velora-region-copy > p {
  max-width: 38rem;
  margin-bottom: 1rem;
  color: #344a39;
  font-size: 1.04rem;
  line-height: 1.7;
}

.velora-region-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
  list-style: none;
}

.velora-region-copy li {
  border: 1px solid rgba(23, 32, 25, 0.28);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-family: var(--mono);
  font-size: 0.72rem;
}

.velora-cta {
  padding: clamp(6rem, 13vw, 11rem) 0;
  text-align: center;
  background: #f0f0e9;
}

.velora-cta .velora-section-number {
  color: #54705a;
}

.velora-cta h2 {
  max-width: 15ch;
  margin: 1rem auto 0;
  color: #172019;
}

.velora-cta p:not(.velora-section-number) {
  max-width: 34rem;
  margin: 1.5rem auto 2rem;
  color: #59645c;
}

.velora-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.velora-btn-email {
  border-color: #54705a;
  background: transparent;
  color: #294331;
}

.velora-btn-email:hover {
  border-color: #294331;
  background: #e2e8de;
  color: #172019;
}

.velora-footer {
  padding: 2rem 0;
  background: #101613;
  border-top: 1px solid var(--velora-line);
  color: var(--velora-muted);
  font-size: 0.78rem;
}

.velora-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.velora-footer a {
  color: var(--velora-green);
}

.velora-footer p a {
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

@media (max-width: 760px) {
  .velora-page .velora-nav .nav-links {
    display: none;
  }

  .velora-page .velora-nav .nav-links.open {
    display: flex;
    background: #101613;
    border-color: var(--velora-line);
  }

  .velora-page .velora-nav .nav-links.open a {
    width: 100%;
    color: var(--velora-ink);
  }

  .velora-page .velora-nav .nav-links.open .velora-mobile-visit {
    display: flex;
    justify-content: center;
    margin-top: 0.15rem;
    border-radius: 999px;
    background: var(--velora-green);
    color: #101613;
  }

  .velora-page .velora-nav .nav-hamburger {
    display: block;
    border-color: var(--velora-line);
    color: var(--velora-ink);
  }

  .velora-page .site-nav .container {
    grid-template-columns: 1fr auto;
  }

  .velora-hero h1 {
    font-size: clamp(4rem, 24vw, 7rem);
  }

  .velora-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .velora-index,
  .velora-two-col,
  .velora-region-grid {
    grid-template-columns: 1fr;
  }

  .velora-source-list {
    grid-template-columns: 1fr;
  }

  .velora-index span {
    padding-top: 0.75rem;
  }

  .velora-section-head {
    display: block;
  }

  .velora-section-head h2 {
    margin-top: 1rem;
    text-align: left;
  }

  .velora-service-row {
    grid-template-columns: 2rem minmax(0, 1fr) auto;
  }

  .velora-footer .container {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .velora-orbit,
  .velora-hero-inner {
    animation: none;
  }
}

/* ─── Auth pages ─── */
.auth-page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(36, 53, 31, 0.07), transparent 22rem),
    var(--bg-soft);
}

.auth-card {
  width: min(400px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  box-shadow:
    0 1px 2px rgba(17, 17, 26, 0.04),
    0 18px 52px rgba(17, 17, 26, 0.08);
  overflow: hidden;
}

.auth-brand {
  display: inline-flex;
  margin: 1.25rem 1.25rem 1rem;
  color: var(--ink);
  font-family: var(--brand-font);
  font-size: 1.24rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  letter-spacing: 0.105em;
  text-transform: uppercase;
  font-synthesis: none;
  font-variation-settings: "opsz" 24;
  -webkit-font-smoothing: antialiased;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem;
  padding: 0.25rem;
  margin: 0 1.25rem 0.5rem;
  border-radius: 8px;
  background: #f1f1ef;
  color: var(--muted);
}

.auth-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.auth-tabs a:hover {
  color: var(--ink);
}

.auth-tabs a.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(17, 17, 26, 0.1);
}

.auth-card-head {
  padding: 1.25rem 1.25rem 0.45rem;
}

.auth-card h1 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.auth-card .meta {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.48;
  margin-bottom: 0;
  text-wrap: pretty;
}

.auth-step {
  display: block;
  margin-bottom: 0.4rem;
}

.auth-next-box {
  margin: 0.35rem 1.25rem 0.45rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 0.84rem;
  line-height: 1.45;
}

.auth-next-box strong {
  color: var(--ink);
}

.auth-card form {
  padding: 0.55rem 1.25rem 1.25rem;
}

.auth-card label {
  display: block;
  font-size: 0.875rem;
  font-weight: 550;
  color: var(--text);
  margin-top: 0.85rem;
}

.auth-card input {
  width: 100%;
  min-height: 2.45rem;
  margin-top: 0.38rem;
  padding: 0.58rem 0.72rem;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.92rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.auth-card input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.auth-card button[type="submit"] {
  width: 100%;
  min-height: 2.55rem;
  margin-top: 1.25rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.auth-card button[type="submit"]:hover {
  background: #000;
  transform: translateY(-1px);
}

.auth-card .err {
  color: var(--red);
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

.auth-card .links {
  margin: 0;
  padding: 0.95rem 1.25rem 1.15rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--faint);
}

.auth-card .links a { color: var(--muted); }

/* ─── Dashboard app shell ─── */
.dash-shell {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: minmax(var(--nav-h), auto) 1fr;
}

.dash-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 0 1.5rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.dash-top-meta {
  min-width: 0;
  font-size: 0.85rem;
  color: var(--muted);
  overflow-wrap: anywhere;
  text-align: center;
}

.dash-top-meta strong { color: var(--ink); }

.dash-top #logout {
  white-space: nowrap;
}

.dash-body {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 0;
}

.dash-sidebar {
  border-right: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 1.25rem 0;
}

.dash-main {
  padding: 1.75rem;
  overflow: auto;
  background: var(--bg-soft);
}

.dash-main .container { max-width: 880px; }

.dash-welcome {
  background: var(--bg-soft);
  border-color: var(--line);
}

.dash-welcome .msg {
  margin: 0;
  max-width: 42rem;
  color: var(--muted);
  line-height: 1.55;
}

.onboarding-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
}

.onboarding-rail span {
  min-width: 0;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.onboarding-rail .done {
  color: var(--green);
  background: var(--green-soft);
}

.onboarding-rail .current {
  color: var(--ink);
  border-color: rgba(11, 11, 12, 0.28);
}

.verify-banner {
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--green-soft);
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text);
}

.verify-banner strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.verify-banner span {
  color: var(--muted);
}

.dash-panel.is-locked {
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}

.ws-nav-item.is-disabled {
  opacity: 0.45;
  cursor: default;
}

.dash-panel {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.dash-panel h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.dash-panel h3 {
  font-size: 0.9rem;
  margin-top: 1rem;
  color: var(--muted);
}

.dash-panel input,
.dash-panel textarea {
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xs);
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.9rem;
}

.dash-panel textarea {
  font-family: var(--mono);
  font-size: 0.8rem;
  width: 100%;
}

.dash-panel button {
  padding: 0.55rem 1rem;
  border: none;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.dash-panel button.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.dash-panel .row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.dash-panel .row input { flex: 1; min-width: 200px; }

.dash-panel ul {
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.domain-row {
  margin-bottom: 0.55rem;
}

.domain-row-pending {
  list-style-position: outside;
}

.domain-status-note {
  margin: 0.9rem 0;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--green-soft);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.domain-status-note strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.domain-status-note ol {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding-left: 1.15rem;
}

.domain-add-details {
  margin-top: 0.85rem;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.domain-add-details summary {
  width: fit-content;
  color: var(--text);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 650;
}

.domain-add-details[open] summary {
  margin-bottom: 0.75rem;
}

.domain-verify-inline {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.75rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--bg-soft);
}

.domain-verify-inline > div:not(.verify-actions) {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  gap: 0.28rem 0.45rem;
  align-items: baseline;
}

.domain-verify-inline span,
.domain-verify-inline em {
  color: var(--muted);
  font-style: normal;
}

.domain-verify-inline code {
  min-width: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
  white-space: normal;
}

.platform-runs-list {
  display: grid;
  gap: 0.55rem;
  padding-left: 0;
  list-style: none;
}

.platform-run-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto auto;
  gap: 0.45rem 0.75rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--bg-soft);
}

.platform-run-row small {
  grid-column: 1 / -1;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.run-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.55rem;
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.run-status-completed {
  color: #185a40;
  border-color: rgba(24, 90, 64, 0.26);
  background: rgba(24, 90, 64, 0.08);
}

.run-status-failed {
  color: #8a2f20;
  border-color: rgba(138, 47, 32, 0.26);
  background: rgba(138, 47, 32, 0.08);
}

.dash-panel .msg {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.dash-panel pre {
  font-family: var(--mono);
  font-size: 0.76rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  padding: 0.85rem;
  overflow: auto;
  white-space: pre-wrap;
}

.visibility-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.visibility-metric {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--bg-soft);
  padding: 0.85rem;
}

.visibility-metric span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
}

.visibility-metric strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
}

.visibility-detail {
  margin-top: 0.75rem;
}

.visibility-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.visibility-columns ul {
  list-style: none;
  padding-left: 0;
}

.visibility-columns li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}

.visibility-columns li span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.visibility-columns li strong {
  color: var(--ink);
  font-weight: 600;
}

/* ─── Logged-in audit console ─── */
.audit-console {
  --audit-canvas: #fbfbfa;
  --audit-line: rgba(20, 20, 22, 0.08);
  --audit-line-strong: rgba(20, 20, 22, 0.18);
  --audit-text-soft: #9a9a9d;
  --audit-text-faint: #b8b8bb;
  --audit-graphite: #707073;
  --audit-blue: #006cff;
  background: var(--audit-canvas);
  color: #3f3f42;
}

.audit-console .audit-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 4.35rem;
  grid-template-columns: minmax(12rem, auto) minmax(22rem, 1fr) auto;
  gap: 0.8rem;
  padding: 0 1.35rem;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--audit-line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.audit-search-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 18.5rem;
  gap: 0.78rem;
  color: var(--audit-text-soft);
  font-weight: 700;
}

.audit-search-icon {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 14px;
  background: #f6f6f5;
  color: #a4a4a7;
  box-shadow: inset 0 0 0 1px rgba(20, 20, 22, 0.04);
}

.audit-search-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.audit-search-brand strong {
  max-width: 10.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #9b9b9e;
  font-size: 1.03rem;
}

#top-score-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.75rem;
  border: 1px solid var(--audit-line);
  border-radius: 999px;
  color: #bebec1;
  font-style: normal;
  font-weight: 700;
  background: #fff;
}

.audit-tabs {
  display: flex;
  justify-content: flex-start;
  gap: 0.18rem;
  min-width: 0;
  max-width: 100%;
  padding: 0.35rem 0.2rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.audit-tabs::-webkit-scrollbar {
  display: none;
}

.audit-tabs a {
  flex: 0 0 auto;
  padding: 0.54rem 0.72rem;
  border-radius: 10px;
  color: #b8b8bb;
  font-size: 0.92rem;
  font-weight: 650;
  white-space: nowrap;
  transition: color 0.16s ease, background 0.16s ease;
}

.audit-tabs a:hover,
.audit-tabs a.active {
  color: #808083;
  background: rgba(20, 20, 22, 0.035);
}

.audit-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 0.45rem;
  min-width: max-content;
}

.audit-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 2.6rem;
  padding: 0 0.82rem;
  border: 1px solid var(--audit-line);
  border-radius: 10px;
  background: #fff;
  color: #9b9b9e;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.audit-action:hover {
  border-color: var(--audit-line-strong);
  color: #6f6f72;
}

.audit-action:active {
  transform: translateY(1px);
}

.audit-action.muted {
  background: transparent;
  border-color: transparent;
}

.audit-console .audit-main {
  min-height: calc(100dvh - 4.35rem);
  padding: 2.9rem min(9vw, 5.5rem);
  overflow: visible;
  background:
    radial-gradient(circle at 50% 0, rgba(0, 0, 0, 0.02), transparent 22rem),
    var(--audit-canvas);
}

.audit-main .audit-canvas {
  position: relative;
  width: min(100%, 118rem);
  max-width: 118rem;
  margin-inline: auto;
}

.audit-console .dash-panel {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--audit-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: none;
}

.audit-console .dash-panel h2 {
  margin: 0;
  color: #5d5d61;
  font-size: 1.05rem;
  font-weight: 750;
}

.audit-console .dash-panel h3 {
  margin-top: 1.1rem;
  color: #8c8c90;
  font-size: 0.92rem;
  font-weight: 700;
}

.audit-console .dash-panel .msg {
  color: #9a9a9e;
  font-size: 0.92rem;
}

.audit-console .audit-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 17.5rem;
  padding: 4.8rem 2.4rem;
  border-style: dotted;
  background: rgba(255, 255, 255, 0.5);
}

.audit-page-copy h1 {
  margin: 0.7rem 0 0.45rem;
  color: #707073;
  font-family: var(--font);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

.audit-url {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: #b4b4b7;
  font-size: 1.05rem;
  font-weight: 650;
}

.audit-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.3rem;
}

.audit-chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: #f7f7f6;
  color: #858589;
  font-size: 0.88rem;
  font-weight: 700;
}

.audit-chip-row .current {
  color: #4f4f52;
  box-shadow: inset 0 0 0 1px var(--audit-line-strong);
}

.audit-chip-row .complete {
  color: #5f625f;
  background: #f1f2ef;
}

.audit-score-ring {
  --ring-value: calc(var(--score) * 1%);
  display: grid;
  place-items: center;
  width: 9.6rem;
  height: 9.6rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--audit-canvas) 0 55%, transparent 56%),
    conic-gradient(var(--audit-graphite) var(--ring-value), #eeeeec 0);
}

.audit-score-ring strong {
  color: #b1b1b4;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.audit-score-ring span {
  margin-top: -2.2rem;
  color: #a5a5a8;
  font-size: 0.86rem;
  font-weight: 650;
}

.audit-score-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-right: 1px dotted var(--audit-line);
  border-bottom: 1px dotted var(--audit-line);
  border-left: 1px dotted var(--audit-line);
  background: rgba(255, 255, 255, 0.34);
}

.audit-score-tile {
  min-width: 0;
  padding: 1.45rem 1.25rem 1.1rem;
  border-right: 1px dotted var(--audit-line);
  text-align: center;
}

.audit-score-tile:last-child {
  border-right: 0;
}

.audit-score-tile strong {
  display: block;
  color: #a4a4a7;
  font-size: 1.65rem;
  font-weight: 850;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.audit-score-tile span {
  display: block;
  margin-top: 0.35rem;
  color: #9b9b9e;
  font-size: 0.86rem;
  font-weight: 650;
}

.audit-score-tile i {
  display: block;
  height: 0.55rem;
  margin-top: 0.95rem;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--audit-graphite) var(--bar), transparent 0),
    #e9e9e7;
}

.audit-lock-card {
  width: min(38rem, calc(100% - 2rem));
  margin: -2.15rem auto 2.3rem;
  padding: 2rem 2.3rem;
  border-color: rgba(0, 108, 255, 0.34);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: #2a2a2c;
  box-shadow: 0 18px 60px rgba(70, 120, 190, 0.16);
}

.audit-lock-card small {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--audit-blue);
  font-family: var(--mono);
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.audit-lock-card strong {
  display: block;
  max-width: 28rem;
  color: #111113;
  font-family: var(--mono);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.35;
}

.audit-lock-card span {
  display: block;
  max-width: 29rem;
  margin-top: 1.25rem;
  color: #7d7d81;
  font-family: var(--mono);
  font-size: 0.9rem;
  line-height: 1.55;
  text-transform: uppercase;
}

.audit-priorities {
  padding: 1.45rem 1.65rem;
  border-style: dotted;
}

.audit-priority-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.audit-priority-grid article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.4rem 0.75rem;
  min-height: 7.2rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid var(--audit-line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
}

.audit-priority-grid article > span {
  color: #222225;
  font-weight: 800;
}

.audit-priority-grid article strong {
  color: #454548;
  font-weight: 800;
}

.audit-priority-grid article strong::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin: 0 0.55rem 0.06rem 0;
  border-radius: 50%;
  background: #707073;
}

.audit-priority-grid article p {
  grid-column: 2;
  margin: 0;
  color: #8d8d91;
  line-height: 1.45;
}

.audit-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.92fr);
  gap: 1.8rem;
  margin-top: 3rem;
}

.audit-panel-large,
.audit-panel-side {
  padding: 1.65rem;
}

.audit-panel-large {
  min-height: 18rem;
}

.audit-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.audit-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.7rem;
  border: 1px solid var(--audit-line);
  border-radius: 999px;
  color: #8f8f93;
  font-size: 0.82rem;
  font-weight: 750;
  white-space: nowrap;
}

.audit-console .dash-panel button {
  border: 1px solid var(--audit-line-strong);
  border-radius: 8px;
  background: #fff;
  color: #59595c;
  box-shadow: none;
}

.audit-console .dash-panel button:hover {
  border-color: rgba(20, 20, 22, 0.28);
  color: #2f2f32;
}

.audit-console .dash-panel input,
.audit-console .dash-panel textarea {
  border-color: var(--audit-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: #4b4b4f;
}

.audit-console .dash-panel pre {
  min-height: 5rem;
  border-color: var(--audit-line);
  border-radius: 8px;
  background: rgba(250, 250, 249, 0.82);
  color: #6c6c70;
}

.audit-result {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.85rem;
  color: #4b4b4f;
}

.audit-result-empty {
  min-height: 5rem;
  align-items: center;
  padding: 1rem;
  border: 1px dashed var(--audit-line);
  border-radius: 8px;
  background: rgba(250, 250, 249, 0.66);
  color: #8a8a8f;
  font-size: 0.92rem;
}

.audit-result-empty p {
  margin: 0;
  max-width: 40rem;
  text-wrap: pretty;
}

.audit-result-header {
  display: grid;
  grid-template-columns: minmax(8.25rem, 0.28fr) minmax(0, 1fr);
  gap: 0.9rem;
  align-items: stretch;
}

.audit-score-stamp,
.audit-proof-ledger,
.audit-recommendations {
  border: 1px solid var(--audit-line);
  border-radius: 8px;
  background: rgba(250, 250, 249, 0.76);
}

.audit-score-stamp {
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: 8rem;
  padding: 1rem;
}

.audit-score-stamp span,
.audit-proof-ledger span {
  color: #8c8c90;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.audit-score-stamp strong {
  margin-top: 0.3rem;
  color: #3f403f;
  font-size: clamp(2.35rem, 6vw, 4.25rem);
  font-weight: 760;
  line-height: 0.92;
  font-variant-numeric: tabular-nums;
}

.audit-score-stamp em {
  margin-top: 0.35rem;
  color: #79797d;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 700;
}

.audit-result-copy {
  display: grid;
  align-content: center;
  min-height: 8rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--audit-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.audit-result-copy h3 {
  margin: 0;
  color: #464649;
  font-size: 1.15rem;
  line-height: 1.2;
  text-wrap: balance;
}

.audit-result-copy p,
.audit-result-muted {
  margin: 0.45rem 0 0;
  color: #77777c;
  font-size: 0.92rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.audit-proof-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}

.audit-proof-ledger > div {
  padding: 0.9rem 1rem;
}

.audit-proof-ledger > div + div {
  border-left: 1px solid var(--audit-line);
}

.audit-proof-ledger strong {
  display: block;
  margin-top: 0.25rem;
  color: #4d4d51;
  font-size: 1rem;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
}

.audit-proof-ledger p {
  margin: 0.3rem 0 0;
  color: #85858a;
  font-size: 0.82rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.audit-recommendations {
  padding: 1rem;
}

.audit-recommendations h4 {
  margin: 0 0 0.75rem;
  color: #4e4e52;
  font-size: 0.92rem;
}

.audit-recommendations ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audit-recommendations li {
  display: grid;
  grid-template-columns: 1.7rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  padding: 0.7rem 0;
  border-top: 1px dotted var(--audit-line);
}

.audit-recommendations li:first-child {
  border-top: 0;
  padding-top: 0;
}

.audit-recommendations li:last-child {
  padding-bottom: 0;
}

.audit-recommendations li span {
  display: inline-grid;
  place-items: center;
  min-width: 1.7rem;
  height: 1.7rem;
  border: 1px solid var(--audit-line);
  border-radius: 999px;
  color: #66666a;
  font-size: 0.78rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.audit-recommendations li p {
  margin: 0;
  color: #58585c;
  font-size: 0.9rem;
  line-height: 1.48;
  text-wrap: pretty;
}

.audit-result-excellent .audit-score-stamp {
  border-color: rgba(24, 90, 64, 0.22);
  background: rgba(24, 90, 64, 0.06);
}

.audit-result-good .audit-score-stamp {
  border-color: rgba(88, 100, 76, 0.22);
  background: rgba(88, 100, 76, 0.07);
}

.audit-result-foundation .audit-score-stamp {
  border-color: rgba(133, 104, 43, 0.24);
  background: rgba(133, 104, 43, 0.07);
}

.audit-result-critical .audit-score-stamp,
.audit-result-failed .audit-score-stamp,
.audit-result-error {
  border-color: rgba(138, 47, 32, 0.22);
  background: rgba(138, 47, 32, 0.06);
}

.audit-domain-list {
  padding-left: 0;
  list-style: none;
}

.audit-console .domain-row {
  padding: 0.85rem 0;
  border-bottom: 1px dotted var(--audit-line);
}

.audit-console .domain-row strong {
  color: #49494d;
}

.audit-console .domain-status-note {
  border-color: var(--audit-line);
  background: rgba(250, 250, 249, 0.86);
}

.audit-console .domain-verify-inline,
.audit-console #verify-panel {
  border-color: var(--audit-line);
  background: rgba(255, 255, 255, 0.68);
}

.audit-console .visibility-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.audit-console .visibility-metrics.compact {
  grid-template-columns: 1fr;
}

.audit-console .visibility-metric {
  border-color: var(--audit-line);
  border-radius: 8px;
  background: rgba(250, 250, 249, 0.72);
}

.audit-console .visibility-metric strong {
  color: #57575b;
  font-variant-numeric: tabular-nums;
}

.audit-console .platform-run-row,
.audit-console .index-action-plan {
  border-color: var(--audit-line);
  border-radius: 8px;
  background: rgba(250, 250, 249, 0.76);
}

.page-audit-list {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

#sitemap-audit-out:empty {
  display: none;
}

.page-audit-row,
.page-audit-empty {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem 1rem;
  padding: 1rem;
  border: 1px solid var(--audit-line);
  border-radius: 8px;
  background: rgba(250, 250, 249, 0.78);
}

.page-audit-row > div {
  min-width: 0;
}

.page-audit-row strong {
  display: block;
  overflow: hidden;
  color: #424246;
  font-size: 0.95rem;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-audit-row span {
  display: inline-flex;
  margin-top: 0.35rem;
  color: #8f8f93;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: capitalize;
}

.page-audit-row em {
  color: #555559;
  font-style: normal;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.page-audit-row details {
  grid-column: 1 / -1;
}

.page-audit-row summary {
  color: #6d6d71;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 750;
}

.page-audit-row ul {
  display: grid;
  gap: 0.42rem;
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
  color: #77777b;
  line-height: 1.45;
}

.page-audit-empty {
  display: block;
  color: #96969a;
}

.audit-console .dash-panel.is-locked,
.audit-console .audit-score-strip.is-locked,
.audit-console .audit-priority-grid article.is-locked {
  opacity: 0.32;
  filter: grayscale(1);
  pointer-events: none;
}

.audit-console .auth-step {
  color: #aaa;
}

@media (max-width: 1100px) {
  .audit-console .audit-topbar {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.65rem;
    padding: 0.9rem 1rem;
  }

  .audit-tabs {
    justify-content: flex-start;
  }

  .audit-actions {
    justify-content: flex-start;
  }

  .audit-console .audit-main {
    padding: 1.5rem;
  }

  .audit-dashboard-grid,
  .audit-priority-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .audit-console .audit-hero,
  .audit-score-strip {
    grid-template-columns: 1fr;
  }

  .audit-console .audit-hero {
    padding: 2rem 1.2rem;
  }

  .audit-score-ring {
    width: 8rem;
    height: 8rem;
    margin-top: 1.6rem;
  }

  .audit-score-strip {
    border-top: 1px dotted var(--audit-line);
  }

  .audit-score-tile {
    border-right: 0;
    border-bottom: 1px dotted var(--audit-line);
  }

  .audit-panel-head,
  .audit-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .audit-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .audit-action {
    width: 100%;
    min-height: 2.45rem;
    padding: 0 0.55rem;
    font-size: 0.86rem;
  }

  .audit-action.muted {
    border-color: var(--audit-line);
    background: #fff;
  }

  .audit-console .visibility-metrics,
  .audit-console .visibility-metrics.compact,
  .visibility-columns {
    grid-template-columns: 1fr;
  }

  .audit-result-header,
  .audit-proof-ledger {
    grid-template-columns: 1fr;
  }

  .audit-score-stamp {
    min-height: auto;
  }

  .audit-proof-ledger > div + div {
    border-left: 0;
    border-top: 1px solid var(--audit-line);
  }

  .page-audit-row {
    grid-template-columns: 1fr;
  }
}

.preview-shell {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: var(--bg-soft);
}

.preview-panel {
  width: min(760px, 100%);
}

.preview-panel h1 {
  font-size: clamp(2rem, 6vw, 4.5rem);
  margin-bottom: 1rem;
  overflow-wrap: anywhere;
}

@media (max-width: 680px) {
  .visibility-metrics,
  .visibility-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .dash-shell {
    display: block;
    min-height: 100dvh;
  }

  .dash-top {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.65rem 0.85rem;
    padding: 0.8rem 1rem;
  }

  .dash-top .brand {
    min-width: 0;
  }

  .dash-top-meta {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
    line-height: 1.35;
  }

  .dash-top-meta strong {
    display: block;
  }

  .dash-top #logout {
    justify-self: end;
    padding-inline: 0.8rem;
  }

  .dash-main {
    padding: 1rem;
    overflow: visible;
  }

  .dash-panel {
    padding: 1.05rem;
    border-radius: var(--radius-sm);
  }

  .dash-panel .row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dash-panel .row input,
  .dash-panel .row button,
  .dash-panel button,
  .dash-panel textarea {
    width: 100%;
    min-width: 0;
  }

  .verify-instruction {
    grid-template-columns: 1fr;
  }

  .domain-verify-inline > div:not(.verify-actions) {
    grid-template-columns: 1fr;
  }

  .platform-run-row {
    grid-template-columns: 1fr;
  }

  .verify-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

#verify-panel {
  display: none;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 1rem;
  margin-top: 0.75rem;
  border-radius: var(--radius-xs);
  font-size: 0.85rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.verify-title {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.verify-instruction {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  gap: 0.35rem 0.5rem;
  align-items: baseline;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
}

.verify-instruction code {
  min-width: 0;
  color: var(--ink);
  white-space: normal;
  overflow-wrap: anywhere;
}

.verify-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.verify-actions .verify-btn {
  flex: 0 1 auto;
}

@media (max-width: 760px) {
  .verify-instruction {
    grid-template-columns: 1fr;
  }

  .verify-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* ─── Responsive ─── */
@media (max-height: 780px) and (min-width: 961px) {
  .hero .stats-row {
    display: none;
  }
}

@media (max-width: 960px) {
  .hero {
    min-height: 0;
    display: block;
  }

  .hero-grid,
  .card-grid,
  .steps-grid,
  .stories-grid,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid > div:first-child {
    margin-top: 0;
  }

  .start-steps {
    grid-template-columns: 1fr;
  }

  .open-stack {
    grid-template-columns: 1fr;
  }

  .open-stack-copy {
    max-width: 100%;
  }

  .open-stack-ledger {
    grid-template-columns: 1fr;
  }

  .stack-row,
  .stack-row-wide {
    grid-column: auto;
    min-height: 10.5rem;
  }

  .gradient-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(12rem, auto);
  }

  .bento-wide {
    grid-column: auto;
  }

  .bento-intro {
    max-width: 100%;
  }

  .hero::after {
    background: linear-gradient(
      180deg,
      var(--bg) 0%,
      rgba(255, 255, 255, 0.88) 38%,
      rgba(255, 255, 255, 0.45) 62%,
      transparent 100%
    );
  }

  .hero-bg img {
    right: -18rem;
    bottom: -5rem;
    width: 58rem;
    transform: rotate(-1deg);
  }

  #terminal.panel-glass {
    margin-top: 0;
  }

  .globe-feature {
    flex-direction: column-reverse;
    align-items: center;
    min-height: 34rem;
    padding: 2rem;
  }

  .globe-feature-copy {
    flex-basis: auto;
    max-width: 100%;
  }

  .globe-feature-visual {
    flex-basis: auto;
    max-width: 36rem;
    height: 180px;
  }

  #citation-globe {
    width: 100%;
    max-width: 600px;
    transform: translate(10rem, 5rem) scale(1.5);
  }

  .hero-lede {
    margin-left: 0;
    padding: 0.85rem 0 0;
  }

  .lede-deck {
    font-size: clamp(1.15rem, 4.2vw, 1.38rem);
  }

  .lede-body {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .hero-trust {
    padding: 0.45rem 0.75rem 0.45rem 0.6rem;
    font-size: 0.72rem;
    border-radius: 14px;
  }

  .hero-trust-sep {
    margin: 0 0.55rem;
  }

  .wall-grid { columns: 1; }
  .workspace-mock { grid-template-columns: 1fr; }
  .ws-sidebar { display: none; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }

  .feature-suite-grid {
    grid-template-columns: 1fr;
  }

  .suite-card {
    min-height: auto;
  }

  .display-card-stack {
    min-height: 20rem;
    overflow: visible;
  }

  .mega-cta-copy {
    top: clamp(14rem, 34vh, 19rem);
  }

  .mega-cta-visual {
    width: 100vw;
    height: clamp(25rem, 58vh, 34rem);
    margin: 0;
  }

  .mega-cta-visual img {
    object-fit: contain;
    object-position: 46% bottom;
    transform: none;
  }
}

@media (max-width: 768px) {
  .site-nav .container {
    display: flex;
    justify-content: space-between;
  }

  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem;
    gap: 0.85rem;
  }

  .nav-links.open a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding-inline: 0.35rem;
  }

  .nav-links.open .mobile-nav-account {
    display: flex;
    border-top: 1px solid var(--line);
    margin-top: 0.15rem;
    padding-top: 0.75rem;
  }

  .nav-links.open .mobile-nav-primary {
    justify-content: center;
    border: 0;
    border-radius: 999px;
    margin-top: 0;
    padding: 0 1rem;
    background: var(--ink);
    color: #fff;
  }
  .blog-item { grid-template-columns: 1fr; gap: 0.5rem; }

  .globe-feature-section {
    padding-top: 1rem;
  }

  .globe-feature {
    min-height: 35rem;
    padding: 1.35rem;
    border-radius: var(--radius-sm);
  }

  .globe-feature-visual {
    width: 100%;
    height: 15rem;
    overflow: hidden;
  }

  #citation-globe {
    max-width: 28rem;
    transform: translate(2.5rem, 2.25rem) scale(1.18);
  }

  .globe-feature-copy h2 {
    font-size: clamp(1.6rem, 8vw, 1.95rem);
    line-height: 1.18;
  }

  .globe-feature-button {
    width: 100%;
    justify-content: center;
  }

  .display-card-stack {
    min-height: 20rem;
    margin-top: 1rem;
    padding: 0.5rem 0 2.5rem;
  }

  .display-card {
    width: min(23rem, calc(100vw - 3rem));
    height: 9rem;
    min-height: 9rem;
    padding: 0.85rem 1rem;
  }

  .display-card-1 {
    --display-card-transform: skewY(-8deg) translate3d(0, 0, 0);
  }

  .display-card-1:hover {
    --display-card-transform: skewY(-8deg) translate3d(0, -2rem, 0);
  }

  .display-card-2 {
    --display-card-transform: skewY(-8deg) translate3d(0.75rem, 2.35rem, 0);
  }

  .display-card-2:hover {
    --display-card-transform: skewY(-8deg) translate3d(0.75rem, 0.75rem, 0);
  }

  .display-card-3 {
    --display-card-transform: skewY(-8deg) translate3d(1.5rem, 4.85rem, 0);
  }

  .display-card-3:hover {
    --display-card-transform: skewY(-8deg) translate3d(1.5rem, 3.25rem, 0);
  }

  .display-card p {
    white-space: nowrap;
  }

  .display-card h3 {
    font-size: 1.1rem;
  }

  .display-card p {
    font-size: 0.96rem;
  }

  .display-card-3 p {
    font-size: 1rem;
  }

  .display-card-foot {
    font-size: 0.86rem;
  }

  .mega-cta {
    min-height: calc(100svh - var(--nav-h));
  }

  .mega-cta-inner {
    min-height: calc(100svh - var(--nav-h));
  }

  .mega-cta-copy {
    top: clamp(8.5rem, 22vh, 11rem);
  }

  .mega-cta-pill {
    margin-bottom: 1rem;
  }

  .mega-cta .hero-cta {
    align-items: stretch;
  }

  .mega-cta .hero-cta .btn-lg {
    width: 100%;
  }

  .mega-cta-visual {
    width: 100vw;
    height: clamp(20rem, 54vh, 28rem);
    margin: 0;
    border-radius: 0;
  }

  .mega-cta-visual img {
    object-fit: contain;
    object-position: 46% bottom;
    transform: none;
  }

  .footer-wordmark {
    font-size: clamp(2.5rem, 15vw, 4.75rem);
    letter-spacing: 0.055em;
    transform: translateY(22%);
  }

  .footer-wordmark-zone {
    height: clamp(6rem, 22vw, 9rem);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .footer-grid {
    padding-bottom: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
/* Production/mobile hardening: keep the hero below sticky nav and prevent card overflow. */
@media (max-width: 760px) {
  .container {
    width: calc(100% - 2.5rem) !important;
    max-width: calc(100vw - 2.5rem) !important;
  }

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-nav {
    top: 0;
  }

  .site-nav .container {
    min-width: 0;
    gap: 0.55rem;
  }

  .brand-name {
    font-size: 1.08rem;
    letter-spacing: 0.06em;
  }

  .nav-actions {
    min-width: 0;
    gap: 0.45rem;
  }

  .nav-actions .btn-ghost {
    display: none;
  }

  .nav-actions .btn {
    min-height: 2.35rem;
    padding-inline: 0.72rem;
    font-size: 0.86rem;
  }

  .nav-actions .btn-primary {
    display: none;
    min-width: 0;
  }

  .nav-hamburger {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    flex: 0 0 2.75rem;
  }

  .hero {
    padding-top: 3rem;
    overflow: hidden;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .hero-grid > div:first-child {
    min-width: 0;
    width: min(100%, calc(100vw - 2.5rem));
    max-width: 100%;
  }

  .hero h1 {
    max-width: 9.5ch;
    font-size: 3rem;
    line-height: 0.96;
    letter-spacing: 0;
  }

  .hero-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    width: 100%;
    min-width: 0;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-trust {
    width: 100%;
    border-radius: 18px;
    flex-wrap: wrap;
    gap: 0.45rem 0.6rem;
    line-height: 1.25;
  }

  .hero-trust-sep {
    display: none;
  }

  .domain-bar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    min-height: 3.75rem;
    padding: 0 1.05rem;
    border-radius: 999px;
  }

  .domain-search-icon {
    width: 1.35rem;
    height: 1.35rem;
    margin-right: 0.62rem;
  }

  .domain-bar input {
    min-width: 0;
    width: 100%;
    font-size: 1.16rem;
  }

  .hero-visual,
  .panel,
  .panel-glass {
    width: 100%;
    max-width: 100%;
  }

  .panel {
    padding: 1.15rem;
    border-radius: 24px;
  }

  .standings {
    width: 100%;
  }

  .standings li {
    grid-template-columns: 1.9rem minmax(0, 1fr) minmax(4.6rem, 24%) 3.7rem;
    gap: 0.55rem;
  }

  .standings .name {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .standings .track {
    min-width: 0;
  }
}

@media (max-width: 430px) {
  .brand-name {
    font-size: 0.98rem;
    letter-spacing: 0.05em;
  }

  .nav-actions .btn-ghost {
    display: none;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .domain-bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
}
/* Mobile hero lede readability: keep text off the noisy background art. */
@media (max-width: 760px) {
  .hero-bg img {
    opacity: 0.22;
  }

  .hero-lede {
    max-width: 100%;
    margin-top: 1.15rem;
    padding: 1rem 1.05rem 1.1rem;
    background: #fff;
    border: 1px solid rgba(11, 11, 12, 0.12);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(17, 17, 26, 0.08);
  }

  .lede-kicker {
    margin-bottom: 0.45rem;
    color: #4a4a4f;
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: 0;
  }

  .lede-deck {
    margin-bottom: 0.7rem;
    color: var(--ink);
    font-family: var(--font);
    font-size: 1.24rem;
    font-weight: 650;
    line-height: 1.18;
    letter-spacing: 0;
  }

  .lede-body {
    color: #34343a;
    font-size: 0.98rem;
    line-height: 1.58;
    letter-spacing: 0;
  }
}

@media (max-width: 430px) {
  .hero-lede {
    padding: 0.95rem 0.95rem 1.05rem;
    border-radius: 16px;
  }

  .lede-deck {
    font-size: 1.18rem;
  }

  .lede-body {
    font-size: 0.95rem;
  }
}
/* Mobile table polish for citation ledger and last-run benchmark tables. */
@media (max-width: 640px) {
  .suite-table-wrap {
    overflow: visible;
  }

  .suite-table,
  .t-table {
    width: 100%;
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.88rem;
  }

  .suite-table thead,
  .t-table thead {
    display: none;
  }

  .suite-table tbody,
  .t-table tbody {
    display: grid;
    gap: 0.65rem;
  }

  .suite-table tr,
  .t-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem 0.8rem;
    padding: 0.9rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
  }

  .suite-table th,
  .suite-table td,
  .t-table th,
  .t-table td {
    padding: 0;
    border-bottom: 0;
    text-align: left;
    white-space: normal;
  }

  .suite-table td:last-child,
  .suite-table th:last-child {
    text-align: left;
  }

  .suite-table td,
  .t-table td {
    display: grid;
    min-width: 0;
    gap: 0.28rem;
    color: var(--ink);
    font-weight: 600;
    overflow-wrap: anywhere;
  }

  .suite-table td::before,
  .t-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 650;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .suite-table td[data-label="Source"],
  .t-table td[data-label="Prompt"] {
    grid-column: 1 / -1;
  }

  .suite-source {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 0.5rem;
    overflow-wrap: anywhere;
  }

  .suite-source .suite-avatar {
    flex: 0 0 1.75rem;
    margin-right: 0;
  }

  .suite-card-foot {
    align-items: flex-start;
    padding: 0.95rem 1.1rem 1.1rem;
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .stage-card .stage-head {
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem;
  }

  .stage-card .stage-head h4 {
    line-height: 1.2;
  }

  .stage-card .stage-body {
    padding: 0.75rem;
  }

  .t-table .you {
    width: fit-content;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    background: var(--green-soft);
  }
}

@media (max-width: 430px) {
  .suite-card-head {
    padding: 1.2rem 1.15rem 1rem;
  }

  .suite-card-head p {
    font-size: 0.9rem;
  }

  .suite-table tr,
  .t-table tr {
    grid-template-columns: 1fr;
    padding: 0.85rem;
  }

  .suite-card-foot {
    flex-direction: column;
    gap: 0.35rem;
  }
}

/* Compact mobile data cards: keep benchmark rows scannable, not poster-sized. */
@media (max-width: 640px) {
  .suite-card-table {
    border-radius: 18px;
  }

  .suite-table tbody,
  .t-table tbody {
    gap: 0.5rem;
  }

  .suite-table tr,
  .t-table tr {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.48rem 0.75rem;
    padding: 0.78rem 0.85rem;
    border-radius: 14px;
  }

  .suite-table td,
  .t-table td {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    font-size: 0.88rem;
    line-height: 1.25;
  }

  .suite-table td::before,
  .t-table td::before {
    display: inline;
    flex: 0 0 auto;
    font-size: 0.64rem;
  }

  .suite-table td[data-label="#"] {
    display: none;
  }

  .suite-table td[data-label="Source"],
  .t-table td[data-label="Prompt"] {
    grid-column: 1 / -1;
    order: -2;
    font-size: 1rem;
  }

  .suite-table td[data-label="Source"]::before,
  .t-table td[data-label="Prompt"]::before {
    display: none;
  }

  .suite-table td[data-label="Date"],
  .suite-table td[data-label="Value"],
  .t-table td[data-label="Provider"],
  .t-table td[data-label="Leader"] {
    color: #333338;
    font-weight: 600;
  }

  .suite-table td[data-label="Value"],
  .t-table td[data-label="You"] {
    justify-self: end;
  }

  .suite-badge {
    min-height: 1.42rem;
    padding: 0 0.5rem;
    font-size: 0.68rem;
    justify-self: start;
  }

  .suite-source {
    font-size: 1rem;
    font-weight: 700;
  }

  .suite-source .suite-avatar {
    flex-basis: 1.55rem;
    width: 1.55rem;
    height: 1.55rem;
    font-size: 0.58rem;
  }

  .showcase-stage {
    padding: 0.75rem;
    border-radius: 16px;
  }

  .stage-card .stage-head {
    padding: 0.78rem 0.85rem;
  }

  .stage-card .stage-body {
    padding: 0.55rem;
  }

  .t-table .you {
    min-width: 2.4rem;
    width: auto;
    justify-content: center;
    padding: 0.2rem 0.55rem;
    font-size: 0.86rem;
  }
}

@media (max-width: 430px) {
  .suite-table tr,
  .t-table tr {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.72rem 0.78rem;
  }

  .suite-table td,
  .t-table td {
    font-size: 0.84rem;
  }

  .suite-table td[data-label="Source"],
  .t-table td[data-label="Prompt"] {
    font-size: 0.95rem;
  }
}

/* Mobile ledger rows: source first, then balanced date/status/value metrics. */
@media (max-width: 640px) {
  .suite-card-table .suite-table tr {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.58rem 0.7rem;
    padding: 0.9rem;
  }

  .suite-card-table .suite-table td[data-label="Source"] {
    grid-column: 1 / -1;
    min-width: 0;
    padding-bottom: 0.2rem;
  }

  .suite-card-table .suite-table td[data-label="Date"],
  .suite-card-table .suite-table td[data-label="Status"],
  .suite-card-table .suite-table td[data-label="Value"] {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 0.36rem;
  }

  .suite-card-table .suite-table td[data-label="Status"] {
    justify-self: center;
  }

  .suite-card-table .suite-table td[data-label="Value"] {
    justify-self: end;
  }

  .suite-card-table .suite-table td[data-label="Date"]::before,
  .suite-card-table .suite-table td[data-label="Status"]::before,
  .suite-card-table .suite-table td[data-label="Value"]::before {
    color: #77777d;
    font-size: 0.62rem;
  }

  .suite-card-table .suite-source {
    width: 100%;
    font-size: 1.02rem;
    line-height: 1.15;
  }

  .suite-card-table .suite-source > span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .suite-card-table .suite-badge {
    min-width: 4.25rem;
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .suite-card-table .suite-table tr {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.52rem 0.6rem;
  }

  .suite-card-table .suite-table td[data-label="Status"] {
    justify-self: end;
  }

  .suite-card-table .suite-table td[data-label="Value"] {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

/* Mobile cleanup: remove only the oversized showcase stage. The citation
   evidence table has its own compact card layout above. */
@media (max-width: 760px) {
  .showcase .stage-card {
    display: none;
  }
}

/* Mobile final CTA: remove desktop absolute positioning that creates a tall empty canyon. */
@media (max-width: 760px) {
  .mega-cta {
    min-height: auto;
    padding: 4rem 0 13rem;
    background-image: url("/platform/assets/mobile-cta-trees.webp");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
  }

  .mega-cta-inner {
    display: flex;
    flex-direction: column;
    min-height: 42rem;
    align-items: center;
    justify-content: flex-start;
  }

  .mega-cta-copy {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 34rem;
    padding: 0 1.25rem;
    transform: none;
  }

  .mega-cta-pill {
    max-width: 100%;
    margin-bottom: 1rem;
    font-size: 0.84rem;
    white-space: normal;
  }

  .mega-cta h2 {
    max-width: 9.5ch;
    margin-inline: auto;
    font-size: 3rem;
    line-height: 0.96;
  }

  .mega-cta p {
    max-width: 24rem;
    margin-bottom: 1.45rem;
    font-size: 1.08rem;
    line-height: 1.5;
  }

  .mega-cta .hero-cta {
    width: 100%;
    max-width: 25rem;
    margin-inline: auto;
  }

  .mega-cta-visual {
    display: none;
  }

  #main-content > section {
    content-visibility: auto;
    contain-intrinsic-size: auto 760px;
  }

  .typewriter-cursor {
    animation: none;
  }
}

@media (max-width: 430px) {
  .mega-cta {
    padding: 3.25rem 0 11.5rem;
  }

  .mega-cta-inner {
    min-height: 39rem;
  }

  .mega-cta h2 {
    font-size: 2.65rem;
  }

  .mega-cta p {
    font-size: 1rem;
  }

}

/* Mobile hero controls: compact trust chips and keep the domain CTA inline. */
@media (max-width: 760px) {
  .hero-trust {
    align-items: flex-start;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    gap: 0.42rem;
    font-size: 0.78rem;
    line-height: 1.15;
  }

  .hero-trust::before,
  .hero-trust-sep {
    display: none;
  }

  .hero-trust-pillar,
  .hero-trust-audit,
  .hero-trust-proof {
    display: inline-flex;
    align-items: center;
    min-height: 1.8rem;
    padding: 0 0.62rem;
    border: 1px solid rgba(11, 11, 12, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: #4f4f54;
    white-space: normal;
  }

  .hero-trust-pillar {
    color: var(--ink);
  }

  .hero-trust-proof {
    color: #5d625a;
  }

  .domain-start {
    width: min(100%, 21.5rem);
    max-width: calc(100vw - 3rem);
    padding: 0.5rem;
    border-radius: 12px;
  }

  .domain-bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    overflow: hidden;
    min-height: 2.9rem;
    padding: 0 0.5rem 0 0.76rem;
    border-radius: 999px;
  }

  .domain-search-icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
  }

  .domain-bar input {
    min-height: 2.9rem;
    padding: 0.08rem 0 0;
    font-size: 0.96rem;
  }

  .domain-submit-arrow {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 430px) {
  .hero-trust {
    gap: 0.36rem;
  }

  .hero-trust-pillar,
  .hero-trust-audit,
  .hero-trust-proof {
    min-height: 1.65rem;
    padding: 0 0.52rem;
    font-size: 0.72rem;
  }

  .domain-bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 2.75rem;
    padding: 0 0.45rem 0 0.7rem;
  }

  .domain-search-icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
  }

  .domain-bar input {
    min-height: 2.75rem;
    font-size: 0.94rem;
  }

  .domain-submit-arrow {
    width: 2.75rem;
    height: 2.75rem;
  }
}

/* Mobile section rhythm: keep the globe card close to the "Start here" section. */
@media (max-width: 760px) {
  .globe-feature-section {
    padding-bottom: 1.5rem;
  }

  .globe-feature-section + .section {
    padding-top: 1.35rem;
  }
}

@media (max-width: 430px) {
  .globe-feature-section {
    padding-bottom: 1rem;
  }

  .globe-feature-section + .section {
    padding-top: 1rem;
  }
}

.index-workspace .dash-welcome h2 {
  margin-bottom: 0.25rem;
}

.evidence-workspace {
  --evidence-ink: #101114;
  --evidence-paper: #fbfbf8;
  --evidence-inset: #f2f3ef;
  --evidence-rule: rgba(16, 17, 20, 0.1);
}

.evidence-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1rem;
}

.evidence-hero > div:first-child,
.evidence-score-strip,
.answer-loop {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.evidence-hero > div:first-child {
  padding: 1.5rem;
}

.evidence-hero h1 {
  margin: 0.25rem 0 0.4rem;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 0.95;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.evidence-score-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}

.evidence-score-strip div {
  min-width: 0;
  padding: 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.evidence-score-strip div:nth-child(2n) {
  border-right: 0;
}

.evidence-score-strip div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.evidence-score-strip span,
.answer-loop-step small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.evidence-score-strip strong {
  display: block;
  margin-top: 0.45rem;
  color: var(--evidence-ink);
  font-family: var(--mono);
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
}

.answer-loop {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 1rem;
  overflow: hidden;
}

.answer-loop-step {
  min-width: 0;
  padding: 0.95rem;
  border-right: 1px solid var(--line);
  background: var(--evidence-paper);
}

.answer-loop-step:last-child {
  border-right: 0;
}

.answer-loop-step span {
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  margin-bottom: 0.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.answer-loop-step strong {
  display: block;
  margin-bottom: 0.18rem;
  color: var(--ink);
  font-size: 0.9rem;
}

.answer-loop-step.is-current {
  background: #fff;
}

.answer-loop-step.is-current span {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.evidence-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 1rem;
  align-items: start;
}

.evidence-side {
  display: grid;
  gap: 1rem;
}

.panel-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.panel-title-row h2 {
  margin-bottom: 0;
}

.evidence-review-list {
  display: grid;
  gap: 0.72rem;
  padding: 0;
  list-style: none;
}

.evidence-review-card {
  display: grid;
  gap: 0.65rem;
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid var(--evidence-rule);
  border-radius: var(--radius-xs);
  background: var(--evidence-paper);
}

.evidence-review-head,
.evidence-meta,
.evidence-raw,
.evidence-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  align-items: center;
  min-width: 0;
}

.evidence-review-head {
  justify-content: space-between;
}

.evidence-review-head > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.evidence-rank {
  font-family: var(--mono);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.evidence-review-card p {
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.evidence-meta,
.evidence-raw {
  color: var(--muted);
  font-size: 0.74rem;
}

.evidence-raw span {
  padding: 0.28rem 0.42rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.evidence-grid .dash-panel {
  margin-bottom: 0;
}

.index-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.index-kv {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.index-kv li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}

.index-kv span {
  overflow-wrap: anywhere;
  color: var(--muted);
}

.index-trend {
  display: flex;
  align-items: end;
  gap: 0.55rem;
  min-height: 6.5rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.trend-bar {
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  min-width: 1.7rem;
}

.trend-bar span {
  display: block;
  width: 0.7rem;
  min-height: 0.5rem;
  background: var(--ink);
}

.trend-bar small,
.trend-empty {
  color: var(--muted);
  font-size: 0.72rem;
}

.index-action-plan {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.85rem;
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--accent-soft);
}

.index-action-plan p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.index-action-plan strong {
  color: var(--ink);
}

.index-action-plan small {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.index-action-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.index-action-chips span {
  padding: 0.32rem 0.48rem;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 999px;
  background: #fff;
  color: var(--accent-ink);
  font-size: 0.74rem;
  font-weight: 600;
}

@media (max-width: 760px) {
  .evidence-hero,
  .evidence-layout,
  .index-grid {
    grid-template-columns: 1fr;
  }

  .answer-loop {
    grid-template-columns: 1fr;
  }

  .answer-loop-step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .answer-loop-step:last-child {
    border-bottom: 0;
  }

  .index-trend {
    overflow-x: auto;
  }

  .onboarding-rail {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 430px) {
  .onboarding-rail {
    grid-template-columns: 1fr;
  }
}

.audit-action.audit-action-primary {
  background: #1f1f22;
  border-color: #1f1f22;
  color: #fff;
}

.audit-action.audit-action-primary:hover {
  background: #050506;
  border-color: #050506;
  color: #fff;
}

@media (max-width: 1240px) {
  .audit-console .audit-topbar {
    grid-template-columns: minmax(11rem, auto) minmax(18rem, 1fr) auto;
    padding-inline: 1rem;
  }

  .audit-search-brand {
    max-width: 15rem;
  }

  .audit-search-brand strong {
    max-width: 8rem;
  }

  .audit-tabs a {
    padding-inline: 0.62rem;
    font-size: 0.88rem;
  }

  .audit-action {
    padding-inline: 0.72rem;
    font-size: 0.86rem;
  }
}

@media (max-width: 1100px) {
  .audit-console .audit-topbar {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem;
    padding: 0.85rem 1rem;
  }

  .audit-search-brand,
  .audit-tabs,
  .audit-actions {
    width: 100%;
  }

  .audit-search-brand {
    max-width: none;
  }

  .audit-search-brand strong {
    max-width: min(50vw, 22rem);
  }

  .audit-tabs {
    justify-content: flex-start;
    padding-bottom: 0.15rem;
  }

  .audit-actions {
    justify-content: flex-start;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .audit-actions::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 760px) {
  .audit-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .audit-action {
    min-width: 0;
    width: 100%;
    padding-inline: 0.55rem;
    font-size: 0.84rem;
  }

  .audit-action.audit-action-primary {
    grid-column: 1 / -1;
  }
}

.skill-modal[hidden],
.skill-copy-toast[hidden] {
  display: none;
}

.skill-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.skill-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 22, 24, 0.34);
}

.skill-modal-panel {
  position: relative;
  z-index: 1;
  width: min(45rem, 100%);
  max-height: min(86vh, 48rem);
  overflow: auto;
  border: 1px solid rgba(26, 26, 28, 0.12);
  border-radius: 8px;
  background: #fffffd;
  box-shadow: 0 24px 72px rgba(18, 18, 20, 0.18);
  padding: 1.25rem;
  color: #343438;
}

.skill-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.skill-modal-head span {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  color: #8d8d91;
  letter-spacing: 0;
}

.skill-modal-head button,
.skill-modal-actions button,
.skill-modal-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  border: 1px solid rgba(34, 34, 38, 0.16);
  border-radius: 8px;
  background: #fff;
  color: #444448;
  padding: 0 0.85rem;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}

.skill-modal h2 {
  margin: 0 0 0.65rem;
  color: #242427;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.skill-modal p {
  margin: 0;
  max-width: 39rem;
  color: #67676c;
  line-height: 1.58;
  text-wrap: pretty;
}

.skill-modal-steps {
  display: grid;
  gap: 0.7rem;
  margin: 1.15rem 0;
  padding: 0;
  list-style: none;
  counter-reset: skill-step;
}

.skill-modal-steps li {
  counter-increment: skill-step;
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  border: 1px solid rgba(34, 34, 38, 0.1);
  border-radius: 8px;
  background: #f7f7f5;
  padding: 0.85rem;
}

.skill-modal-steps li::before {
  content: counter(skill-step);
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid rgba(34, 34, 38, 0.12);
  border-radius: 50%;
  background: #fff;
  color: #2f2f33;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.skill-modal-steps strong,
.skill-modal-steps span {
  grid-column: 2;
}

.skill-modal-steps strong {
  color: #333337;
  font-size: 0.96rem;
}

.skill-modal-steps span {
  color: #707075;
  font-size: 0.9rem;
  line-height: 1.45;
}

.skill-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.skill-modal-actions button {
  background: #1f1f22;
  border-color: #1f1f22;
  color: #fff;
}

#skill-files-manual {
  width: 100%;
  min-height: 8.5rem;
  margin-top: 0.9rem;
  border: 1px solid rgba(34, 34, 38, 0.12);
  border-radius: 8px;
  background: #f7f7f5;
  color: #56565a;
  padding: 0.85rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  line-height: 1.5;
  resize: vertical;
  white-space: pre;
}

.skill-copy-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  max-width: min(26rem, calc(100vw - 2rem));
  border: 1px solid rgba(34, 34, 38, 0.12);
  border-radius: 8px;
  background: #1f1f22;
  color: #fff;
  padding: 0.82rem 0.95rem;
  font-size: 0.88rem;
  box-shadow: 0 18px 50px rgba(18, 18, 20, 0.18);
}

body.skill-modal-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .skill-modal {
    align-items: end;
    padding: 0.75rem;
  }

  .skill-modal-panel {
    max-height: 88vh;
    padding: 1rem;
  }

  .skill-modal-steps li {
    grid-template-columns: 1.9rem minmax(0, 1fr);
  }

  .skill-modal-steps li::before {
    width: 1.9rem;
    height: 1.9rem;
  }
}
.first-run-loop {
  padding: 1.55rem 1.65rem;
}

.first-run-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.62fr);
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.2rem;
}

.first-run-head .audit-status-pill {
  margin-bottom: 0.7rem;
}

.first-run-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.12;
  color: #1f1f22;
}

.first-run-head p,
.first-run-steps p {
  margin: 0;
  color: #646468;
  line-height: 1.45;
}

.first-run-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0;
  padding: 0;
}

.first-run-steps li {
  min-height: 10rem;
  border: 1px solid rgba(34, 34, 38, 0.1);
  border-radius: 8px;
  background: #f8f8f5;
  padding: 0.95rem;
}

.first-run-steps span {
  display: inline-grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: #1f1f22;
  color: #fff;
  font: 600 0.78rem/1 "JetBrains Mono", ui-monospace, monospace;
  margin-bottom: 0.8rem;
}

.first-run-steps strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #1f1f22;
}

.plan-matrix {
  margin-top: 1.2rem;
  border: 1px solid rgba(34, 34, 38, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}

.plan-matrix-head {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
  gap: 1rem;
  padding: 1.25rem;
  border-bottom: 1px solid rgba(34, 34, 38, 0.1);
}

.plan-matrix-head h3,
.plan-matrix-head p {
  margin: 0;
}

.plan-matrix-head h3 {
  font-size: 1.15rem;
  color: #1f1f22;
}

.plan-matrix-head p {
  color: #626266;
  line-height: 1.45;
}

.plan-matrix-table {
  display: grid;
}

.plan-row {
  display: grid;
  grid-template-columns: minmax(12rem, 1.3fr) repeat(3, minmax(8rem, 1fr));
  border-bottom: 1px solid rgba(34, 34, 38, 0.08);
}

.plan-row:last-child {
  border-bottom: 0;
}

.plan-row span {
  padding: 0.85rem 1rem;
  color: #3f4042;
  border-right: 1px solid rgba(34, 34, 38, 0.08);
}

.plan-row span:last-child {
  border-right: 0;
}

.plan-row-head span {
  background: #f3f4ef;
  color: #1f1f22;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .first-run-head,
  .plan-matrix-head {
    grid-template-columns: 1fr;
  }

  .first-run-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .first-run-steps,
  .plan-row {
    grid-template-columns: 1fr;
  }

  .first-run-steps li {
    min-height: auto;
  }

  .plan-row span {
    border-right: 0;
  }
}

/* Dashboard process polish: keep the first-run workflow compact, legible, and stateful. */
.audit-console .audit-priorities {
  display: none;
}

.audit-console .first-run-loop {
  margin-top: 1.15rem;
  padding: 1.35rem;
  border-color: rgba(34, 34, 38, 0.1);
  background: rgba(255, 255, 255, 0.82);
}

.audit-console .first-run-head {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(18rem, 0.38fr);
  gap: 1.25rem;
  align-items: end;
  margin-bottom: 1rem;
}

.audit-console .first-run-head .audit-status-pill {
  margin-bottom: 0.6rem;
}

.audit-console .first-run-head h2 {
  margin: 0;
  max-width: 42rem;
  color: #202124;
  font-size: 1.72rem;
  line-height: 1.12;
  text-wrap: balance;
}

.audit-console .first-run-head p {
  margin: 0;
  color: #65666a;
  font-size: 0.94rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.audit-console .first-run-steps {
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(34, 34, 38, 0.1);
  border-radius: 8px;
  background: #fbfbfa;
}

.audit-console .first-run-steps li {
  position: relative;
  min-height: 10.5rem;
  padding: 1rem 1rem 2.65rem;
  border-right: 1px solid rgba(34, 34, 38, 0.08);
  background: #fafaf8;
}

.audit-console .first-run-steps li:last-child {
  border-right: 0;
}

.audit-console .first-run-steps li::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 3.08rem;
  height: 1px;
  background: rgba(34, 34, 38, 0.12);
}

.audit-console .first-run-steps li > span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.15rem;
  height: 2.15rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(34, 34, 38, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: #2e3031;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 700;
}

.audit-console .first-run-steps strong {
  display: block;
  margin: 0;
  color: #2a2b2d;
  font-size: 0.98rem;
  line-height: 1.22;
}

.audit-console .first-run-steps p {
  margin: 0.42rem 0 0;
  color: #6b6c70;
  font-size: 0.84rem;
  line-height: 1.45;
  text-wrap: pretty;
}

.audit-console .first-run-steps em {
  position: absolute;
  right: 0.86rem;
  bottom: 0.78rem;
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  padding: 0 0.48rem;
  border: 1px solid rgba(34, 34, 38, 0.08);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  color: #7a7b80;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 760;
  letter-spacing: 0.01em;
}

.audit-console .first-run-steps li.is-current {
  background:
    linear-gradient(180deg, rgba(0, 113, 227, 0.08), rgba(255, 255, 255, 0)),
    #ffffff;
}

.audit-console .first-run-steps li.is-current > span {
  border-color: rgba(0, 113, 227, 0.32);
  background: #0071e3;
  color: #ffffff;
}

.audit-console .first-run-steps li.is-current em {
  border-color: rgba(0, 113, 227, 0.16);
  background: rgba(0, 113, 227, 0.08);
  color: #0057b8;
}

.audit-console .first-run-steps li.is-done > span {
  border-color: rgba(24, 128, 82, 0.2);
  background: rgba(24, 128, 82, 0.1);
  color: #167246;
}

.audit-console .first-run-steps li.is-done em {
  border-color: rgba(24, 128, 82, 0.16);
  background: rgba(24, 128, 82, 0.08);
  color: #167246;
}

.audit-console .first-run-steps li.is-waiting {
  background: #fafaf8;
}

.audit-console .first-run-steps li.is-locked {
  opacity: 0.56;
}

.audit-console .product-slice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.34fr);
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.25rem;
  border-color: rgba(0, 113, 227, 0.1);
  background:
    linear-gradient(135deg, rgba(0, 113, 227, 0.06), rgba(255, 255, 255, 0) 42%),
    rgba(255, 255, 255, 0.9);
}

.audit-console .product-slice-main {
  display: grid;
  gap: 0.95rem;
}

.audit-console .product-slice h2 {
  margin: 0;
  max-width: 48rem;
  color: #1d1d1f;
  font-size: 1.58rem;
  line-height: 1.13;
  text-wrap: balance;
}

.audit-console .product-slice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
}

.audit-console .product-slice-grid article,
.audit-console .product-access-card > div {
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.audit-console .product-slice-grid article {
  min-height: 9.3rem;
  padding: 0.92rem;
}

.audit-console .product-slice-grid span,
.audit-console .product-access-card span {
  display: inline-flex;
  margin-bottom: 0.58rem;
  color: #0071e3;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 760;
}

.audit-console .product-slice-grid strong,
.audit-console .product-access-card strong {
  display: block;
  color: #26272a;
  font-size: 0.94rem;
  line-height: 1.22;
}

.audit-console .product-slice-grid p,
.audit-console .product-access-card p {
  margin: 0.42rem 0 0;
  color: #66676c;
  font-size: 0.83rem;
  line-height: 1.45;
  text-wrap: pretty;
}

.audit-console .product-slice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.audit-console .product-slice-actions button {
  min-height: 2.24rem;
  padding: 0 0.78rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 720;
}

.audit-console .product-slice-actions button:first-child,
.audit-console .product-slice-actions button[data-product-action="pages"] {
  border-color: rgba(0, 113, 227, 0.2);
  background: rgba(0, 113, 227, 0.08);
  color: #0057b8;
}

.audit-console .product-access-card {
  display: grid;
  gap: 0.7rem;
}

.audit-console .product-access-card > div {
  padding: 0.9rem;
}

.audit-console .product-access-card > div:last-child {
  border-color: rgba(0, 113, 227, 0.12);
  background: rgba(240, 247, 255, 0.82);
}

.audit-console .agency-loop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.28fr);
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.15rem;
  border-color: rgba(0, 113, 227, 0.12);
  background:
    linear-gradient(135deg, rgba(0, 113, 227, 0.07), rgba(255, 255, 255, 0) 42%),
    rgba(255, 255, 255, 0.9);
}

.audit-console .agency-loop-main {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.audit-console .agency-loop-head {
  margin-bottom: 0;
}

.audit-console .agency-loop-current {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(0, 113, 227, 0.13);
  border-radius: 10px;
  background: rgba(247, 251, 255, 0.78);
}

.audit-console .agency-loop-current span,
.audit-console .agency-loop-plan span {
  color: #0071e3;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 760;
  text-transform: uppercase;
}

.audit-console .agency-loop-current strong {
  color: #1d1d1f;
  font-size: 1.18rem;
  line-height: 1.2;
}

.audit-console .agency-loop-current p {
  margin: 0;
  color: #5f6368;
  font-size: 0.92rem;
  line-height: 1.45;
}

.audit-console .agency-loop-actions {
  margin-top: 0;
}

.audit-console .agency-loop-plan {
  align-content: start;
}

@media (max-width: 980px) {
  .audit-console .agency-loop {
    grid-template-columns: 1fr;
  }

  .audit-console .product-slice {
    grid-template-columns: 1fr;
  }

  .audit-console .product-slice-grid {
    grid-template-columns: 1fr;
  }

  .audit-console .product-slice-grid article {
    min-height: auto;
  }

  .audit-console .product-access-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .audit-console .product-slice {
    padding: 1rem;
  }

  .audit-console .product-access-card {
    grid-template-columns: 1fr;
  }

  .audit-console .product-slice-actions button {
    flex: 1 1 100%;
  }
}

.audit-console .audit-dashboard-grid {
  margin-top: 1.45rem;
}

.audit-console .audit-panel-head {
  gap: 1rem;
}

.audit-console .dash-panel h2,
.audit-console .dash-panel h3 {
  text-wrap: balance;
}

.audit-console .dash-panel .msg {
  text-wrap: pretty;
}

.audit-console .skill-modal-panel {
  box-shadow: 0 24px 80px rgba(18, 18, 20, 0.22);
}

@media (max-width: 1180px) {
  .audit-console .first-run-head {
    grid-template-columns: 1fr;
  }

  .audit-console .first-run-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .audit-console .first-run-steps li:nth-child(3n) {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  .audit-console .first-run-head h2 {
    font-size: 1.42rem;
  }

  .audit-console .first-run-loop {
    padding: 1rem;
  }

  .audit-console .first-run-steps {
    grid-template-columns: 1fr;
  }

  .audit-console .first-run-steps li {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(34, 34, 38, 0.08);
  }

  .audit-console .first-run-steps li:last-child {
    border-bottom: 0;
  }

  .audit-console .first-run-steps li::after {
    display: none;
  }
}

/* Dashboard chrome pass: denser header, readable locked cards, clearer repeated-work UI. */
.audit-console .audit-topbar {
  min-height: 3.7rem;
  grid-template-columns: minmax(13rem, auto) minmax(0, 1fr) auto;
  gap: 0.7rem;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.audit-console .audit-search-brand {
  max-width: 20rem;
  gap: 0.58rem;
  color: #68696d;
}

.audit-console .audit-search-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: #f4f4f2;
  color: #8f9094;
}

.audit-console .audit-search-icon svg {
  width: 1rem;
  height: 1rem;
}

.audit-console .audit-search-brand strong {
  max-width: 12rem;
  color: #6f7074;
  font-size: 0.98rem;
}

.audit-console .audit-search-brand em {
  min-height: 2rem;
  padding: 0 0.58rem;
  border-color: rgba(34, 34, 38, 0.1);
  border-radius: 999px;
  color: #8d8e92;
  font-size: 0.86rem;
}

.audit-console .audit-tabs {
  gap: 0.16rem;
  justify-content: flex-start;
}

.audit-console .audit-tabs a {
  min-height: 2.3rem;
  padding: 0 0.72rem;
  border-radius: 8px;
  color: #8c8d91;
  font-size: 0.88rem;
}

.audit-console .audit-tabs a:hover,
.audit-console .audit-tabs a.active {
  color: #4d4e52;
  background: rgba(34, 34, 38, 0.045);
}

.audit-console .audit-actions {
  gap: 0.42rem;
}

.audit-console .audit-action {
  min-height: 2.35rem;
  padding: 0 0.78rem;
  border-radius: 8px;
  color: #77787c;
  font-size: 0.88rem;
}

.audit-console .audit-action-primary {
  background: #1f2023;
  border-color: #1f2023;
  color: #fff;
}

.audit-console .audit-action-primary:hover {
  color: #fff;
}

.audit-console .audit-action.muted {
  color: #85868a;
}

.audit-console .dash-panel.is-locked,
.audit-console .audit-score-strip.is-locked,
.audit-console .audit-priority-grid article.is-locked {
  opacity: 1;
  filter: none;
  pointer-events: none;
}

.audit-console .dash-panel.is-locked {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(34, 34, 38, 0.08);
}

.audit-console .dash-panel.is-locked h2,
.audit-console .dash-panel.is-locked h3 {
  color: #8b8c90;
}

.audit-console .dash-panel.is-locked .msg,
.audit-console .dash-panel.is-locked li,
.audit-console .dash-panel.is-locked p {
  color: #a7a8ac;
}

.audit-console .dash-panel.is-locked input,
.audit-console .dash-panel.is-locked textarea,
.audit-console .dash-panel.is-locked pre,
.audit-console .dash-panel.is-locked .visibility-metric,
.audit-console .dash-panel.is-locked .index-action-plan {
  background: rgba(250, 250, 248, 0.66);
  border-color: rgba(34, 34, 38, 0.07);
  color: #9b9ca0;
}

.audit-console .dash-panel.is-locked input::placeholder,
.audit-console .dash-panel.is-locked textarea::placeholder {
  color: #b5b6ba;
  opacity: 1;
}

.audit-console .dash-panel.is-locked button {
  background: #fafaf8;
  border-color: rgba(34, 34, 38, 0.09);
  color: #a0a1a5;
}

.audit-console .audit-score-strip.is-locked {
  background: rgba(255, 255, 255, 0.72);
}

.audit-console .audit-score-strip.is-locked strong,
.audit-console .audit-score-strip.is-locked span {
  color: #98999d;
}

.audit-console .audit-dashboard-grid {
  align-items: start;
}

.audit-console .dash-panel.is-locked.audit-panel-large {
  min-height: 13rem;
}

@media (max-width: 1220px) {
  .audit-console .audit-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .audit-console .audit-tabs {
    grid-column: 1 / -1;
    order: 3;
  }
}

@media (max-width: 760px) {
  .audit-console .audit-topbar {
    gap: 0.55rem;
    padding: 0.55rem 0.75rem;
  }

  .audit-console .audit-search-brand {
    max-width: 100%;
  }

  .audit-console .audit-search-brand strong {
    max-width: 11rem;
  }

  .audit-console .audit-actions {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.05rem;
  }

  .audit-console .audit-tabs a,
  .audit-console .audit-action {
    font-size: 0.82rem;
  }
}

/* Locked dashboard: short onboarding first, results after verification. */
.audit-console .locked-results-preview[hidden] {
  display: none;
}

body.workspace-locked .audit-console .audit-main {
  padding-top: 1.6rem;
}

body.workspace-locked .audit-console .audit-hero {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  padding: 2rem 2.2rem;
}

body.workspace-locked .audit-console .audit-score-ring,
body.workspace-locked .audit-console .audit-score-strip,
body.workspace-locked .audit-console .first-run-loop,
body.workspace-locked .audit-console .audit-dashboard-grid > [data-requires-verify] {
  display: none;
}

body.workspace-locked .audit-console .audit-dashboard-grid {
  grid-template-columns: minmax(0, 56rem);
  justify-content: center;
  max-width: 56rem;
  margin: 1rem auto 0;
}

body.workspace-locked .audit-console #verify {
  min-height: 0;
}

body.workspace-locked .audit-console #verify,
body.workspace-locked .audit-console .verify-banner,
body.workspace-locked .audit-console .locked-results-preview {
  width: min(56rem, 100%);
  margin-right: auto;
  margin-left: auto;
}

.audit-console .verify-banner.audit-lock-card {
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(0, 0.48fr);
  gap: 0.9rem 1.4rem;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 1.05rem 1.15rem;
  border: 1px solid rgba(34, 34, 38, 0.1);
  border-radius: 8px;
  background: #ffffff;
  color: #242529;
  box-shadow: none;
}

.audit-console .verify-banner.audit-lock-card small {
  grid-column: 1 / -1;
  margin: 0;
  color: #66686d;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.audit-console .verify-banner.audit-lock-card strong {
  max-width: none;
  margin: 0;
  color: #1f2023;
  font-family: var(--font);
  font-size: 1.08rem;
  font-weight: 760;
  line-height: 1.25;
}

.audit-console .verify-banner.audit-lock-card span {
  max-width: none;
  margin: 0;
  color: #696b70;
  font-family: var(--font);
  font-size: 0.9rem;
  line-height: 1.48;
  text-transform: none;
  text-wrap: pretty;
}

.audit-console .locked-results-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.audit-console .locked-results-preview article {
  min-height: 7.25rem;
  padding: 0.95rem;
  border: 1px solid rgba(34, 34, 38, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.audit-console .locked-results-preview span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.65rem;
  height: 1.65rem;
  margin-bottom: 0.65rem;
  border: 1px solid rgba(34, 34, 38, 0.1);
  border-radius: 999px;
  background: #f8f8f6;
  color: #66686d;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 700;
}

.audit-console .locked-results-preview strong {
  display: block;
  color: #303236;
  font-size: 0.92rem;
  line-height: 1.2;
}

.audit-console .locked-results-preview p {
  margin: 0.4rem 0 0;
  color: #76787d;
  font-size: 0.82rem;
  line-height: 1.45;
  text-wrap: pretty;
}

.audit-console .audit-action,
.audit-console .dash-panel button,
.audit-console .verify-actions .verify-btn {
  min-height: 2.2rem;
  border-radius: 7px;
  font-size: 0.84rem;
}

.audit-console .audit-action-primary {
  padding-right: 0.95rem;
  padding-left: 0.95rem;
  background: #202124;
  border-color: #202124;
  color: #fff;
}

.audit-console .dash-panel button:not(:disabled),
.audit-console .verify-actions .verify-btn:not(:disabled) {
  color: #3f4146;
  background: #ffffff;
  border-color: rgba(34, 34, 38, 0.14);
}

.audit-console .dash-panel button:not(:disabled):hover,
.audit-console .verify-actions .verify-btn:not(:disabled):hover {
  color: #202124;
  border-color: rgba(34, 34, 38, 0.24);
}

.audit-console .dash-panel button:disabled {
  cursor: not-allowed;
}

@media (max-width: 760px) {
  body.workspace-locked .audit-console .audit-hero {
    padding: 1.35rem;
  }

  .audit-console .verify-banner.audit-lock-card,
  .audit-console .locked-results-preview {
    grid-template-columns: 1fr;
  }
}

/* Final dashboard gate pass: compact app chrome and make verification sit over locked metrics. */
.audit-console .audit-topbar {
  min-height: 54px !important;
  grid-template-columns: minmax(13rem, auto) minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 0.7rem !important;
  padding: 0.45rem 0.9rem !important;
  border-bottom: 1px solid rgba(28, 29, 32, 0.08) !important;
  background: #fffffd !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.audit-console .audit-search-brand {
  max-width: 19rem !important;
  gap: 0.52rem !important;
  min-width: 0 !important;
  color: #5d5f64 !important;
}

.audit-console .audit-search-icon {
  width: 2rem !important;
  height: 2rem !important;
  border-radius: 8px !important;
  background: #f5f5f2 !important;
  color: #8b8d92 !important;
}

.audit-console .audit-search-icon svg {
  width: 0.92rem !important;
  height: 0.92rem !important;
}

.audit-console .audit-search-brand strong {
  max-width: 12.5rem !important;
  overflow: hidden !important;
  color: #5c5e63 !important;
  font-size: 0.92rem !important;
  font-weight: 680 !important;
  line-height: 1.15 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.audit-console .audit-search-brand em {
  min-height: 1.85rem !important;
  padding: 0 0.5rem !important;
  border-radius: 999px !important;
  border-color: rgba(34, 34, 38, 0.1) !important;
  color: #8c8e93 !important;
  font-size: 0.78rem !important;
  font-style: normal !important;
  font-weight: 680 !important;
}

.audit-console .audit-tabs {
  justify-content: flex-start !important;
  gap: 0.1rem !important;
  min-width: 0 !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
}

.audit-console .audit-tabs::-webkit-scrollbar {
  display: none !important;
}

.audit-console .audit-tabs a {
  min-height: 2rem !important;
  padding: 0 0.58rem !important;
  border-radius: 7px !important;
  color: #86888d !important;
  font-size: 0.82rem !important;
  font-weight: 680 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.audit-console .audit-tabs a.active,
.audit-console .audit-tabs a:hover {
  background: rgba(30, 31, 34, 0.055) !important;
  color: #2f3034 !important;
}

.audit-console .audit-actions {
  align-items: center !important;
  gap: 0.35rem !important;
}

.audit-console .audit-action,
.audit-console .dash-panel button,
.audit-console .verify-actions .verify-btn {
  min-height: 2rem !important;
  padding: 0 0.66rem !important;
  border-radius: 7px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.audit-console .audit-action-primary {
  background: #202124 !important;
  border-color: #202124 !important;
  color: #fff !important;
}

.audit-console .audit-action.muted {
  border-color: transparent !important;
  background: transparent !important;
  color: #74767b !important;
}

.audit-console .audit-results-gate {
  position: relative;
  margin: 1rem 0;
}

.audit-console .verify-banner[hidden],
.audit-console .locked-results-preview[hidden] {
  display: none !important;
}

.audit-console .locked-results-preview {
  display: none !important;
}

.audit-console .verify-banner.audit-lock-card {
  border: 1px solid rgba(28, 29, 32, 0.11) !important;
  border-radius: 10px !important;
  background: #fffffd !important;
  color: #242529 !important;
  box-shadow: 0 18px 54px rgba(22, 23, 26, 0.12) !important;
}

.audit-console .verify-banner.audit-lock-card small {
  color: #6f7176 !important;
  font-family: "JetBrains Mono", ui-monospace, monospace !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

.audit-console .verify-banner.audit-lock-card strong {
  color: #202124 !important;
  font-size: 1.05rem !important;
  font-weight: 760 !important;
  line-height: 1.22 !important;
  text-wrap: balance !important;
}

.audit-console .verify-banner.audit-lock-card span {
  color: #64666b !important;
  font-size: 0.88rem !important;
  line-height: 1.48 !important;
  text-wrap: pretty !important;
}

body.workspace-locked .audit-console .audit-main {
  padding-top: 1rem !important;
}

body.workspace-locked .audit-console .audit-canvas {
  gap: 0.85rem !important;
}

body.workspace-locked .audit-console .audit-hero {
  grid-template-columns: minmax(0, 1fr) !important;
  min-height: 0 !important;
  padding: 1.55rem 1.7rem !important;
}

body.workspace-locked .audit-console .audit-score-ring,
body.workspace-locked .audit-console .first-run-loop,
body.workspace-locked .audit-console .audit-dashboard-grid > [data-requires-verify] {
  display: none !important;
}

body.workspace-locked .audit-console .audit-results-gate {
  min-height: 9.8rem !important;
  margin: 0.85rem 0 0.7rem !important;
}

body.workspace-locked .audit-console .audit-score-strip {
  display: grid !important;
  min-height: 9.8rem !important;
  margin: 0 !important;
  opacity: 0.42 !important;
  pointer-events: none !important;
  user-select: none !important;
}

body.workspace-locked .audit-console .audit-score-strip .audit-score-tile {
  background: #f9f9f6 !important;
  border-color: rgba(34, 34, 38, 0.07) !important;
}

body.workspace-locked .audit-console .audit-score-strip strong,
body.workspace-locked .audit-console .audit-score-strip span {
  color: #8f9196 !important;
}

body.workspace-locked .audit-console .verify-banner.audit-lock-card {
  position: absolute !important;
  z-index: 8 !important;
  top: 50% !important;
  left: 50% !important;
  display: grid !important;
  width: min(39rem, calc(100% - 1.4rem)) !important;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr) !important;
  gap: 0.62rem 1rem !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0.95rem 1.05rem !important;
  transform: translate(-50%, -50%) !important;
}

body.workspace-locked .audit-console .verify-banner.audit-lock-card small {
  grid-column: 1 / -1 !important;
}

body.workspace-locked .audit-console .verify-banner.audit-lock-card strong,
body.workspace-locked .audit-console .verify-banner.audit-lock-card span {
  margin: 0 !important;
}

body.workspace-locked .audit-console .audit-dashboard-grid {
  grid-template-columns: minmax(0, 46rem) !important;
  justify-content: center !important;
  max-width: 46rem !important;
  margin: 0.85rem auto 0 !important;
}

body.workspace-locked .audit-console #verify {
  min-height: 0 !important;
  padding: 1.1rem !important;
  border-color: rgba(34, 34, 38, 0.1) !important;
  background: #fffffd !important;
}

body.workspace-locked .audit-console #verify .audit-panel-head {
  margin-bottom: 0.8rem !important;
}

body.workspace-locked .audit-console #verify h2 {
  font-size: 1.1rem !important;
}

body.workspace-locked .audit-console #verify .msg,
body.workspace-locked .audit-console #domain-status-note {
  font-size: 0.88rem !important;
}

body.workspace-locked .audit-console .domain-add-details {
  margin-top: 0.75rem !important;
}

body.workspace-locked .audit-console .domain-status-note {
  padding: 0.9rem !important;
}

body.workspace-locked .audit-console .audit-actions a.audit-action,
body.workspace-locked .audit-console #new-audit {
  display: none !important;
}

@media (max-width: 1180px) {
  .audit-console .audit-topbar {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  .audit-console .audit-tabs {
    grid-column: 1 / -1 !important;
    order: 3 !important;
  }
}

@media (max-width: 760px) {
  .audit-console .audit-topbar {
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: stretch !important;
  }

  .audit-console .audit-search-brand,
  .audit-console .audit-actions {
    width: 100% !important;
  }

  .audit-console .audit-actions {
    justify-content: flex-start !important;
    overflow-x: auto !important;
  }

  body.workspace-locked .audit-console .audit-hero {
    padding: 1.15rem !important;
  }

  body.workspace-locked .audit-console .audit-results-gate,
  body.workspace-locked .audit-console .audit-score-strip {
    min-height: 13.4rem !important;
  }

  body.workspace-locked .audit-console .verify-banner.audit-lock-card {
    width: calc(100% - 1rem) !important;
    grid-template-columns: 1fr !important;
    padding: 0.9rem !important;
  }
}

/* Dashboard control alignment: keep tab and button labels optically centered. */
.audit-console .audit-tabs {
  align-items: center !important;
  min-height: 2.5rem !important;
  padding: 0.16rem !important;
}

.audit-console .audit-tabs a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 2.15rem !important;
  min-height: 2.15rem !important;
  padding: 0.08rem 0.7rem 0 !important;
  border-radius: 8px !important;
  line-height: 1 !important;
  text-align: center !important;
  vertical-align: middle !important;
}

.audit-console .audit-actions {
  align-items: center !important;
}

.audit-console .audit-action,
.audit-console .dash-panel button,
.audit-console .verify-actions .verify-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 2rem !important;
  min-height: 2rem !important;
  padding-top: 0.08rem !important;
  line-height: 1 !important;
  text-align: center !important;
  vertical-align: middle !important;
}

/* Apple-style locked onboarding: crisp type, blue focus, calmer cards. */
.audit-console {
  --audit-blue: #0071e3;
  --audit-blue-ink: #0057b8;
  --audit-blue-soft: #f0f7ff;
  --audit-apple-ink: #1d1d1f;
  --audit-apple-secondary: #6e6e73;
  --audit-apple-tertiary: #a1a1a6;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "SF Pro Text", system-ui, sans-serif !important;
}

body.workspace-locked .audit-console .audit-canvas {
  width: min(100%, 96rem) !important;
}

body.workspace-locked .audit-console .audit-hero {
  overflow: hidden !important;
  padding: 2rem 2.15rem 1.85rem !important;
  border: 1px solid rgba(0, 113, 227, 0.12) !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 22px 70px rgba(29, 29, 31, 0.055) !important;
}

body.workspace-locked .audit-console .auth-step {
  margin-bottom: 0.68rem !important;
  color: var(--audit-blue) !important;
  font-family: "JetBrains Mono", ui-monospace, monospace !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

body.workspace-locked .audit-console .audit-page-copy h1 {
  max-width: 58rem !important;
  margin: 0 !important;
  color: var(--audit-apple-ink) !important;
  font-size: clamp(2.3rem, 4.2vw, 4.25rem) !important;
  font-weight: 720 !important;
  letter-spacing: 0 !important;
  line-height: 1.04 !important;
}

body.workspace-locked .audit-console .audit-url {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin: 0.72rem 0 1.65rem !important;
  color: var(--audit-apple-secondary) !important;
  font-size: 1.05rem !important;
  font-weight: 650 !important;
}

body.workspace-locked .audit-console .audit-url span {
  display: inline-grid !important;
  place-items: center !important;
  width: 1.05rem !important;
  height: 1.05rem !important;
  border: 1px solid rgba(0, 113, 227, 0.28) !important;
  border-radius: 50% !important;
  color: var(--audit-blue) !important;
  font-size: 0 !important;
}

body.workspace-locked .audit-console .audit-url span::before {
  content: "" !important;
  width: 0.42rem !important;
  height: 0.42rem !important;
  border-radius: 50% !important;
  background: var(--audit-blue) !important;
}

body.workspace-locked .audit-console .audit-chip-row {
  gap: 0.55rem !important;
}

body.workspace-locked .audit-console .audit-chip-row span {
  min-height: 2.08rem !important;
  padding: 0.08rem 0.88rem 0 !important;
  border: 1px solid rgba(29, 29, 31, 0.065) !important;
  border-radius: 999px !important;
  background: rgba(245, 245, 247, 0.92) !important;
  color: #737378 !important;
  font-size: 0.86rem !important;
  font-weight: 650 !important;
}

body.workspace-locked .audit-console .audit-chip-row .complete {
  background: rgba(0, 113, 227, 0.08) !important;
  border-color: rgba(0, 113, 227, 0.12) !important;
  color: var(--audit-blue-ink) !important;
}

body.workspace-locked .audit-console .audit-chip-row .current {
  background: #ffffff !important;
  border-color: rgba(0, 113, 227, 0.36) !important;
  color: var(--audit-blue) !important;
  box-shadow: 0 8px 22px rgba(0, 113, 227, 0.12) !important;
}

body.workspace-locked .audit-console .audit-results-gate {
  min-height: 10.25rem !important;
}

body.workspace-locked .audit-console .audit-score-strip {
  opacity: 0.62 !important;
  border: 1px solid rgba(29, 29, 31, 0.06) !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 14px 44px rgba(29, 29, 31, 0.04) !important;
}

body.workspace-locked .audit-console .audit-score-strip .audit-score-tile {
  background: transparent !important;
}

body.workspace-locked .audit-console .audit-score-strip strong {
  color: #c6c6cc !important;
  font-weight: 720 !important;
}

body.workspace-locked .audit-console .audit-score-strip span {
  color: #a6a6ad !important;
  font-weight: 650 !important;
}

body.workspace-locked .audit-console .verify-banner.audit-lock-card {
  width: min(43rem, calc(100% - 1.6rem)) !important;
  grid-template-columns: minmax(0, 0.43fr) minmax(0, 0.57fr) !important;
  gap: 0.72rem 1.4rem !important;
  padding: 1.28rem 1.35rem !important;
  border: 1px solid rgba(0, 113, 227, 0.16) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 24px 70px rgba(29, 29, 31, 0.14) !important;
}

body.workspace-locked .audit-console .verify-banner.audit-lock-card small {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  min-height: 1.55rem !important;
  padding: 0.08rem 0.55rem 0 !important;
  border-radius: 999px !important;
  background: var(--audit-blue-soft) !important;
  color: var(--audit-blue) !important;
  font-size: 0.68rem !important;
  font-weight: 760 !important;
  letter-spacing: 0 !important;
}

body.workspace-locked .audit-console .verify-banner.audit-lock-card strong {
  color: var(--audit-apple-ink) !important;
  font-size: clamp(1.12rem, 1.5vw, 1.34rem) !important;
  font-weight: 760 !important;
  letter-spacing: 0 !important;
  line-height: 1.12 !important;
}

body.workspace-locked .audit-console .verify-banner.audit-lock-card span {
  color: var(--audit-apple-secondary) !important;
  font-size: 0.98rem !important;
  font-weight: 480 !important;
  line-height: 1.45 !important;
}

body.workspace-locked .audit-console #verify {
  max-width: 48rem !important;
  padding: 1.28rem !important;
  border: 1px solid rgba(29, 29, 31, 0.08) !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 16px 48px rgba(29, 29, 31, 0.06) !important;
}

body.workspace-locked .audit-console #verify h2 {
  color: var(--audit-apple-ink) !important;
  font-size: 1.22rem !important;
  font-weight: 720 !important;
  letter-spacing: 0 !important;
}

body.workspace-locked .audit-console #verify .msg {
  color: var(--audit-apple-secondary) !important;
  font-size: 0.94rem !important;
}

body.workspace-locked .audit-console #verify .audit-status-pill {
  border-color: rgba(0, 113, 227, 0.16) !important;
  background: var(--audit-blue-soft) !important;
  color: var(--audit-blue) !important;
}

body.workspace-locked .audit-console .domain-row {
  padding: 1rem !important;
  border: 1px solid rgba(29, 29, 31, 0.08) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
}

body.workspace-locked .audit-console .domain-row strong {
  color: var(--audit-apple-ink) !important;
  font-size: 0.98rem !important;
  font-weight: 720 !important;
}

body.workspace-locked .audit-console .domain-verify-inline {
  margin-top: 0.8rem !important;
  gap: 0.42rem !important;
}

body.workspace-locked .audit-console .domain-verify-inline > div:not(.verify-actions) {
  display: grid !important;
  grid-template-columns: 6rem minmax(0, 1fr) !important;
  gap: 0.45rem 0.8rem !important;
  align-items: center !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.workspace-locked .audit-console .domain-verify-inline span,
body.workspace-locked .audit-console .domain-verify-inline em {
  color: var(--audit-apple-secondary) !important;
  font-size: 0.9rem !important;
  font-style: normal !important;
  font-weight: 520 !important;
}

body.workspace-locked .audit-console .domain-verify-inline code {
  min-width: 0 !important;
  overflow: hidden !important;
  padding: 0.42rem 0.58rem !important;
  border: 1px solid rgba(29, 29, 31, 0.045) !important;
  border-radius: 8px !important;
  background: #f5f5f7 !important;
  color: #1d1d1f !important;
  font-size: 0.82rem !important;
  line-height: 1.2 !important;
  text-overflow: ellipsis !important;
}

body.workspace-locked .audit-console .verify-actions {
  gap: 0.5rem !important;
  margin-top: 0.82rem !important;
}

body.workspace-locked .audit-console .verify-actions .verify-btn {
  min-height: 2.25rem !important;
  height: 2.25rem !important;
  padding: 0.08rem 0.92rem 0 !important;
  border-color: rgba(0, 113, 227, 0.16) !important;
  border-radius: 999px !important;
  background: var(--audit-blue) !important;
  color: #ffffff !important;
  font-size: 0.84rem !important;
  font-weight: 720 !important;
  box-shadow: 0 8px 20px rgba(0, 113, 227, 0.18) !important;
}

body.workspace-locked .audit-console .verify-actions .verify-btn:hover {
  background: var(--audit-blue-ink) !important;
  border-color: var(--audit-blue-ink) !important;
  color: #ffffff !important;
}

body.workspace-locked .audit-console .domain-status-note {
  border: 1px solid rgba(0, 113, 227, 0.1) !important;
  border-radius: 14px !important;
  background: var(--audit-blue-soft) !important;
  color: var(--audit-apple-secondary) !important;
}

body.workspace-locked .audit-console .domain-status-note strong {
  color: var(--audit-blue-ink) !important;
}

@media (max-width: 760px) {
  body.workspace-locked .audit-console .audit-page-copy h1 {
    font-size: 2.45rem !important;
  }

  body.workspace-locked .audit-console .verify-banner.audit-lock-card {
    grid-template-columns: 1fr !important;
    border-radius: 16px !important;
  }

  body.workspace-locked .audit-console .domain-verify-inline > div:not(.verify-actions) {
    grid-template-columns: 1fr !important;
  }
}

/* Domain verification clarity: mirror DNS provider fields and use rectangular actions. */
.audit-console .domain-verify-inline {
  gap: 0.9rem !important;
}

.audit-console .verify-option {
  display: grid !important;
  gap: 0.62rem !important;
  padding: 0.95rem !important;
  border: 1px solid rgba(29, 29, 31, 0.08) !important;
  border-radius: 12px !important;
  background: #ffffff !important;
}

.audit-console .verify-option-title {
  color: #1d1d1f !important;
  font-size: 0.95rem !important;
  font-weight: 760 !important;
  line-height: 1.2 !important;
}

.audit-console .verify-option-copy {
  margin: 0 !important;
  color: #6e6e73 !important;
  font-size: 0.86rem !important;
  font-weight: 480 !important;
  line-height: 1.42 !important;
}

.audit-console .verify-field-grid {
  display: grid !important;
  gap: 0.42rem !important;
  margin: 0 !important;
}

.audit-console .verify-field-row {
  display: grid !important;
  grid-template-columns: minmax(7.5rem, 0.25fr) minmax(0, 1fr) !important;
  gap: 0.62rem !important;
  align-items: stretch !important;
  margin: 0 !important;
}

.audit-console .verify-field-row dt {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0.48rem 0.58rem !important;
  border-radius: 8px !important;
  background: #f5f5f7 !important;
  color: #6e6e73 !important;
  font-size: 0.78rem !important;
  font-weight: 720 !important;
  line-height: 1.2 !important;
}

.audit-console .verify-field-row dd {
  min-width: 0 !important;
  margin: 0 !important;
}

.audit-console .verify-field-row code {
  display: block !important;
  width: 100% !important;
  min-height: 2.28rem !important;
  padding: 0.52rem 0.62rem !important;
  border: 1px solid rgba(29, 29, 31, 0.08) !important;
  border-radius: 8px !important;
  background: #f5f5f7 !important;
  color: #1d1d1f !important;
  font-size: 0.86rem !important;
  line-height: 1.28 !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
}

.audit-console .verify-provider-note {
  margin: 0 !important;
  padding: 0.58rem 0.68rem !important;
  border: 1px solid rgba(0, 113, 227, 0.1) !important;
  border-radius: 8px !important;
  background: var(--audit-blue-soft, #f0f7ff) !important;
  color: #0057b8 !important;
  font-size: 0.82rem !important;
  font-weight: 560 !important;
  line-height: 1.4 !important;
}

.audit-console .verify-provider-note code {
  display: inline !important;
  width: auto !important;
  min-height: 0 !important;
  padding: 0.08rem 0.28rem !important;
  border: 1px solid rgba(0, 113, 227, 0.14) !important;
  border-radius: 5px !important;
  background: #ffffff !important;
  color: #0057b8 !important;
  font-size: 0.8rem !important;
  white-space: nowrap !important;
}

body.workspace-locked .audit-console .domain-verify-inline > .verify-option {
  padding: 0.95rem !important;
  border: 1px solid rgba(29, 29, 31, 0.08) !important;
  background: #ffffff !important;
}

body.workspace-locked .audit-console .domain-verify-inline > .verify-option:not(.verify-actions) {
  display: grid !important;
  grid-template-columns: 1fr !important;
}

body.workspace-locked .audit-console .verify-field-row {
  grid-template-columns: minmax(7.5rem, 0.25fr) minmax(0, 1fr) !important;
}

body.workspace-locked .audit-console .verify-actions .verify-btn,
.audit-console .verify-actions .verify-btn {
  min-height: 2.42rem !important;
  height: 2.42rem !important;
  padding: 0.08rem 1rem 0 !important;
  border-radius: 8px !important;
  font-size: 0.84rem !important;
  font-weight: 720 !important;
}

body.workspace-locked .audit-console .verify-actions .verify-btn {
  box-shadow: 0 6px 16px rgba(0, 113, 227, 0.14) !important;
}

@media (max-width: 760px) {
  .audit-console .verify-field-row,
  body.workspace-locked .audit-console .verify-field-row {
    grid-template-columns: 1fr !important;
  }
}

/* Lenis smooth scrolling compatibility. The initializer skips app/auth pages and reduced motion. */
html.lenis,
html.lenis body {
  height: auto;
}

html.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

html.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

html.lenis.lenis-stopped {
  overflow: hidden;
}

html.lenis.lenis-smooth iframe {
  pointer-events: none;
}

html.native-scroll {
  scroll-behavior: smooth;
}
