/* DilDigital - branded tools workbench */
:root {
  --ink: #071A12;
  --ink-deep: #06140D;
  --green: #21C45D;
  --green-deep: #15803D;
  --green-dark: #0B2317;
  --lime: #B7F34A;
  --mint: #E7FFE9;
  --pale: #E9FFF0;
  --bg: #F4FFF7;
  --surface: #EFFFF3;
  --border: #BCECC9;
  --muted: #607268;
  --white: #FFFFFF;
  --max: 1180px;
  --nav-h: 76px;
  --header-offset: 104px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.section { padding: clamp(64px, 10vw, 104px) 0; position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.45;
  color: var(--green-deep);
  margin-bottom: 22px;
  max-width: 100%;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(183, 243, 74, 0.35);
  flex-shrink: 0;
}
.eyebrow-text {
  flex: 1;
  min-width: 0;
  text-wrap: balance;
}
.hero-copy .eyebrow {
  max-width: 34rem;
}
@media (max-width: 520px) {
  .eyebrow {
    font-size: 12px;
    padding: 9px 14px;
    align-items: flex-start;
  }
  .eyebrow-dot { margin-top: 0.42em; }
}

h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.12; color: var(--ink); }
.section-title {
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 700;
  max-width: 18ch;
  margin-bottom: 16px;
}
.section-title--wide { max-width: 22ch; }
.section-lede {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.btn--primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(33, 196, 93, 0.28);
}
.btn--primary:hover { background: var(--green-deep); transform: translateY(-2px); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.6);
  border: 1.5px solid var(--border);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--surface); border-color: var(--green); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
  box-shadow: none;
}
.btn--secondary:hover {
  border-color: var(--green);
  color: var(--green-deep);
  transform: translateY(-1px);
}
.btn--link {
  padding: 0;
  border-radius: 0;
  color: var(--green-deep);
  font-weight: 600;
  border-bottom: 1px solid transparent;
}
.btn--link:hover { border-bottom-color: var(--green); }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 14px 0;
  animation: header-in 0.8s var(--ease) both;
}
@keyframes header-in {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px 10px 20px;
  border-radius: 999px;
  background: rgba(244, 255, 247, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 12px 40px rgba(7, 26, 18, 0.04);
}
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  display: block;
  height: 32px;
  width: auto;
  max-width: min(160px, 42vw);
}
.logo-mark {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--lime), var(--green));
  box-shadow: 0 0 0 4px rgba(183, 243, 74, 0.25);
  flex-shrink: 0;
}
.logo-dil { color: var(--ink); }
.logo-digital { color: var(--green); }
.nav-center {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(188, 236, 201, 0.6);
}
.nav-center a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nav-center a:hover, .nav-center a:focus-visible {
  color: var(--ink);
  background: var(--surface);
}
.header-cta { flex-shrink: 0; }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.nav-mobile {
  display: none;
  position: fixed;
  inset: calc(var(--nav-h) + 8px) 16px auto 16px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(7, 26, 18, 0.12);
  flex-direction: column;
  gap: 4px;
  z-index: 190;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--ink);
}
.nav-mobile a:hover { background: var(--surface); }

@media (max-width: 900px) {
  .nav-center, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .header-shell { border-radius: 20px; }
}

/* ── Hero / Tool Finder ── */
.hero {
  padding: 32px 0 72px;
  position: relative;
}
.hero-glow {
  position: absolute;
  width: min(560px, 90vw);
  height: min(560px, 90vw);
  right: -8%;
  top: 10%;
  background: radial-gradient(circle, rgba(183, 243, 74, 0.22) 0%, rgba(33, 196, 93, 0.08) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-copy { animation: fade-up 0.9s var(--ease) 0.1s both; }
.hero-title {
  font-size: clamp(2.35rem, 5.5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 18px;
  max-width: 14ch;
}
.hero-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 48ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero-micro { font-size: 13px; color: var(--muted); }

/* Tool finder panel */
.finder-wrap {
  position: relative;
  animation: fade-up 0.9s var(--ease) 0.25s both;
}
.finder-glow {
  position: absolute;
  inset: -20px;
  border-radius: 36px;
  background: radial-gradient(circle at 50% 40%, rgba(183, 243, 74, 0.18), transparent 65%);
  pointer-events: none;
}
.finder {
  position: relative;
  border-radius: 28px;
  padding: 2px;
  background: linear-gradient(145deg, rgba(183, 243, 74, 0.7), rgba(33, 196, 93, 0.35), rgba(188, 236, 201, 0.5));
  animation: finder-float 7s ease-in-out infinite;
}
@keyframes finder-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.finder-inner {
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, var(--surface) 100%);
  padding: 22px;
  box-shadow: 0 24px 60px rgba(7, 26, 18, 0.08);
}

/* 3D favicon atom - CSS only, GPU transforms */
.finder-mark {
  display: flex;
  justify-content: center;
  margin: 4px 0 22px;
}
.finder-mark__wrap {
  position: relative;
  width: min(228px, 58vw);
  height: min(228px, 58vw);
  perspective: 900px;
}
.finder-mark__scene {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: finder-mark-spin 24s linear infinite;
  will-change: transform;
  filter: drop-shadow(0 14px 28px rgba(33, 196, 93, 0.22));
}
.finder-mark__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 94%;
  height: 36%;
  margin: -18% 0 0 -47%;
  border: 2.5px solid transparent;
  border-radius: 50%;
  border-top-color: #B7F34A;
  border-bottom-color: #21C45D;
  box-shadow:
    0 0 0 1px rgba(188, 236, 201, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  background: linear-gradient(145deg, rgba(183, 243, 74, 0.12), transparent 55%);
}
.finder-mark__ring:nth-child(1) { transform: rotateX(68deg); }
.finder-mark__ring:nth-child(2) { transform: rotateZ(60deg) rotateX(68deg); }
.finder-mark__ring:nth-child(3) { transform: rotateZ(120deg) rotateX(68deg); }
.finder-mark__core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34%;
  height: 34%;
  margin: -17% 0 0 -17%;
  transform: translateZ(32px);
  overflow: visible;
}
.finder-mark__star {
  transform-origin: 50px 50px;
  transform-box: fill-box;
  animation: finder-mark-pulse 3.4s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(183, 243, 74, 0.75));
}
.finder-mark__shadow {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 58%;
  height: 14%;
  margin-left: -29%;
  background: radial-gradient(ellipse, rgba(33, 196, 93, 0.28), transparent 72%);
  transform: rotateX(78deg);
  pointer-events: none;
}
@keyframes finder-mark-spin {
  from { transform: rotateX(16deg) rotateY(0deg); }
  to { transform: rotateX(16deg) rotateY(360deg); }
}
@keyframes finder-mark-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: 0.9; }
}

