/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg: #08080a;
  --bg-elev: #0b0b0f;
  --input-bg: rgba(0, 0, 0, .35);
  --metric-bg: #0b0b0f;
  --card-top: rgba(255, 255, 255, .055);
  --card-bot: rgba(255, 255, 255, .018);
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .055);
  --surface-strong: rgba(255, 255, 255, .09);
  --border: rgba(255, 255, 255, .085);
  --border-strong: rgba(255, 255, 255, .17);
  --text: #f5f5f7;
  --text-2: #a1a1ad;
  --text-3: #6d6d7b;
  --accent: #7c7cff;
  --accent-dark: #5656d8;
  --accent-2: #a855f7;
  --accent-soft: rgba(124, 124, 255, .16);
  --accent-text: #a3a3ff;
  --green: #34d399;
  --red: #f87171;
  --glass: rgba(8, 8, 10, .72);
  --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 30px 70px -30px rgba(0, 0, 0, .9);
  --ring-grad: rgba(255, 255, 255, .18);
  --h1-from: #ffffff;
  --h1-to: rgba(255, 255, 255, .68);
}

[data-theme="light"] {
  --bg: #ffffff;
  --bg-elev: #ffffff;
  --input-bg: #ffffff;
  --metric-bg: #fafafa;
  --card-top: rgba(255, 255, 255, .92);
  --card-bot: rgba(255, 255, 255, .62);
  --surface: rgba(255, 255, 255, .72);
  --surface-2: rgba(0, 0, 0, .035);
  --surface-strong: rgba(0, 0, 0, .06);
  --border: rgba(0, 0, 0, .085);
  --border-strong: rgba(0, 0, 0, .16);
  --text: #0a0a0b;
  --text-2: #5b5b66;
  --text-3: #8b8b96;
  --accent: #5b5bd6;
  --accent-dark: #4646bd;
  --accent-2: #9333ea;
  --accent-soft: rgba(91, 91, 214, .12);
  --accent-text: #4b4bc4;
  --glass: rgba(255, 255, 255, .74);
  --shadow: 0 1px 2px rgba(16, 16, 30, .04), 0 30px 70px -34px rgba(16, 16, 40, .28);
  --ring-grad: rgba(0, 0, 0, .09);
  --h1-from: #0a0a0b;
  --h1-to: rgba(10, 10, 11, .66);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 50% -12%, var(--accent-soft), transparent 68%),
    radial-gradient(700px 420px at 88% 4%, rgba(168, 85, 247, .10), transparent 70%),
    radial-gradient(600px 400px at 6% 22%, rgba(34, 211, 238, .06), transparent 70%);
}

main, header, footer { position: relative; z-index: 1; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 680;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
svg { display: block; flex: none; }

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

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 62px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 15.5px;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: -0.04em;
  box-shadow: 0 4px 14px -4px var(--accent);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
}

.header-nav a {
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 520;
  color: var(--text-2);
  transition: color .16s, background .16s;
}
.header-nav a:hover { color: var(--text); background: var(--surface-2); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-2);
  cursor: pointer;
  transition: color .16s, background .16s, border-color .16s, transform .16s;
}
  /* --text-2 left the icon at 2.56:1 on the light surface. Mixing it toward
     --text clears 3:1 in both themes while staying quieter than the label. */
  .icon-btn { color: color-mix(in srgb, var(--text) 55%, var(--text-2)); }
  .icon-btn:hover { color: var(--text); border-color: var(--border-strong); }
.icon-btn:active { transform: scale(.94); }

[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }

/* ============================================================
   TOP LINE (breadcrumb + region)
   ============================================================ */
.topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0 0;
  flex-wrap: wrap;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-3);
}
.crumbs a { color: var(--text-2); transition: color .16s; }
.crumbs a:hover { color: var(--text); }
.crumbs .sep { opacity: .45; }
.crumbs .current { color: var(--text); font-weight: 560; }

.region {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 12px;
  font-weight: 540;
  color: var(--text-2);
  letter-spacing: -0.005em;
  white-space: nowrap;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 46px 0 40px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 12.5px;
  font-weight: 540;
  color: var(--text-2);
  letter-spacing: -0.005em;
}

