/* ============================================================
   Rank Growth Lab — static site
   Single CSS file. Mirrors the React design tokens.
   ============================================================ */

/* --- Fonts (preconnected in HTML) --- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* --- Tokens --- */
:root {
  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --background: oklch(0.975 0.012 80);
  --surface: oklch(0.992 0.008 85);
  --surface-muted: oklch(0.945 0.018 80);
  --ink: oklch(0.16 0.04 260);
  --ink-soft: oklch(0.4 0.03 260);

  --primary: oklch(0.18 0.04 260);
  --primary-foreground: oklch(0.98 0.01 80);
  --brand: oklch(0.18 0.04 260);
  --brand-soft: oklch(0.92 0.025 250);
  --accent-warm: oklch(0.7 0.19 45);
  --accent-warm-soft: oklch(0.93 0.06 60);
  --success: oklch(0.6 0.14 155);
  --warn: oklch(0.72 0.17 70);
  --destructive: oklch(0.58 0.22 27);
  --border: oklch(0.88 0.02 75);

  --radius: 0.5rem;
  --shadow-cut: 6px 6px 0 0 oklch(0.18 0.04 260);

  --gradient-paper:
    radial-gradient(60% 50% at 80% 0%, oklch(0.96 0.05 60 / 0.45), transparent 70%),
    radial-gradient(50% 40% at 0% 30%, oklch(0.94 0.04 250 / 0.35), transparent 75%),
    linear-gradient(180deg, oklch(0.98 0.012 80), oklch(0.96 0.018 75));
  --gradient-brand: linear-gradient(135deg, oklch(0.18 0.04 260), oklch(0.28 0.06 270));
}

/* --- Base / Reset --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  background: var(--background);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  font-feature-settings: "ss01", "cv11";
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.15;
}
::selection { background: oklch(0.7 0.19 45 / 0.25); color: var(--ink); }
main { flex: 1; }

section.tools-band {
    padding-top: 5%;
    padding-bottom: 5%;
}

.footer-brand img {
    width: 100% !important;
}
.author-chip__txt p {
    margin: 0px;
}


.newsletter__col .newsletter__form br {
    display: none;
}
.newsletter__col fieldset.hidden-fields-container {
    display: none;
}
.wpcf7-form fieldset.hidden-fields-container {
    display: none;
}
.contact-grid br {
    display: none;
}
.wpcf7-response-output {
    margin-top: 20px;
    color: green;
    font-weight: bold;
}
.screen-reader-response p {
    margin-bottom: 10px;
    color: green;
    font-weight: bold;
}

/* --- Layout helpers --- */
.container-prose { max-width: 76rem; margin-inline: auto; padding-inline: 1.25rem; }
.container-narrow { max-width: 48rem; margin-inline: auto; padding-inline: 1.25rem; }

/* --- Surfaces --- */
.surface-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.surface-card-cut {
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-cut);
  transition: transform .2s ease, box-shadow .2s ease;
}
.surface-card-cut:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 0 var(--ink);
}

/* Patterns */
.dot-paper {
  background-image: radial-gradient(oklch(0.18 0.04 260 / 0.12) 1px, transparent 1px);
  background-size: 18px 18px;
}
.grid-paper {
  background-image:
    linear-gradient(to right, oklch(0.18 0.04 260 / 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.18 0.04 260 / 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Typography helpers */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--accent-warm);
}
.font-mono { font-family: var(--font-mono); }
.font-display { font-family: var(--font-display); }
.text-ink { color: var(--ink); }
.text-ink-soft { color: var(--ink-soft); }
.text-accent-warm { color: var(--accent-warm); }
.text-success { color: var(--success); }
.text-bg { color: var(--background); }
.bg-ink { background: var(--ink); color: var(--background); }
.bg-bg { background: var(--background); }
.bg-surface-muted { background: var(--surface-muted); }
.bg-accent-warm { background: var(--accent-warm); }

/* ============================================================
   HEADER
   ============================================================ */
a.brand img {
    width: 35%;
}
.brand {
    width: 50%;
}
.header-actions a:hover {
    color: #fff !important;
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  width: 100%;
  background: oklch(0.975 0.012 80 / 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid oklch(0.16 0.04 260 / 0.15);
  transition: background .2s ease;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 5rem; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.625rem; }
.brand__logo {
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  background: var(--ink); color: var(--background);
  border-radius: 0.375rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.125rem; font-weight: 600;
  letter-spacing: -0.02em;
}
.brand__name .dot { color: var(--accent-warm); }

.site-nav { display: none; align-items: center; gap: 0.25rem; }
.site-nav a {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem; font-weight: 500;
  color: var(--ink-soft);
  border-radius: 0.375rem;
  transition: color .15s, background .15s;
}
.site-nav a:hover { color: var(--ink); background: var(--surface-muted); }
.site-nav a.active { color: var(--ink); background: var(--surface-muted); }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: var(--ink); color: var(--background);
  font-size: 0.875rem; font-weight: 600;
  border-radius: 0.375rem;
  transition: opacity .15s, background .15s;
}
.btn-primary:hover { background: oklch(0.16 0.04 260 / 0.9); }
.btn-primary--lg { padding: 0.875rem 1.5rem; }
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: var(--background);
  color: var(--ink);
  border: 2px solid var(--ink);
  font-size: 0.875rem; font-weight: 600;
  border-radius: 0.375rem;
  transition: background .15s;
}
.btn-secondary:hover { background: var(--surface-muted); }
.btn-secondary--lg { padding: 0.875rem 1.5rem; }

.header-cta { display: none; }

.menu-toggle {
  display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 0.375rem;
}
.menu-toggle:hover { background: var(--surface-muted); }
.menu-toggle svg { width: 1.25rem; height: 1.25rem; }

.mobile-menu {
  display: none;
  border-top: 1px solid oklch(0.16 0.04 260 / 0.15);
  background: var(--background);
}
.mobile-menu.open { display: block; }
.mobile-menu nav {
  display: flex; flex-direction: column; gap: 0.25rem;
  padding: 0.75rem 1.25rem;
  max-width: 76rem; margin-inline: auto;
}
.mobile-menu a {
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem; font-weight: 500;
  border-radius: 0.375rem;
}
.mobile-menu a:hover { background: var(--surface-muted); }
.mobile-menu .btn-primary { margin-top: 0.5rem; }