.finder-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.finder-dots { display: flex; gap: 6px; }
.finder-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}
.finder-dots span:first-child { background: #ff6b6b; }
.finder-dots span:nth-child(2) { background: #ffd166; }
.finder-dots span:nth-child(3) { background: var(--green); }
.finder-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.finder-ready {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(183, 243, 74, 0.35);
  color: var(--green-deep);
  border: 1px solid rgba(183, 243, 74, 0.5);
}
.finder-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
}
.finder-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  position: relative;
}
.finder-chip {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--muted);
  animation: chip-in 0.6s var(--ease) both;
}
.finder-chip:nth-child(1) { animation-delay: 0.35s; }
.finder-chip:nth-child(2) { animation-delay: 0.45s; }
.finder-chip:nth-child(3) { animation-delay: 0.55s; }
.finder-chip:nth-child(4) { animation-delay: 0.65s; }
.finder-chip.is-active {
  background: var(--ink);
  color: var(--lime);
  border-color: var(--ink);
}
@keyframes chip-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.finder-rows { display: flex; flex-direction: column; gap: 8px; }
.finder-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.7);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.finder-row:hover {
  transform: translateX(4px);
  border-color: var(--border);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(33, 196, 93, 0.1);
}
.finder-row.is-active {
  border-color: rgba(183, 243, 74, 0.8);
  box-shadow: 0 0 0 1px rgba(183, 243, 74, 0.4), 0 12px 32px rgba(183, 243, 74, 0.15);
}
.finder-row__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-deep);
}
.finder-row__name { font-size: 14px; font-weight: 700; color: var(--ink); }
.finder-row__hint { font-size: 12px; color: var(--muted); margin-top: 2px; }
.finder-row__go {
  font-size: 12px;
  font-weight: 700;
  color: var(--green-deep);
  opacity: 0;
  transition: opacity 0.2s;
}
.finder-row:hover .finder-row__go { opacity: 1; }
.pulse-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
.pulse-dot--1 { top: 42%; right: 8%; }
.pulse-dot--2 { bottom: 18%; left: 6%; animation-delay: -1s; }
@keyframes pulse-dot {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-glow { right: auto; left: 50%; transform: translateX(-50%); top: 40%; }
}

/* ── Tool belt ── */
.tool-belt { overflow: hidden; }
.belt-rail {
  position: relative;
  margin-top: 48px;
  padding: 28px 0 12px;
}
.belt-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border) 8%, var(--green) 50%, var(--border) 92%, transparent);
  transform: translateY(-50%);
  z-index: 0;
}
.belt-track {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.belt-item {
  flex: 1 1 280px;
  max-width: 360px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 18px 18px 18px 16px;
  border-radius: 18px;
  background: var(--white);
  position: relative;
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
  position: relative;
}
.belt-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -28px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  transform: translateX(-50%);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.belt-item:hover {
  transform: translateY(-6px);
  border-color: var(--green);
  box-shadow: 0 16px 40px rgba(33, 196, 93, 0.12);
}
.belt-item:hover::before {
  border-color: var(--lime);
  box-shadow: 0 0 0 4px rgba(183, 243, 74, 0.35);
}
.belt-item--wide { flex: 1 1 340px; }
.belt-item--narrow { flex: 1 1 260px; }
.belt-num {
  font-size: 11px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: 0.06em;
  padding-top: 2px;
}
.belt-body h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.belt-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: var(--surface);
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.belt-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }
.belt-arrow {
  color: var(--green);
  padding-top: 4px;
  transition: transform 0.25s var(--ease);
}
.belt-item:hover .belt-arrow { transform: translate(3px, -3px); }
.belt-scroll {
  display: none;
  overflow-x: auto;
  gap: 14px;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.belt-scroll .belt-item { flex: 0 0 85vw; max-width: 320px; scroll-snap-align: start; }
.belt-footer { margin-top: 32px; text-align: center; }

@media (max-width: 768px) {
  .belt-track { display: none; }
  .belt-scroll { display: flex; }
  .belt-line { display: none; }
}

/* ── Workspace preview ── */
.workspace {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-block: 1px solid var(--border);
}
.workspace-frame {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 340px;
}
.workspace-panel {
  padding: 28px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(7, 26, 18, 0.05);
}
.workspace-panel label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.workspace-input {
  width: 100%;
  min-height: 120px;
  padding: 16px;
  border-radius: 14px;
  border: 1px dashed var(--border);
  background: var(--surface);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  resize: none;
}
.workspace-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.workspace-chips span {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
}
.workspace-output {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.65;
  padding: 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  animation: output-fade 4s ease-in-out infinite;
}
@keyframes output-fade {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.92; }
}
.workspace-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.workspace-stats span {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(183, 243, 74, 0.25);
  color: var(--green-deep);
}
.workspace-connector {
  width: 80px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.workspace-connector svg { width: 100%; height: 120px; }
.connector-dot {
  fill: var(--lime);
  filter: drop-shadow(0 0 8px rgba(183, 243, 74, 0.8));
  animation: connector-move 3.5s ease-in-out infinite;
}
@keyframes connector-move {
  0%, 100% { offset-distance: 0%; }
  50% { offset-distance: 100%; }
}
/* SVG motion fallback via transform on circle */
.workspace-copy {
  margin-top: 14px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--green-deep);
  background: var(--white);
  transition: background 0.2s, border-color 0.2s;
}
.workspace-copy:hover { background: var(--surface); border-color: var(--green); }
.workspace-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 900px) {
  .workspace-frame { grid-template-columns: 1fr; gap: 16px; }
  .workspace-connector { width: 100%; height: 48px; transform: rotate(90deg); }
}

/* ── Categories (asymmetric) ── */
.cat-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  margin-top: 48px;
}
.cat-featured {
  grid-row: span 2;
  padding: 32px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 10%, rgba(183, 243, 74, 0.2), transparent 45%),
    linear-gradient(165deg, var(--white) 0%, var(--surface) 100%);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cat-featured::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(33, 196, 93, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  opacity: 0.6;
}
.cat-featured > * { position: relative; z-index: 1; }
.cat-stack { display: flex; flex-direction: column; gap: 20px; }
.cat-panel {
  padding: 24px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.cat-panel:hover { transform: translateY(-3px); border-color: var(--green); }
.cat-panel h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cat-panel p { font-size: 14px; color: var(--muted); margin-bottom: 16px; line-height: 1.6; }
.cat-tools li {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 1px solid rgba(188, 236, 201, 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-tools li:last-child { border-bottom: none; }
.cat-tools li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
}
.cat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-deep);
}

@media (max-width: 860px) {
  .cat-layout { grid-template-columns: 1fr; }
  .cat-featured { grid-row: auto; }
}

/* ── Why / beliefs ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}
.why-copy p {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.beliefs { position: relative; }
.belief-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--border);
  overflow: hidden;
}
.belief-track-fill {
  height: 100%;
  width: 33%;
  background: linear-gradient(90deg, var(--green), var(--lime));
  animation: belief-slide 9s ease-in-out infinite;
}
@keyframes belief-slide {
  0%, 100% { transform: translateX(0); }
  33% { transform: translateX(100%); }
  66% { transform: translateX(200%); }
}
.belief-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.belief-row:first-child { border-top: 1px solid var(--border); }
.belief-row.is-active { background: linear-gradient(90deg, rgba(183, 243, 74, 0.12), transparent); }
.belief-row h3 { font-size: 1.0625rem; font-weight: 700; }
.belief-row p { font-size: 14px; color: var(--muted); line-height: 1.6; }

@media (max-width: 768px) {
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .belief-row { grid-template-columns: 1fr; gap: 8px; }
}

/* ── Services bridge ── */
.bridge {
  background: var(--surface);
  border-block: 1px solid var(--border);
}
.bridge-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 40px;
}
.bridge-side {
  padding: 28px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--border);
}
.bridge-side h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--green-deep);
}
.bridge-side p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.bridge-path {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--green);
}
.bridge-path svg { width: 48px; height: 48px; }
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.service-tags span {
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.bridge-cta { text-align: center; margin-top: 32px; }
.bridge-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

@media (max-width: 768px) {
  .bridge-layout { grid-template-columns: 1fr; }
  .bridge-path { transform: rotate(90deg); margin: 8px 0; }
}

/* ── Final CTA ── */
.cta-final {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-shape {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(183, 243, 74, 0.2), transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(33, 196, 93, 0.08), transparent 50%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin-inline: auto;
  padding-inline: 8px;
}
.cta-inner .section-title { margin-inline: auto; max-width: none; }
.cta-inner .section-lede { margin-inline: auto; margin-bottom: 24px; }
.cta-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}
.cta-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  color: var(--green-deep);
  animation: cta-tag-float 7s ease-in-out infinite;
}
.cta-tag:nth-child(2) { animation-delay: -1.2s; }
.cta-tag:nth-child(3) { animation-delay: -2.4s; }
.cta-tag:nth-child(4) { animation-delay: -3.6s; }
.cta-tag:nth-child(5) { animation-delay: -4.8s; }
.cta-tag:nth-child(6) { animation-delay: -6s; }
@keyframes cta-tag-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }

/* ── Footer ── */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .footer-logo {
  display: inline-flex;
  margin-bottom: 14px;
}
.footer-brand .logo-img--white {
  height: 30px;
  opacity: 0.95;
}
.footer-brand p { font-size: 14px; line-height: 1.65; max-width: 260px; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Doc-aligned homepage blocks ── */
.prose-block {
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.75;
}
.prose-block p + p { margin-top: 14px; }
.prose-block h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--ink);
}
.cat-layout--three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.cat-cta { margin-top: 18px; }
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.featured-grid--compact { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.featured-card {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
}
.featured-card h2,
.featured-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.featured-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 14px;
}
.featured-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 8px;
}
.featured-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green-deep);
}
.founder-grid {
  display: grid;
  grid-template-columns: min(220px, 34vw) 1fr;
  gap: 32px 40px;
  align-items: start;
}
.founder--eeat {
  background: var(--bg);
}
.founder-head {
  margin-bottom: clamp(28px, 4vw, 40px);
}
.founder--eeat .founder-heading {
  max-width: 22ch;
  margin-bottom: 0;
  background: transparent;
}
.founder-body {
  background: transparent;
}
.founder-photo {
  align-self: start;
  width: min(220px, 100%);
  max-width: 220px;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(7, 26, 18, 0.12);
  background: #06140D;
}
.founder-photo__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.founder-photo__placeholder {
  width: 160px;
  height: 160px;
  border-radius: 24px;
  background: linear-gradient(145deg, var(--surface), #dfffe8);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-deep);
}
.founder-bio {
  font-size: 15px;
  font-weight: 600;
  color: var(--green-deep);
  margin: 16px 0 20px;
  max-width: 62ch;
  line-height: 1.65;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.social-links__item {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
  color: var(--green-deep);
  transition: border-color 0.2s, background 0.2s;
}
.social-links__item:hover {
  border-color: var(--green);
  background: var(--surface);
}
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.service-cards article {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
}
.service-cards h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.service-cards p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}
.faq-list { max-width: 760px; margin-top: 20px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  padding: 0 18px;
  margin-bottom: 12px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 18px 0;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  padding-bottom: 18px;
  color: var(--muted);
  line-height: 1.7;
}
.page-simple .section-lede { margin-bottom: 0; }
.page-about {
  background: var(--bg);
}
.page-about .founder-grid {
  align-items: start;
}
.page-about .section-title {
  max-width: none;
}
.contact-card {
  margin-top: 24px;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  max-width: 560px;
}
.contact-card h2 { font-size: 1.1rem; margin-bottom: 8px; }
.contact-note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Tool pages ── */
.tool-page .tool-hero { padding-bottom: 24px; }
.tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: rgba(33, 196, 93, 0.1);
  border: 1px solid rgba(33, 196, 93, 0.22);
}
.tool-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(33, 196, 93, 0.18);
}
.tool-hero__figure {
  margin: 28px 0 0;
  max-width: 960px;
}
.tool-hero__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(6, 20, 13, 0.12);
}
.tool-reading__head {
  max-width: 62ch;
  margin-bottom: 24px;
}
.tool-reading__lede {
  margin-top: 10px;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.resource-card {
  padding: 22px 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
}
.resource-card h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: 10px;
}
.resource-card h3 a:hover { color: var(--green-deep); }
.resource-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}
.resource-card--media {
  padding: 0;
  overflow: hidden;
}
.resource-card__media {
  display: block;
  border-bottom: 1px solid var(--border);
}
.resource-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.resource-card__body {
  padding: 20px 22px 22px;
}
.tool-cta-card {
  padding: clamp(24px, 4vw, 36px);
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(233, 255, 240, 0.82));
  box-shadow: 0 20px 50px rgba(7, 26, 18, 0.06);
}
.tool-cta-card__title {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  margin-bottom: 12px;
}
.tool-cta-card__body {
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.tool-cta-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tool-share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
}
.tool-share-bar p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.tool-share-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Tool educational blocks (steps, practices, examples, FAQ, checklist) */
.tool-best-practices,
.tool-examples,
.tool-faqs,
.tool-checklist {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
.tool-steps {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.tool-step-card,
.tool-practice-card,
.tool-example-card,
.tool-faq-card,
.tool-checklist-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 24px;
}
.tool-step-card__num {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--green-deep);
  background: rgba(33, 196, 93, 0.12);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.tool-step-card__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}