.badge .stars { color: #fbbf24; letter-spacing: 1px; font-size: 11px; }

.badge .pill {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
}

h1 {
  margin-top: 22px;
  font-size: clamp(2.15rem, 5.4vw, 3.6rem);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

h1 .line1 {
  display: block;
  background: linear-gradient(180deg, var(--h1-from), var(--h1-to));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1 .h1-sub {
  display: block;
  margin-top: 16px;
  font-size: clamp(0.95rem, 1.9vw, 1.16rem);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.5;
  color: var(--text-2);
}

.lede {
  max-width: 660px;
  margin: 18px auto 0;
  font-size: clamp(0.94rem, 1.6vw, 1.02rem);
  color: var(--text-2);
  line-height: 1.65;
  text-wrap: pretty;
}

.lede strong { color: var(--text); font-weight: 600; }

.proof {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  font-size: 12.5px;
  color: var(--text-3);
}
.proof span { display: inline-flex; align-items: center; gap: 7px; }
.proof svg { width: 15px; height: 15px; color: var(--green); }

/* ============================================================
   TOOL CARD
   ============================================================ */
.tool-wrap { padding-bottom: 20px; }

.tool-card {
  position: relative;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--card-top), var(--card-bot));
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.tool-card::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--ring-grad), transparent 42%);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.tool-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px 14px;
  flex-wrap: wrap;
}

.tool-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 620;
  letter-spacing: -0.01em;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .55);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, .5); }
  70%  { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.ghost-btn {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 550;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: color .16s, border-color .16s, background .16s;
}
.ghost-btn:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface-2); }

#input {
  display: block;
  width: 100%;
  min-height: 208px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 14.5px;
  line-height: 1.7;
  resize: vertical;
  transition: border-color .16s, box-shadow .16s;
}
#input::placeholder { color: var(--text-3); }
#input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3.5px var(--accent-soft);
}

/* Metrics */
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 1px;
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--border);
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 9px 12px;
  background: var(--metric-bg);
}

.m-val {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.m-lbl {
  font-size: 10.5px;
  font-weight: 560;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* Case buttons */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.case-btn {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: background .15s, border-color .15s, transform .1s, box-shadow .15s;
}

.case-btn:hover { background: var(--surface-strong); border-color: var(--border-strong); }
.case-btn:active { transform: scale(.975); }

.case-btn .label {
  font-size: 13px;
  font-weight: 570;
  letter-spacing: -0.012em;
  line-height: 1.3;
}

.case-btn .sample {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10.5px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.case-btn.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.case-btn.is-active .label { color: var(--accent-text); }
.case-btn.is-active .sample { color: var(--accent-text); opacity: .8; }

/* Action row */
.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 570;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background .16s, border-color .16s, transform .1s, filter .16s;
}
.btn:hover { background: var(--surface-strong); border-color: var(--border-strong); }
.btn:active { transform: scale(.97); }
.btn svg { width: 15px; height: 15px; }

.btn-primary {
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  border-color: transparent;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 22px -10px var(--accent);
}
.btn-primary:hover { background: linear-gradient(180deg, var(--accent), var(--accent-dark)); filter: brightness(1.1); }

.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { color: var(--text); }
.btn-clear { margin-left: auto; }

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 74px 0; }

.sec-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }

.eyebrow {
  font-size: 11.5px;
  font-weight: 680;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  letter-spacing: -0.035em;
}

.sec-sub {
  margin-top: 13px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
  text-wrap: pretty;
}

/* Value props */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: 14px;
}

.card {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: border-color .2s, transform .2s, background .2s;
}
.card:hover { border-color: var(--border-strong); transform: translateY(-2px); }

.card-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-text);
  margin-bottom: 15px;
}
.card-icon svg { width: 19px; height: 19px; }

.card h3 {
  font-size: 15px;
  font-weight: 620;
  letter-spacing: -0.02em;
  margin-bottom: 7px;
}

.card p { font-size: 13.5px; color: var(--text-2); line-height: 1.6; text-wrap: pretty; }

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.step:hover { border-color: var(--border-strong); transform: translateY(-2px); }