@media (min-width: 768px) {
  .site-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-menu.open { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  border-bottom: 1px solid oklch(0.16 0.04 260 / 0.15);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--gradient-paper); }
.hero__dots { position: absolute; inset: 0; opacity: 0.6; pointer-events: none; }
.hero__inner { padding: 3.5rem 0 4rem; }
.hero__pretitle {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 2rem;
}
.pulse-dot {
  position: relative;
  display: inline-flex; width: 0.5rem; height: 0.5rem;
}
.pulse-dot::before {
  content: ""; position: absolute; inset: 0;
  background: var(--accent-warm); opacity: 0.6;
  border-radius: 9999px;
  animation: pulseDot 1.6s ease-in-out infinite;
}
.pulse-dot::after {
  content: ""; position: relative;
  width: 0.5rem; height: 0.5rem;
  background: var(--accent-warm); border-radius: 9999px;
}
.hero__pretitle p {
  font-family: var(--font-mono);
  font-size: 0.75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink-soft);
}

.hero__grid { display: grid; gap: 3rem; align-items: center; }
.hero__title {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 600;
  letter-spacing: -0.02em; line-height: 0.98;
}
.hero__title em { color: var(--accent-warm); font-style: normal; font-weight: 600; }
.hero__title .hl {
  position: relative; display: inline-block;
}
.hero__title .hl::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.25rem;
  height: 0.75rem; background: oklch(0.93 0.06 60); z-index: 0;
}
.hero__title .hl > span { position: relative; z-index: 1; }

.hero__lede {
  margin-top: 1.5rem;
  font-size: 1.125rem; line-height: 1.7;
  color: var(--ink-soft); max-width: 36rem;
}
.hero__lede strong { color: var(--ink); font-weight: 600; }

.hero__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__trust {
  margin-top: 2rem;
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; color: var(--ink-soft);
}
.hero__trust svg { color: var(--accent-warm); width: 1rem; height: 1rem; }

.author-chip {
  margin-top: 1.25rem;
  display: inline-flex; align-items: center; gap: 0.875rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid oklch(0.16 0.04 260 / 0.15);
  background: oklch(0.98 0.01 80 / 0.7);
  border-radius: 0.375rem;
}
.author-chip__avatar {
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  background: var(--ink); color: var(--background);
  border-radius: 9999px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.875rem;
}
.author-chip__txt p { font-size: 0.75rem; line-height: 1.3; }
.author-chip__txt .strong { font-weight: 600; color: var(--ink); }
.author-chip__txt .soft { color: var(--ink-soft); margin-top: 0.125rem; }

.hero__art { position: relative; }
.hero__art .surface-card-cut { overflow: hidden; }
.hero__art img { width: 100%; height: auto; display: block; }
.hero__chip {
  display: none;
  position: absolute; bottom: -1.25rem; left: -1.25rem;
  align-items: center; gap: 0.5rem;
  background: var(--background);
  padding: 0.75rem 1rem;
}
.hero__chip__r {
  width: 2rem; height: 2rem; display: grid; place-items: center;
  background: var(--accent-warm); color: var(--ink);
  border-radius: 0.375rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.875rem;
}
.hero__chip__vol {
  font-family: var(--font-mono); font-size: 0.625rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.hero__chip__name {
  font-family: var(--font-display); font-size: 0.875rem; font-weight: 600;
  line-height: 1;
}

@media (min-width: 768px) {
  .hero__inner { padding: 5rem 0 6rem; }
  .hero__title { font-size: 4.5rem; }
  .hero__chip { display: flex; }
}
@media (min-width: 1024px) {
  .hero__title { font-size: 4rem; }
  .hero__grid { grid-template-columns: 1.15fr 1fr; }
}


footer.entry-meta {
    display: none;
}
button.menu-toggle svg {
    max-width: max-content !important;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-bottom: 1px solid oklch(0.16 0.04 260 / 0.15);
  background: var(--ink); color: var(--background);
  overflow: hidden;
  padding: 1rem 0;
}
.marquee__track {
  display: flex; white-space: nowrap;
  animation: marquee 40s linear infinite;
}
.marquee__item {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600;
  margin: 0 2rem;
  display: inline-flex; align-items: center; gap: 2rem;
}
.marquee__item .bullet {
  width: 0.375rem; height: 0.375rem;
  border-radius: 9999px; background: var(--accent-warm);
}
@media (min-width: 768px) {
  .marquee__item { font-size: 1.875rem; }
}

/* ============================================================
   SECTIONS - generic
   ============================================================ */
section.section { padding: 5rem 0; }
@media (min-width: 768px) { section.section { padding: 7rem 0; } }
section.section--tight { padding: 5rem 0; }
@media (min-width: 768px) { section.section--tight { padding: 6rem 0; } }

.section-head {
  display: flex; flex-direction: column; gap: 1rem;
  margin-bottom: 3rem;
}
.section-head h2 {
  font-size: 2.25rem; font-weight: 600;
  letter-spacing: -0.025em; line-height: 1.05;
}
.section-head p { color: var(--ink-soft); max-width: 36rem; }
.section-head .accent { color: var(--accent-warm); }
@media (min-width: 768px) {
  .section-head { flex-direction: row; align-items: end; justify-content: space-between; }
  .section-head h2 { font-size: 3rem; }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.875rem; font-weight: 600; color: var(--ink);
  transition: color .15s;
}
.link-arrow:hover { color: var(--accent-warm); }
.link-arrow svg { width: 1rem; height: 1rem; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(2px); }

/* ============================================================
   LIVE DEMO (mini meta)
   ============================================================ */
.live-demo { display: grid; gap: 2.5rem; }
.live-demo__intro h2 {
  margin-top: 0.75rem; font-size: 2.25rem; font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.05;
}
.live-demo__intro p {
  margin-top: 1.25rem; color: var(--ink-soft);
  font-size: 1.125rem; line-height: 1.7;
}
@media (min-width: 768px) { .live-demo__intro h2 { font-size: 3rem; } }
@media (min-width: 1024px) {
  .live-demo { grid-template-columns: 1fr 1.5fr; align-items: start; }
  .live-demo__intro { position: sticky; top: 6rem; }
}

.mini-demo { overflow: hidden; }
.mini-demo__bar {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid oklch(0.16 0.04 260 / 0.15);
  background: oklch(0.945 0.018 80 / 0.6);
  padding: 0.75rem 1.25rem;
}
.mini-demo__bar > div { display: flex; align-items: center; gap: 0.5rem; }
.mini-demo__bar svg { width: 1rem; height: 1rem; color: var(--accent-warm); }
.mini-demo__bar span {
  font-family: var(--font-mono); font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600;
}
.mini-demo__bar a {
  font-size: 0.75rem; font-weight: 500; color: var(--ink-soft);
}
.mini-demo__bar a:hover { color: var(--accent-warm); }

.mini-demo__grid { display: grid; }
.mini-demo__form {
  padding: 1.25rem;
  display: flex; flex-direction: column; gap: 1rem;
  border-bottom: 1px solid oklch(0.16 0.04 260 / 0.15);
}
.mini-demo__output {
  padding: 1.25rem;
  background: oklch(0.945 0.018 80 / 0.4);
}
@media (min-width: 768px) {
  .mini-demo__grid { grid-template-columns: 1fr 1fr; }
  .mini-demo__form {
    border-bottom: none;
    border-right: 1px solid oklch(0.16 0.04 260 / 0.15);
  }
}
.mini-demo label { display: block; }
.mini-demo .lbl {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.375rem;
}
.mini-demo .lbl span:first-child { font-size: 0.875rem; font-weight: 500; }
.mini-demo .count {
  font-family: var(--font-mono); font-size: 0.625rem;
  color: var(--ink-soft);
}
.mini-demo .count.warn { color: var(--destructive); }
.mini-demo input, .mini-demo textarea {
  width: 100%;
  border: 1px solid oklch(0.16 0.04 260 / 0.2);
  background: var(--background);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.375rem;
  outline: none;
  transition: box-shadow .15s, border-color .15s;
}
.mini-demo input:focus, .mini-demo textarea:focus {
  border-color: var(--accent-warm);
  box-shadow: 0 0 0 3px oklch(0.7 0.19 45 / 0.2);
}
.mini-demo textarea { resize: none; font-family: inherit; }
.mini-demo input.mono { font-family: var(--font-mono); }

.mini-demo__output .head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.5rem;
}
.mini-demo__output .head span {
  font-family: var(--font-mono); font-size: 0.625rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-soft); font-weight: 600;
}
.copy-btn {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border: 1px solid oklch(0.16 0.04 260 / 0.2);
  background: var(--background);
  border-radius: 0.375rem;
  font-size: 0.6875rem; font-weight: 500;
  transition: background .15s;
}
.copy-btn:hover { background: var(--surface); }
.copy-btn svg { width: 0.75rem; height: 0.75rem; }
.copy-btn .check { color: var(--success); }