.tool-step-card__desc {
  font-size: 14px;
  color: var(--ink);
  margin: 0;
  line-height: 1.55;
}
.tool-practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.tool-practice-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 10px;
}
.tool-practice-card__desc {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.65;
  margin: 0;
}
.tool-example-list,
.tool-faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}
.tool-example-card__pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.tool-example-box {
  border-radius: 12px;
  padding: 16px;
}
.tool-example-box--good {
  background: rgba(33, 196, 93, 0.1);
  border: 1px solid rgba(33, 196, 93, 0.28);
}
.tool-example-box--bad {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.22);
}
.tool-example-box__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.tool-example-box--good .tool-example-box__label { color: var(--green-deep); }
.tool-example-box--bad .tool-example-box__label { color: #b91c1c; }
.tool-example-box__text {
  font-size: 14px;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  margin: 0;
  word-break: break-word;
  white-space: pre-wrap;
  line-height: 1.55;
}
.tool-example-card__takeaway {
  font-size: 14px;
  color: var(--ink);
  margin: 0;
  line-height: 1.6;
}
.tool-example-card__takeaway strong {
  color: var(--ink);
  font-weight: 700;
}
.tool-faqs .tool-faq-card__q {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink) !important;
  margin-bottom: 10px;
}
.tool-faqs .tool-faq-card__a {
  font-size: 15px;
  color: var(--ink) !important;
  line-height: 1.7;
  margin: 0;
}
.tool-checklist-panel {
  margin-top: 32px;
  padding: 28px;
}
.tool-checklist-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tool-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.55;
}
.tool-checklist-item__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(33, 196, 93, 0.14);
  color: var(--green-deep);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.tool-trust-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
}
.tool-trust-chips li {
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(33, 196, 93, 0.28);
  background: rgba(255, 255, 255, 0.88);
  color: var(--green-deep);
}
.tool-data-table-wrap {
  margin-top: 22px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
}
.tool-data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 14px;
}
.tool-data-table th,
.tool-data-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  line-height: 1.45;
}
.tool-data-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--green-deep);
  background: var(--surface);
}
.tool-data-table tr:last-child td { border-bottom: 0; }
.tool-closing-cta { padding-top: 24px; }
.tool-cite {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.tool-cite a {
  color: var(--green-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tool-cite a:hover { color: var(--ink); }
.tool-length-result__hint {
  color: var(--muted);
  font-weight: 500;
}
.tool-length-result__note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}
.tool-mini-serp {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
}
.tool-mini-serp__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.tool-mini-serp__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  color: #1a0dab;
  font-weight: 500;
}
.tool-optional {
  color: var(--muted);
  font-weight: 500;
  font-size: 12px;
}
.tool-workspace #tool,
.tool-page #tool {
  scroll-margin-top: calc(var(--header-offset) + 12px);
}
.tool-shell:has(.tool-app--meta-title),
.tool-shell:has(.tool-app--meta-description),
.tool-shell:has(.tool-app--serp-preview),
.tool-shell:has(.tool-app--canonical),
.tool-shell:has(.tool-app--utm),
.tool-shell:has(.tool-app--shorten),
.tool-shell:has(.tool-app--expand),
.tool-shell:has(.tool-app--essay),
.tool-shell:has(.tool-app--conclusion),
.tool-shell:has(.tool-app--humanize) {
  max-width: min(1120px, 100%);
}
.tool-app--meta-title,
.tool-app--meta-description,
.tool-app--serp-preview,
.tool-app--canonical,
.tool-app--utm,
.tool-app--shorten,
.tool-app--expand,
.tool-app--essay,
.tool-app--conclusion,
.tool-app--humanize {
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(18px, 2.5vw, 28px);
}
.tool-app--meta-title .tool-panel,
.tool-app--meta-description .tool-panel,
.tool-app--serp-preview .tool-panel,
.tool-app--canonical .tool-panel,
.tool-app--utm .tool-panel,
.tool-app--shorten .tool-panel,
.tool-app--expand .tool-panel,
.tool-app--essay .tool-panel,
.tool-app--conclusion .tool-panel,
.tool-app--humanize .tool-panel {
  min-width: 0;
  background: #fff;
  box-shadow: 0 10px 30px rgba(6, 20, 13, 0.04);
}
@media (min-width: 981px) {
  .tool-app--meta-title .tool-panel--output,
  .tool-app--meta-description .tool-panel--output,
  .tool-app--serp-preview .tool-panel--output,
  .tool-app--canonical .tool-panel--output,
  .tool-app--utm .tool-panel--output,
  .tool-app--shorten .tool-panel--output,
  .tool-app--expand .tool-panel--output,
  .tool-app--essay .tool-panel--output,
  .tool-app--conclusion .tool-panel--output,
  .tool-app--humanize .tool-panel--output {
    position: sticky;
    top: calc(var(--header-offset) + 8px);
    align-self: start;
    max-height: calc(100vh - var(--header-offset) - 24px);
    overflow: auto;
  }
}
.tool-app--meta-title .tool-panel__label,
.tool-app--meta-description .tool-panel__label,
.tool-app--serp-preview .tool-panel__label,
.tool-app--canonical .tool-panel__label,
.tool-app--utm .tool-panel__label,
.tool-app--shorten .tool-panel__label,
.tool-app--expand .tool-panel__label,
.tool-app--essay .tool-panel__label,
.tool-app--conclusion .tool-panel__label,
.tool-app--humanize .tool-panel__label {
  color: var(--ink);
}
.tool-app--meta-title .tool-panel label,
.tool-app--meta-description .tool-panel label,
.tool-app--serp-preview .tool-panel label,
.tool-app--canonical .tool-panel label,
.tool-app--utm .tool-panel label,
.tool-app--shorten .tool-panel label,
.tool-app--expand .tool-panel label,
.tool-app--essay .tool-panel label,
.tool-app--conclusion .tool-panel label,
.tool-app--humanize .tool-panel label {
  color: var(--ink-deep);
  font-size: 13px;
  margin-bottom: 6px;
}
.tool-app--meta-title .tool-input,
.tool-app--meta-description .tool-input,
.tool-app--serp-preview .tool-input,
.tool-app--canonical .tool-input,
.tool-app--utm .tool-input,
.tool-app--shorten .tool-input,
.tool-app--expand .tool-input,
.tool-app--essay .tool-input,
.tool-app--conclusion .tool-input,
.tool-app--humanize .tool-input,
.tool-app--meta-title .tool-field,
.tool-app--meta-description .tool-field,
.tool-app--serp-preview .tool-field,
.tool-app--canonical .tool-field,
.tool-app--utm .tool-field,
.tool-app--shorten .tool-field,
.tool-app--expand .tool-field,
.tool-app--essay .tool-field,
.tool-app--conclusion .tool-field,
.tool-app--humanize .tool-field {
  border-color: #cfe8d6;
  background: #fbfffc;
  margin-bottom: 12px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.tool-app--meta-title .tool-input:focus,
.tool-app--meta-description .tool-input:focus,
.tool-app--serp-preview .tool-input:focus,
.tool-app--canonical .tool-input:focus,
.tool-app--utm .tool-input:focus,
.tool-app--shorten .tool-input:focus,
.tool-app--expand .tool-input:focus,
.tool-app--essay .tool-input:focus,
.tool-app--conclusion .tool-input:focus,
.tool-app--humanize .tool-input:focus,
.tool-app--meta-title .tool-field:focus,
.tool-app--meta-description .tool-field:focus,
.tool-app--serp-preview .tool-field:focus,
.tool-app--canonical .tool-field:focus,
.tool-app--utm .tool-field:focus,
.tool-app--shorten .tool-field:focus,
.tool-app--expand .tool-field:focus,
.tool-app--essay .tool-field:focus,
.tool-app--conclusion .tool-field:focus,
.tool-app--humanize .tool-field:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(33, 196, 93, 0.15);
  background: #fff;
}
.tool-input--title,
.tool-input--description {
  min-height: 96px;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
}
.tool-mode-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 18px;
  padding: 5px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.tool-mode-tabs--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tool-mode-tab {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  border-radius: 10px;
  padding: 9px 8px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}