.step-n {
  display: block;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--accent-text);
  margin-bottom: 12px;
  opacity: .9;
}

.step h3 { font-size: 15px; font-weight: 620; letter-spacing: -0.02em; margin-bottom: 7px; }
.step p { font-size: 13.5px; color: var(--text-2); line-height: 1.6; text-wrap: pretty; }

.step::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  pointer-events: none;
}

/* Comparison table */
.table-wrap {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow-x: auto;
}

table.cmp {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 560px;
}

table.cmp th, table.cmp td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

table.cmp thead th {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--text-3);
  background: var(--surface-2);
  white-space: nowrap;
}

table.cmp thead th.us {
  color: var(--accent-text);
  background: var(--accent-soft);
}

table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp tbody tr:hover td { background: var(--surface-2); }

table.cmp td:first-child { font-weight: 540; color: var(--text); }
table.cmp td.us { background: color-mix(in srgb, var(--accent-soft) 55%, transparent); font-weight: 560; }
table.cmp td.them { color: var(--text-2); }

.yes, .no {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 570;
}
.yes { color: var(--green); }
.no { color: var(--text-3); }

.yes svg, .no svg { width: 14px; height: 14px; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color .2s, background .2s;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item.open { border-color: var(--border-strong); background: var(--surface-2); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 17px 20px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 580;
  letter-spacing: -0.015em;
  text-align: left;
  cursor: pointer;
}

.faq-q .chev {
  width: 17px;
  height: 17px;
  color: var(--text-3);
  transition: transform .28s cubic-bezier(.4, 0, .2, 1), color .2s;
}
.faq-item.open .chev { transform: rotate(180deg); color: var(--accent-text); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s cubic-bezier(.4, 0, .2, 1);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }

.faq-a-inner { overflow: hidden; }
.faq-a-inner p {
  padding: 0 20px 18px;
  font-size: 13.8px;
  color: var(--text-2);
  line-height: 1.68;
  text-wrap: pretty;
}

/* CTA strip */
.cta {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 32px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background:
    radial-gradient(600px 200px at 50% 0%, var(--accent-soft), transparent 70%),
    var(--surface);
  text-align: center;
}
.cta h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); }
.cta p { margin-top: 12px; color: var(--text-2); font-size: 14.5px; }
.cta .btn { margin-top: 22px; height: 44px; padding: 0 22px; }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 34px 0 44px;
  margin-top: 20px;
}

.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-3);
}