.mini-demo pre {
  border-radius: 0.375rem;
  background: var(--ink); color: var(--background);
  padding: 0.75rem;
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  line-height: 1.6;
  overflow: auto;
  max-height: 200px;
  white-space: pre-wrap; word-break: break-all;
}

.search-preview { margin-top: 1rem; }
.search-preview p:first-child {
  font-family: var(--font-mono); font-size: 0.625rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-soft); font-weight: 600;
  margin-bottom: 0.375rem;
}
.search-preview__box {
  border: 1px solid oklch(0.16 0.04 260 / 0.15);
  background: var(--background);
  border-radius: 0.375rem;
  padding: 0.75rem;
}
.search-preview__url {
  font-size: 0.6875rem; color: var(--success);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.search-preview__title {
  margin-top: 0.125rem;
  font-size: 0.875rem; font-weight: 500;
  color: oklch(0.4 0.18 262);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.search-preview__desc {
  margin-top: 0.125rem;
  font-size: 0.75rem; color: var(--ink-soft);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   TOOLS GRID (homepage)
   ============================================================ */
.tools-band {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: oklch(0.945 0.018 80 / 0.4);
}
.tools-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .tools-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .tools-grid { grid-template-columns: repeat(4, 1fr); } }

.tool-card {
  padding: 1.5rem;
  background: var(--background);
  display: flex; flex-direction: column;
}
.tool-card__top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.25rem;
}
.tool-card__num {
  font-family: var(--font-mono); font-size: 0.625rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-soft);
}
.badge-live, .badge-beta {
  font-family: var(--font-mono); font-size: 0.625rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.125rem 0.375rem; border-radius: 0.125rem;
  font-weight: 600;
}
.badge-live { background: oklch(0.6 0.14 155 / 0.15); border: 1px solid oklch(0.6 0.14 155 / 0.4); color: oklch(0.4 0.13 155); }
.badge-beta { background: var(--accent-warm-soft); border: 1px solid oklch(0.7 0.19 45 / 0.4); color: oklch(0.4 0.16 45); }

.tool-card__icon { width: 2rem; height: 2rem; color: var(--ink); margin-bottom: 1rem; }
.tool-card__icon svg { width: 100%; height: 100%; stroke-width: 1.5; }
.tool-card h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.2; }
.tool-card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-soft); flex: 1; }
.tool-card__cta {
  margin-top: 1.25rem;
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.875rem; font-weight: 600;
  color: var(--ink); transition: color .15s;
}
.tool-card:hover .tool-card__cta { color: var(--accent-warm); }
.tool-card__cta svg { width: 0.875rem; height: 0.875rem; transition: transform .15s; }
.tool-card:hover .tool-card__cta svg { transform: translateX(2px); }

/* ============================================================
   BLOG (homepage)
   ============================================================ */
.blog-grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: 1.4fr 1fr; } }