.tool-mode-tab.is-active {
  border-color: rgba(33, 196, 93, 0.28);
  background: #fff;
  color: var(--green-deep);
  box-shadow: 0 4px 12px rgba(6, 20, 13, 0.06);
}
.tool-mode-tab:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.tool-advanced {
  margin: 4px 0 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
}
.tool-advanced > summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.tool-advanced > summary::-webkit-details-marker { display: none; }
.tool-advanced > summary::after {
  content: '+';
  color: var(--green-deep);
  font-size: 18px;
  line-height: 1;
}
.tool-advanced[open] > summary::after { content: '−'; }
.tool-advanced__body {
  padding: 0 14px 14px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.tool-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tool-check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500 !important;
  margin: 4px 0 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px !important;
  line-height: 1.4;
}
.tool-check input {
  margin-top: 3px;
  accent-color: var(--green-deep);
}
.tool-app--meta-title .tool-run,
.tool-app--meta-description .tool-run,
.tool-app--serp-preview .tool-run,
.tool-app--canonical .tool-run,
.tool-app--utm .tool-run,
.tool-app--shorten .tool-run,
.tool-app--expand .tool-run,
.tool-app--essay .tool-run,
.tool-app--conclusion .tool-run,
.tool-app--humanize .tool-run {
  width: 100%;
  justify-content: center;
}
.tool-app--meta-title .tool-output,
.tool-app--meta-description .tool-output,
.tool-app--serp-preview .tool-output,
.tool-app--canonical .tool-output,
.tool-app--utm .tool-output,
.tool-app--shorten .tool-output,
.tool-app--expand .tool-output,
.tool-app--essay .tool-output,
.tool-app--conclusion .tool-output,
.tool-app--humanize .tool-output {
  background: #fbfffc;
  border-color: #d7ecdf;
  min-height: 240px;
}
.tool-length-result--rich > p {
  margin: 0 0 10px;
}
.tool-result-heading {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--ink);
}
.tool-result-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  margin: 0 0 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
}
.tool-result-summary--ok {
  border-color: rgba(33, 196, 93, 0.4);
  background: linear-gradient(135deg, rgba(33, 196, 93, 0.08), #fff 55%);
}
.tool-result-summary--warn {
  border-color: rgba(217, 119, 6, 0.4);
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.08), #fff 55%);
}
.tool-result-summary--bad {
  border-color: rgba(194, 65, 12, 0.4);
  background: linear-gradient(135deg, rgba(194, 65, 12, 0.08), #fff 55%);
}
.tool-result-summary__stat {
  display: grid;
  justify-items: center;
  min-width: 72px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
}
.tool-result-summary__value {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.tool-result-summary__label {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.tool-result-summary__status {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 800;
  color: var(--green-deep);
}
.tool-result-summary--warn .tool-result-summary__status { color: #b45309; }
.tool-result-summary--bad .tool-result-summary__status { color: #c2410c; }
.tool-result-summary__verdict {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
}
.tool-meter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 14px;
}
.tool-meter {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  min-width: 0;
}
.tool-meter__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}
.tool-meter__track {
  position: relative;
  height: 9px;
  border-radius: 999px;
  background: #e8efe9;
  overflow: hidden;
}
.tool-meter__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #21c45d, #15803d);
  transition: width 0.25s var(--ease);
}
.tool-meter.is-warn .tool-meter__fill { background: linear-gradient(90deg, #f59e0b, #d97706); }
.tool-meter.is-bad .tool-meter__fill { background: linear-gradient(90deg, #f97316, #c2410c); }
.tool-meter__mark {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(15, 23, 18, 0.45);
}
.tool-meter__meta {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
}
.tool-result-block {
  margin: 0 0 14px;
}
.tool-result-block .tool-check-list,
.tool-result-block .tool-warnings,
.tool-result-block .tool-serp-grid,
.tool-result-block .tool-segments ul {
  margin-bottom: 0;
}
.tool-check-list,
.tool-warnings {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 6px;
}
.tool-check-list li,
.tool-warnings li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 9px 11px;
  border-radius: 10px;
  margin-bottom: 0;
  font-size: 13px;
  background: #fff;
  border: 1px solid var(--border);
}
.tool-check-list .is-pass { border-color: rgba(33, 196, 93, 0.35); background: rgba(33, 196, 93, 0.04); }
.tool-check-list .is-fail { border-color: rgba(194, 65, 12, 0.35); background: rgba(194, 65, 12, 0.04); }
.tool-check-list__mark {
  font-weight: 700;
  color: var(--green-deep);
  flex: 0 0 auto;
}
.tool-check-list .is-fail .tool-check-list__mark { color: #c2410c; }
.tool-warnings li { border-color: rgba(217, 119, 6, 0.35); background: rgba(217, 119, 6, 0.05); }
.tool-warnings--ok {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-deep);
  background: rgba(33, 196, 93, 0.08);
  border: 1px solid rgba(33, 196, 93, 0.22);
}
.tool-serp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
}
.tool-serp-card {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  min-width: 0;
}
.tool-serp-card__label,
.tool-sections-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}
.tool-serp-card__url {
  margin: 0 0 4px;
  font-size: 12px;
  color: #202124;
  overflow-wrap: anywhere;
}
.tool-serp-card__title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
  color: #1a0dab;
  font-weight: 500;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.tool-serp-card__desc {
  margin: 0;
  color: #4d5156;
  font-size: 14px;
  line-height: 1.5;
  max-width: 42em;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.tool-serp-card__kw {
  font-weight: 700;
  color: inherit;
}
.tool-serp-card--mobile .tool-serp-card__title { font-size: 16px; }
.tool-serp-card__ellipsis { color: #1a0dab; }
.tool-serp-card__cut {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}
.tool-citation-card {
  margin: 0 0 14px;
  padding: 14px;
  border-radius: 14px;
  border: 1px dashed #b7d8c2;
  background: #fff;
}
.tool-citation-card__title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.tool-citation-card__meta {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.tool-segments ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.tool-segments li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.tool-segments li:last-child { border-bottom: 0; }
.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.tool-app--meta-title .tool-actions .btn,
.tool-app--meta-description .tool-actions .btn,
.tool-app--serp-preview .tool-actions .btn,
.tool-app--canonical .tool-actions .btn,
.tool-app--utm .tool-actions .btn,
.tool-app--shorten .tool-actions .btn,
.tool-app--expand .tool-actions .btn,
.tool-app--essay .tool-actions .btn,
.tool-app--conclusion .tool-actions .btn,
.tool-app--humanize .tool-actions .btn {
  flex: 1 1 calc(50% - 8px);
  justify-content: center;
  text-align: center;
}
.tool-disclosure {
  margin-top: 8px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
  font-size: 13px;
  color: var(--muted);
}
.tool-disclosure summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}
.tool-disclosure p { margin: 8px 0 0; }
.tool-compare-banner {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(33, 196, 93, 0.1);
  border: 1px solid rgba(33, 196, 93, 0.28);
  font-size: 14px;
}
.tool-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.tool-bulk-cards {
  display: none;
  gap: 12px;
  margin-bottom: 4px;
}
.tool-bulk-card {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: inset 3px 0 0 var(--green);
}
.tool-bulk-card.is-warn { box-shadow: inset 3px 0 0 #d97706; }
.tool-bulk-card.is-bad { box-shadow: inset 3px 0 0 #c2410c; }
.tool-bulk-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.tool-bulk-card__index {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tool-bulk-card__status {
  font-size: 12px;
  font-weight: 700;
  color: var(--green-deep);
}
.tool-bulk-card.is-warn .tool-bulk-card__status { color: #b45309; }
.tool-bulk-card.is-bad .tool-bulk-card__status { color: #c2410c; }
.tool-bulk-card__title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.tool-bulk-card__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 10px;
}
.tool-bulk-card__meta div {
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.tool-bulk-card__meta dt {
  margin: 0 0 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.tool-bulk-card__meta dd {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.tool-bulk-card__verdict {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.tool-bulk-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  max-width: 100%;
}
.tool-bulk-scroll-hint {
  display: none;
  margin: 0;
  padding: 8px 12px 0;
  font-size: 12px;
  color: var(--muted);
}
.tool-bulk-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 13px;
  table-layout: fixed;
}
.tool-bulk-table th,
.tool-bulk-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.tool-bulk-table th {
  background: var(--surface);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.tool-bulk-table th:nth-child(1),
.tool-bulk-table td:nth-child(1) { width: 48px; }
.tool-bulk-table th:nth-child(2),
.tool-bulk-table td:nth-child(2) { width: 34%; }
.tool-bulk-table th:nth-child(3),
.tool-bulk-table td:nth-child(3) { width: 70px; }
.tool-bulk-table th:nth-child(4),
.tool-bulk-table td:nth-child(4),
.tool-bulk-table th:nth-child(5),
.tool-bulk-table td:nth-child(5) { width: 96px; }
.tool-bulk-table th:nth-child(6),
.tool-bulk-table td:nth-child(6) { width: 28%; }
.tool-bulk-title,
.tool-bulk-verdict {
  word-break: break-word;
}
.tool-bulk-table tr.is-warn td:first-child { box-shadow: inset 3px 0 0 #d97706; }
.tool-bulk-table tr.is-bad td:first-child { box-shadow: inset 3px 0 0 #c2410c; }
.tool-bulk-table tr.is-ok td:first-child { box-shadow: inset 3px 0 0 var(--green); }
.tool-output,
.tool-panel--output {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
}
@media (max-width: 980px) {
  .tool-serp-grid,
  .tool-meter-grid,
  .tool-field-row,
  .tool-compare-grid,
  .tool-app--meta-title,
  .tool-app--meta-description,
  .tool-app--serp-preview,
  .tool-app--canonical,
  .tool-app--utm,
  .tool-app--shorten,
  .tool-app--expand,
  .tool-app--essay,
  .tool-app--conclusion,
  .tool-app--humanize {
    grid-template-columns: 1fr;
  }
  .tool-bulk-cards {
    display: grid;
  }
  .tool-bulk-table-wrap {
    display: none;
  }
  .tool-app--meta-title .tool-actions .btn,
  .tool-app--meta-description .tool-actions .btn,
  .tool-app--serp-preview .tool-actions .btn,
  .tool-app--canonical .tool-actions .btn,
  .tool-app--utm .tool-actions .btn,
  .tool-app--shorten .tool-actions .btn,
  .tool-app--expand .tool-actions .btn,
  .tool-app--essay .tool-actions .btn,
  .tool-app--conclusion .tool-actions .btn,
  .tool-app--humanize .tool-actions .btn {
    flex: 1 1 100%;
  }
  .tool-result-summary {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .tool-result-summary__stat {
    justify-self: center;
  }
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumbs a:hover { color: var(--green-deep); }
.tool-shell { max-width: 960px; }
.tool-app {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(16px, 2.5vw, 24px);
  align-items: stretch;
}
.tool-panel {
  padding: clamp(20px, 3vw, 28px);
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
}
.tool-panel--input .tool-panel__label::before {
  content: '▸';
  color: var(--green);
  font-size: 12px;
}
.tool-panel--output .tool-panel__label::before {
  content: '◂';
  color: var(--green);
  font-size: 12px;
}
.tool-panel__head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.tool-panel__label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}
.tool-panel__hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.tool-panel label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}
.tool-input,
.tool-field {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  background: #fff;
  margin-bottom: 14px;
}
.tool-fields { margin-bottom: 8px; }
.tool-run { margin-top: 4px; }
.tool-output {
  min-height: 180px;
  padding: 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  line-height: 1.65;
}
.tool-output__placeholder {
  margin: 0;
  color: var(--muted);
  font-style: italic;
  font-size: 13px;
}
.tool-output pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
}
@media (max-width: 900px) {
  .tool-app { grid-template-columns: 1fr; }
}
.serp-preview__url { font-size: 13px; color: #1a0dab; margin-bottom: 4px; }
.serp-preview__title { font-size: 20px; color: #1a0dab; margin-bottom: 6px; }
.serp-preview__desc { font-size: 14px; color: #4d5156; }
.tool-serp-result .tool-serp-card {
  background: #fff;
}
.tool-serp-card__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
}
.tool-serp-card__favicon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: #e8f0fe;
  flex: 0 0 auto;
}
.tool-serp-card__favicon-fallback {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e8f0fe;
  color: #1967d2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex: 0 0 auto;
}
.tool-serp-card__brand-text {
  min-width: 0;
}
.tool-serp-card__site {
  margin: 0;
  font-size: 14px;
  color: #202124;
  font-weight: 500;
  line-height: 1.3;
}
.tool-serp-card__crumb {
  margin: 0;
  font-size: 12px;
  color: #4d5156;
  overflow-wrap: anywhere;
}
.tool-serp-dual-meters {
  display: grid;
  gap: 14px;
  margin: 0 0 14px;
}
.tool-serp-dual-meters__group {
  padding: 12px;
  border: 1px solid #d7ecdf;
  border-radius: 14px;
  background: #fbfffc;
}
.tool-serp-dual-meters__group > .tool-sections-label {
  margin-bottom: 10px;
}
.tool-canonical-code {
  margin: 0 0 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #d7ecdf;
  background: #fbfffc;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}
.tool-canonical-compare {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
}
.tool-canonical-compare__row {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
}
.tool-canonical-compare__row dt {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.tool-canonical-compare__row dd {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.tool-app--canonical select.tool-field,
.tool-app--utm select.tool-field {
  appearance: auto;
  cursor: pointer;
}


@media (max-width: 900px) {
  .cat-layout--three,
  .service-cards { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder--eeat .founder-heading { max-width: none; }
}

/* ── Motion utilities ── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.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;
}

/* ── Homepage workbench rebuild ── */
.page-home .hero--dark {
  margin-top: calc(-1 * var(--header-offset));
  padding-top: calc(48px + var(--header-offset));
}
.page-home .site-header {
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}
.page-home .site-header.is-over-hero {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.page-home .site-header.is-over-hero .header-shell {
  background: var(--green-dark);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: rgba(33, 196, 93, 0.28);
  box-shadow:
    0 1px 0 rgba(33, 196, 93, 0.14) inset,
    0 0 0 1px rgba(33, 196, 93, 0.08),
    0 12px 40px rgba(0, 0, 0, 0.28);
}
.page-home .site-header.is-over-hero .nav-center {
  background: rgba(14, 42, 28, 0.92);
  border-color: rgba(33, 196, 93, 0.22);
}
.page-home .site-header.is-over-hero .nav-center a { color: rgba(231, 255, 233, 0.75); }
.page-home .site-header.is-over-hero .nav-center a:hover { color: #fff; background: rgba(33, 196, 93, 0.15); }
.page-home .site-header.is-over-hero .logo-img--header { filter: brightness(0) invert(1); }
.page-home .site-header.is-scrolled {
  background: rgba(244, 255, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.page-home .site-header.is-scrolled .header-shell {
  background: rgba(244, 255, 247, 0.92);
  border-color: var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 12px 40px rgba(7, 26, 18, 0.04);
}
.page-home .site-header.is-scrolled .nav-center {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(188, 236, 201, 0.6);
}
.page-home .site-header.is-scrolled .nav-center a { color: var(--muted); }
.page-home .site-header.is-scrolled .nav-center a:hover { color: var(--ink); background: var(--surface); }
.page-home .site-header.is-scrolled .logo-img--header { filter: none; }

.hero--dark {
  padding: 48px 0 88px;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(33, 196, 93, 0.12), transparent 55%),
    linear-gradient(180deg, var(--ink-deep) 0%, var(--ink) 55%, var(--green-dark) 100%);
  color: #fff;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(33, 196, 93, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 196, 93, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, black, transparent);
}
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.hero--dark .hero-title,
.hero--dark h1 { color: #fff; max-width: 16ch; }
.hero--dark .hero-sub,
.hero--dark .hero-micro { color: rgba(231, 255, 233, 0.78); }
.eyebrow--dark {
  background: rgba(11, 35, 23, 0.65);
  border-color: rgba(33, 196, 93, 0.35);
  color: var(--mint);
}
.btn--ghost-light {
  background: transparent;
  border: 1.5px solid rgba(188, 236, 201, 0.45);
  color: #fff;
}
.btn--ghost-light:hover { background: rgba(33, 196, 93, 0.12); border-color: var(--green); }
.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.trust-chips span {
  font-size: 11px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(33, 196, 93, 0.3);
  background: rgba(11, 35, 23, 0.5);
  color: var(--mint);
}

.hero-atom-wrap {
  position: relative;
  animation: fade-up 0.9s var(--ease) 0.25s both;
}
.hero-atom {
  --atom-bg-1: #08160e;
  --atom-bg-2: #051009;
  --atom-bg-3: #020a06;
  --atom-halo: 41, 224, 138;
  --atom-halo-a: 0.22;
  --atom-ui-fg: #d7ffe9;
  --atom-ui-bg: rgba(180, 255, 215, 0.06);
  --atom-ui-bd: rgba(120, 255, 190, 0.16);
  --atom-ui-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  --atom-dot: #29e08a;
  --atom-word: #d8ffe9;
  --atom-word-glow: 0 0 22px rgba(41, 224, 138, 0.55), 0 0 44px rgba(41, 224, 138, 0.22);
  position: relative;
  min-height: min(72vw, 520px);
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(33, 196, 93, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  background:
    radial-gradient(circle at 50% 42%, var(--atom-bg-1) 0%, var(--atom-bg-2) 55%, var(--atom-bg-3) 100%);
  transition: background 0.6s ease, border-color 0.6s ease;
}
.hero-atom[data-theme="light"] {
  --atom-bg-1: #ffffff;
  --atom-bg-2: #edf8f1;
  --atom-bg-3: #dff2e7;
  --atom-halo: 34, 197, 120;
  --atom-halo-a: 0.10;
  --atom-ui-fg: #0c2018;
  --atom-ui-bg: rgba(255, 255, 255, 0.55);
  --atom-ui-bd: rgba(12, 40, 28, 0.16);
  --atom-ui-shadow: 0 8px 30px rgba(10, 60, 38, 0.10);
  --atom-dot: #0a7f56;
  --atom-word: #0a7a52;
  --atom-word-glow: 0 0 1px rgba(10, 122, 82, 0);
}
.hero-atom__halo {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 78%;
  height: 78%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--atom-halo), var(--atom-halo-a)) 0%, rgba(var(--atom-halo), 0) 70%);
  filter: blur(10px);
  pointer-events: none;
  transition: background 0.6s ease;
  z-index: 0;
}
.hero-atom__stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 1s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-atom__stage.is-ready {
  opacity: 1;
  transform: none;
}
.hero-atom__stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-atom__wordmark {
  position: absolute;
  left: 0;
  right: 0;
  bottom: max(22px, env(safe-area-inset-bottom));
  text-align: center;
  z-index: 2;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 4vw, 34px);
  letter-spacing: 0.02em;
  color: var(--atom-word);
  text-shadow: var(--atom-word-glow);
  transition: color 0.6s ease, text-shadow 0.6s ease;
  user-select: none;
  pointer-events: none;
}
.hero-atom__wordmark b { font-weight: 600; }
.hero-atom__fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  place-items: center;
  color: var(--atom-ui-fg);
  font-size: 14px;
  padding: 24px;
  text-align: center;
}
.hero-atom__fallback.is-visible { display: grid; }

@media (prefers-reduced-motion: reduce) {
  .hero-atom__stage { transition: opacity 0.3s ease; }
  .hero-atom__halo, .hero-atom { transition: none; }
}

.workbench-wrap { position: relative; animation: fade-up 0.9s var(--ease) 0.25s both; }
.workbench-glow {
  position: absolute;
  inset: -24px;
  border-radius: 32px;
  background: radial-gradient(circle at 50% 30%, rgba(183, 243, 74, 0.16), transparent 65%);
  pointer-events: none;
}
.workbench {
  position: relative;
  border-radius: 24px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, var(--pale) 100%);
  border: 1px solid rgba(33, 196, 93, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  animation: workbench-float 7s ease-in-out infinite;
}
@keyframes workbench-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.workbench-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.workbench-dots { display: flex; gap: 6px; }
.workbench-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.workbench-dots span:first-child { background: #ff6b6b; }
.workbench-dots span:nth-child(2) { background: #ffd166; }
.workbench-dots span:nth-child(3) { background: var(--green); }
.workbench-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.workbench-search {
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}
.workbench-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--green);
  margin-right: 4px;
  vertical-align: text-bottom;
  animation: cursor-blink 1.1s step-end infinite;
}
@keyframes cursor-blink { 50% { opacity: 0; } }
.workbench-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.workbench-chip {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  animation: chip-in 0.6s var(--ease) both;
}
.workbench-chip:nth-child(1) { animation-delay: 0.2s; }
.workbench-chip:nth-child(2) { animation-delay: 0.3s; }
.workbench-chip:nth-child(3) { animation-delay: 0.4s; }
.workbench-chip:nth-child(4) { animation-delay: 0.5s; }
.workbench-chip:nth-child(5) { animation-delay: 0.6s; }
.workbench-chip.is-active { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.workbench-rows { display: flex; flex-direction: column; gap: 8px; }
.workbench-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: rgba(255,255,255,0.85);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.workbench-row:hover,
.workbench-row.is-active {
  border-color: rgba(183, 243, 74, 0.7);
  box-shadow: 0 0 0 1px rgba(183, 243, 74, 0.35), 0 12px 28px rgba(33, 196, 93, 0.12);
  transform: translateX(4px);
}
.workbench-row__icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-deep);
}
.workbench-row__task { display: block; font-size: 13px; font-weight: 700; color: var(--ink); }
.workbench-row__tool { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.workbench-row__go {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; color: var(--green-deep);
}

.hub-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.conveyor {
  margin-top: 40px;
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: var(--pale);
  padding: 16px 0;
}
.conveyor-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: conveyor-move 28s linear infinite;
}
.conveyor:hover .conveyor-track { animation-play-state: paused; }
.conveyor-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-deep);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  white-space: nowrap;
}
@keyframes conveyor-move {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.belt-line--animated {
  background: linear-gradient(90deg, transparent, var(--border), var(--lime), var(--green), var(--lime), var(--border), transparent);
  background-size: 200% 100%;
  animation: belt-gradient 6s linear infinite;
}
@keyframes belt-gradient {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}
.belt-dot {
  position: absolute;
  left: 10px;
  top: 50%;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(33, 196, 93, 0.2);
  transform: translateY(-50%);
  transition: box-shadow 0.25s;
}
.belt-item:hover .belt-dot { box-shadow: 0 0 0 6px rgba(183, 243, 74, 0.45); }

.seo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.tool-link-list { margin-top: 24px; display: grid; gap: 12px; }
.tool-link-list a {
  display: block;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.85);
  transition: border-color 0.2s, transform 0.2s;
}
.tool-link-list a:hover { border-color: var(--green); transform: translateY(-2px); }
.tool-link-list strong { display: block; margin-bottom: 6px; font-size: 15px; }
.tool-link-list span { display: block; font-size: 13px; color: var(--muted); line-height: 1.6; }
.tool-link-list--compact { margin-top: 28px; }
.inline-links { margin-top: 16px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.inline-links a { color: var(--green-deep); font-weight: 600; border-bottom: 1px solid transparent; }
.inline-links a:hover { border-bottom-color: var(--green); }

.serp-mock {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 20px 50px rgba(7, 26, 18, 0.06);
}
.serp-mock__url { font-size: 13px; color: #1a5f3c; margin-bottom: 6px; }
.serp-mock__title { font-size: 20px; color: var(--ink); margin-bottom: 8px; line-height: 1.3; }
.serp-mock__desc { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.serp-mock__code {
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  background: var(--surface);
  font-size: 12px;
  color: var(--green-deep);
  opacity: 0;
  animation: fade-in-code 1s var(--ease) 2s forwards;
}
@keyframes fade-in-code { to { opacity: 1; } }
.meter { margin-bottom: 10px; }
.meter__label { font-size: 11px; font-weight: 700; color: var(--muted); display: block; margin-bottom: 6px; }
.meter__bar { display: block; height: 6px; border-radius: 999px; background: #e5eee8; overflow: hidden; }
.meter__fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--lime));
  animation: meter-fill 2s var(--ease) 0.5s forwards;
}
.meter__fill--slow { animation-delay: 1.2s; }
@keyframes meter-fill { to { width: 72%; } }

.writing-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
  margin: 32px 0;
}
.writing-panel {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.9);
}
.writing-panel label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green-deep); display: block; margin-bottom: 12px; }
.writing-panel p { font-size: 15px; line-height: 1.7; color: var(--ink); }
.writing-panel--output { background: var(--pale); }
.writing-connector { display: flex; align-items: center; justify-content: center; width: 80px; }
.writing-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.writing-tags span {
  font-size: 11px; font-weight: 700; padding: 6px 10px;
  border-radius: 999px; background: #fff; border: 1px solid var(--border);
  animation: tag-pop 0.5s var(--ease) both;
}
.writing-tags span:nth-child(1) { animation-delay: 0.2s; }
.writing-tags span:nth-child(2) { animation-delay: 0.35s; }
.writing-tags span:nth-child(3) { animation-delay: 0.5s; }
.writing-tags span:nth-child(4) { animation-delay: 0.65s; }
@keyframes tag-pop {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.campaign-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}
.mini-tool-title { font-size: 1.15rem; margin: 16px 0 8px; }
.mini-tool-title a { color: var(--green-deep); }
.utm-builder {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fff;
}
.utm-field {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  margin-bottom: 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 13px;
  opacity: 0.5;
  transition: opacity 0.3s, border-color 0.3s;
}
.utm-field.is-active { opacity: 1; border-color: var(--green); }
.utm-field span { color: var(--muted); text-transform: uppercase; font-size: 11px; font-weight: 700; }
.utm-output {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: var(--surface);
  font-size: 12px;
  word-break: break-all;
  position: relative;
  overflow: hidden;
}
.utm-highlight {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(183, 243, 74, 0.25), transparent);
  animation: utm-sweep 3s ease-in-out infinite;
}
@keyframes utm-sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.workbench-list {
  margin: 20px 0 32px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.workbench-list li {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.85);
  font-size: 14px;
}
.workbench-preview {
  background: var(--bg);
}
.dashboard-mock {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.dashboard-panel {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.dashboard-panel h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 12px; }
.dashboard-panel--active,
.dashboard-panel.is-glow {
  border-color: var(--green);
  box-shadow: 0 0 0 1px rgba(33, 196, 93, 0.2), 0 16px 40px rgba(33, 196, 93, 0.1);
}
.task-queue li {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
.task-queue li.is-active { background: var(--surface); color: var(--ink); font-weight: 700; }
.dashboard-tool-name { font-weight: 700; margin-bottom: 12px; }
.dashboard-fields { display: flex; flex-wrap: wrap; gap: 8px; }
.dashboard-fields span {
  font-size: 11px; font-weight: 700; padding: 6px 10px;
  border-radius: 999px; border: 1px solid var(--border);
}
.workspace-note { font-size: 12px; color: var(--muted); margin-top: 12px; text-align: center; }

.founder-heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  margin-top: 16px;
  background: linear-gradient(90deg, var(--green), var(--lime));
  animation: line-grow 1s var(--ease) both;
}
@keyframes line-grow { from { width: 0; } to { width: 80px; } }
.founder-proof {
  margin: 16px 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}
.founder-proof li { padding-left: 18px; position: relative; }
.founder-proof li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}
.founder-signature { font-style: italic; color: var(--green-deep); font-weight: 600; margin: 12px 0; }
.founder-trust { font-size: 14px; color: var(--muted); margin-bottom: 20px; line-height: 1.65; }
.credibility-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.credibility-strip span {
  font-size: 11px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  animation: chip-in 0.6s var(--ease) both;
}
.credibility-strip span:nth-child(2) { animation-delay: 0.1s; }
.credibility-strip span:nth-child(3) { animation-delay: 0.2s; }
.credibility-strip span:nth-child(4) { animation-delay: 0.3s; }
.credibility-strip span:nth-child(5) { animation-delay: 0.4s; }

.faq-tabs {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  margin-top: 24px;
}
.faq-mobile { display: none; margin-top: 24px; }
.faq-tabs__nav { display: flex; flex-direction: column; gap: 8px; }
.faq-tab {
  text-align: left;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-tab.is-active {
  border-color: var(--green);
  box-shadow: inset 3px 0 0 var(--green);
  background: var(--pale);
}
.faq-tabs__panel {
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fff;
  min-height: 180px;
}
.faq-answer { display: none; animation: fade-up 0.4s var(--ease) both; }
.faq-answer.is-active { display: block; }
.faq-answer p { color: var(--muted); line-height: 1.75; font-size: 15px; }

.cta-final--dark {
  background: linear-gradient(180deg, var(--ink-deep), var(--ink));
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta-final--dark .section-title,
.cta-final--dark .section-lede { color: #fff; }
.cta-final--dark .section-lede { color: rgba(231, 255, 233, 0.88); }
.cta-final--dark .cta-inner {
  z-index: 3;
  padding: clamp(36px, 6vw, 52px) clamp(24px, 5vw, 40px);
  border-radius: 28px;
  background: rgba(6, 20, 13, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(33, 196, 93, 0.18);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}
.cta-orbit-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 52% 42% at 50% 50%, transparent 0, transparent 38%, #000 72%);
  -webkit-mask-image: radial-gradient(ellipse 52% 42% at 50% 50%, transparent 0, transparent 38%, #000 72%);
}
.cta-orbit-svg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(640px, 92vw);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.35;
  animation: orbit-spin 50s linear infinite;
}
.cta-orbit-label {
  position: absolute;
  left: 50%;
  top: 50%;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(33, 196, 93, 0.35);
  background: rgba(11, 35, 23, 0.72);
  color: var(--mint);
  opacity: 0.72;
  animation: cta-orbit 28s linear infinite;
}
.cta-orbit-label--1 { animation-delay: 0s; }
.cta-orbit-label--2 { animation-delay: -4s; }
.cta-orbit-label--3 { animation-delay: -8s; }
.cta-orbit-label--4 { animation-delay: -12s; }
.cta-orbit-label--5 { animation-delay: -16s; }
.cta-orbit-label--6 { animation-delay: -20s; }
.cta-orbit-label--7 { animation-delay: -24s; }
@keyframes cta-orbit {
  from { transform: rotate(0deg) translateX(280px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(280px) rotate(-360deg); }
}

@media (max-width: 1100px) {
  @keyframes cta-orbit {
    from { transform: rotate(0deg) translateX(220px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(220px) rotate(-360deg); }
  }
}

@media (max-width: 900px) {
  .cta-orbit-wrap {
    mask-image: radial-gradient(ellipse 58% 48% at 50% 50%, transparent 0, transparent 44%, #000 78%);
    -webkit-mask-image: radial-gradient(ellipse 58% 48% at 50% 50%, transparent 0, transparent 44%, #000 78%);
  }
  @keyframes cta-orbit {
    from { transform: rotate(0deg) translateX(170px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(170px) rotate(-360deg); }
  }
}

.footer-orbit {
  position: absolute;
  top: 32px;
  left: 32px;
  width: 80px;
  opacity: 0.4;
  animation: orbit-spin 30s linear infinite;
}
.site-footer { position: relative; overflow: hidden; }

.bridge-path--draw .bridge-line {
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
}
.bridge--animated.is-drawn .bridge-line {
  animation: bridge-draw 1.4s var(--ease) forwards;
}
@keyframes bridge-draw { to { stroke-dashoffset: 0; } }

.logo:hover .logo-img--header { filter: drop-shadow(0 0 8px rgba(33, 196, 93, 0.35)); }
.page-home .site-header.is-over-hero .logo:hover .logo-img--header { filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(183, 243, 74, 0.4)); }

@media (max-width: 960px) {
  .hub-intro-grid,
  .seo-grid,
  .campaign-grid,
  .writing-grid,
  .dashboard-mock,
  .faq-tabs { grid-template-columns: 1fr; }
  .writing-connector { display: none; }
  .faq-tabs { display: none; }
  .faq-mobile { display: block; }
  .cta-orbit-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .finder { animation: none; }
  .finder-mark__scene,
  .finder-mark__star { animation: none; transform: rotateX(16deg); }
  .reveal { opacity: 1; transform: none; }
}

.tool-preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.tool-preset {
  appearance: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 7px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.tool-preset:hover,
.tool-preset.is-active {
  border-color: rgba(33, 196, 93, 0.35);
  background: #fbfffc;
  color: var(--green-deep);
}
.tool-preset:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.tool-utm-url {
  margin: 0 0 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #d7ecdf;
  background: #fbfffc;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.tool-utm-history {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.tool-utm-history li {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}
.tool-utm-history code {
  font-size: 12px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