.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { color: var(--text-3); transition: color .16s; }
.foot-links a:hover { color: var(--text); }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  z-index: 200;
  padding: 11px 18px;
  border-radius: 11px;
  border: 1px solid var(--border-strong);
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .55);
  font-size: 13px;
  font-weight: 550;
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s, transform .28s cubic-bezier(.4, 0, .2, 1);
  white-space: nowrap;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .header-nav { display: none; }
  section { padding: 58px 0; }
  .hero { padding: 34px 0 30px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .tool-card { padding: 14px; border-radius: 18px; }
  .case-grid { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 7px; }
  .case-btn { padding: 9px 10px; }
  .case-btn .label { font-size: 12.5px; }
  .tool-actions .btn { flex: 1 1 auto; }
  .btn-clear { margin-left: 0; }
  .topline { padding-top: 18px; }
  .metrics { grid-template-columns: repeat(3, 1fr); }
  .cta { padding: 32px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

  /* ---- ToolGuest SEO / AEO content system ---- */
  .tool-seo-content { max-width: 1120px; margin: 0 auto; padding: 0 20px 72px; }
  .tool-seo-content .seo-block { margin-top: 56px; }
  .tool-seo-content .seo-eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #6366f1; margin-bottom: .6rem; }
  html.dark .tool-seo-content .seo-eyebrow, html[data-theme="dark"] .tool-seo-content .seo-eyebrow, body.dark .tool-seo-content .seo-eyebrow { color: #818cf8; }
  .tool-seo-content h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); font-weight: 800; letter-spacing: -.028em; line-height: 1.16; }
  .tool-seo-content h3 { font-size: 1.02rem; font-weight: 700; letter-spacing: -.015em; }
  .tool-seo-content p { margin-top: .85rem; font-size: .975rem; line-height: 1.78; color: #52525b; }
  html.dark .tool-seo-content p, html[data-theme="dark"] .tool-seo-content p, body.dark .tool-seo-content p { color: #a1a1aa; }
  .tool-seo-content strong { color: #18181b; font-weight: 650; }
  html.dark .tool-seo-content strong, html[data-theme="dark"] .tool-seo-content strong, body.dark .tool-seo-content strong { color: #f4f4f5; }
  .tool-seo-content code { font-family: ui-monospace, 'JetBrains Mono', monospace; font-size: .85em; background: rgba(99,102,241,.10); color: #4f46e5; padding: .12em .42em; border-radius: .4em; border: 1px solid rgba(99,102,241,.18); word-break: break-word; }
  html.dark .tool-seo-content code, html[data-theme="dark"] .tool-seo-content code, body.dark .tool-seo-content code { background: rgba(129,140,248,.14); color: #c7d2fe; border-color: rgba(129,140,248,.24); }
  .tool-seo-content a { color: #4f46e5; text-decoration: none; border-bottom: 1px solid rgba(99,102,241,.35); }
  html.dark .tool-seo-content a, html[data-theme="dark"] .tool-seo-content a, body.dark .tool-seo-content a { color: #a5b4fc; }
  .seo-grid { display: grid; gap: 16px; margin-top: 22px; grid-template-columns: 1fr; }
  @media (min-width: 640px) { .seo-grid { grid-template-columns: 1fr 1fr; } }
  @media (min-width: 1024px) { .seo-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
  .seo-card { border: 1px solid rgba(24,24,27,.10); border-radius: 18px; padding: 20px; background: rgba(255,255,255,.65); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
  .seo-card:hover { transform: translateY(-3px); border-color: rgba(99,102,241,.4); box-shadow: 0 18px 40px -22px rgba(79,70,229,.5); }
  html.dark .seo-card, html[data-theme="dark"] .seo-card, body.dark .seo-card { border-color: rgba(255,255,255,.09); background: rgba(255,255,255,.03); }
  .seo-card .seo-city { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #0891b2; }
  html.dark .seo-card .seo-city, html[data-theme="dark"] .seo-card .seo-city, body.dark .seo-card .seo-city { color: #22d3ee; }
  .seo-card p { margin-top: .5rem; font-size: .9rem; }
  .seo-aeo { border: 1px solid rgba(99,102,241,.3); border-radius: 18px; padding: 22px 24px; background: linear-gradient(135deg, rgba(99,102,241,.10), rgba(34,211,238,.06)); }
  .seo-aeo-label { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #4f46e5; }
  html.dark .seo-aeo-label, html[data-theme="dark"] .seo-aeo-label, body.dark .seo-aeo-label { color: #a5b4fc; }
  .seo-aeo p { margin-top: .6rem; font-size: 1.02rem; color: #3f3f46; }
  html.dark .seo-aeo p, html[data-theme="dark"] .seo-aeo p, body.dark .seo-aeo p { color: #d4d4d8; }
  .seo-tablewrap { margin-top: 24px; overflow-x: auto; border: 1px solid rgba(24,24,27,.10); border-radius: 18px; background: rgba(255,255,255,.6); }
  html.dark .seo-tablewrap, html[data-theme="dark"] .seo-tablewrap, body.dark .seo-tablewrap { border-color: rgba(255,255,255,.09); background: rgba(255,255,255,.03); }
  .seo-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .9rem; text-align: left; }
  .seo-table th, .seo-table td { padding: 14px 18px; border-bottom: 1px solid rgba(24,24,27,.08); }
  html.dark .seo-table th, html.dark .seo-table td, html[data-theme="dark"] .seo-table th, html[data-theme="dark"] .seo-table td, body.dark .seo-table th, body.dark .seo-table td { border-bottom-color: rgba(255,255,255,.07); }
  .seo-table tbody tr:last-child th, .seo-table tbody tr:last-child td { border-bottom: 0; }
  .seo-table thead th { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #71717a; }
  .seo-table th[scope="row"] { font-weight: 600; color: #27272a; }
  html.dark .seo-table th[scope="row"], html[data-theme="dark"] .seo-table th[scope="row"], body.dark .seo-table th[scope="row"] { color: #e4e4e7; }
  .seo-table .yes { color: #059669; font-weight: 650; }
  html.dark .seo-table .yes, html[data-theme="dark"] .seo-table .yes, body.dark .seo-table .yes { color: #34d399; }
  .seo-table .no { color: #71717a; }
  .seo-faq { margin-top: 22px; display: grid; gap: 12px; }
  .seo-faq details { border: 1px solid rgba(24,24,27,.10); border-radius: 16px; padding: 0 20px; background: rgba(255,255,255,.6); }
  html.dark .seo-faq details, html[data-theme="dark"] .seo-faq details, body.dark .seo-faq details { border-color: rgba(255,255,255,.09); background: rgba(255,255,255,.03); }
  .seo-faq summary { cursor: pointer; padding: 16px 0; font-weight: 650; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
  .seo-faq summary::-webkit-details-marker { display: none; }
  .seo-faq summary::after { content: "+"; font-size: 1.25rem; font-weight: 400; color: #a1a1aa; }
  .seo-faq details[open] summary::after { content: "\2013"; }
  .seo-faq p { padding-bottom: 16px; margin-top: 0; }

/* ============================================================
   WORKFLOW BAR — "next step" links inside the output card
   ============================================================ */
.tg-wf {
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}
.tg-wf-label {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-3);
}
.tg-wf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}
.tg-wf-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface-2);
  text-decoration: none;
  color: var(--text);
  transition: border-color .16s, background .16s, transform .12s;
}
.tg-wf-item:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-1px);
}
.tg-wf-name { font-size: 13px; font-weight: 600; letter-spacing: -.012em; }
.tg-wf-item:hover .tg-wf-name { color: var(--accent-text); }
.tg-wf-note { font-size: 11.5px; color: var(--text-3); line-height: 1.4; }

/* ============================================================
   CLUSTER DIRECTORY — the case-converter internal link matrix
   ============================================================ */
.tg-cl-lead { margin-top: .85rem; }
.tg-cl-cols {
  display: grid;
  gap: 20px;
  margin-top: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .tg-cl-cols { grid-template-columns: repeat(3, 1fr); } }
.tg-cl-col h3 {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6366f1;
  margin-bottom: .7rem;
}
html.dark .tg-cl-col h3, html[data-theme="dark"] .tg-cl-col h3, body.dark .tg-cl-col h3 { color: #818cf8; }
.tg-cl-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.tg-cl-col a {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: background .15s, border-color .15s;
}
.tg-cl-col a:hover { background: rgba(99,102,241,.08); border-color: rgba(99,102,241,.28); }
.tg-cl-col a span { font-size: .78rem; color: #71717a; }
html.dark .tg-cl-col a span, html[data-theme="dark"] .tg-cl-col a span, body.dark .tg-cl-col a span { color: #a1a1aa; }
.tg-cl-col a[aria-current="page"] {
  background: rgba(99,102,241,.12);
  border-color: rgba(99,102,241,.4);
}

/* ============================================================
   FACT LIST — citable benchmark bullets
   ============================================================ */
.seo-facts {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
@media (min-width: 720px) { .seo-facts { grid-template-columns: 1fr 1fr; } }
.seo-facts li {
  padding: 12px 16px;
  border: 1px solid rgba(24,24,27,.10);
  border-radius: 12px;
  font-size: .9rem;
  line-height: 1.6;
  color: #52525b;
}
html.dark .seo-facts li, html[data-theme="dark"] .seo-facts li, body.dark .seo-facts li {
  border-color: rgba(255,255,255,.09);
  color: #a1a1aa;
}
.seo-facts strong { color: #18181b; font-weight: 650; }
html.dark .seo-facts strong, html[data-theme="dark"] .seo-facts strong, body.dark .seo-facts strong { color: #f4f4f5; }