.featured-post {
  position: relative; overflow: hidden;
  background: var(--background);
  padding: 2rem; height: 100%;
  display: flex; flex-direction: column;
}
@media (min-width: 768px) { .featured-post { padding: 2.5rem; } }
.featured-post__bg {
  position: absolute; top: 0; right: 0;
  width: 10rem; height: 10rem;
  opacity: 0.5; pointer-events: none;
}
.featured-post__meta {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-mono); font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.featured-post__meta .featured-pill {
  background: var(--ink); color: var(--background);
  padding: 0.125rem 0.5rem; font-weight: 600;
}
.featured-post__meta span:not(.featured-pill) { color: var(--ink-soft); }
.featured-post h3 {
  margin-top: 1.5rem;
  font-size: 1.875rem; font-weight: 600; line-height: 1.05;
  transition: color .15s;
}
.featured-post:hover h3 { color: var(--accent-warm); }
@media (min-width: 768px) { .featured-post h3 { font-size: 2.25rem; } }
.featured-post p { margin-top: 1rem; color: var(--ink-soft); line-height: 1.6; }
.featured-post__cta {
  margin-top: 1.5rem;
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.875rem; font-weight: 600;
}
.featured-post__cta svg { width: 1rem; height: 1rem; transition: transform .15s; }
.featured-post:hover .featured-post__cta svg { transform: translateX(2px); }

.blog-list { display: flex; flex-direction: column; gap: 1rem; }
.blog-list__item {
  padding: 1.25rem;
  display: block;
  transition: border-color .15s;
}
.blog-list__item:hover { border-color: var(--accent-warm); }
.blog-list__item__row { display: flex; align-items: start; gap: 1rem; }
.blog-list__num {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  color: oklch(0.4 0.03 260 / 0.5);
  line-height: 1; margin-top: 0.25rem; flex-shrink: 0; width: 2rem;
}
.blog-list__body { flex: 1; min-width: 0; }
.blog-list__meta {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.625rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-soft);
}
.blog-list__body h3 {
  margin-top: 0.375rem;
  font-size: 1.125rem; font-weight: 600; line-height: 1.3;
  transition: color .15s;
}
.blog-list__item:hover h3 { color: var(--accent-warm); }
.blog-list__body p {
  margin-top: 0.375rem;
  font-size: 0.875rem; color: var(--ink-soft); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-list__cta {
  margin-top: 0.5rem;
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.75rem; font-weight: 600;
}
.blog-list__cta svg { width: 0.75rem; height: 0.75rem; }
.blog-list__item:hover .blog-list__cta { color: var(--accent-warm); }

/* ============================================================
   PRINCIPLES (dark band)
   ============================================================ */
.principles {
  position: relative; overflow: hidden;
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  background: var(--ink); color: var(--background);
}
.principles__dots {
  position: absolute; inset: 0; opacity: 0.1; pointer-events: none;
}
.principles__inner { padding: 5rem 0; position: relative; }
@media (min-width: 768px) { .principles__inner { padding: 6rem 0; } }
.principles__head { max-width: 48rem; }
.principles__head h2 {
  margin-top: 0.75rem;
  font-size: 2.25rem; font-weight: 600;
  letter-spacing: -0.025em; color: var(--background);
}
.principles__head p { margin-top: 1rem; color: oklch(0.98 0.01 80 / 0.7); font-size: 1.125rem; }
@media (min-width: 768px) { .principles__head h2 { font-size: 3rem; } }

.principles__grid {
  margin-top: 3rem;
  display: grid; gap: 1.5rem;
}
@media (min-width: 768px) { .principles__grid { grid-template-columns: repeat(3, 1fr); } }

.principle-card {
  border: 1px solid oklch(0.98 0.01 80 / 0.15);
  border-radius: 0.375rem;
  padding: 1.5rem;
  transition: border-color .15s;
}
.principle-card:hover { border-color: var(--accent-warm); }
.principle-card__top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.25rem;
}
.principle-card__num {
  font-family: var(--font-mono); font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: oklch(0.98 0.01 80 / 0.5);
}
.principle-card__icon { color: var(--accent-warm); }
.principle-card__icon svg { width: 1.25rem; height: 1.25rem; stroke-width: 1.5; }
.principle-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600;
  color: var(--background); line-height: 1.2;
}
.principle-card p {
  margin-top: 0.75rem;
  font-size: 0.875rem; color: oklch(0.98 0.01 80 / 0.7); line-height: 1.6;
}
.eyebrow.warm { color: var(--accent-warm); }

/* ============================================================
   ROADMAP
   ============================================================ */
.roadmap-wrap { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .roadmap-wrap { grid-template-columns: 1fr 1.5fr; } }
.roadmap-intro h2 {
  margin-top: 0.75rem;
  font-size: 2.25rem; font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.05;
}
.roadmap-intro p {
  margin-top: 1.25rem; color: var(--ink-soft); font-size: 1.125rem; line-height: 1.7;
}
.roadmap-intro a {
  color: var(--ink); text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--accent-warm); text-decoration-thickness: 2px;
}
.roadmap-intro a:hover { color: var(--accent-warm); }
@media (min-width: 768px) { .roadmap-intro h2 { font-size: 3rem; } }
@media (min-width: 1024px) { .roadmap-intro { position: sticky; top: 6rem; } }

@media (max-width: 767px) {
    
section.principles {
    padding-left: 20px;
    padding-right: 20px;
}
.roadmap-wrap {
    padding-left: 20px;
    padding-right: 20px;
}
footer.site-footer {
    padding-left: 20px;
    padding-right: 20px;
}
section.container-prose.section {
    padding-left: 20px;
    padding-right: 20px;
}
section.hero {
    padding-left: 20px;
    padding-right: 20px;
}
a.brand img {
    width: 75%;
}
.menu-toggle svg {
    width: 2.25rem ! IMPORTANT;
    height: 2.25rem ! IMPORTANT;
}

}

.roadmap {
  position: relative;
  border-left: 2px solid oklch(0.16 0.04 260 / 0.15);
  padding-left: 2rem;
  display: flex; flex-direction: column; gap: 1.75rem;
}
.roadmap li { position: relative; list-style: none; }
.roadmap__marker {
  position: absolute;
  left: -2.625rem; top: 0.125rem;
  display: grid; place-items: center;
  width: 1.75rem; height: 1.75rem;
  background: var(--background);
  border: 2px solid var(--ink);
  border-radius: 9999px;
}
.roadmap__marker svg { width: 1rem; height: 1rem; }
.roadmap__marker .shipped { color: var(--success); }
.roadmap__marker .now { color: var(--accent-warm); animation: spin 2s linear infinite; }
.roadmap__marker .next { color: var(--ink-soft); }
.roadmap__row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.25rem; }
.roadmap__row h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.pill-shipped, .pill-now, .pill-next {
  font-family: var(--font-mono); font-size: 0.625rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.125rem 0.375rem; border-radius: 0.125rem;
  font-weight: 600;
}
.pill-shipped { background: oklch(0.6 0.14 155 / 0.15); color: oklch(0.4 0.13 155); }
.pill-now { background: var(--accent-warm-soft); color: oklch(0.4 0.16 45); }
.pill-next { background: oklch(0.16 0.04 260 / 0.1); color: var(--ink-soft); }
.roadmap p { font-size: 0.875rem; color: var(--ink-soft); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
  position: relative; overflow: hidden;
  background: var(--background);
  padding: 2rem;
}
@media (min-width: 768px) { .newsletter { padding: 3rem; } }
.newsletter__bg {
  position: absolute; top: 0; right: 0;
  width: 18rem; height: 18rem;
  opacity: 0.5; pointer-events: none;
}
.newsletter__grid {
  position: relative;
  display: grid; gap: 2.5rem; align-items: center;
}
@media (min-width: 768px) { .newsletter__grid { grid-template-columns: 1.2fr 1fr; } }
.newsletter__eyebrow {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-family: var(--font-mono); font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent-warm); font-weight: 600;
}
.newsletter__eyebrow svg { width: 0.875rem; height: 0.875rem; }
.newsletter h2 {
  margin-top: 0.75rem;
  font-size: 1.875rem; font-weight: 600;
  letter-spacing: -0.025em; line-height: 1.05;
}
@media (min-width: 768px) { .newsletter h2 { font-size: 3rem; } }
.newsletter__lede {
  margin-top: 1rem; color: var(--ink-soft);
  font-size: 1.125rem; max-width: 36rem;
}
.newsletter__form { display: flex; flex-direction: column; gap: 0.75rem; }
.newsletter__form label {
  display: block; font-size: 0.875rem; font-weight: 600;
}
.newsletter__form input {
  width: 100%;
  border: 2px solid oklch(0.16 0.04 260 / 0.2);
  background: var(--background);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  border-radius: 0.375rem;
  outline: none;
  transition: border-color .15s;
}
.newsletter__form input:focus { border-color: var(--accent-warm); }
.newsletter__form button {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--ink); color: var(--background);
  font-size: 0.875rem; font-weight: 600;
  border-radius: 0.375rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  transition: background .15s;
}
.newsletter__form button:hover { background: oklch(0.16 0.04 260 / 0.9); }
.newsletter__hint { font-size: 0.75rem; color: var(--ink-soft); text-align: center; }
.newsletter__success {
  display: flex; align-items: start; gap: 0.75rem;
  background: oklch(0.945 0.018 80 / 0.6);
  padding: 1.5rem; border-radius: 0.375rem;
  border: 1px solid var(--border);
}
.newsletter__success svg { color: var(--success); width: 1.25rem; height: 1.25rem; margin-top: 2px; }
.newsletter__success p:first-child { font-weight: 600; }
.newsletter__success p:last-child { font-size: 0.875rem; color: var(--ink-soft); margin-top: 0.25rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  margin-top: 0rem;
  border-top: 2px solid var(--ink);
  background: oklch(0.945 0.018 80 / 0.6);
}
.site-footer__inner { padding: 3.5rem 0; }
.site-footer__grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand p {
  margin-top: 1rem; font-size: 0.875rem; color: var(--ink-soft);
  line-height: 1.6; max-width: 20rem;
}
.footer-brand .email-row {
  margin-top: 1rem; display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; color: var(--ink-soft);
}
.footer-brand .email-row svg { width: 0.875rem; height: 0.875rem; }
.footer-brand .email-row a { transition: color .15s; }
.footer-brand .email-row a:hover { color: var(--accent-warm); }
.footer-brand .socials {
  margin-top: 1.25rem; display: flex; align-items: center; gap: 0.5rem;
}
.footer-brand .socials a {
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  border: 1px solid oklch(0.16 0.04 260 / 0.2);
  color: var(--ink-soft);
  border-radius: 0.375rem;
  transition: color .15s, border-color .15s;
}
.footer-brand .socials a:hover { color: var(--accent-warm); border-color: var(--accent-warm); }
.footer-brand .socials svg { width: 1rem; height: 1rem; }

.footer-col h3 {
  font-family: var(--font-mono); font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
  margin-bottom: 1rem; color: var(--ink);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col a {
  font-size: 0.875rem; color: var(--ink-soft);
  transition: color .15s;
}
.footer-col a:hover { color: var(--accent-warm); }

.footer-disclaimer {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid oklch(0.16 0.04 260 / 0.15);
}
.footer-disclaimer p {
  font-size: 0.75rem; color: var(--ink-soft);
  line-height: 1.6; max-width: 48rem;
}
.footer-disclaimer strong { color: var(--ink); font-weight: 600; }
.footer-bottom {
  margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid oklch(0.16 0.04 260 / 0.15);
  display: flex; flex-direction: column; align-items: start;
  gap: 0.75rem; font-size: 0.75rem; color: var(--ink-soft);
}
.footer-bottom .made {
  font-family: var(--font-mono);
  text-transform: uppercase; letter-spacing: 0.1em;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; color: var(--ink-soft);
  flex-wrap: wrap;
}
.breadcrumbs a:hover { color: var(--accent-warm); }
.breadcrumbs .sep { opacity: 0.5; }
.breadcrumbs .current { color: var(--ink); font-weight: 500; }

/* ============================================================
   PAGE HEADERS (about, contact, blog, tools, etc.)
   ============================================================ */
.page-pad { padding: 3rem 0 4rem; }
@media (min-width: 768px) { .page-pad { padding: 4rem 0 5rem; } }
.page-eyebrow {
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.18em; font-weight: 600;
  color: var(--brand);
}
.page-h1 {
  margin-top: 0.5rem;
  font-size: 2.25rem; font-weight: 600;
  letter-spacing: -0.025em;
}
@media (min-width: 768px) { .page-h1 { font-size: 3rem; } }
.page-lede {
  margin-top: 1.25rem;
  font-size: 1.125rem; color: var(--ink-soft);
}

/* ============================================================
   PROSE ARTICLE
   ============================================================ */
.prose-article { color: var(--ink); font-size: 1.0625rem; line-height: 1.75; }
.prose-article h2 {
  margin-top: 2.75rem; margin-bottom: 1rem;
  font-size: 2rem; font-weight: 600;
}
.prose-article h3 {
  margin-top: 2rem; margin-bottom: 0.75rem;
  font-size: 1.375rem; font-weight: 600;
}
.prose-article p { margin-bottom: 1.25rem; color: var(--ink-soft); }
.prose-article ul, .prose-article ol {
  margin-bottom: 1.25rem; padding-left: 1.25rem;
  color: var(--ink-soft);
}
.prose-article ul { list-style: disc; }
.prose-article ol { list-style: decimal; }
.prose-article li { margin-bottom: 0.4rem; }
.prose-article a {
  color: var(--accent-warm);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose-article strong { color: var(--ink); font-weight: 600; }
.prose-article em { font-style: italic; }
.prose-article code {
  background: var(--surface-muted);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-family: var(--font-mono); font-size: 0.9em;
}

/* ============================================================
   TOOL GRID (tools index page)
   ============================================================ */
.tools-cat { margin-top: 3rem; }
.tools-cat h2 {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 600;
  display: flex; align-items: center; gap: 0.75rem;
}
.tools-cat h2::after {
  content: ""; flex: 1; height: 1px; background: var(--border);
}
.tools-cat .tools-grid { margin-top: 1.25rem; gap: 1.25rem; }
@media (min-width: 1024px) { .tools-cat .tools-grid { grid-template-columns: repeat(3, 1fr); } }

.tool-card-soft {
  padding: 1.5rem; display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}
.tool-card-soft:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -16px oklch(0.18 0.04 260 / 0.18); }
.tool-card-soft__top { display: flex; align-items: center; justify-content: space-between; }
.tool-card-soft__icon {
  width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center;
  background: var(--gradient-brand);
  color: var(--primary-foreground);
  border-radius: 0.5rem;
}
.tool-card-soft__icon svg { width: 1.25rem; height: 1.25rem; }
.tool-card-soft h3 {
  margin-top: 1.25rem; font-size: 1.125rem; font-weight: 600;
}
.tool-card-soft p {
  margin-top: 0.25rem; font-size: 0.875rem;
  color: var(--ink-soft); flex: 1;
}
.tool-card-soft__cta {
  margin-top: 1.25rem;
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.875rem; font-weight: 500; color: var(--brand);
}
.tool-card-soft__cta svg { width: 0.875rem; height: 0.875rem; transition: transform .15s; }
.tool-card-soft:hover .tool-card-soft__cta svg { transform: translateX(2px); }
.pill-rounded { border-radius: 9999px; padding: 0.125rem 0.5rem; }

/* ============================================================
   BLOG INDEX
   ============================================================ */
.blog-index-controls {
  margin-top: 2.5rem;
  display: flex; flex-direction: column; gap: 1rem;
}
@media (min-width: 768px) { .blog-index-controls { flex-direction: row; align-items: center; justify-content: space-between; } }
.blog-cats { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.blog-cat {
  border-radius: 9999px;
  padding: 0.375rem 0.875rem;
  font-size: 0.875rem; font-weight: 500;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-soft);
  transition: background .15s, color .15s, border-color .15s;
}
.blog-cat:hover { background: var(--surface-muted); color: var(--ink); }
.blog-cat.active {
  background: var(--primary); color: var(--primary-foreground); border-color: var(--primary);
}
.blog-search { position: relative; width: 100%; }
@media (min-width: 768px) { .blog-search { width: 18rem; } }
.blog-search svg {
  position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%);
  width: 1rem; height: 1rem; color: var(--ink-soft);
}
.blog-search input {
  width: 100%;
  padding: 0.5rem 0.75rem 0.5rem 2.25rem;
  border: 1px solid var(--border);
  background: var(--background);
  border-radius: 0.375rem; font-size: 0.875rem;
  outline: none;
  transition: box-shadow .15s, border-color .15s;
}
.blog-search input:focus {
  border-color: var(--accent-warm);
  box-shadow: 0 0 0 3px oklch(0.7 0.19 45 / 0.2);
}

.blog-cards {
  margin-top: 2.5rem;
  display: grid; gap: 1.5rem;
}
@media (min-width: 768px) { .blog-cards { grid-template-columns: 1fr 1fr; } }
.blog-card {
  display: block; padding: 1.5rem; height: 100%;
  transition: transform .15s, box-shadow .15s;
}
.blog-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -16px oklch(0.18 0.04 260 / 0.18); }
.blog-card__meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; }
.cat-pill {
  border-radius: 9999px;
  background: var(--brand-soft); color: oklch(0.4 0.18 262);
  padding: 0.125rem 0.625rem; font-weight: 500;
}
.blog-card__meta .when { color: var(--ink-soft); }
.blog-card h2 {
  margin-top: 0.75rem;
  font-size: 1.5rem; font-weight: 600;
  line-height: 1.3; transition: color .15s;
}
.blog-card:hover h2 { color: var(--brand); }
.blog-card p { margin-top: 0.5rem; color: var(--ink-soft); }
.blog-card .read-more {
  margin-top: 1rem;
  display: inline-flex; font-size: 0.875rem; font-weight: 500; color: var(--brand);
}

/* ============================================================
   BLOG POST
   ============================================================ */
.post-meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; }
.post-meta .when { color: var(--ink-soft); }
.post-h1 {
  margin-top: 1rem;
  font-size: 2.25rem; font-weight: 600;
  letter-spacing: -0.025em; line-height: 1.1;
}
@media (min-width: 768px) { .post-h1 { font-size: 3rem; } }
.post-lede { margin-top: 1rem; font-size: 1.125rem; color: var(--ink-soft); }

.post-byline {
  margin-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.byline-author { display: flex; align-items: center; gap: 0.75rem; }
.byline-author__avatar {
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  background: var(--gradient-brand);
  color: var(--primary-foreground);
  border-radius: 9999px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.875rem;
}
.byline-author__txt { font-size: 0.875rem; }
.byline-author__txt .name { font-weight: 500; }
.byline-author__txt .role { font-size: 0.75rem; color: var(--ink-soft); }
.share-row { display: flex; align-items: center; gap: 0.25rem; }
.share-row a, .share-row button {
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  border-radius: 0.375rem; color: var(--ink-soft);
  transition: background .15s, color .15s;
}
.share-row a:hover, .share-row button:hover { background: var(--surface-muted); color: var(--brand); }
.share-row svg { width: 1rem; height: 1rem; }

.faq-list { margin-top: 1rem; }
.faq-list > * + * { border-top: 1px solid var(--border); }
.faq-item {
  width: 100%; text-align: left;
  padding: 1.25rem;
  display: flex; align-items: start; justify-content: space-between; gap: 1rem;
  transition: background .15s;
}
.faq-item:hover { background: oklch(0.945 0.018 80 / 0.4); }
.faq-item .q-wrap { flex: 1; }
.faq-item .q { font-weight: 500; }
.faq-item .a {
  margin-top: 0.5rem; font-size: 0.875rem;
  color: var(--ink-soft); line-height: 1.6;
  display: none;
}
.faq-item.open .a { display: block; }
.faq-item .chev {
  width: 1rem; height: 1rem; color: var(--ink-soft); margin-top: 0.25rem;
  transition: transform .15s;
}
.faq-item.open .chev { transform: rotate(180deg); }

.related-section { margin-top: 3.5rem; }
.related-section h2 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600;
  display: flex; align-items: center; gap: 0.5rem;
}
.related-section h2 svg { width: 1.25rem; height: 1.25rem; color: var(--accent-warm); }
.related-section .lede { margin-top: 0.5rem; margin-bottom: 1.25rem; font-size: 0.875rem; color: var(--ink-soft); }
.related-grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .related-grid--3 { grid-template-columns: 1fr 1fr 1fr; } }

.related-card {
  padding: 1.25rem;
  display: flex; align-items: start; justify-content: space-between; gap: 0.75rem;
  transition: border-color .15s;
}
.related-card:hover { border-color: var(--accent-warm); }
.related-card h3 {
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  transition: color .15s;
}
.related-card:hover h3 { color: var(--accent-warm); }
.related-card p {
  margin-top: 0.25rem;
  font-size: 0.875rem; color: var(--ink-soft);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.related-card svg { width: 1rem; height: 1rem; color: var(--ink-soft); margin-top: 0.25rem; flex-shrink: 0; }
.related-card:hover svg { color: var(--accent-warm); }

/* ============================================================
   TOOL DETAIL PAGE
   ============================================================ */
.tool-header-pills { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.75rem; }
.tool-header-pills .pill-rounded { border-radius: 9999px; padding: 0.125rem 0.625rem; font-weight: 500; }
.pill-cat { background: var(--brand-soft); color: oklch(0.4 0.18 262); }
.pill-bordered { border: 1px solid oklch(0.16 0.04 260 / 0.15); color: var(--ink-soft); }
.pill-warn { background: oklch(0.72 0.17 70 / 0.15); color: oklch(0.5 0.16 75); }
.pill-success { background: oklch(0.6 0.14 155 / 0.15); color: oklch(0.45 0.13 155); }

.tool-h1 {
  margin-top: 0.75rem;
  font-size: 2.25rem; font-weight: 600;
  letter-spacing: -0.025em;
}
@media (min-width: 768px) { .tool-h1 { font-size: 3rem; } }

/* Tool component (in-page) */
.tool-section { margin-top: 2.5rem; }
.tool-grid-2 { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .tool-grid-2 { grid-template-columns: 1fr 1fr; } }

.tool-panel { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.tool-panel h2 {
  font-family: var(--font-display);
  font-size: 1.125rem; font-weight: 600;
}
.tool-field { display: block; }
.tool-field__label {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.375rem;
}
.tool-field__label > span:first-child { font-size: 0.875rem; font-weight: 500; }
.tool-field__hint { font-size: 0.75rem; color: var(--ink-soft); }
.tool-field__hint.warn { color: var(--destructive); }
.tool-field input, .tool-field textarea, .tool-field select {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border);
  background: var(--background);
  border-radius: 0.375rem; font-size: 0.875rem;
  outline: none;
  transition: box-shadow .15s, border-color .15s;
}
.tool-field input:focus, .tool-field textarea:focus, .tool-field select:focus {
  border-color: var(--accent-warm);
  box-shadow: 0 0 0 3px oklch(0.7 0.19 45 / 0.2);
}
.tool-field textarea { resize: vertical; font-family: inherit; }
.tool-field--row { display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .tool-field--row { grid-template-columns: 1fr 1fr; } }

.tool-output {
  padding: 1.5rem; display: flex; flex-direction: column;
}
.tool-output__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.75rem;
}
.tool-output__head h2 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; }
.tool-output pre {
  flex: 1; min-height: 260px;
  background: oklch(0.945 0.018 80 / 0.7);
  padding: 1rem; border-radius: 0.375rem;
  font-family: var(--font-mono); font-size: 0.75rem;
  overflow: auto; white-space: pre-wrap; word-break: break-all;
  color: var(--ink);
}
.tool-output .empty-msg { color: var(--ink-soft); }

.search-preview-block { margin-top: 1.25rem; }
.search-preview-block .label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-soft); font-weight: 600; margin-bottom: 0.5rem;
}
.search-preview-block .box {
  border: 1px solid var(--border);
  background: var(--background);
  padding: 1rem;
  border-radius: 0.375rem;
}
.search-preview-block .url { font-size: 0.75rem; color: oklch(0.45 0.13 155); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-preview-block .ttl { margin-top: 0.25rem; font-size: 1rem; font-weight: 500; color: oklch(0.35 0.18 262); }
.search-preview-block .des { margin-top: 0.25rem; font-size: 0.875rem; color: var(--ink-soft); }

/* SEO Analyzer specific */
.analyzer-form { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .analyzer-form { flex-direction: row; } }
.analyzer-form input { flex: 1; }
.analyzer-result { margin-top: 1.5rem; display: grid; gap: 1rem; }
.analyzer-row {
  padding: 1rem; display: flex; align-items: start; gap: 0.75rem;
}
.analyzer-row .ic { width: 1.25rem; height: 1.25rem; flex-shrink: 0; margin-top: 2px; }
.analyzer-row.ok .ic { color: var(--success); }
.analyzer-row.warn .ic { color: var(--warn); }
.analyzer-row.err .ic { color: var(--destructive); }
.analyzer-row .body { flex: 1; min-width: 0; }
.analyzer-row .lbl { font-weight: 600; font-size: 0.875rem; }
.analyzer-row .val {
  margin-top: 0.25rem; font-size: 0.875rem; color: var(--ink-soft);
  word-break: break-word;
}
.analyzer-row .note { margin-top: 0.25rem; font-size: 0.75rem; color: var(--ink-soft); }

.analyzer-stats {
  display: grid; gap: 0.75rem; grid-template-columns: repeat(2, 1fr); margin-top: 1rem;
}
@media (min-width: 768px) { .analyzer-stats { grid-template-columns: repeat(4, 1fr); } }
.stat-card { padding: 0.875rem; text-align: center; }
.stat-card .num {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
}
.stat-card .nm { font-size: 0.75rem; color: var(--ink-soft); margin-top: 0.125rem; }

/* Keyword research */
.kw-form { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .kw-form { flex-direction: row; } }
.kw-form input { flex: 1; }
.kw-results { margin-top: 1.5rem; display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .kw-results { grid-template-columns: repeat(3, 1fr); } }
.kw-bucket { padding: 1.25rem; }
.kw-bucket h3 {
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  margin-bottom: 0.75rem;
}
.kw-bucket ul { display: flex; flex-direction: column; gap: 0.375rem; max-height: 320px; overflow: auto; }
.kw-bucket li {
  font-size: 0.875rem; color: var(--ink); padding: 0.375rem 0.5rem;
  border-radius: 0.25rem; cursor: pointer;
  transition: background .15s;
}
.kw-bucket li:hover { background: var(--surface-muted); }

/* Backlink */
.bl-form { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .bl-form { flex-direction: row; } }
.bl-form input { flex: 1; }
.bl-results { margin-top: 1.5rem; display: grid; gap: 1rem; }
.bl-table {
  width: 100%; border-collapse: collapse; font-size: 0.875rem;
}
.bl-table th, .bl-table td {
  padding: 0.625rem 0.75rem; text-align: left;
  border-bottom: 1px solid var(--border);
}
.bl-table th { font-weight: 600; color: var(--ink); background: var(--surface-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.bl-table td { color: var(--ink-soft); }
.bl-table .dr { font-weight: 600; color: var(--ink); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; gap: 2rem; margin-top: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.2fr 1fr; } }
.contact-form { padding: 1.5rem; }
@media (min-width: 768px) { .contact-form { padding: 2rem; } }
.contact-form > form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form .form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .contact-form .form-row { grid-template-columns: 1fr 1fr; } }
.contact-aside { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-aside .surface-card { padding: 1.5rem; }
.contact-aside h2 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; }
.contact-aside .mail-link {
  margin-top: 0.75rem; display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--brand);
}
.contact-aside .mail-link:hover { text-decoration: underline; }
.contact-aside .mail-link svg { width: 1rem; height: 1rem; }
.contact-aside .response { margin-top: 0.75rem; font-size: 0.875rem; color: var(--ink-soft); }
.contact-aside .socials-grid {
  margin-top: 0.75rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem;
}
.contact-aside .socials-grid a {
  display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
  border: 1px solid var(--border);
  padding: 0.75rem 0;
  border-radius: 0.375rem;
  font-size: 0.75rem; color: var(--ink-soft);
  transition: background .15s, color .15s;
}
.contact-aside .socials-grid a:hover { background: var(--surface-muted); color: var(--brand); }
.contact-aside .socials-grid svg { width: 1rem; height: 1rem; }

.success-box {
  display: flex; align-items: start; gap: 0.75rem;
}
.success-box svg { width: 1.5rem; height: 1.5rem; color: var(--success); margin-top: 2px; flex-shrink: 0; }
.success-box h2 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.success-box p { margin-top: 0.25rem; color: var(--ink-soft); }

/* ============================================================
   ABOUT
   ============================================================ */
.values-grid {
  margin-top: 3.5rem; display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .values-grid { grid-template-columns: 1fr 1fr; } }
.value-card { padding: 1.25rem; }
.value-card .ic {
  width: 2.5rem; height: 2.5rem;
  display: grid; place-items: center;
  background: var(--gradient-brand);
  color: var(--primary-foreground);
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
}
.value-card .ic svg { width: 1.25rem; height: 1.25rem; }
.value-card h3 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; }
.value-card p { font-size: 0.875rem; color: var(--ink-soft); margin-top: 0.25rem; }

.cta-box {
  margin-top: 3.5rem; padding: 2rem; text-align: center;
}
.cta-box h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.cta-box p { margin-top: 0.5rem; color: var(--ink-soft); }
.cta-box .row {
  margin-top: 1.25rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem;
}
.cta-box .btn-soft {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.625rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  font-size: 0.875rem; font-weight: 500;
  transition: background .15s;
}
.cta-box .btn-soft:hover { background: var(--surface-muted); }

/* Animations */
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.animate-fade-up { animation: fadeUp .6s cubic-bezier(0.4, 0, 0.2, 1) both; }

/* Utilities */
.hidden { display: none !important; }
.flex { display: flex; }
.grid { display: grid; }
.center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
